LG G3F-AD4A User Manual page 46

Programmable logic controller
Table of Contents

Advertisement

Chapter 4. FUNCTION BLOCK
4.2.3 Module Reading - Single Type :
: AD4BRD)
Single type of function block for reading the module is performed for only one channel and the specified
channel is used to read output variable of data displayed from A/D conversion digital value.
Function
I/O
Block
Input
G3F-AD4A
(G3F-AD4B,
G4F-AD2A)
AD4RD
(AD4BRD,
AD2RD)
REQ
DONE
BASE
STAT
SLOT
ACT
CH
DATA
Output
(G3F-AD4A : AD4RD, G4F-AD2A : AD2RD,
Data
Variable
type
Function Block Execution Request Area
- The execution of function block reading is requested in this area.
REQ
BOOL
- If the status to be connected with this area is satisfied on the program
operation and input condition changes from low(0) to high(1), function
block initialization for the module is executed.
Base Module Location Number Area
- The base No. on which A/D conversion module is mounted is written on
BASE
USINT
this area.
- Setting range : GM1 series( 0 to 31 ), GM2 series( 0 to 7), GM3/4 series( 0
to 3)
Slot Location Number Area
- The slot No. on which A/D conversion module is mount ed is written on this
SLOT
USINT
area.
- Setting range: 0 to 7
Available Channel Specification Area
CH
USINT
- Available channels are specified in this area.
- Setting range: G3F -AD4A/G3F-AD4B : 0 to 15, G4F -AD2A : 0 to 3
Function Block Execution Complete Area
- When function block reading is executed with no error, 1 is written and until
DONE
BOOL
next execution, 1 is continuing. When error occurs, 0 is written and
operation come to stop.
Error Code Display Area
- When error occurs during function block initialization, the error code
STAT
USINT
number is written.
- Error code is referred to Section 4.4.
DATA
INT
A/D Conversion Value Output Area
4 - 4
G3F-AD4B
Descriptions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G3f-ad4bG4f-ad2a

Table of Contents