Delta DVP-ES2 — 2.16 Applications of Special M Relays and D Registers

2. Programming Concepts 2. Function: a) When X0 (counter input) and X1 (external Interrupt) correspondingly work together with C243, and I100/I101, PLC will move the count value to D1241 and D1240. b) When X0 (counter input) and X4 (external Interrupt) correspondingly work together with C246, C248, C252 and I400/I401, PLC will move the count value to D1241 and D1240 c) When X2 (counter input) and X3 (external Interrupt) correspondingly work together with C244, and I300/I301, PLC will move the count value to D1243 and D1242. d) When X2 (counter input) and X5 (external Interrupt) correspondingly work together with C250, C254 and I500/I501, PLC will move the count value to D1243 and D1242.

Example: EI M1000 I101 M1000 IRET When external interrupt (X1, I101) occurs during counting process of C243, the count value in C243 will be stored in (D1241, D1240) and C243 is reset. After this, the interrupt subroutine I101 will be executed Function Group Enabling force-ON/OFF of input point X Number M1304 Contents: When M1304 = ON, WPLSoft or ISPSoft can set ON/OFF of input pont X, but the associated hardware LED will not respond to it. Function Group Output specified pulses or seek Z phase signal when zero point is achieved. Number M1308, D1312 Contents: When zero point is achieved, PLC can output specified pulses or seek Z phase signal by this function.

Input terminals X2, X3 are the Z-phase signal input point of CH1, CH2. When M1308= ON, D1312 is the setting register to specify the additional pulses within the range -30,000~30,000. Specified value exceeds the range will be changed as the max/min value automatically. When D1312 is set to 0, the additional pulses output function will be disabled. Functions of other input terminals: END X4 → CH1 DOG signal input X6 → CH2 DOG signal input X5 → CH1 LSN signal input X7 → CH2 LSN signal input Function Group ID of right side modules on ES2/EX2/SS2/SA2/SX2/SE Number D1320~ D1327 Contents:

When right side modules are connected on ES2/EX2, the ID of each I/O module will be stored in D1320~D1327 in connection order. ID of each special module: 2-59 Special D D1241, D1240 D1243, D1242 Counter C243 C246 C248 C252 C244 C250 C254 Interrupt signal X1(I100/I101) X4(I400/I401) X3(I300/I301) X5(I500/I501) DCNT C243 K100 FEND DMOV D1240 D0 Name ID (HEX) H’0080 H’0041 H’0081 Name DVP06XA-E2 DVP04PT-E2 DVP04TC-E2 ID (HEX) DVP04AD-E2 H’00C4 DVP02DA-E2 H’0082 DVP04DA-E2 H’0083