9 Program command
-
76
-
9.5.22.
OFS
Name
Set home-position offset
Valid
mode
Direct input/program
OFS (1 | 2) [, | ] (+ | -) n
Parameter Data
range
Default
(1 | 2)
Axis
1 (select axis 1), 2 (select axis 2)
If this parameter is omitted, axis 1 will be
selected.
(+ | -) Rotational
direction
+ (CW direction), - (CCW direction)
If this parameter is omitted, the CW direction
will be specified.
Syntax
n Movement
amount or
position data
Up to eight digits can be entered, excluding
the decimal point.
Entered data will be internally converted to
number of pulses. If the calculated number of
pulses falls outside the range below, an error
message will be displayed when mechanical
home seeking is executed.
Pulse range: ±16,777,215 pulses
0
Function
Sets the offset from the home position used in mechanical home seeking
Request 0>OFS
0: OFS1 = 10
0>OFS1
0: OFS1 = 10
0>OFS2
0: OFS2 = 20
9.5.23.
OUT
Name
Control general-purpose output
Valid
mode
Direct input/program
This command can be one of the following two types:
1. OUT [, | ] n1 [, | ] n2 (sets the specified general-purpose output)
2. OUT [, | ] n3 (sets all general-purpose outputs)
Parameter Data
range
Default
n1 Specified
general-purpose
output number
1 to 6
n2
Logical value
0 (OFF), 1 (ON)
Syntax
n3
Logical status of
all
general-purpose
outputs
000,000 to 111,111
Function
Controls general-purpose output. Set the values to either 0 (off) or 1 (on) in the order
of OUT 6, 5, 4, 3, 2, 1.
Request 0>OUT
0: OUT 000000
Содержание EMP400 Series
Страница 115: ......