ST_Parameter_IN
Input data of the ASI terminal.
TYPE ST_ParameterBuffer :
STRUCT
iParameterStatus : WORD;
iParameterReadValue : DWORD;
END_STRUCT
END_TYPE
Byte Offset | Bit Offset | Description |
---|---|---|
0 | 0-5 | Status bits (as with previous terminals) |
0 | 6 | 0: no diagnosis, 1: diagnosis (as with previous terminals) |
0 | 7 | always 0: no register communication |
1 | 0-3 | 0-3 reserved for extensions |
1 | 4 | Toggle bit for acknowledging order (in case of cyclic, bit 6 is copied from byte 0) |
1 | 5 | Acknowledgement (0: NoError, 1: Error) |
1 | 6 | 0: Cyclic, 1: Acyclic |
1 | 7 | 0: Parameter access, 1: ADS |
2 |
| Input data (cyclic), parameter value (acyclic) or error number bits 0-7 |
3 |
| Input data (cyclic), parameter value (acyclic) or error number bits 8-15 |
4 |
| Input data (cyclic), parameter value (acyclic) or error number bits 16-23 |
5 |
| Input data (cyclic), parameter value (acyclic) or error number bits 24-31 |
Requirements
Development environment | Target platform | IO hardware | PLC libraries to be integrated (category group) |
---|---|---|---|
TwinCAT v3.1.0 | PC or CX (x86) | ASI master terminal | Tc2_IoFunctions (IO) |