EasyManua.ls Logo

LG G4F-DA2V - 4.2 Function Blocks for Local

LG G4F-DA2V
44 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4. FUNCITION BLOCK
4 - 2
4.2 Function Blocks for Local
4.2.1 Module Write_ Array Type (G3F-DA3V,G3F-DA3I,G4F-DA 3V,G 4F-DA3I : DA3AWR,
G4F-DA2V,G4F-DA2I,G6F-DA2V,G6F-DA2I : DA2AWR)
Module write function block of the Array type is a program for the use in performing for every channel in
block and setting a digital value to be converted into a D/A conversion.
Function
Block
I/O Variable
Data
Type
Descri ptions
REQ BOOL Function Block Execution Request Area
-The execution of function block initialization is requested in this area.
-If the status connected with this area is satisfied on the program execution and 0 is changed to 1,
function block for the module is executed.
BASE USINT
Base Location Number Area
-The base No. on which D/A conversion module is mounted is written on this area.
-Setting range : G3F-DA3V,G3F-DA3I,G4F -DA3V,G4F-DA3I,G4F-DA2V,G4F-DA2I : 0 to 3
G6F-DA2V,G6F -DA2I : 0
SLOT USINT Slot Location Number Area
-The slot No. on which D/A conversion module is mounted is written on this area.
-Setting range: 0 to 7
Input
DATA INT
[Array]
*Note1
Input Data Type Specification Area
-Input digital data type for each channel is specified in this area.
-Setting range: 0 ~ 4000
DONE BOOL Function Block Execution Complete Area
- When function block has been completed with no error, 1 is written and until next execution, 1 is
continuing. When error occurs, 0 is written and operation come to stop.
G3F-DA3V/DA3I
G4F-DA3V/DA3I
G4F-DA2V/DA2I
G6F-DA2V/DA2I
Output
STAT USINT Error Code Display Area
- When error occurs during function block processing, the error code number is written.
- For error code, refer to section 4.4.
Remark
Note 1: Array number of data type means the whole number of channels and channel number.
Array number of G3F-DA3V/G3F-DA3I/G4F-DA3V/G4F-DA3I is 8 and array number of G4F-DA2V/G4F-DA2I
/G6F-DA2V/G6F-DA2I is 4.
REQ
BASE
SLOT
DATA
DA3AWR
STAT
DONE
REQ
BASE
SLOT
DATA
DA2AWR
STAT
DONE

Table of Contents

Related product manuals