174
Command Reference: Function Blocks Section 8-5
8-5-9 User Mode Switch
Diagram
General Description
The User Mode Switch function block is used to monitor an operating mode
switch in the user system or device.
The operating mode switch that can be connected with this function block
must be a 1-of-N type switch (i.e., one of N contacts is ON). The function
block supports a maximum of eight inputs and corresponding outputs.
The output corresponding to the input that is active is turned ON. If an error is
detected for the function block, however, all outputs will turn OFF.
Optional Output Settings
The number of I/O can be increased on the In/Out Setting Tab Page in the
function block property dialog box.
Fault Present Output Setting
Fault Present output can also be used in programming.
To enable this output, select the Fault Present checkbox on the In/Out Setting
Tab Page of the function block properties dialog box.
Truth Table
0: OFF, 1: ON
Default Maximum Number of Inputs
Parameter Setting range Default
setting
Number of
inputs
2 to 8 2
Number of
outputs
2 to 8 2
Inputs Outputs
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
100000001 0 0 0 0 0 0 0
010000000 1 0 0 0 0 0 0
001000000 0 1 0 0 0 0 0
000100000 0 0 1 0 0 0 0
000010000 0 0 0 1 0 0 0
000001000 0 0 0 0 1 0 0
000000100 0 0 0 0 0 1 0
000000010 0 0 0 0 0 0 1