Chapter 4. FUNCITION BLOCK
4 - 6
4.3.2 Module Write (G3F-DA4V / G3F-DA4I : DAR4WR, G4F-DA1A : DAR1WR)
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
Descriptions
REQ BOOL
Function Block Execution Request Area at a rising edge.
-The execution of function block 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.
NET_NO USINT
-The slot No. on which the communication module of the master station is mounted
- Setting range: 0 to 7
ST_NO USINT
The address number of communication module which is loaded on a remote I/O station.
- Setting range 0 to 63
BASE USINT
Base Location Number Area
-The base No. on which D/A conversion module is mounted is written on this area.
-Setting range : 0 to 3
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
CH
BOOL
[Array]
*Note 1
Available Channel Specification Area
-Available channels are specified in this area.
-Enabled channels are specified to 1 and disabled channels are specified to 0.
input
DATA
INT
[Array]
*Note 1
Input Data Type Specification Area
-Input digital data type for each channel is specified in this area.
NDR BOOL
When function block has been completed with no error, 1 is written and then next scan,
0 is written.
ERR
BOOL
Error Data Display Area
When error occurs during function block processing, 1 is written and operation comes
to stop. On the next scan, 0 is written.
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.
output
ACT
BOOL
[Array]
*Note 1
Channel Operation Display Area
-enabled channel specified after executing the function block initialization with no error
is normal, 1 is written and, 0 is written to the non-specified channel.
REMARK
* Note 1 - The number of Array are the G3F-DA4V and G3F-DA4I of 16 and the G4F-DA1A of 2
Содержание G3F-DA4I
Страница 42: ...Chapter 5 GM PROGRAMMING 5 5 6 I O Variables on Program ...
Страница 44: ...Chapter 5 GM PROGRAMMING 5 7 4 Program INI_STAT ...
Страница 45: ...Chapter 5 GM PROGRAMMING 5 8 5 I O Variables on Program ...
Страница 47: ...Chapter 5 GM PROGRAMMING 5 10 4 Program ...
Страница 48: ...Chapter 5 GM PROGRAMMING 5 11 5 I O Variables on Program ...
Страница 74: ...Chapter 10 G3F PA1A G3F PA2A POWER SUPPLY MODULE 10 3 10 4 Dimensions ...
Страница 75: ...Chapter 11 DIMENSIONS 11 1 Chapter 11 DIMENSIONS 11 1 G3F DA4V G3F DA4I Dimensions ...
Страница 76: ...Chapter 11 DIMENSIONS 11 2 11 2 G4F DA1A Dimensions ...