Type: |
Structure |
Available as of: |
V1.0.0.0 |
Inherits from: |
- |
The inputs (S12..S63), which can be monitored, depending on the module type and its configuration.
The ST_InputControl data structure defines the monitoring parameters for the input channels of the module and so for the devices connected to the inputs. Such devices can be, for example, sensors or command devices.
The ST_InputContol structure relates to exactly one (dual-channel) input.
The FB_PreventaMain function block uses this structure at the input i_astControlInp.
Name |
Data type |
Description |
---|---|---|
udiMaxNumOp |
UDINT |
Maximum number of operating cycles of the input device (that is, sensor or command device) connected to the input specified at byMonitorInput1 (and byMonitorInput2 in case of a dual-channel device). The value of 0 means that the number of operating cycles is not counted. |
byMonitorInput1 |
BYTE |
First input to be monitored. Enter the input channel of the Preventa XPS safety module to which the input device is connected. Format: enter xy to use Sxy as first input. Examples: 12 defines S12, 62 defines S62 to be monitored. The value 0 means that the input channel is not monitored. |
byMonitorInput2 |
BYTE |
Second input to be monitored. Use the second input for dual-channel devices. Format: enter xz to use Sxz as second input. Examples: 13 defines S13, 63 defines S63 to be monitored. The value 0 means that the input channel is not monitored. |
xReset |
BOOL |
State-controlled input for resetting the maintenance result (operating cycle statistics) for the connected device to 0. A reset is necessary, for example, after an input device has been replaced or, if applicable, after you have performed particular maintenance works which require a statistics reset to follow. If, for example, a device has been replaced after the maximum number of operating cycles has been reached, the counting cannot be restarted without a reset. NOTE: After resetting a maintenance result value with xReset = TRUE, xReset must explicitly be switched back to FALSE by the application program. Otherwise, with a permanent TRUE value, a continuous statistics reset occurs. |
oFB_PreventaMain