ProSoft Technology MVI56-DFCM User Manual

Page 40

Advertising
background image

Ladder Logic

MVI56-DFCM ♦ ControlLogix Platform

User Manual

DF1 Half/Full Duplex Master/Slave Serial Communication Module

Page 40 of 106

ProSoft Technology, Inc.

September 24, 2014

3.2.3 DF1 Master Commands (DFCMCmd)

This object defines the parameters for each command in the Master command
list. The DFCMModuleDef object contains an array of these objects that define
the complete command list for each port. The definition of each parameter
required for each command is given below:

Name

Data Type

Description

Enable

INT

0=Disable,1=Continuous, 2=Write on Data Change only

IntAddress

INT

Module’s internal address associated with the command as
destination for data read or source for data written

PollInt

INT

Minimum number of seconds between issuance of command
(0-65535 Sec)

Count

INT

Number of registers associated with the command

Swap

INT

Swap code used with command

Node

INT

Address of device to interface with on the DF1 network

Func

INT

DF1 function code as defined for MVI56-DFCM module

Parameter_1

INT

First parameter for function

Parameter_2

INT

Second parameter for function

Parameter_3

INT

Third parameter for function

Parameter_4

INT

Fourth parameter for function

Enable: This parameter defines if the command will be executed or will be
disregarded. The following values are valid: 0=Disables the command and it will
not execute. 1=The command will be considered for execution each scan of the
command list and will be controlled by the PollInt parameter. And 2=The
command must be a write command and will only execute if the data associated
with the command has changed since the command was last issued. This option
is only available for write commands.

IntAddress: This parameter specifies the starting internal register address to be
associated with the command. Valid entry for this parameter is 0 to 4999.

PollInt: This parameter defines the minimum number of seconds to wait between
the execution of continuous commands (Enable=1). This poll interval command
can be used to lighten the communications load on a busy network. Valid entry
for this parameter is 0 to 65535.

Count: This parameter defines the number of registers to be considered by the
command. Valid entry for this parameter is 1 to 100.

Swap: This parameter specifies if the data used in the command must be altered
when reading data from a node on the network. Values that can be assigned are
as follows: 0=no swapping of data, 1=swap word values, 2=swap word and byte
values and 3=swap byte values. This option is used when interfacing the module
with ASCII and floating-point data on other devices.

Node: This parameter assigns the DF1 slave node address for the module to
reach with the command on the network. This parameter can be assigned values
from 0 to 255.

Advertising