T_AmsNetId
TYPE T_AmsNetId : STRING(23);
END_TYPE
The variable of this type is a string containing the AMS network identifier of the target device to which the ADS command is directed. The string consists of six numerical fields, separated by dots. Each numerical field contains a number between 1 and 254. Valid AMS network addresses are, for example, "1.1.1.2.7.1" or "200.5.7.170.1.7". If an empty string is passed, the AMS network identifier of the local device is automatically assumed.
Requirements
Development environment | Target system type | PLC libraries to include |
---|---|---|
TwinCAT v2.8.0 | PC or CX (x86) | TcSystem.Lib |
TwinCAT v2.10.0 Build >= 1301 | CX (ARM) | TcSystem.Lib |