
Chapter 5. GM PROGRAMMING
5 -8
4) Programming
Execution condition and
Initial Setting
Base location number
specification
Slot location number
specification
Available channel
enable specification
Data type specification
Filter enable/disable
specification
Filter value specification
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 reading function block
Data display of A/D conversion
value of enabled channel
Slot location number
specification
A/D conversion read has
been completed normally.
This program converts the integer type of the A/D conversion value
CH0_DATA into BCD data type to display onto the BDC digital display.
Command for displaying the
error code onto BCD digital
display
Error code display in the
processing of function
block initialization
A/D conversion
value of channel
0
Error code on the
reading function
This program converts the unsigned integer type of RD_STAT, which indicates the error status
of the reading function block, into BCD data type to display it onto the BDC digital display.
Command for displaying the
A/D conversion value onto BCD
digital display