Chapter 4. FUNCTION BLOCKS
4 - 4
4.2.3 Module Reading (Stand-alone type)
The stand-alone type module reading function block outputs the temperature conversion value to which
each channel of the thermocouple input module is set to output variable TEMP.
Function
Block
I/O Variable
Data
Type
Description
REQ BOOL
Function block execution request area
- Used to request an execution of the conversion value reading function
block
- If the conditions connected with this area are established and “0”
changes into “1” while the program is running, the reading function block
is executed.
BASE USINT
Base location No.
- Used to write the base No. where the thermocouple input module is
mounted.
- Setting range: GM1 series(0~31), GM2 series(0~7), GM3/4 series(0-3)
GM6 series(0-1)
SLOT USINT
Slot location No.
- Used to write the slot No. where the thermocouple input module is
mounted.
- Setting range: 0~7
I
CH
USINT
Specifying the use channel.
Setting range : 0 to 15 (G4F-TC2A/G6F-TC2A: 0 to 3)
DONE BOOL
Function block finished execution status
- “1” is output when the reading function block is finished without error
and “1” remains until next execution. If an error occur, ‘0’ is output and
the operation enters into the stop state.
STAT
USINT
Error status indication area
- Used to output the error No. when it occurs during reading function block
execution.
- For description of errors, refer to the Section 4.4
ALM
BOOL
Run channel error indication area
- “1” is output when error occurs for corresponding run channel.
TEMP INT
Temperature conversion value output area
- The CPU module reads the temperature conversion value of the
corresponding channel from the thermocouple-input module and
outputs it to this area.
- The temperature conversion value of corresponding channel is 10 times
than the real temperature value.
(Example: Temperature conversion value 1234
→
Real temperature
value 123.4
°
C)
O
SCAL
INT
Digital conversion value output area
- The CPU module reads the digital conversion value of the corresponding
channel from the thermocouple input module and outputs it to this area.
- The temperature conversion value of corresponding channel within its measuring
temperature range is converted into a digital value within 0 to 16000 and it is
outputted to this area.
- The Value read from the output variable SCAL.
- The output value through digital conversion can be used as a PV of the PID control
module.
16000
×
(Temperature conversion value –
Overall measuring Minimum measuring temperature)
temperature range
G4F-TC2A/
G6F-TC2A