2 functions of devices in dvp-plc – Delta Electronics Programmable Logic Controller DVP-PLC User Manual
Page 131
![background image](/manuals/75807/131/background.png)
2 Functions of Devices in DVP-PLC
DVP-PLC Application Manual
2-103
There are two output modes. K1 refers to “A-phase ahead of B-phase” and K2 refers to “B-phase ahead of
A-phase”. The number of pulses accumulates once whenever a phase gap occurs. For example, the number of
pulses in the figure below = 8, and when the number is reached, M1174 turns “On”. To clear the number, simply
turn “Off” M1172.
1
2
7
8
Y0(A)
Y1(B)
T
3
4
5
6
The output frequency, target number of pulses and selection of modes can be modified when M1172 = On and
M1174 = Off. Modification on output frequency and target number of pulses will not affect the present number of
pulses, but when the mode is modified, the present number of pulses will be cleared as “0”. The present number
of output pulses is updated in every scan time. When M1133 turns from “Off” to “on”, the number will be cleared
as “0”. When M1172 is cleared as “0” when PLC goes from STOP to RUN. When PLC goes from RUN to STOP,
the last number of pulses will be shown.
3. Note:
This function can only be used when PLC is in RUN status and can coexist with PLSY instruction in the program.
If PLSY instruction is executed prior to this function, the function cannot be used and vice versa.
Function Group
VR Volume
Number
M1178 ~ M1179, D1178 ~ D1179
Contents:
1. Special D and special M for built-in 2-point VR volume for EH/EH2/SV/SA/SC:
Device No.
Function
M1178
Enable VR0 volume
M1179
Enable VR1 volume
D1178 VR0
value
D1179 VR1
value
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
D1180 ~ D1181,D1198 ~ D1199