Standard function blocks
403
SWITCHC
(10064)
Illustration
Execution time 1.53 µs (when two inputs are used) + 0.73 µs (for every additional input). When all
inputs are used, the execution time is 23.31 µs.
Operation The output (OUT) is equal to the corresponding channel A input (CH A1…32) if the
activate input (ACT) is 0. The output is equal to the corresponding channel B input (CH
B1…32) if the activate input (ACT) is 1.
Inputs The input data type and the number of inputs (1…32) are selected by the user.
Activate input (ACT): Boolean
Input (CH A1…CH A32, CH B1…CH B32): INT, DINT, REAL, REAL24, Boolean
Outputs Output (OUT1…OUT32): INT, DINT, REAL, REAL24, Boolean
SWITCHC
(BOOL) 84
TLA1 1 msec (1)
ACT
CH A1
CH A2
CH B1
CH B2
OUT1
OUT1(84)
OUT2
OUT2(84)