I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
36
3.6 Flow Chart for I/O Connection
The users can read or write device's I/O data via the DeviceNet I/O
connections such as Poll, Strobe, COS and Cyclic connection. There are four
important steps to read and write the I/O data. Firstly, users should know the
device's I/O input length (in Byte) and output length (in Byte). Secondly, users
should set these two parameters to the slave device by calling
I8124_AddIOConnection. Thirdly, users can set the initial output value by
calling I8124_WriteOutputData before starting the specific slave device. If
users do not initialize the output value, the firmware default output value is 0.
Finally, users can start communicating with the slave devices to read or write
I/O data.
If the specific slave device doesn’t have any output channel, the
firmware will start communicating with the device automatically. The Figure 3.9
shows the main steps how to achieve this. More functions are described in
chapter 4.
Figure 3.9 I/O Connection Flow Chart
Note: The Strobe connection doesn
’t support the output channel. Users can not
use the I8124_WriteOutputData with Strobe connection.