Binary Encoder - Mitsubishi Electric WS0-CPU0 Operating Manual

Melsec ws series, safety controller setting and monitoring tool
Table of Contents

Advertisement

Chapter 9
Figure 122:
Function block diagram for
the Binary encoder function
block
Table 44:
Parameters of the Binary
encoder function block
145
Logic programming – Function blocks
9.7.14

Binary encoder

Function block diagram
General description
The Binary encoder function block encodes depending on the current configuration a
one-out-of-N (one-hot) or a priority code to a binary code (Output A = 2
2
Output C = 2
). 2 to 8 inputs can be configured. The number of outputs depends on
the number of inputs. An optional Fault present output is available.
Parameters of the function block
Parameter
Number of inputs
Encoder mode
Use fault present
One out of N
In One out of N mode, only one input may be High at the same time. The outputs are
set dependent on the index (input 1 = 1, input 2 = 2, ...) of the High input. If all inputs
are Low or if more than one input is High at the same time, all outputs are set to Low
and Fault present becomes High.
Priority
In Priority mode, more than one input may be High at a time. The outputs are set
dependent on the High input with the highest index (input 1 = 1, input 2 = 2, ...). If all
inputs are Low at the same time, all outputs are set to Low and Fault present
becomes High.
Possible values
2 to 8
 One out of N
 Priority
 Priority-to-binary (Input 1 dominant)
 With
 Without
0
1
, Output B = 2
,

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws0-cpu1Sw1dnn-ws0adr-bWs0-cpu3

Table of Contents