Delta AH500 Programming Manual page 555

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
1704
SEGL
Device X
Y
M
S
1
S
2
D
n
Symbol:
Explanation:
1.
The eight external outputs starting from the output specified by D are connected to a four-digit
seven-segment display, or the twelve external outputs starting from the output specified by D
are connected to two four-digit seven-segment displays. Every place is equipped with a driver
which converts a binary-coded decimal value into seven-segment data, and every driver is
equipped with a latch which can be used to store state information.
2.
The value in S
is the value which will be shown on first seven-segment display, and the value
1
in S
+1 is the value which will be shown on second seven-segment display.
1
3.
S
is for system use only. Please do not alter the value in it.
2
4.
The operand n should be within the range between 0 and 7. Please refer to the additional
remark for more information.
5.
Whether there is one four-digit seven-segment display or two four-digit seven-segment
displays, and whether an output is a positive logic output or a negative logic output depend on
n.
6.
If there is one four-digit seven-segment display, eight outputs are occupied. If there are two
four-digit seven-segment displays, twelve outputs are occupied.
7.
When the instruction is executed, the outputs are ON cyclically. If the conditional contact is
switched from OFF to ON during the execution of the instruction, the outputs are ON cyclically
again.
8.
After the execution of the instruction is complete, SM693 is ON for a scan cycle.
Example:
1.
When X1.0 is ON, the instruction is executed. Y0.0~Y0.4 form a circuit. The value in D10 is
converted into the binary-coded decimal value, and the conversion result is shown on first
seven-segment display. The value in D11 is converted into the binary-coded decimal value,
and the conversion result is shown on second seven-segment display. If the value in D10 or
D11 exceeds 9,999, the operation error occurs.
Operand
S, D, n
S
T
C
HC
D
Pulse instruction 16-bit instruction (7 steps) 32-bit instruction
: Source device
S
1
: For system use only
S
2
D : Initial output device
n : Positive/Negative logic
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Seven-segment display with latches
L
SM SR
E
PR
-
AH500
Word
Word
Bit
Word
Function
K
16# "$"
DF
-
6 - 3 8 7

Advertisement

Table of Contents
loading

Table of Contents