Chapter 8. MK PROGRAMMING
8 - 5
[ PUT 00001 00000 00000 00002 ]
[ PUT 00001 00001 D0010 00001]
[ PUT 00001 00000 D0010 00001 ]
4) Program
Storing the value input by the BCD
digital switch to D10.
If D10 is equal to or less than
4000, M1 is set to ON.
P21 turning On makes the data of
D10 output to the channel 0 of the
D/A conversion module.
P22 turning On makes the data of
D10 output to the channel 1 of the
D/A conversion module.
P23 turning On makes digital input
values to the channels 0 and 1 of
the D/A conversion module to be 0.
command
When a initialization command is
given, output commands for
channels 0 and 1 are disabled.
Output is specified to channel 0
Output is specified to channel 1
Execution condition