№
SX-DCT00221 -
46-
Panasonic Corporation
●
List of commands
Com-
mand
Code
Transmission
direction
Description
$P
24h 50h
Host
→
Amplifier
Data writing command. Change of parameter and motor control data.
(In changing parameter, parameter is not written to EEPROM.)
$S
24h 53h
Host
→
Amplifier
Data writing command. Change of parameter and motor control data.
(In changing parameter, parameter is written to EEPROM.)
*Writing to EEPROM should be requisite minimum.
(EEPROM endurance: approx. 100,000 write cycle.)
$R
24h 52h
Host
→
Amplifier
Data reading request command. Command which requests the parameter,
status, and control detail of motor.
#R
23h 52h
Amplifier
→
Host
Response to data reading request. Returns the parameter, status, and
control detail of motor to $R.
#C
23h 43h
Amplifier
→
Host
Data update request response. Returns the status of amplifier (8103h) to
host in response to request for sending command when data of amplifier
status (8103h) has changed from previous request for sending.
# I
23h 49h
Amplifier
→
Host
Initial request response. When the amplifier is powered on, 9999 is sent follow-
ing #I in response to initial inquiry from host controller (Request for sending).
●
Transmission procedure
$P/$S: Data writing/Parameter writing command
①
Host
→
Amplifier (Data writing)
Amplifier ID Host ID Command Data number
(parameter address)
Data
(parameter value)
②
Amplifier
→
Host (result response)
Host ID Amplifier ID
・
Answers NAK when requested data number (parameter address) or data value (parameter value)
is abnormal. Shows that parameter was properly set only when ACK is answered from the amplifier.
・
No result is answered from the amplifier when amplifier ID is 80h (128).
$R: Data reading/Parameter reading command
①
Host
→
Amplifier (Data reading request)
Amplifier ID Host ID Command Data number
(parameter address)
Data
(parameter value)
・
Set data ‘0000’ when executing data reading command.
・
When amplifier ID is 80h (128), data reading/parameter reading command is ignored.
②
Amplifier
→
Host (Result response)
Host ID Amplifier ID
③
Host
→
Amplifier (Request for sending)
Amplifier ID Host ID
④
Amplifier
→
Host (Response of data)
Host ID Amplifier ID Command Data number
(parameter address)
Reading data
(parameter value)
・
Response data when amplifier is powered on is initial request response.
・
When requested data number (parameter address) is abnormal, '0000' as reading data
・
Please use reading data after checking a data number (parameter number)
⑤
Host
→
Amplifier (Result response)
Amplifier ID Host ID
⑥
Amplifier
→
Host (Communication completion response)
Host ID Amplifier ID
SOH
STX
$
P
*
*
*
*
*
*
*
*
ETX BCC
SOH
ACK
SOH
STX
$
R
*
*
*
*
0
0
0
0
ETX BCC
SOH
ACK
SOH
ENQ
SOH
STX
#
R
*
*
*
*
*
*
*
*
ETX BCC
SOH
ACK
SOH
EOT