I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
13
1.
Add device into firmware
Add
the slave device’s MAC ID into firmware by using API function.
2.
Configure connection
C
heck the slave device’s I/O connection type and the I/O data length.
While configuring the I/O connection, provide these parameters to
configuration APIs.
3.
Start Device
After configuring connections, the master will communicate with the slave
device which is triggered to active by using API function.
4.
Access I/O data
After communicating with slave devices, you can access the I/O data with
corresponding read/write functions.
After adding the device into the firmware, the master will wait for users to
get the I/O configuration information. Users can create the I/O connections in
the next step. Once I/O connections have been created and activated, I/O data
can be exchanged among devices in the DeviceNet network according to the
requirement of the master device. The master device can access I/O data of
the slave devices by one of the four I/O connection methods. All of the steps
described above are implemented by API functions. The API functions are not
only easy to use but also providing a lot of the DeviceNet Master functions to
retrieve and deliver the I/O data of the slaves. For more information about
APIs, please refer to functions description and demo programs in section 4.