ST_Parameter_IN
TYPE ST_ParameterBuffer :
STRUCT
iParameterStatus :WORD;
iParameterReadValue :DWORD;
END_STRUCT
END_TYPE
Input data of the ASI Bus Terminal.
ParameterStatus
Byte Offset | Bit Offset | Description |
---|---|---|
0 | 0-5 | status bits |
0 | 6 | 0: no diagnosis, 1: diagnosis |
0 | 7 | always 0: no register communication |
1 | 0-3 | 0-3 reserved for extensions |
1 | 4 | Toggle-Bit to acknowledge task (if Cyclic the bit 6 is copied from bit 0) |
1 | 5 | Acknowledgement (0: noError, 1: error) |
1 | 6 | 0: cyclic, 1: acyclic |
1 | 7 | 0: parameter accesss, 1: ADS |
2 |
| input data (cyclic), parameter value (acyclic) or error number bit 0-7 |
3 |
| input data (cyclic), parameter value (acyclic) or error number bit 8-15 |
4 |
| Iinput data (cyclic), parameter value (acyclic) or error number bit 16-23 |
5 |
| input data (cyclic), parameter value (acyclic) or error number bit 24-31 |
Requirements
Development Environment | Target System | IO hardware | PLC Libraries to include |
---|---|---|---|
TwinCAT Version >= 2.8.0 Build > 739 | PC (i386) | ASI Master Bus Terminal | TcIoFunctions.Lib ( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcUtilities.Lib are included automatically ) |