Mitsubishi — 2.11 Functions of Special Auxiliary Relays and Special Registers

2 Functions of Devices in DVP-PLC 2. The function: This function should be used when PLC is in RUN status. When M1178 = On, VR0 value will be converted into a value of 0 ~ 255 and stored in D1178. When M1179 = On, VR1 value will be converted into a value of 0 ~ 255 and stored in D1179. 3. See API 85 VRRD for more details. Function Group Interruption Instruction for Reading the Number of Pulses Number M1181 ~ M1182, D1180 ~ D1181, D1198 ~ D1199 Contents: 1. SA/SX/SC can use external interruption to store the present value in the middle-high-speed counter into D1180 ~ D1181 and D1198 ~ D1199, and use M1181 ~ M1182 to clear the present value in the high-speed counter. 2. The function:

a) For SA/SX, X0 (pulse input point) has to work with X2 (external interruption point), and C235/C251/C253 (high-speed counter) has to work with I201 (interruption No.). D1180 and D1181 are the registers to store the 32-bit values. If M1181 is enabled before the interrupt is triggered, the value in C235/C251/C253 is moved to D1180 and D1181 when the interrupt is triggered, and the value in C235/C251/C253 will be cleared. Condition: When the program enables I201 (X2 is the external interruption input), and C235, C251, and C253 are used, the function is enabled. b) For SA/SX, X1 (pulse input point) has to work with X3 (external interruption point), and C236 has to work with I301.

D1198 and D1199 are the registers to store the 32-bit values. If M1182 is enabled before the interrupt is triggered, the value in C236 is moved to D1198 and D1199 when the interrupt is triggered, and the value in C236 will be cleared. Condition: When the program enables I301 (X3 is the external interruption input), and C236 is used, the function is enabled. c) For SC, X10 (pulse input point) has to work with X4 (external interruption point), C243/C255 (high-speed counter) and I401 (interruption No.). D1180 and D1181 are the registers to store the 32-bit values. X11 (pulse input point) has to work with X5 (external interruption point), C245 and I501.

D1198 and D1199 are the registers to store the 32-bit values. Condition 1: When the program enables I401 (X4 is the external interruption input), and C235, C241 and C251 are used, the function is enabled. Once the high-speed counting value is acquired, the present value of high-speed counting will be cleared immediately. When the program enables I501 (X5 is the external interruption input), and C236 is used, the function is enabled. Once the high-speed counting value is acquired, the present value of high-speed counting will be cleared immediately. Condition 2:

When the program enables I401 (X4 is the external interruption input), and C243 and C255 are used, the function is enabled, but the high-speed counting value will not be cleared. When the program enables I501 DVP-PLC Application Manual 2-118 Device No. Function M1179 Enable VR1 volume D1178 VR0 value D1179 VR1 value