
Chapter 8. MK PROGRAMMING
8 - 6
(4) Programming example
P0000
0 [PUTP ]
Initial setting
[PUTP ]
[PUTP ]
[PUTP ]
[PUTP ]
P0001
[GET 00003 00039 D0039 00001]
A/D conversion value
Store command
[GET 00003 00056 D0056 00001]
P0002
[ DBCD D0039 P001 ]
A/D conversion value output command
P0003
[ BCD D0056 P003 ]
Error code output command
[ END ]
00003
00003
00003
00003
00003
00000
00001
00020
00022
00038
h0001
00000
00001
00100
00001
00001
00002
00002
00001
00001
Channel 0 enabled
Input type setting to current input and
data out type setting to 0 to 16000
Average processing setting of channel 0
and time average processing of channel 0
Set time average to 100ms of channel 0
Set data specification of channel 0
Store A/D conversion value on D39
Store error code of channel 0 to 3 on D56
Convert data of D39 into P0010 to P0023
on BCD display
Convert data of D56 into P0030 to P0037
on BCD display