![ProSoft Technology inRAx MVI56-BDW User Manual Download Page 62](http://html1.mh-extra.com/html/prosoft-technology/inrax-mvi56-bdw/inrax-mvi56-bdw_user-manual_1618994062.webp)
MVI56-BDW
♦
ControlLogix Platform
Reference
BARDAC Drive Web Interface
Page 62 of 82
ProSoft Technology, Inc.
September 4, 2008
Command Control Blocks
Command control blocks are special blocks used to control the module. The
current version of the software supports four command control blocks: event
command control, command control, warm boot and cold boot.
Event Command
Event command control blocks send commands directly from the ladder logic to
the client on the module. The format for these blocks is displayed below:
Offset Description
Length
0
2000
1
1 to 4
IP Address
4
5
Internal DB Address
1
6
Swap Code
1
7
Bardac DW Function Code
1
8
Device Database Address
1
9
Client number (0 to 3)
1
10 to 247
Spare
238
The parameters passed with the block construct the command. The
IP Address
for the node to reach on the network is entered in four registers (1 to 4). Each
digit of the IP address is entered an the appropriate register. For example, to
interface with node 192.168.0.100, enter the values 192, 168, 0 and 100 in
registers 1 to 4. The
Internal DB Address
parameter specifies the module's
database location to associate with the command. The
Swap Code
changes the
byte order in the command data area. The
Bardac DW Function Code
has one
of the following values 0 or 1. The
Device Database Address
is the PIN value
specific to the drive that is to be interfaced. Refer to the drive manual for a
complete listing of all valid PIN values. The
Client Number
specifies which of the
4 clients in the module is to handle the message. Values from 0 to 3 are
acceptable for this parameter. When the module receives the block, it will
process it and place it in the command queue. A detailed description of the block
is presented below:
Word Description
0
This word contains the block 2000 identification code to indicate that this block
contains a command to execute by the Client Driver.
1 to 4
These words contain the IP address for the server the message is intended. Each
digit (0 to 255) of the IP address is placed in one of the four registers. For
example, to reach IP address 192.168.0.100, enter the following values in words 1
to 4
192, 168, 0 and 100. The module will construct the normal dotted IP
address from the values entered. The values entered will be anded with the mask
0x00ff to insure the values are in the range of 0 to 255.
5
This word contains the internal database address in the module to be used with
the command. This word can contain a value from 0 to 4999.
6
The parameter specifies the swap type for the data. 0=Leave in CLX format (little-
endian), 1=Swap bytes (big-endian).
7
This word contains the Bardac DW function code to be used with the command.
0=Get function to retrieve data from unit and 1=Set function to alter data in the
unit.