Segl (Fnc 74) - Mitsubishi FX1S Series Programming Manual

Melsec-f
Hide thumbs Also See for FX1S Series:
Table of Contents

Advertisement

FX Series Programmable Controlers
5.8.5

SEGL (FNC 74)

Mnemonic
SEGL
FNC 74
(
Seven
segment
with latch)
16 BIT OPERATION
segment displays varies between display manufactures, this instruction can be modified to suit
most logic requirements. Configurations are selected depending on the value of n, see the
following page.
Points to note:
a) Data is written to a set of multiplexed outputs (D
segment displays. A set of displays consists of 4 single digit seven segment units. A
maximum of two sets of displays can be driven with this instruction. When two sets are used
the displays share the same strobe outputs (D
additional set of 4 output devices is required to supply the new data for the second set of
displays (D
be latched at the seven segment display.
b) Source data within the range of 0 to 9,999 (decimal) is written to the multiplexed outputs.
When one set of displays are used this data is taken from the device specified as operand
S. When two sets of displays are active the source device S
second set of displays. This data must again be within the range 0 to 9,999. When using
two sets of displays the data is treated as two separate numbers and is not combined to
provide a single output of 0 to 99,999,999.
c) The SEGL instruction takes 12 program scans to complete one output cycle regardless of
the number of display sets used. On completion, the execution complete flag M8029 is set.
Note: A single set of strobe signals are always used
regardless of the number of display sets.
Function
Writes data to
K, H
multiplexed single
KnX, KnY,
digit displays - 4
KnM, KnS
digits per set,
T, C, D, V, Z
max. 2 sets
32 BIT OPERATION
to D
, this is an octal addition). The strobe outputs cause the written data to
+10
+13
Operands
S
D
Y
Note:
n = 0 to 3, 8
outputs are
used
n = 4 to 7, 12
outputs are
used
PULSE-P
Operation:
This instruction takes a source decimal value (S)
and writes it to a set of 4 multiplexed, outputs (D).
Because the logic used with latched seven
to D
+0
to D
+4
Applied Instructions 5
FX
FX
FX
1S
1N
2N
Program steps
n
)
SEGL:
K, H,
7 steps
Note:
n= 0 to 3, 1 set
of 7 Seg active
n= 4 to 7, 2 sets
of 7 Seg active
Flags
, 8 outputs) and hence seven
+7
are the strobe outputs). An
+7
supplies the data for the
+1
In this example it has
been assumed that the
seven segment displays
accept data HIGH inputs
and latch when a HIGH
signal is received
5-107
FX
2NC
Operation
Complete M8029

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx1n seriesFx2nc seriesFx2n series

Table of Contents