Command overview
Abbreviations used:
B_ |
Command |
Control data to the drive |
Status data from the drive |
||||||
---|---|---|---|---|---|---|---|
Code |
Command |
Datum16i |
Datum32i |
Acknowl. |
Datum16o |
Datum32o |
Remarks |
0 |
NULL |
XX |
XX |
Q_CODE |
XX |
XX |
The command influences control bits without triggering an active function, e.g. for RF change or life monitoring |
1 |
BREAK |
XX |
XX |
Q_CODE |
XX |
XX |
Breaks off a running AFP command (identified by Q_CODE=1) and restores the basic status for new authorization of the system. A running command (e.g. absolute positioning) is transformed automatically into the STOP function and the axis is stopped in the speed control mode with n=0. |
2 |
LOGIN |
XX |
XX |
Q_CODE |
XX |
XX |
With the LOGIN command the field bus acquires the unrestricted use of the system through the one-dimensional commanding interface. I.e. the interface is blocked for all further users (KMD through operator panel or SBUS). Attempts of not authorized subscribers to use the interface are acknowledged with error. |
3 |
LOGOUT |
XX |
XX |
Q_CODE |
XX |
XX |
LOGOUT releases the commanding interface for all users again, BUS transfers the system control |
4 |
CLRERR |
XX |
XX |
Q_CODE |
XX |
XX |
Delete errors |
5 |
RDERR |
Element |
XX |
Q_CODE |
Error No. |
lw: |
Read error number |
6 |
RDDATA |
ID No. |
XX |
Q_CODE |
Attribute according to SERCOS |
Value |
Read parameters from the system data management |
7 |
WRDATA |
ID No. |
Datum |
Q_CODE |
XX |
XX |
Write parameters into the system data management |
8 |
RDBLK |
ID No |
lw: Element |
Q_CODE |
Attribute according to SERCOS |
Value |
Read list parameters from the data management |
9 |
WRBLK |
ID No (List) |
lw: Element |
Q_CODE |
XX |
XX |
Write list parameters into the data management (write permanently into parallel EEPROM) |
10 |
WRBLKT |
ID No |
lw: Element |
Q_CODE |
XX |
XX |
Temporarily write list in the data management (data only in the RAM) |
11 |
TMP |
ID No |
Value |
Q_CODE |
XX |
XX |
Tmp. (online) data change, possible for parameters of the list ID270 |
12 |
ANZ |
xx |
lw= 0 or Code s. ID32785, hw: allocation |
Q_CODE |
Actual |
Actual or lw: hw: IW16_3 |
Allocation of feedback magnitudes (e.g. actual values). The source of the return according to ID32785 or ID32786 is selected in the low word (Datum32i). The feedback is in the Datum16o and Datum32o and is updated by status freshening. Theme: Extended functions |
12 ch |
ANZ Example updated display |
xx |
lw = 0 |
Q_CODE |
IW16 |
IW16_2 |
Theme: Extended functions IW16: Dancer actual value ± 10V [0.1V] |
13 |
RDSINCOS |
Encoder code |
XX |
Q_CODE |
XX |
Absolute value of the encoder position coordinates [incr] |
Read absolute encoder value from E-code 0: Actual position encoder E-code 2: S type encoder |
14 |
WRSINCOS |
XX |
Absolute value of the encoder position coordinates |
Q_CODE |
XX |
XX |
Write absolute value of the encoder (SINCOS) |
15 |
SOLL16 |
Setpoint 1 |
XX |
Q_CODE |
XX |
XX |
Theme: Extended functions |
1610h |
SOLL32 |
XX |
Setpoint 2 |
Q_CODE |
XX |
XX |
Theme: Extended functions 32bit field bus setpoint source (SW32) |
17 |
SOLL2 |
Setpoint 1 |
Setpoint 2 |
Q_CODE |
XX |
XX |
Theme: Extended functions |
18 |
SOLL3 |
SW16_1 |
lw: |
Q_CODE |
XX |
XX |
Theme: Extended functions |
19 |
SOLLT |
SW16_1 |
SW16_2 hw: Mset |
Q_CODE |
XX |
XX |
Theme: Extended functions SW16_1: Dancer setpoint ±10V [0.1V] |
20 |
SWQ1 |
16 Bit |
XX |
Q_CODE |
XX |
XX |
The standard setpoint source 16bit SWQ1, |
21 |
SWQ2 |
XX |
32 Bit |
Q_CODE |
XX |
XX |
Standard setpoint source 32bit SWQ2, |
22 |
UE |
0: UE OFF |
XX |
Q_CODE |
XX |
XX |
UE (DC BUS enable) for KU units with |
23 |
XIADD |
XX |
Value to add to the current position feedback value |
Q_CODE |
XX |
XX |
Shift position feedback coordinates |
25 |
RDSOFT |
XX |
XX |
Q_CODE |
Code |
lw: hw: |
Read operating system software version |
26 |
RDIO |
Port address |
XX |
Q_CODE |
lb: |
XX |
Reading binary input/output ports according to port address, refer to parameter documentation ID32846... |
27 |
WRIO |
Port address |
lb: output byte |
Q_CODE |
XX |
XX |
Writing binary input/output ports according to port address, refer to parameter documentation ID32846... |
28 |
RDTMP |
ID-No. |
XX |
Q_CODE |
Attribute according to SERCOS |
Value |
Read temporary parameter value (data from RAM) |
29 |
RDBLKT |
ID-No. |
lw: Element |
Q_CODE |
Attribute acc. to SERCOS |
16bit value |
Read element from temporary parameter list (data from RAM) |
... |
res |
|
|
|
|
|
|
196 |
RDXSOLL |
XX |
XX |
Q_CODE |
XX |
Current position setpoint [increment] |
Reading current position setpoint |
197 |
res |
XX |
XX |
Q_CODE |
XX |
XX |
|
198 |
SYSHL |
XX |
XX |
Q_CODE |
XX |
XX |
System booting |
199 |
res |
XX |
XX |
Q_CODE |
XX |
XX |
|
200 |
BAW0 |
D16 2)ID32924 |
Main setpoint |
Q_CODE |
XX |
XX |
Operating mode change to main op. mode according to ID32800. |
201 |
BAW1 |
D16 2) |
Main setpoint |
Q_CODE |
XX |
XX |
Operating mode change according to secondary operating mode 1 ID32801 |
202 |
BAW2 |
D16 2) |
Main setpoint |
Q_CODE |
XX |
XX |
Operating mode change according to secondary operating mode 2 ID32802 |
203 |
BAW3 |
D16 2) |
Main setpoint |
Q_CODE |
XX |
XX |
Operating mode change according to secondary operating mode 3 ID32803 |
204 |
BAW4 |
D16 2) |
Main setpoint |
Q_CODE |
XX |
XX |
Operating mode change according to secondary operating mode 4 ID32804 |
205 |
BAW5 |
D16 2) |
Main setpoint |
Q_CODE |
XX |
XX |
Operating mode change according to secondary operating mode 5 ID32805 |
206.. |
reserved |
|
|
|
|
|
|
211 |
PARSW |
Parameter set |
XX |
Q_CODE |
XX |
XX |
Parameter set change |
212 |
MOM |
Setpoint |
XX |
Q_CODE |
XX |
XX |
Torque control |
213 |
DZR |
XX |
Setpoint |
Q_CODE |
XX |
XX |
Speed control |
214 |
REF |
Parameters |
Target position |
Q_CODE |
XX |
XX |
Homing cycle |
215 |
SPOS |
Parameters |
arget position |
Q_CODE |
XX |
XX |
Spindle positioning |
216 |
POSA |
Reference speed |
Position setpoint |
Q_CODE |
XX |
XX |
Absolute positioning |
217 |
POSR
|
Reference speed |
Position setpoint |
Q_CODE |
XX |
XX |
Relative positioning |
218 |
SYNC4 |
Parameters |
Displace-ment value |
Q_CODE |
XX |
XX |
Synchronous control in secondary |
219 |
SYNC5 |
Parameters |
Displace-ment value |
Q_CODE |
XX |
XX |
Synchronous control in secondary |
220 |
STOP |
XX |
XX |
Q_CODE |
XX |
XX |
Drive STOP |
221 |
IPOHALT |
XX |
XX |
Q_CODE |
XX |
XX |
Interpolator stop |
222 |
IPOWEIT |
XX |
XX |
Q_CODE |
XX |
XX |
Continue interpolation |
225 |
MESS_START |
Value |
XX |
Q_QODE |
XX |
XX |
Start of the measuring function 0- Touch probe Start and Release by |
226 |
MESS_STOP |
XX |
XX |
Q_CODE |
XX |
XX |
Stop of the measuring function |
… |
Res |
XX |
XX |
XX |
XX |
XX |
XX |
252 3) |
RDADRTAB |
XX |
Table |
Q_CODE |
Address corresponds to table place in ADRTAB |
XX |
Reading the address table of the system e.g. arbitrary internal variables can be determined through ID32950 and analysed by means of analog output (cyclic) or as snapshot (oscilloscope function) |
253 3) |
B_RDADR
|
xx |
Address |
Q_CODE |
Content address |
lw: content (Addr. +2) |
Reading of a memory location |
254 3) |
B_WRADR |
Value |
Address |
Q_CODE |
xx |
xx |
Writing a word in the memory |
1) ID-No. of the active parameter set or ID-No. with calculated parameter set no. (Siehe 'Access to instanced parameters'.)
2) AMK Service: The contents of the operating mode change parameter ID32924 can also be sent depending upon D 16.
3) The commands only used by AMK-Service.