Spectrum Controls 1762sc-OF8 User Manual

Page 25

Advertising
background image

Chapter 3: Configuring the 1762sc-OF8 for RSLogix 500

3-5

User’s Manual Pub. 0300246-01 Rev. B

2) Validate Command:

If the Fixed Words are valid, the Command word will be checked. If it is not set
to a valid command, an error will be reported. Initially the module only checks
for the Unlock command. After the Unlock command is detected, the module
must detect a transition in the Command word to trigger a new command. The
available commands are listed in the table below.


Table 3-2 (Commands)

Command Value

Description

Unlock 0xFFF0

This MUST be the first command issued after entering
Command Mode. If not, an error will be posted. Data
Words are ignored when the module enters command
mode..
The module does not need to detect a command transition
to Unlock. It simply waits for the Fixed Words to be
valid and Unlock command set. This command is
ignored if issued multiple times (Response Code will be
0).
Once Command Mode is unlocked it remains unlocked
until it has been successfully configured and the Exit
command issued.

Clear
Command

0xFF00

Clears the command buffer to allow a command to be re-
issued. Since the module only knows a command is
issued when the Command word changes, the only way to
re-issue a command is to cause a transition. This
command gives the user a null command to do that. The
response is always 0. No other action is taken with this
command.

Load
Config

0xFFF1

Data Words 1-4 must contain valid channel configuration
data for all channels. See Data Words table below.
Configuration will be validated. An error will be posted
for the first invalid channel configuration found. If the
configuration is invalid, the configuration info in the Data
Words may be modified but to re-issue the Load Config,
the Clear Command must be issued first.

Exit

0xFF80

Delay 600ms then enter run state with configuration. The
delay begins after the response. If configuration is not
valid, the module will remain in Command Mode until a
valid configuration is entered.

3) Data Words 1-4:

If the command requires valid data in the Data Words, they are validated and a
response is placed in the Response Code register (i.e. Word I:e.1). See section
3.5.1 for a description of each response code.

The following table lists the possible configuration settings for each of the 8
channels. Each Data Word contains two channel configurations. See Table 3-1
for Data Word layout.

Advertising