7 Application Instructions API 50-99 X10 Cyclic operation Y20 0.1s 0.1s 0.1s Y21 0.1s Interruption Y22 0.1s Y23 0.1s M1029 Execution completed 4. Wiring for DIP swich input: Must connect to a diode (1N4148) in series Remarks: 1. When n = K1, D 2 will occupy one register. When n = K2, D 2 will occupy 2 consecutive registers. 2. Follow the methods below for the transistor scan output: a) When X10 = On, DSW instruction will be executed. When X10 goes Off, M10 will keep being On until the scan output completes a scan cycle and go Off.
b) When X10 is used as a button switch, whenever X10 is pressed once, M10 will be reset to Off when the scan output designated by DSW instruction completes a scan cycle. The DIP switch data will be read completely and the scan output will only operate during the time when the button switch is pressed. Therefore, even the scan output is a transistor type, the life span of the transistor can be extended because it does not operate too frequently.
X10 M10 M1029 DVP-PLC APPLICATION MANUAL 7-80 0 1 2 3 DIP switches for 10 10 10 10 BCD wiring 1 2 4 8 1 2 4 8 0V +24V S/S X20 X21 X22 X23 X24 X25 X26 X27 The first group The second group PLC C Y20 Y21 Y22 Y23 0 1 2 3 10 10 10 10 1 2 4 8 1 0V +24V S/S X20 X2 1 X22 X2 X24 X2 5 X26 X27 C Y20 Y2 1 Y22 Y2 SET M DSW X2 0 Y20 D20 K2 RST M