Chapter 4. FUNCTION BLOCKS
4.3 Remote Function Block
4.3.1
Module Initialization (G3F-RD3A : RTDR3INI, G4F-RD2A : RTDR2INI)
The module initialization function block specifies, for use in the program, the location No. of the slot
where the communication module loaded in the receiving station, the station No. of the communication
module loaded in the remote I/O station, the No. of the base where the RTD input module is loaded, the
use channels and the type of the RTD.
Function
I/O
Block
I
O
REMARK
Note 1: The numbers of Array are 8 in G3F-RD3A, 4 in G4F-RD2A
Data
Variable
Type
REQ
BOOL
Function block execution request area at rising edge.
- Used to request an execution of the reading function block
- If the conditions connected with this area are established while the
program is running and "0" changes into "1"(rising edge), the module
initialization function block is executed.
NET_NO
USINT
Location No. of the slot where the communication module of the station to
which the function block will be sent is loaded.
- Setting range: 0 ~ 7
ST-NO
USINT
Station No. of the communication module loaded in the remote I/O station.
- Setting range: 0 ~ 63
BASE
USINT
Base module location No.
- Used to write the number of the base where the RTD input module is
loaded.
- Setting range: 0 ~ 3
SLOT
USINT
Slot location No.
- Used to write the number of the slot where the RTD input module is
loaded.
- Setting range: 0~7
CH
BOOL
Run channel enable/disable specification
[Array]
- Used to enable or disable a channel for run.
*Note 1
- Specify "1" for enabling, and "0" for disabling
TYPE
BOOL
Specifying the type of RTD for use
[Array]
- Used to specify the type of "0" for Pt100 and "1" for JPt100 for each
*Note 1
channel
NDR
BOOL
"1" when the function block is finished without error. "1" remains during the
scan where the execution condition is being satisfied and it changes into
"0" at the next scan.
ERR
BOOL
Error information indication area
- If error occurs during initialization function block execution "1" is output
and the module enter into the stop state. "1" remains during the scan
where the execution condition is being satisfied and it changes into "0" at
the next scan.
STAT
USINT
Error status indication area
- Used to output the number of an error when it occurs during reading
function block execution.
- For description of errors, see GM Section 7.4
ACT
BOOL
Run channel status indication area
[Array]
- After the initialization function block is finished with no error, "1" is output
*Note 1
if the channel is in normal state. But "0" is output for the disabled
channels.
Descriptions
.
4 - 5