Function Description
WARNING | |
---|---|
An IU_ERIO function block updates Ethernet remote I/O drop input and output modules with an optimal response time. The Ethernet remote I/O drop inputs and outputs are updated during the MAST task.
Call this function block in a MAST task. It can be called more than once in a task.
The input and output modules are physically located on an Ethernet remote I/O drop and declared in the Ethernet configuration.
EN
and ENO
can be configured as additional parameters.
IU_ERIO Mechanism
The Ethernet remote I/O drop input values are read in the 140CRP31200 module with an optimal response time.
The input values read in the 140CRP31200 module represent the latest values sent in an asynchronous way by the adapter module in each drop. The maximum time shift between values read in the 140CRP31200 and actual input values depends on the adapter’s publishing frequency (subscribe field CRA-> RPI).
The following diagram represents the I/O exchanges between a CPU and the Ethernet remote I/O drops:

Representation in FBD
Representation:

Representation in LD
Representation:

Representation in IL
CAL IU_ERIO(DROP:=>Drop_Number, DIR:=>Input_Output, STATUS=>Status_Report);
Representation in ST
IU_ERIO(DROP:=>Drop_Number, DIR:=>Input_Output, STATUS=>Status_Report);
Parameter Description
Input parameters:
Parameter |
Data type |
Meaning |
---|---|---|
|
|
Drop number (1...31) Drop number:
|
|
|
Data direction:
|
Output parameter:
Parameter |
Data type |
Meaning |
---|---|---|
|
|
Status report from the 140CRP31200 module:
|