8. Serial Communication Commands
67
© Copyright Reserved Autonics Co., Ltd.
8. Serial Communication Commands
8.1
Communication condition
Communication condition
Communication speed : 9600 ~ 115200bps
Data bit
: 8 bit
Stop bit
: 1 bit
Flow control : -
Parity bit : -
Control character : 0-9, A-Z,
(Space), [CR](Carriage return)
8.2
Command Cycle
(1) means a space.
(2)[CR] means 0x0d carriage return.
(3)[LF] means 0x0a line feed.
(4)Input the REG numbers in 20digit. (00, 01, 02, 03····63)
8.3 Command
PRG
It executes a program in the PMC-1HS/PMC-2HS from an assigned address.
Format
Command
[Axis specification] [REG number specification] [CR]
PRG
X
[CR]
Y
Put the axis specification "X" in PMC-1HS.
[Example] To operate X/Y axis from REG00
PRG
XY00 [CR]
Response : No-response
JOG
Continuous drive command. Start the drive on the specified axis.
Format
Command
[Axis specification] [REG number specification] [CR]
JOG
+ X [CR]
- Y
Put the axis specification "X" in case of PMC-1HS.
[Example] To drive X axis and Y axis in the + and - directions respectively.
JOG
X
-
Y [CR]
The + direction can be omitted in the axis specification.
Response : No-response