YASKAWA MOTIONPACK-110 Descriptive Information page 65

Motion controller for fa/fms for up to 3-axis drive
Table of Contents

Advertisement

4.2.7 • OFFSET
VALUE
INPUT
(G10) (Cont'd)
(2)
External
Input
Signal
Write
Command
Offset value
data
are read
from
outside
of Motion
module
by using
the input
from
tt-PC
or the machine
I/O input
pin.
The command
block
I G10 H""
U'";
I
causes
offset
value
data
(BCD
signal)
input
from
the input
signal
number
specified
in
U...
(U4011-U4014)
to be written
into the offset
number
specified
in H....
The previously
entered
offset
value
data
is updated.
However,
this function
cannot
be executed
if standard
I/O allocations
are made
_.
because
the designated
area to the input
signal
numbers
is #4011 to #4014. I/O real-
locations
are required.
The number
of offset
value
data
digits
to be written
can be set in
the range
of two to eight
by using
parameter
#1005 D7-D4.
# 1005 [_[_D6
I D5
D4
D3_
-
--
I
--D2
D1
DO
I
Two-digit designation (1 byte or 8 bits)
Four-digit
designation
(2 bytes or 16 bits)
.
Six-digit
designation
(3 bytes
or 24 bits)
Eight-digit
designation
(4 bytes or 32 bits)
NOTE
1. Only numeric
values
with
no decimal
point
can be designated.
2. To designate
the sign
(_ input,
input
simultaneously
the external
offset
data
sign (_ data
signal
(EINV)
and external
offset
data.
The sign (_) input
is not needed.
External
offset
data
sign (_) signal
is
required
for the I/O allocation
of I/O signal
#40074.
Program
example:
• When
parameter
#1005 contains
D7=0,
D6=l,
D5=0,
D4=0
six digits
(3 bytes
or 24 bits)
are specified
for the number
of data
digits.
• When the input
signal
state
is
the command
block
D7 D6 D5 D4 D3 D2 D1 DO
# 4011
7
8
# 4011
0
1
1
1
1
0
0
0
# 4012
5
6
# 4012 0
1
0
1
0
.1
1
0
or
# 4013
3
4
# 4013 0
0
1
1
0
1
0
0
# 4014 1
2
# 4014 0
0
0
1
0
0
1
0
(BCD Indication)
(Bit Indication)
G10 H20 U4011;
sets 345678 in offset
number
H20.
52

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents