LG MASTER-K200S Series User Manual page 40

Programmable logic controller
Hide thumbs Also See for MASTER-K200S Series:
Table of Contents

Advertisement

Chapter 8. MK PROGRAMMING
4) Program
M0000
0
Executi o n condi t i o n
M0010
M0001
12
P0023
initialization
command
56
[ <= D0010 04000 ]
P0021
[ PUT 00001 00000 D0010 00001 ]
Output is specified to channel 0
P0022
[ PUT 00001 00001 D0010 00001]
Output is specified to channel 1
[ PUT
00001 00000 00000 00002 ]
8 - 5
Storing the value input by the BCD
[ BIN P000 D0010 ]
digital switch to D10.
M0001
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.
M0010
When a initialization command is
(
)
given, output commands for
channels 0 and 1 are disabled.
P23 turning On makes digital input
values to the channels 0 and 1 of
the D/A conversion module to be 0.
[ END]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents