ASI master terminal
Function blocks for accessing the ASI master terminal.
Function blocks
Name | Description |
---|---|
Specify or modify addresses of the ASI slaves | |
Cyclic slave diagnostics (e.g. counter states) | |
Universal function block for reading all the parameters of an ASI slave | |
Universal function block for setting all the parameters of an ASI slave | |
Read analog values | |
Write analog values | |
Read/write digital values | |
Background communication. This block must always be called cyclically!!! |
Errorcodes:
Errorcode (dec): | Description |
---|---|
1 | Communication Timeout |
2 | ASI-Slaveaddress does not exist |
3 - 10 | reserved |
11 | ASI-Slave not activated (Slave is not in LAS) |
12 | Communication Failure |
13 | Dataexchange not enabled (CN.4 is not set) |
Linking into the System Manager
The library has one input structure: ST_Parameter_IN, and one output structure: ST_Parameter_OUT. These must be instanced and addressed, so that on the one hand they can be passed to the FB_ParameterControl function block as VAR_IN_OUT, and on the other hand can be linked into the System Manager. The terminals' process data contains 6 or 16 bytes, depending on which ASI module is linked into the System Manager. These can be linked directly.
