4
FUNCTIONS
4.2 I/O Module and Intelligent Function Module Access Function
4 - 4
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
FUNCTIONS
5
SETTING AND
PROCEDURES
6
I/O NUMBER
ASSIGNMENT
7
MEMORIES AND
FILES
8
INSTALLING /
UNINSTALLING
4.2 I/O Module and Intelligent Function Module Access Function
(1) I/O module, intelligent function module access function
This function controls the I/O modules and intelligent function modules controlled by
the C Controller module.
Create the user program of the C Controller module using the bus interface functions.
Figure 4.1 Access to I/O modules and intelligent function modules
<Example>
C Controller module
/* Outputs Y in 1-point unit */
ret = QBF_Y_Out_BitEx(path, flg, yno, data);
/* Reads X in 1-word unit */
ret = QBF_X_In_WordEx(path, flg, xno, size, data, datasize);
/* Writes to the intelligent function buffer memory */
ret = QBF_ToBuf(path, iono, offset, size, data, datasize);
1) Outputs Y in 1-point unit.
2) Reads X in 1-word unit.
3) Writes data from the C
Controller module to the
intelligent function buffer
memory.
C Controller module
1)
2)
3)
Drive unit
Motor