January 2012 7.6 Electronic Handwheel 1347
The following handwheel information can be read:
Call:
PS B/W/D/K <Number of the function>
CM 9035
PL B/W/D <Status information>
Error recognition:
Transferred number Return code
9 Handwheel axis Finds the axis which is assigned to the handwheel
connected to connection X23 of the MC.
–1: None or more than one
0: X axis
1: Y axis
2: Z axis
3: IV axis
4: V axis
5: VI axis
6: VII axis
etc.
10 Handwheel axis, bit-encoded Bit 0: X axis
Bit 1: Y axis
Bit 2: Z axis
Bit 3: IV axis
Bits 4 to 13: Axes 4 to 14 (only available for PLC
programs that work with API 1.0)
Handwheel subdivision factor
11
12
13
14
15
X key
Y key
Z key
IV key
V key
0 to 10
20 HR 410 speed 0: Slow
1: Medium
2: Fast
Handwheel subdivision factor
31
32
33
34
35
36
37
38
39
Axis 1
Axis 2
Axis 3
Axis 4
Axis 5
Axis 6
Axis 7
Axis 8
Axis 9
0 to 10
Marker Value Meaning
NN_GenApiModule
Error
0 No error
1 Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
1 Status information invalid
20 Call was not in a submit or spawn job