Sensors
Interfaces
I_DigitalSensorBase
Properties
Property | Type | Access | Description |
---|---|---|---|
Active | BOOL | RO | Get the current state of the sensor |
DebounceMode | E_DebounceMode | RW | Get/Set the filter to be applied to sensor input |
DebounceTime | TIME | RW | Get/Set filter time to be used by DebounceMode |
Inverted | BOOL | RW | Get/Set if output of sensor should be inverted with respect to its input |
SimulationInput | BOOL | RW | Get/Set signal to use when component is in simulation mode |
SimulationMode | E_SensorSimulationMode | RW | Get/Set type of simulation to be used in simulation mode |
TimeActive | TIME | RO | Get time elapsed since last inactive state |
TimeInactive | TIME | RO | Get time elapsed since last active state |
Function Blocks
FB_DigitalSensor
1 |
|
HardwareInput AT %I* : BOOL
for linking to hardware.
DUTs
E_DebounceMode
1 2 3 4 5 6 7 |
|
E_SensorSimulationMode
1 2 3 4 5 |
|
ST_DigitalSensor_HMI
1 2 3 4 5 6 7 |
|
ST_DigitalSensor_Command
1 2 3 4 |
|
ST_DigitalSensor_Config
1 2 3 4 5 6 7 8 9 10 |
|
ST_DigitalSensor_Status
1 2 3 4 5 6 7 |
|