
Chapter 8 MK Programming
8 - 4
4) Programming
PUT 0000 00000 h0015 00001
PUT 0000 00001 00000 00001
PUT 0000 00002 h0014 00001
PUT 0000 00005 00100 00001
PUT 0000 00007 00050 00001
PUT 0000 00011 00001 00001
GET 0000 00012 D0012 00001
GET 0000 00014 D0014 00001
GET 0000 00016 D0016 00001
GET 0000 00021 D0021 00001
GET 0000 00023 D0023 00001
GET 0000 00025 D0025 00001
number
memory
Data
words
(use channel 0, 2, and 4)
Assign analog input
range (DC4 ~ 20mA)
processing channel
(channel 2 and 4)
channel 2 (100 times)
channel 4 (50 times)
value
number
memory
of data
words
value of channel 0, and
store it into D0012
value of channel 2, and
store it into D0014
value of channel 4, and
store it into D0016
channel 0, and store it
into D0021
channel 2, and store it
into D0023
channel 4, and store it
into D0025
F0010
F0012
P0011
P0012
P0010
P0013
Turn on P0010 when
D0012 is greater than 2000
and no error at Ch 0
Turn on P0011 when
D0014 is less than 3600
and no error at Ch 2
Turn on P0012 when
D0016 is 2000~3600 and
no error at Ch 4
Turn on P0013 when
D0016 is 2800 and no
error at Ch 4
Kommentare zu diesen Handbüchern