Rung 18 – copying status information – Rockwell Automation 1746-HSRV SLC Servo Control Module User Manual User Manual

Page 207

Advertising
background image

Publication 1746-6.1.2 - July 2000

C-18 Programming Examples

Figure C.32 Data Table for File N31

The table below is a table of the values shown in the previous
diagram.

Rung 18 – Copying Status Information

The following example shows how to copy the status information to
the data file. Rung 18 copies the position, following error, and speed
from the SLC Servo module status area to the floating-point file F48.

For more detailed information on how to use the copy file command
to copy integer data for conversion to floating point data, see the
Floating-Point Values section of Chapter 9, Programming System
Variables,
in this manual.

Figure C.33 Rung 18

Status information from slot 1 is shown in the table below.

Address

Command

N31:0

0

0

Advertising