ST_ADSDevice
Describes the ADS device, which has to be specified for methods of the function block FB_PLCDBWriteEvt.
Syntax
Definition:
TYPE ST_ADSDevice :
STRUCT
sDevNetID: T_AmsNetId;
nDevPort: T_AmsPort;
eADSRdWrtMode: E_ADSRdWrtMode;
tTimeout: TIME;
END_STRUCT
END_TYPE
Parameter
Name | Type | Description |
---|---|---|
sDevNetID | T_AmsNetId | NetID of the ADS device |
nDevPort | T_AmsPort | AMS Port |
eADSRdWrtMode | Connection mode IGroup_IOffset / bySymbol | |
tTimeout | TIME | ADS connection timeout |
Requirements
Development environment |
Target platform |
PLC libraries to be linked |
---|---|---|
TwinCAT v3.1 Build 4020.10 |
PC or CX (x86) |
Tc3_Database |