Electro Cam PL-1746 Series User Manual
Page 129
8-16 Utility & Example Ladder Programs
Main Program
Subroutine
Force Outputs On/Off
By performing the move command shown in the subroutine, we can force the outputs either ‘ON’ or ‘OFF’. A force ‘OFF’
takes precedence over a force ‘ON’. By toggling B3/4, we move N7:15, N7:16, N7:19 and N7:20 to M0:1.256, M0:1.257,
M0:1.264 and M0:1.265. By writing a ‘1’ to the bit locations in the ‘N’ registers N7:15 or N7:16, we force those outputs
‘ON’. By writing a ‘1’ to the bit locations in the ‘N’ registers N7:19 or N7:20, we force those outputs ‘OFF’.
N7:15 and N7:19
Channels 0-15
15<------------------0
0000 0000 0000 0000
N7:16 and N7:20
Channels 16-31
31<------------------0
0000 0000 0000 0000
C01 & C04 Example.rss (cont’d)