![IDEC OpenNet series Скачать руководство пользователя страница 224](http://html.mh-extra.com/html/idec/opennet-series/opennet-series_user-manual_617384224.webp)
16: I
NTERFACE
I
NSTRUCTIONS
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
16-5
CDISP (Character Display)
Valid Operands
For the valid operand number range, see page 6-2.
▲
Internal relays M0 through M2557 can be designated as D1. Special internal relays cannot be designated as D1.
When T (timer) or C (counter) is used as S1, the timer/counter current value is read out.
Note:
The CDISP instruction can be used up to 8 times in a user program. When transferring a user program containing more
than 8 CDISP instructions to the CPU, a user program syntax error occurs, turning on the ERROR LED. The user program can-
not be executed.
S1 — Data to Display
D1 — First Output Number to Display Data
Connect the data signals starting with operand designated by D1 through the last destination operand, followed by latch
signals. The quantity of required output points is 8 plus the quantity of digits to display. When displaying 4 digits with out-
put Q0 designated as the first output number, 12 consecutive output points must be reserved starting with Q0 through Q13.
LAT — Latch Phase
Select the latch phase for the digit select signal.
L:
Low latch
H:
High latch
DAT — Data Phase
Select the phase for the data signal.
L:
Negative logic
H:
Positive logic
Display Processing Time
Displaying character data requires the following time after the input to the CDISP instruction is turned on. Keep the input
to the CDISP instruction for the period of time shown below to process the display data.
When the scan time is less than 5 msec, the data cannot be displayed correctly. When the scan time is too short to ensure
normal display, set a value of 6 or more (in msec) to special data register D8022 (constant scan time preset value). See
page 5-20.
Operand
Function
I
Q
M
R
T
C
D
L
Constant
Repeat
S1 (Source 1)
Data to display
—
—
—
—
X
X
X
—
X
1-16
D1 (Destination 1)
First output number to display data
—
X
▲
—
—
—
—
—
—
—
Operand
Conversion Type
Display Digits
Repeat
Timer
Counter
Data Register
Binar y to ASCII
BCD to ASCII
No conversion
1 to 4
1 to 5
1 to 2
1 to 16
Constant
No conversion
1
—
Scan Time
Display Processing Time
5 msec or more
3 scan times
×
Quantity of digits
CDISP
S1
*****
D1
*****
Latch phase:
Low or High
Data phase:
Low or High
When input is on, data designated by source operand S1 is
set to outputs designated by operand D1.
One CDISP instruction can send data to 16 character display
units at the maximum.
The CDISP instruction can be used up to 8 times in a user
program.
Note:
The CDISP instruction can be used on transistor output
modules only.
DAT
LAT
L
L
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]