BUS_INFO (STRUCT)¶
TYPE BUS_INFO : STRUCT
This structure provides basic information on a fieldbus:
eType
: Type of fieldbus. See BUS_TYPE.idSystem
: Unique system ID for the identification of the fieldbus.Bus Type
Interpretation
CANbus
Network ID
Profibus DP
MasterID (see also Master-FB Property)
DeviceNet
Network ID
EtherCAT
low DWORD of the MAC address of the master
Sercos III
CAA.gc_idMAX_IDENT
Profinet IO
MasterID (see also Controller-FB Property)
Modbus TCP
CAA.gc_idMAX_IDENT
Modbus RTU
CAA.gc_idMAX_IDENT
EtherNet/IP
IP address
AS Interface
CAA.gc_idMAX_IDENT
Ethernet
IP address
Serial Line
number of COM port
idInstance
: Instance number in I/O configuration (starting by 0).Example
First CANbus has instance number 0, second CANbus instance number 1, …
- Attributes:
qualified_only
- InOut:
Name
Type
Comment
eType
Unique ID of the fieldbus type (e.g. CANopen, ProfiBus)
idSystem
CAA.IDENT
Unique system ID for the identification of the fieldbus. The interpretation of this value is fieldbus dependent (e.g. NetID for CANBus). If the value gc_idMAX_IDENT is returned the system ID could not be determined.
idInstance
CAA.IDENT
Instance number in I/O configuration.