299 or 9902 – command queue control (master port) – ProSoft Technology MVI46-DNP User Manual
Page 85

Reference MVI46-DNP
♦ SLC Platform
Master/Slave Communication Module
ProSoft Technology, Inc.
Page 85 of 143
August 23, 2007
Control Code Bit Definitions
Bits Definitions
Description
0 to 3
Code
The value of these bits determines the control operation to be
performed by the command:
0=No operation,
1=Pulse on,
2=Pulse off,
3=Latch on and
4=Latch off
All other values are undefined
4 Queue
(Check
operation)
0=Normal (execute once), 1=Requeue (place at end of queue after
operation).
5 Clear
(Check
operation)
This parameter clears the queue. If the value is set to zero, the queue
is not affected. If the value is set to 1, the queue will be cleared.
6 to 7
Trip/Close
These two bits select the trip or close relay. For close relay control, set
the bits to 01. For trip relay control, set the bits to 10. A value of 00 for
the bits is used for single point control of normal digital output points.
299 or 9902 – Command Queue Control (Master Port)
If the SLC sends a command control code of 299 or 9902, the module places the
commands referenced in the block in the command queue. Commands placed in
the queue with this method need not have their enable bit set. Only valid
commands will be placed in the queue. The format for the block is as follows:
Word Offset in Block
Data Fields
Description
M0: .80
Command Code
This field contains the value of 299 identifying the enable command
to the module.
M0: .81
Command count
This field contains the number of commands to enable in the
command list. Valid values for this field are 1 to 60.
M0: .82 to
M0: .141
Command Numbers
to enable
These 60 words of data contain the command numbers in the
command list to enable. The commands in the list will be placed in
the command queue for immediate processing by the module. The
first command in the list has an index of 0.
Up to 60 commands can be enabled and placed in the command queue with one
command request from the SLC. The module will generate the following
response to a 299-command request:
Word Offset in Block
Data Fields
Description
M0: .80
Command Code
This field contains a value of zero to indicate that the module
processed the command.
M0: .81
Acknowledge Value
This field contains a value of 299 to indicate that the module
processed the command. This value is written over the command
count sent in the request message.