Chapter 4. FUNCITION BLOCK
4 - 5
4.3 Remote Function Block
4.3.1 Module Initialization(G3F-DA4V / G3F-DA4I : DAR4INI, G4F-DA1A : DAR1INI)
A module initialization function block is a program for the use in setting the location number of the slot on
which the communication module of the master station is mounted, the address number of communication
module which is ba sed on a remote I/O station, the base location number, and the slot location number, and
specifying the available channel enable, a data type for D/A conversion, and D/A conversion module condition
when the CPU module is stopping
Function
block
I/O Variable Data
type
Descriptions
REQ BOOL
Function Block Execution Request Area at a rising edge
-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 initialization for the module is executed.
NET-NO USINT
Slot Location Number Area
-The slot No. on which communication module of the master station is mounted is written on this
area. -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.
DATA
TYPE
BOOL
[Array]
*Note 1
Input Data Type Specification Area
-Input digital data type for each channel is specified in this area.
-0 is for the range of -192 to 16191.
-1 is for the range of -8192 to 8191.
input
SEL USINT
[Array]
*Note 1
When a CPU module stops or enabled channel is unused, output value is specified in this area.
-"0" leads to output the medium value of the range.
-"1" leads to output the previous value.
-"2" leads to output the maximum value of the range.
-"3" leads to output the minimum value of the range.
NDR BOOL
When function block initialization 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 7.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
Summary of Contents for G3F-DA4I
Page 42: ...Chapter 5 GM PROGRAMMING 5 5 6 I O Variables on Program ...
Page 44: ...Chapter 5 GM PROGRAMMING 5 7 4 Program INI_STAT ...
Page 45: ...Chapter 5 GM PROGRAMMING 5 8 5 I O Variables on Program ...
Page 47: ...Chapter 5 GM PROGRAMMING 5 10 4 Program ...
Page 48: ...Chapter 5 GM PROGRAMMING 5 11 5 I O Variables on Program ...
Page 74: ...Chapter 10 G3F PA1A G3F PA2A POWER SUPPLY MODULE 10 3 10 4 Dimensions ...
Page 75: ...Chapter 11 DIMENSIONS 11 1 Chapter 11 DIMENSIONS 11 1 G3F DA4V G3F DA4I Dimensions ...
Page 76: ...Chapter 11 DIMENSIONS 11 2 11 2 G4F DA1A Dimensions ...