The DEVICE_DATA structure is defined in <inc_path/toolkit.h> as:
typedef struct device_data
{
int model;
int cpu_id;
char device_id[TOOLKIT_DEVICE_LENGTH + 1];
char network_addr[TOOLKIT_NETWORK_ADDR_LEN + 1];
char primary_network_addr[TOOLKIT_NETWORK_ADDR_LEN + 1];
char secondary_network_addr[TOOLKIT_NETWORK_ADDR_LEN + 1];
int in_use ;
} DEVICE_DATA;
Where
model is the configured model number of the device. This number is defined in the <product>.model file.
cpu_id is the configured CPU ID of the device. his information is defined when you configure the device in your CIMPLICITY project.
device_id is the device identifier. This information is defined when you configure the device in your CIMPLICITY project.
network_addr is the network address of the device. This information is defined when you configure the device in your CIMPLICITY project.
primary_network_addr is reserved for GE Fanuc use.
secondary_network_addr is reserved for GE Fanuc use.
in_use is reserved for GE Fanuc use.
Device Communications Toolkit structures. |