
Chapter 5. GM PROGRAMMING
5 -2
B) Programming Example
execution condition
Base location number
specification
Slot location number
specification
Available channel
enable specification
Data type specification
Filter enable/disable
specification
Filter value specif ication
Average processing
enable/disable specification
Average number/time
specification
Average number/time
value specification
Error code display in the
function block initialization
Channel operation display
in the function block
initialization
Base location number
specification
Slot location number
specification
Available channel
enable specification
Error code display in the processing
of the read function block
Channel operation display in the
processing of read function block
initialization
Data display of A/D conversion
value of enabled channel
Normal completion of
A/D conve rsion reading
A/D conversion
value of channel 4
A/D conversion
value of channel 4
The digital value more than 13600 of channel 2 turns %Q0.1.1 on.
The digital value less than 12000 of channel 0 turns %Q0.1.0 on.
The digital value 12800 of channel 4 turns %Q0.1.3 on.
The digital value more than 12000 or same, and less than 13600 or
same of channel 4 turns %Q0.1.2 on.
A/D conversion
value of channel 2
A/D conversion
value of channel 0