3.1.3
Address designation instructions
ADDRESS Relevant elements:
Designation
of
position
*
0
to
999,999 (absolute addresses)
KO
to
K999,999 (relative addresses)
Execution time:
Instantaneous progressing type
(1
msec or less)
The element symbol may be +(plus)/-(minus), or
K,
depending on whether the position
address is absolute or relative.
This value indicates the target position or the movement distance for the execution with the DRV
instruction. Its unit will be determined by unit parameter number
3.
EXTERNAL Relevant elements:
Designation
of
an ex- Absolute addressing
ternal address
1)
t
1
to
654,321
2)
2
70 to 77
Relative addressing
3) K1
to
K654,321 4) K70
to
K77
Execution time:
1) and 3)
DSW
read time See page 136.
2) and 4) 1 programmable controller operation cycle
(Designation with digital switches)
In the above ADR instruction, the position is designated immediately by the constant within
the instruction.
However,
if
the EXT instruction is used, it is possible to designate the position by using the
digital switch (DSW#6 to
#1)
(see page
31)
connected to the general-purpose input
of
the PGU.
(The setting unit depends upon the value of parameter number
3.)
However, digits
#6
and
#5
cannot be used with the EXT instruction when DSW#6 or
#5
is being
used for the designation
of
the block.
The relevant element number dictates which digital switch is used. The digits
of
this number
should be in consecutive descending order.
Digital switch
(DSW)
#S
#S
#4
#3
#2
#I
I
I
I
I I
I
Y5
Y4
Y3Y
2
Y1
YO
When the setting values
of
the digital switch are
as
shown above, the actual address designations will be as
shown
on
the right.
Page 134 gives details about the applicable versions
of
the Fz-30TP.
Other valid examples include plural address instructions
such as EXT K654 and EXT K321,
Example
1
EXT K321
=
ADR K684
Example
2
EXT K32100
=
ADR K68400
t---
Example
3
EXT K654321
=
ADR K927684
I
If
'0'
is
added
to
the
lower
digit, scaling
is
shifted
up
1
digit.
I
(Designations from the buffer)
BFM#25
to
#10
are used to designate
70
to
77
as the SPD instruction given on the previous page.
The contents
of
designation determine the addresses, and the setting units are determined according
to parameter number
3
setting
"0"
to
"3".
.-
-
33
-