Floating-point values – Rockwell Automation 1746-HSRV SLC Servo Control Module User Manual User Manual
Page 159

Publication 1746-6.1.2 - July 2000
9-16 Programming System Variables
1
s = Slot number for the SLC Servo Module
Floating-Point Values
Three floating-point value data items are shown below. We
recommend that you incorporate the following rung in the ladder
program to convert the integer data from the module to floating-point
data for comparison or display purposes.
Figure 9.3 Copy Command for Integer Data to Floating-Point Data Conversion
Status Block
Parameters
Location
1
Format
Possible Values
Default
Description
Informational
Message Or Fault
Code
I:s.4
USHORT
0 to 65,535
0
Reserved
I:s.5
STDSHORT
–32,767 to +32,767
0
Actual Position
I:s.6-I:s.7
Float
–axis travel limit to
+axis travel limit
0.0
The current actual position of the
axis; if inhibited, returns 0.
Following Error
I:s.8-I:s.9
Float
–axis travel limit to
+axis travel limit
0.0
The current following error of the
axis; if inhibited, returns 0.
Current Speed
I:s.10-I:s.11
Float
-physical limit to +physical
limit
0.0
The current speed of the axis; if
inhibited, returns 0.
COPY FILE
Source
#I:1.6
Dest
#F48:0
Length
3
Copy floating point data for actual
position, following error and speed
from the module discrete input words.
Note: SLC Servo Module is located in Slot 1