PISO-DNM100 DeviceNet Master API functions User’s Manual (Ver: 1.0) 2008/02/25
37
3.7 Flow Diagram for Poll Connection
The users can read or write device's I/O data via the DeviceNet Poll
connection. The PISO-DNM100 provides three functions to read and write the
I/O data easily. Firstly, the users should know the device's I/O input length (in
Byte) and output length (in Byte). Secondly, the users should set these two
parameters by calling DNM100_ConfigPoll. Thirdly, the users can set the initial
output value by calling DNM100_WritePollOutputData before starting the
specific slave device. If the users do not initialize the output value, the firmware
default output value is 0. Fourthly, the users can start communicating with
device 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 to achieve this function.
There are more functions described in chapter 4.
Figure 3.9 Poll Connection Diagram