Simulation of an SSI input terminal
Simulation of a 1-channel SSI input terminal. This FB only provides a mapping interface and does not contain an implementation.
Syntax:
FUNCTION_BLOCK FB_SimSsiInputElTerminal1
Inputs
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
AnalogValue1 | INT | IN | 0 | The simulated input value of the 1st channel. |
AnalogValue2 | INT | IN | 0 | The simulated input value of the 2nd channel. |
AnalogValue3 | INT | IN | 0 | The simulated input value of the 3rd channel. |
AnalogValue4 | INT | IN | 0 | The simulated input value of the 4th channel. |
WcState | BOOL | OUT | FALSE | The simulated Working Counter State. |
Toggle | BOOL | OUT | FALSE | The simulated toggle bit. |
InfoDataState | UINT | OUT | 8 | The simulated Device State. |
AdsAddr | AMSADDR | OUT |
| The simulated ADS address. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticFunctions v3.12.4.26 or higher |