« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
16-1
16: I
NTERFACE
I
NSTRUCTIONS
Introduction
The DISP (display) instruction is used to display 1 through 5 digits of timer/counter current values and data register data
on 7-segment display units.
The DGRD (digital read) instruction is used to read 1 through 5 digits of digital switch settings to a data register. This
instruction is useful to change preset values for timers and counters using digital switches.
DISP (Display)
Applicable CPU Modules
Note:
The DISP instruction requires transistor output terminals. When using all-in-one 24-I/O type CPU module FC4A-C24R2
or FC4A-C24R2C, connect a transistor output module.
Valid Operands
For the valid operand number range, see pages 6-1 and 6-2.
▲
Internal relays M0 through M1277 can be designated as Q. Special internal relays cannot be designated as Q.
When T (timer) or C (counter) is used as S1, the timer/counter current value is read out.
Conversion
BCD:
To connect BCD (decimal) display units
BIN:
To connect BIN (hexadecimal) display units
Latch Phase and Data Phase
Select the latch and data phases to match the phases of the display units in consideration of sink or source output of the
output module.
Output Points
The quantity of required output points is 4 plus the quantity of digits to display. When displaying 4 digits with output Q0
designated as the first output number, 8 consecutive output points must be reserved starting with Q0 through Q7.
Display Processing Time
Displaying one digit of data requires 3 scan times after the input to the DISP instruction is turned on. Keep the input to the
DISP instruction for the period of time shown below to process all digits of the display data.
When the scan time is less than 2 ms, the data cannot be displayed correctly. When the scan time is too short to ensure nor-
mal display, set a value of 3 or more (in ms) to data register D8022 (constant scan time preset value). See page 5-27.
FC4A-C10R2/C
FC4A-C16R2/C
FC4A-C24R2/C
FC4A-D20K3/S3
FC4A-D20RK1/RS1 & FC4A-D40K3/S3
—
—
X
X
X
Operand
Function
I
Q
M
R
T
C
D
Constant
Repeat
S1 (Source 1)
Data to display
—
—
—
—
X
X
X
—
—
Q (Output)
First output number to display data
—
X
▲
—
—
—
—
—
—
Display Processing Time
3 scan times
×
Quantity of digits
Latch phase:
Low or High
Data phase:
Low or High
Conversion:
BCD or BIN
When input is on, data designated by source operand S1 is
set to outputs or internal relays designated by operand Q.
This instruction is used to output 7-segment data to display
units.
Eight DISP instructions can be used in a user program.
Display data can be 0 through 65535 (FFFFh).
DISP
DAT
S1
*****
Q
*****
BCD4
LAT
L
L
Quantity of digits:
1 to 5 (decimal)
1 to 4 (hex)
Summary of Contents for FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...