LG G3F-AD4A User Manual page 81

Programmable logic controller
Table of Contents

Advertisement

Chapter 8. MK PROGRAMMING
4) Programming Example
P0000
0
P0001
82
[ =
D0031 00000 ]
119
Digital value more than 13600 of channel 2 turns P0011 on
[ =
D0032 00000 ]
138
[ >=
13600 D0018 ]
0>
162
Digital value 12000 or more and 13600 or less of channel 4 turns P0012 on.
Buffer
memory
address
Slot number
[PUT
00000
00000
[PUT
00000
00001
[PUT
00000
00002
[PUT
00000
00003
[PUT
00000
00007
[PUT
00000
00008
[PUT
00000
00009
[PUT
00000
00010
[PUT
00000
00013
[GET
00000
00014
[GET
00000
00016
[GET
00000
00018
[GET
00000
00031
[ > 12000 D0014 ]
Digital value less than 12000 of channel 0 turns P0010 on
[ <
13600 D0016 ]
[ <=
12000 D0018 ]
[ =
12800 D00 18 ]
Digital value 12800 of channel 4 turns P0013 on.
8 - 4
The
Setting
number
data
of words
to write
h0015
00001
]
00000
00001
]
h0001
00001
]
00050
00001
]
h0003
00001
]
h0002
00001
]
00100
00001
]
00200
00001
]
h0015
00001
]
Device
Number of
to store
words to read
]
D0014
00001
]
D0016
00001
]
D0018
00001
]
D0031
00004
P0010
(
)
P0011
(
)
> 0
P0013
(
)
P0012
(
)
[END]

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G3f-ad4bG4f-ad2a

Table of Contents