31
9
ASCII Protocol
Over Ethernet TCP/IP in the menu
move axis / by
command line
in WebMotion
®
or via the serial interface e.g. with hyper terminal.
The simple ASCII protocol works with the echo
principle.
The sent characters come back as an echo and can be
checked immediately.
Thus, if existing, you get a parameter value and finally
the character prompt ">". If the command could not
be
accepted then, it has a “?” character in the string.
Description Command
[Parameter]
Echo command accepted
Write parameters:
Power continues
PWC
<CR>
PWC <CR> <LF> >
Speed
SP
10-9
’000’000
<CR>
SPxxxxxx<CR> <LF> >
Acceleration
AC 2'000-
100'000’000
<CR>
ACxxxxxx<CR> <LF> >
Read parameters:
Tell Position
TP
<CR>
TP <CR> <LF> XXXXXXX<CR> <LF> >
Retrieve
e.g. AC?
SP?
<CR>
<CR>
AC? <CR> <LF> XXX <CR> <LF> >
SP? <CR> <LF> XXX <CR> <LF> >
Echo command not recognized or cannot be
completed in the current configuration
<command> <CR> <LF> ? <CR> <LF> >
Echo command cannot be accepted at this time
<command> <CR> <LF> #xx <CR> <LF> >
#-List
Nr.
Description
#01
Error in queue
#03
Drive is active
#05
Program is active
#13
EE1 in queue
#14
EE in queue
#15
Force Calibration active
#27
I Force Drift Compensation active
#34
Rotary reference active
#36
Gantry reference active
#38
Reference active
#40
Command at active bus module not allowed
#47
Fault Reaction active
#49
No JSC Motor detected
#65
Value of parameter not valid
#66
Command not completed correctly (
>5s
between ASCII-signs)
Note for sequential commands:
Terminate a command with <CR> only,
no additional <LF>. Do not send a new
command until you have received the
prompt character „>“
before.