EasyManua.ls Logo

Inovance H3U Series - Page 328

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
327
4
4 Instructions 4.12.4 Other Peripheral Instructions
ARWS: Arrow switch
Overview
The ARWS instruction enables easy editing of parameters stored in registers. X ports are used to provide
edit keys, and Y ports are used to drive 4-digit 7-segment LED displays.
ARWS S D1 D2 n
Arrow switch Applicable model:
H3U
S
Input port
head address
Head address of four consecutive units that store key inputs
16-bit instruction
(9 steps)
ARWS:
Continuous
execution
D1
Data storage
address
Variable that is displayed and modied (Only one 16-bit
variable is displayed.)
D2
Output port
head address
Head address of eight consecutive Y ports used for 7-segment
LED display driving
n
Related
setting
Signal logic setting. For details, see the description of n in
“SEGL: Seven segment with latch” on Page 320.
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
Parameters stored in registers can be edited easily by using X ports to provide edit keys and Y ports to
drive 4-digit 7-segment LED displays.
Example:
X20
ARWS X10 D0 Y0 K2
S D1
n
D2
The following gure shows the hardware wiring diagram. The PLC is of the transistor output type.
1
2
4
8
VDD
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
X11
X10
X12
X13
COM1
COM2
Back
key
Increment
key
Reduction
key
Latched 7-segment
LED display for decoding
Forward
key
Thousands
place
Hundreds
place
Tens
place
Ones
place
Operation:
1) The 7-segment LED display shown in the gure displays the value in D0, in the range 0 to 9999. Press
X10 to X13 to modify the value.
2) When X20 = ON, the cursor is located at the thousands place. Each time the back key (X12) is
pressed, the designated digit is switched through thousands place -> hundreds place -> tens place

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals