Datentyp ST_DriveAddress
Der Datentyp ST_DriveAddress enthält die ADS Zugriffdaten eines Antriebsgerätes. Die Daten werden mit MC_ReadDriveAddress gelesen.
TYPE ST_DriveAddress :
STRUCT
NetID : T_AmsNetId; (* AMS NetID of the drive as a string *)
NetIdBytes : T_AmsNetIdArr; (* AMS NetID of the drive as a byte array (same information as NetID) *)
SlaveAddress : T_AmsPort; (* slave address of the drive connected to a bus master *)
Channel : BYTE; (* EtherCAT channel number of the drive (0, 1, 2, 3, 4…) *)
END_STRUCT
END_TYPE