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