SWITCH_B (26)
SWITCH_B (26)
ID 26
Application: |
PLC |
SIM |
Group: LOGIC
Short description:
The function performs the operation of a multi-position switch.
Inputs (1-10):
no. |
type |
impulse |
mark |
notes |
1 |
I |
no |
channel |
Select the input to be linked to the output |
B |
no |
IN1 |
Binary input no. 1 |
|
3 | B | no | IN2 | Binary input no. 2 |
… |
… |
… |
… |
… |
10 |
B |
no |
IN10 |
Binary input no. 10 |
Outputs (1):
no. |
type |
impulse |
mark |
notes |
1 |
B |
no |
OUT |
Function output value |
Settings:
no. |
type |
name |
notes |
1 |
I |
inputs |
number of function inputs |
Function operation:
The SWITCH_B function performs the operation of a multi-position switch. The channel input allows you to select the IN input number, the status of which is sent to the OUT output. By setting the variable Inputs, the number of inputs IN is selected, ranging from 2 to 10.
R registers and M markers used: none