DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 286API Mnemonic Operands Function ControllersES2/EX2 SS2 SA2SESX2101 MODWR Write Modbus DataTypeOPBit Devices Word devices Program StepsX Y M S K H KnX KnY KnM KnS T C D E F MODWR: 7 stepsS1 * * *S2 * * *n * * *PULSE 16-bit 32-bitES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2Operands:S1: Device address (K0~K254) S 2: Data address n: Data to be writtenExplanations:1. MODWR instruction supports COM2 (RS-485).2. MODWR is an instruction exclusively for peripheral communication equipment in MODBUSASCII/RTU mode. The built-in RS-485 communication ports in Delta VFD drives (except forVFD-A series) are all compatible with MODBUS communication format. MODRD can be usedfor communication (write data) of Delta drives.3. If the address of S 2 is illegal for the designed communication device, the device will respondwith an error, PLC will record the error code in D1130 and M1141 will be ON. For example, if8000H is invalid to VFD-B, M1141 will be ON and D1130 = 2. For error code explanations,please see the user manual of VFD-B.4. The feedback (returned) data from the peripheral equipment will be stored in D1070 ~ D1085.After data receiving is completed, PLC will check the validity of the data automatically. If there isan error, M1140 will be ON5. If peripheral device receives a correct record (data) from PLC after M1140/M1141 = ON, theperipheral device will send out feedback data and PLC will reset M1140/M1141 after the validityof data is confirmed.6. There is no limitation on the times of using this instruction, but only one instruction can beexecuted at a time on the same COM port.7. If rising-edge contacts (LDP, ANDP, ORP) or falling-edge contacts (LDF, ANDF, ORF) is usedbefore MODWR instruction, sending request flag M1122 has to be executed as a requirement.8. For associated flags and special registers, please refer to Points to note of API 80 RSinstruction