Delta DVP-ES2 User Manual Page 307

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 306
3. Instruction Set
3-191
API Mnemonic Operands Function
74
SEGL
7-segment with Latch
Controllers
ES2/EX2 SS2 SA2
SE
SX2
Bit Devices Word devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
S * * * * * * * * ***
D *
n * *
SEGL: 7 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S: Source device storing the value to be displayed in 7-segment display D: Output device for
7-segment display
n: Configuration setting of output signal (n = 0~7)
Explanations:
185. This instruction occupies 8 or 12 consecutive external output points starting from D for
displaying the data of 1 or 2 sets of 4-digit 7-segment display. Every digit of the 7-segment
display carries a “Drive” which converts the BCD codes into 7-segment display signal. The
drive also carries latch control signals to retain the display data of 7-segment display.
186. n specifies the number of sets of 7-segment display (1 set or 2 sets ), and designates the
positive / negative output of PLC and the 7-segment display.
187. When there is 1 set of 4-digit output, 8 output points will be occupied. When there are 2 sets
of 4-digit output, 12 output points will be occupied
188. When the instruction is executed, the output terminals will be scanned circularly. When the
drive contact goes from OFF to ON again during the execution of instruction, the scan will
restart from the beginning of the output terminals.
189. Flag: When SEGL is completed, M1029 = ON for one scan cycle.
190. There is no limitation on the times of using this instruction in the program, however only one
instruction is allowed to be executed at a time.
Program Example:
191. When X20 = ON, SEGL instruction executes and Y24~Y27 forms an output scan loop for
7-segment display. The value of D10 will be mapped to Y20~Y23, converted to BCD code
and sent to the 1st set of 7-segment display. The value of D11 will be mapped to Y30~Y33,
converted to BCD code and sent to the 2
nd
set of 7-segment display. If the values in D10 and
D11 exceed 9,999, operational error will occur.
X20
SEGL D10 Y20 K4
Page view 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 701 702

Comments to this Manuals

No comments