ProSoft Technology 5202-DFNT-DFCM4 User Manual
Page 44
Commands Supported by the Module
DFCM ♦ ProLinx Gateway
Driver Manual
DF1 Master/Slave
Page 44 of 88
ProSoft Technology, Inc.
October 15, 2010
Parameter
Range
Description
Swap Code
0, 1, 2, 3
This parameter defines if the data received from the slave is to be
ordered differently than received from the slave device. This
parameter is helpful when dealing with floating-point or other multi-
register values, as there is no standard method of storage of these
data types in slave devices. This parameter can be set to order the
register data received in an order useful by other applications. The
following table defines the values and their associated operations:
Swap
Code
Description
0
None: No Change is made in the byte ordering (1234
= 1234)
1
Words: The words are swapped (1234=3412)
2
Words & Bytes - The words are swapped then the
bytes in each word are swapped (1234=4321)
3
Bytes: The bytes in each word are swapped
(1234=2143)
Node Address 1 to 255
(255 =
broadcast)
This parameter specifies the slave node address on the network to
be considered. Values of 1 to 255 are permitted. If the value is set
to 255, the command will be a broadcast message on the network.
The DF1 protocol permits broadcast commands for write
operations. Do not use this node address for read operations.
Function Code See
Reference
section
These parameters specify the function to be executed by the
command. The Reference chapter in this Manual describes the
meaning of these values for each of the available supported
commands. Following is a complete list of the command supported
by the Master driver.
ProLinx Function Code Listing
Basic Command Set
Protected Write
Unprotected Read
Protected Bit Write
Unprotected Bit Write
Unprotected Write
PLC-5 Command Set
Word Range Write (Binary Address)
Word Range Read (Binary Address)
Read-Modify-Write (Binary Address)
Word Range Write (ASCII Address)
Word Range Read (ASCII Address)
Read-Modify-Write (ASCII Address)
SLC Command Set
Prot Typed Read with 2 addr fields
Prot Typed Read with 3 addr fields
Prot Typed Write with 2 addr fields
Prot Typed Write with 3 addr fields
Prot Typed Write with Mask 3 addr fields
File Type
File Number
Elem #
Sub Elem #