ST_ADSDevXMLCfg
TYPE ST_ADSDevXMLCfg :
STRUCT
sAdsDevNetID : T_AmsNetID;
tAdsDevTimeout : TIME;
nAdsDevID : DINT;
nAdsDevPort : UINT;
END_STRUCT
END_TYPE
sAdsDevNetID : Is a string containing the AMS network identifier of the Ads-device.
tAdsDevTimeout : Contains the timeout of the Ads-device.
nAdsDevID : Returns the ID of the Ads-device.
nAdsDevPort : Indicates the Ams-port of the Ads-device.
Requirements
Development environment | Target system type | PLC libraries to be linked |
---|---|---|
TwinCAT v2.10.0 | PC oder CX (x86) | TcDatabase.Lib |
TwinCAT v2.10.0 | CX (ARM) |