job description circuit:
1.first time the button is pressed then the lamp ON
2.second time the button is pressed then lights OFF
3.back to a description number 1
Addressing Input and output :
Device | Address | NOTE |
| Push button 1 (PB1) | 00.00 | Chanel 0 bit 0 |
| Push button 1 (PB1) | 00.00 | Chanel 0 bit 0 |
| Lamp | 01.00 | Chanel 1 bit 0 |
| Internal Relay 1 | 10.00 | First Sequence(lamp ON) |
| Internal Relay 2 | 10.01 | second sequence(transisi PB ON ke OFF) |
| Internal Relay 3 | 10.02 | Thrid Sequence (Lamp OFF) |
| Internal Relay 4 | 10.03 | Reset back to the first sequence |
Wiring I/O of PLC: