Download 1746-999-121, Stepper Controller Module

Transcript
Chapter
4
Configuration and Programming
Chapter Objectives
Programming Conventions
Configuration and Status Bits
Program Scan
SLC Processor Configuration
This chapter provides information to help you configure both the SLC
Processor and the Module. This chapter also contains instructions for you to
correctly program the Module for the command mode of operation.
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, 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.
The Module provides new information to the SLC backplane every 250
microseconds.
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.
Processor configuration using APS:
1. Locate an open slot in your chassis. The Module can be used with any
SLC Processor.