Delta DVP — 6.7 DIP Switch Input and 7-segment Display Output

6. Data Transmission and Comparison Design Examples 6.7 DIP Switch Input and 7-segment Display Output DVP-F8ID Equivalent circuit of DVP-F8ID extension card DI0 DI1 DI2 M1104 M1105 DI3 DI4 DI5 M1107 M1106 8421 8421 M1110 M1109 M1108 DVP-EH MPU Y3~Y0 Y7~Y4 DI6 DI7 M1111 Display Range Input Range : K0~K99 : K0~K99 Control Purpose: z Setting the set value of counter C0 in the range of K0~K99 by DVP-F8ID extension card and displaying the PV (K0~K99) by 7-segment decoding display. Devices: Control Program: M1000 X0 X0 C0 Y10 Program Description: z When PLC runs, ON/OFF state of the external 8 DIP switches will be mapped to PLC internal auxiliary relay M1104~M1111 by DVP-F8ID extension card.

8 bits switch can perform 2 digit number input by instructions. DVP-PLC Application Examples 6-9 Device Function X0 Switch for starting C0 M1104~M1111 Mapping ON/OFF state of the external 8 switches D0 Set value of C0 Y0~Y7 Displaying the PV of C0 Y10 Indicator. Y10 = ON when the counter reached its set value BIN K2M1104 D0 BCD D0 K2Y0 CNT C0 D0 BCD C0 K2Y0