svn://software/hardware/LC4D/100218/docs/LC4D_MAN.doc
MRR
Page 14 of 20
Oak System Variables
Oak axis connectors have I/O connected through the DriveBus protocol to PLC system variables. These
system variables are called SV_DRIVE_STATUS_x and SV_DRIVE_CONTROL_x, where "x" is the number
of the axis as mapped on the DriveBus. SV_DRIVE_STATUS_x contains input information (read only), while
SV_DRIVE_CONTROL_x is used to control outputs (write only).
The axis connectors are normally mapped to DriveBus axes 1-4. However, if additional devices are
connected to H7, the axis mapping numbers will increase. See page 3 for further explanation.
SV_DRIVE_STATUS_x
Bit
SV_DRIVE_STATUS_x
Related Pin
Notes
0
not used
-
1
not used
-
2
not used
-
3
Quadrature Generation Error
-
Requested pulses per interrupt > 300
4
not used
-
5
not used
-
6
not used
-
7
not used
-
8
not used
-
9
Holding Brake Request
H3, H4, H5, H6 Pin 17
Brake request normally echoed to a relay output
10
not used
-
11
not used
-
12
not used
-
13
not used
-
14
not used
-
15
Drive Fault
H3, H4, H5, H6 Pin 19
Input connected to drive's alarm output
SV_DRIVE_CONTROL_x
Bit
SV_DRIVE_CONTROL_x
Related Pin
Notes
0 not used
-
1 not used
-
2 not used
-
3 not used
-
4 not used
-
5 not used
-
6 Position Request Invert
-
Inverts analog output, reverses position count direction
7 Position Error Clear
H3, H4, H5, H6 Pin 13, 14
Position mode output to clear error (differential)
8 not used
-
9 not used
-
10 not used
-
11 not used
-
12 not used
-
13 not used
-
14 Alarm Reset
H3, H4, H5, H6 Pin 22
If set on any axis, all 4 axis outputs pull down
15 Enable *
H3, H4, H5, H6 Pin 21
*Do not use - firmware controls this directly
Summary of Contents for OAK
Page 3: ......