3.2 Servo Commands
3.2.14 Zero Point Return Command (ZRET: 3Ah)
3
Main Command
s
3-45
3.2.14
Zero Point Return Command (ZRET: 3Ah)
Data Format
Phases in which the
Command can be Executed
2, 3
Command
Classification
Servo standard
command
Asynchronous
command
Processing Time
Within
communication
cycle
Subcommand
Can be used
Byte
ZRET
Description
Command
Response
0
3Ah
3Ah
•
The ZRET command specifies the type of zero point return
operation and performs the operation using the zero point
limit switch and the position latch signal.
•
The signal used to latch the position is specified by "latch
signal selection."
•
To pause the zero point return operation, set SVCMD_C-
TRL.CMD_PAUSE to "1."
•
Confirm the completion of the command execution by
checking that RCMD = ZRET (= 3Ah) and
CMD_STAT.CMDRDY = 1.
•
Confirm the completion of motion reference output by
checking that SVCMD_IO.DEN = 1, and the completion of
positioning at the zero point by checking that SVCM-
D_IO.ZPOINT (zero point position) = 1 and SVCMD_IO.PSET
= 1.
•
Confirm the completion of the cancellation of the command
by checking that RCMD = ZRET (= 3Ah),
CMD_STAT.CMDRDY = 1 and SVCMD_STAT.CMD_CAN-
CEL_CMP = 1.
•
Confirm the completion of pausing of the command by
checking that RCMD = ZRET (= 3Ah), CMD_STAT.CMDRDY
= 1 and SVCMD_STAT.CMD_PAUSE_CMP = 1.
•
CPRM_SEL_MON1/CPRM_SEL_MON2:
Monitor data can be selected by changing the common
parameter setting. Refer to the following chapter for details.
<Notes on using the command>
•
To send this command, select the latch signal with LT_SEL1
of SVCMD_CTRL and output the latch request by setting
LT_REQ1 = 1.
•
TSPD (target speed):
Set the target speed with an unsigned value.
•
ACCR (acceleration):
Set the acceleration with an unsigned value.
•
DECR (deceleration):
Set the deceleration with an unsigned value.
•
When both ACCR and DECR are "0", acceleration/decelera-
tion is performed according to the parameter settings.
To perform two-step acceleration/deceleration, set both
ACCR and DECR to "0." Refer to the following section for
details.
•
TLIM (torque limit):
Set the torque limit. Set an unsigned value.
•
Refer to the following section for the above reference data.
3.2.19 Motion Command Data Setting Method
3-52.
•
Refer to the following section for the reference value units in
the command area.
In the following cases, an alarm will occur and the command
will not be executed.
•
In the servo OFF state: CMD_ALM = Ah (A.95A)
•
When the TSPD data is invalid:CMD_ALM = 9h (A.94B)
•
When the ACCR or DECR data is invalid:
CMD_ALM = 9h (A.94B)
In the following case, an alarm will occur and the relevant
value will be clamped at the limit value.
•
When the TLIM data is invalid: CMD_ALM = 1h (A.97B)
1
WDT
RWDT
2
CMD_CTRL
CMD_STAT
3
4
SVCMD_CTRL
SVCMD_STAT
5
6
7
8
SVCMD_IO
SVCMD_IO
9
10
11
12
MODE
CPRM_SEL_
MON1
13
14
15
16
TSPD
CPRM_SEL_
MON2
17
18
19
20
ACCR
MONITOR1
21
22
23
24
DECR
MONITOR2
25
26
27
28
TLIM
MONITOR3
29
30
31