Remote Function Block; Module Write; G4F-Da2V,G4F-Da2I : Dar2Wr, G6F-Da2V,G6F-Da2I : Dar62Wr) - 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.3 Remote Function Block

4.3.1 Module write : (G3F-DA3V/G3F-DA3I : DAR33WR, G4F-DA3V/G4F-DA3I : DAR3WR,
G4F-DA2V/G4F-DA2I : DAR2WR, G6F-DA2V/G6F-DA2I : DAR62WR)
Module write function block of the Single type is a program for the use in performing for a channel of D/A
conversion module and setting a digital value to be converted into a D/A conversion.
Function
I/O
Variable
block
Input
G3F-DA3V/DA3I
G4F-DA3V/DA3I
DAR(3)3WR
REQ
NDR
NET_
NET_
ERR
NO
ST_N
STAT
ST_NO
O
BASE
SLOT
BASE
DATA
SLOT
G4F-DA2V/DA2I
G6F-DA2V/DA2I
DATA
DAR(6)2WR
REQ
NDR
Output
NET_
ERR
NO
ST_N
STAT
O
BASE
SLOT
DATA
STAT
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
Function Block Execution Request Area on Rising Edge.
- The execution of write function block is requested in this area.
- If the status to be connected with this area is satisfied on the program operation and input
REQ
BOOL
condition changes from low(0) to high(1), function block initialization for the module is
executed.
The location number of the slot on which the transmission module of the master station is
mount e d.
USINT
NO
-Setting range: 0 to 7
Station number of the communication module which a remote I/O station has.
USINT
- Setting range : 0 to 63
Base Location Number Area
- The base No. on which A/D conversion module is mounted is written on this area.
USINT
- Setting range : G3F-DA3V,G3F-DA3I,G4F-DA3V,G4F-DA3I,G4F-DA2V,G4F-DA2I : 0 to 3
Slot Location Number Area
USINT
- The slot No. on which A/D conversion module is mounted is written on this area.
- Setting range: 0 to 7
Input Data Type Specification Area
INT
-Input digital data type for each channel is specified in this area.
[Array]
*Note1
-Setting range : 0 ~ 4000
When function block execution is completed with no error, 1 is written. During the scan which
NDR
BOOL
the execution condition has been made, 1 is continuing and at the next scan. 0 is written.
Error Data Display Area
- When error occurs during function block initialization, 1 is written and the operation comes to
ERR
BOOL
stop. During the scan which the execution condition has been made, 1 is continuing and at
the next scan, 0 is written.
Error Code Display Area
USINT
- When error occurs during function block initialization, the error code number is written.
4 - 4
Descriptions
G6F-DA2V, G 6F-DA2I : 0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents