Configuration and programming – Rockwell Automation 1746-HSTP1 Stepper Controller Module/ User Manual User Manual

Page 36

Advertising
background image

1

Publication 999-121 - December 1999

Chapter

5

Configuration and Programming

Chapter Objectives

This chapter provides information to help you configure both the SLC
Processor and the Module. This chapter also contains instructions for
correctly programming the Module for the command mode of
operation.

Programming Conventions

Since the SLC Processor does not support numbers as large as
8,000,000, the number must be entered as two distinct integer values
that can be programmed within the capabilities of the SLC Processor.
The value is equated to two 16 bit integer values that provide a coarse
and fine resolution. The least significant word allows for a range of 0
to 999 counts. The most significant word (MSW) provides thousands
of counts. For example, to output 8,000,000 counts, set the most
significant word to 8,000 and the least significant word (LSW) to 0.

Configuration and Status
Bits

Configuration, status and command information is transferred
between the SLC Processor and the Stepper Controller with each scan
of the SLC ladder. The configuration and status bits are boolean values
that can be assigned or read easily by the SLC ladder program. Word 0
and word 1 of the address assigned to the Stepper Controller are
allocated to status and command words. Status bits are defined in
Module Status, later in this chapter. Detailed use of the configuration
bits is described in Configuration Mode, later in this chapter.

Program Scan

The Module provides new information to the SLC backplane every
250 microseconds.

SLC Processor
Configuration

The SLC Processor must be configured to accept the Stepper
Controller as an I/O device. This can be done with either the Hand
Held Terminal (HHT) or APS software running on a personal
computer. Although the configuration steps are similar using either
method, they are not identical. The two methods are described
separately, below.

Advertising