Delta Electronics DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming API 50 Operands: D : Start device for I/O refresh n : Number of devices for I/O refresh Explanations: 1. PLC updates I/O status between END instruction and the start of next program scan. If an immediate I/O refresh is needed, REF can be applied for performing I/O refresh immediately. 2. D can only be a multiple of 10, i.e. X0 or Y0, and the instruction is NOT applicable for I/O points on DIO modules. 3. Only the I/O points on MPU can be specified for operand D for I/O refresh.  When D specifies X0 and n ≦ 8, only X0~X7 will be refreshed. If n > 8, all I/O points on MPU will be refreshed.

 When D specifies Y0 and n = 8, only Y0~X7 will be refreshed. If n > 8, all I/O points on MPU will be refreshed.  When D specifies X10 or Y10, I/O points on MPU except for X0~X7 or Y0~Y3 will all be 4. For EX2/SX2 MPU only: If M1180 = ON and REF instruction executes, PLC will read the A/D refreshed regardless of n value, i.e. only status of X0~X7 or Y0~Y3 remains. value and update the read value to D1110~D1113. If M1181 = ON and REF instruction executes, PLC will output the D/A value in D1116 and D1117 immediately. When A/D or D/A values are refreshed, PLC will reset M1180 or M1181 automatically. 5. Range for n (ES2/EX2): 4 ~ total I/O points on MPU. n should always be a multiple of 4. 6.

Range for n (SS2/SA2/SE/SX2): 8 ~ total I/O points on MPU. 7. The function to update pulse number immediately is only available for the following modules and firmware, ES2, EX2, ES2-C: V3.60, ES2-E: V1.00, 28SA2, 12SA2, SX2: V3.0, 26SE: V1.92 and later. 3-118 Mnemonic Operands Function Controllers SA2 ES2/EX2 SS2 SX2 SE Controllers REF P Refresh ES2/EX2 SS2 SA2 SX2 SE Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F REF, REFP:

5 steps D * * n * * PULSE 16-bit 32-bit SA2 SE SA2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 SE Output Device Y0 Y1 Y2 Y3 Refresh current M1672 M1673 M1674 M1675 position of output Pulse output number D1030/D1031 D1032/D1033 D1336/D1337 D1338/D1339