EasyManua.ls Logo

YASKAWA yasnac lx3 - Page 80

YASKAWA yasnac lx3
288 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...
2.8.23.4 Variables (Cent’d)
. ., . . . ,,-----
.,-.,, t
b. Interface Output Signals (#1100 Through
#1115, #1132)*
i. When one of system variables #1100 through
#1115 is specified to the left-hand side of an
operational expression,
an on or off signal can be
sent to each of the user–macro-dedicated 16–Point
output signals.
The relationships between the
output signals and the system variables are as
shown below:
#1107 #1106 #llo5
#llo4 ZII03 $1102 #llol
#lloo
I
Uo 7 UO 6 Uo 5
Uo 4 Uo 3 Uo 2
Uol i Uoo
27 26
25
24 23 22 2 “20
#1115 #1114 %1113
#1112 ~1111 ~#1110~ #1109 #1108
UO15 UO14 Uo 13
Uo 12 Uoll ~ Uolo U09
UO 8
2
15
2
14
2
13
2
12
2
11
2
10
29
~ 28
Variable Value
Output Signal
1
Contact Closed
o
Contact Open
YASNAC
I
20
G-4
o
21
211
b’
I
2’2h–-t
Uoo
Uo 1
U02
U03
U04
U05
U06
U07
U08
U09
Uolo
Uoll
U012
U013
U014
U015
11.
When system variable 7fl15LIS speclllea, Tne
output signals (UOO through U015) that consist
of 16 points
(16 bits) are collectivelyoutput.
At this time, the decimal positive value substituted
in #1132 is output in the form of binary 16-bit
value.
#1132 = ~ #[1100 + i] * 2i
i=O
i~i.
With system variables #1100 through #1132,
the value sent last is retained. Hence, when one
of them is written to the right–hand side of an
operational expression, its value is read.
iv. Considerations
When any values other than 1.0 or O. 0 are sub-
stituted into one of the system variables, #1 100
through #1115, the values are handled as follows:
“Blank” and any values less than O.5 are as-
sumed to be “O.
Any values of O.5 and over
and other than “blank” are assumed to be 1,
Sample Program
#llo7 = #lo ; (#lo = 1.5)
The output signal of bit 27 (U07) is outputted in
the contact (closed) state.
#1132 = (#1132 AND 240) OR (#8 AND 15)
The output signal of bits 24 through 27 (U04
through U07) are outputted without change and
the contents of local variable #8 are outputted to
the output signals of bits through 23 (UOO
through U03) .
(Decimal 240 = 11110000 Binary 15 = 00001111)
c. Tool Offset Amount And Tool Coordinate
Data, Tool Wear Amount
#2001 - #2050, #2051 - #2099, #2151 - #2199,
#2101 - #2150, #2201 - #2250
i, When one of the system variable #2001
through #2250 is specified to the right-hand side
of an operational expression , the tool offset
amount, tool coordinate data, and tool wear
amount can be read,
ii. The relationships between the
numbers and the system variables
below :
tool offset
are as shown
When 1.0 or ().O are substituted in any of #1100
through #1115, the associated output contact is
output in the “closed” or “open’’state.
72

Other manuals for YASKAWA yasnac lx3

Related product manuals