
15
#L010184
April 2007
Direct mode is used to directly control the motion for real time movements through serial communication.
The pulse generator has 13 commands which are easy to remember for direct movement of a step motor.
COM Port Settings
Baud Rate:
115200
Parity:
None
Data Bits:
8
Stop Bits:
1
Flow Control:
Xon/Xoff
Unit Selection
In order to select a unit the @ command followed by 0 (address of the unit) must be sent.
NOTE: There should be no spaces between the @ and the 0.
How to select the unit:
@0
(Unit is selected)
How to get a response from the unit:
@0$
(Carriage Return)
After the $ command, the pulse generator will return a the current version number.
Note: In direct talk mode each command is followed by a carriage return.
The unit communicates in half duplex mode, therefore proper setup of hyper terminal is necessary to view
characters, if characters are to be echoed back to the screen.
Instructions
All instructions require that no spaces be sent between the command and the parameter followed by a
carriage return. The commands are also case sensitive and are all sent as capitals.
Command Summary:
Direct Talk Mode
A
- Acceleration/Deceleration
B
- Base Speed
C
- Current Reduction
D
- Ramp Down
G
- Go (Run)
H
- Hard Limit
M
- Max Speed
S
- Soft Limit
V
- Verify
+
- Clockwise Direction
-
- Counterclockwise Direction
$
- Version Number Register
!
- Error Codes Register
www.nok-group.cn