Selection instructions
257
Part II IEC Instructions
Body
In channel_select you find the integer value (0, 1...n) for the selection of channel_0 or
channel_1. The result will be written into output.
LD
ST
When programming with structured text, enter the following:
output:=MUX( K:= channel_select , IN0:= channel_0 ,
IN1:= channel_1 );