3 . I ns t r uc ti on Se t3- 2 1 3API Mnemonic Operands Function ControllersES2/EX2 SS2 SA2SESX279 D TO PWrite CR datainto SpecialModulesTypeOPBit Devices Word devices Program StepsX Y M S K H KnX KnY KnM KnS T C D E F TO, TOP: 9 stepsDTO, DTOP: 17 stepsm 1 * * *m 2 * * *S * * *n * * *PULSE 16-bit 32-bitES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2Operands:m1: No. of special module m2: CR# in special module to be written S: Data to be written in CRn: Number of data to be written at a timeExplanations:1. PLC uses this instruction to write data into CR (Control register) on special modules.2. Setting range of m1: ES2/EX2/SS2: 0 ~ 7; SA2/SE/SX2: 0~1073. Setting range of m2: ES2/EX2: 0 ~ 255; SS2: 0~48; SA2/SE/SX2: 0~499.4. Setting range of n:.Range of n ES2/EX2 SS2 SA2/SE/SX216-bit instruction 1~4 1~(49 - m2) 1~(499 - m2)32-bit instruction 1~2 1~(49 - m2)/2 1~(499 - m2)/2Program Example:1. Use 32-bit instruction DTO to write the content in D11 and D10 into CR#13 and CR#12 ofspecial module No.0. One 32-bit data is written at a time (n = 1)2. When X0 = ON, the instruction executes; when X0 = OFF, the previous content in D10 and D11won’t be changed.X0DTO K0 K12 D10 K1The rules for operand:1. m1: number of special module. The modules are numbered from 0 (closest to MPU) to 7automatically by their distance from MPU. Maximum 8 modules are allowed to connect to MPUand will not occupy any digital I/O points2. m2: number of CR (Control Register). CR is the 16-bit memory built in the special module forcontrol or monitor purpose, numbering in decimal. All operation status and settings of thespecial module are recorded in the CR.