Module Write_Array Type; G4F-Da2V,G4F-Da2I,G6F-Da2V,G6F-Da2I : Da2Awr) - LG MASTER-K200S Series User Manual

Programmable logic controller
Hide thumbs Also See for MASTER-K200S Series:
Table of Contents

Advertisement

Chapter 4. FUNCITION BLOCK
4.2 Function Blocks for Local
4.2.1 Module Write_ Array Type (G3F-DA3V,G3F-DA3I,G4F-DA3V,G4F-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
I/O
Variable
Block
Input
REQ
G3F-DA3V/DA3I
G4F-DA3V/DA3I
DA3AWR
BASE
REQ
DONE
BASE
STAT
SLOT
SLOT
DATA
G4F-DA2V/DA2I
DATA
G6F-DA2V/DA2I
DA2AWR
REQ
DONE
Output
DONE
BASE
STAT
SLOT
STAT
DATA
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.
Data
Type
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.
USINT
Base Location Number Area
-The base No. on which D/A conversion module is mount e d 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
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
INT
Input Data Type Specification Area
[Array]
-Input digital data type for each channel is specified in this area.
*Note1
-Setting range: 0 ~ 4000
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.
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.
4 - 2
Descri ptions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents