Local Function Blocks; Module Initialization (G3F-Rd3A:rtd3Ini, G4F-Rd2A:rtd2Ini) - LG MASTER-K G4F-TC2A User Manual

Programmable logic controller
Hide thumbs Also See for MASTER-K G4F-TC2A:
Table of Contents

Advertisement

Chapter 4. FUNCTION BLOCKS

4.2 Local Function Blocks

4.2.1 Module Initialization (G3F-RD3A: RTD3INI, G4F-RD2A:RTD2INI)
Module initialization function block specifies RTD input module base location, slot location, run channel
enable/disable and the type of RTD for use in program.
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
Function block execution request area
- Used to request an execution of the initialization function block
REQ
BOOL
- If the conditions connected with this area are established while program is
running and input condition changes from low to high, the initialization function
block is executed
Base location No.
BASE
USINT
- Used to write the number of the base where the RTD input module is loaded.
- Setting range: GM1 series(0~31), GM2 series(0~7), GM3/4 series(0-3)
Slot location No.
SLOT
USINT
- Used to write the number of the slot where the RTD input module is loaded.
- Setting range: 0~7
BOOL
Run channel enable/disable specification
CH
[Array]
- Used to enable or disable a channel for run.
*Note 1
- Specify "1" for enabling, and "0" for disabling
Specifying the type of RTD for use
BOOL
- Used to specify the type of "0" for Pt100 and "1" for JPt100 for each channel
TYPE
[Array]
"0" :Pt100
*Note 1
"1" : JPt100
Function block execution complete status
- "1" is output when the initialization function block is finished with no error and
DONE
BOOL
"1" remains until next execution. If an error occur, '0' is displayed and the
operation enters into the stop state.
Error status indication area
- Used to output the number of an error when it occurs during initialization function
STAT
USINT
block execution.
- For description of errors, see GM Section 7.4
BOOL
Run channel status indication area
ACT
[Array]
- After the initialization function block is finished with no error, "1" is output if the
*Note 1
channel is in normal state. But "0" is output for the disabled channels.
Descriptions
4 - 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Glofa g3f-rd3a

Table of Contents