beautypg.com

Swap code, Poll interval, Node number – ProSoft Technology 5201-DFNT-DH485 User Manual

Page 26: Function code, File type, File number

background image

DH485 ♦ ProLinx Gateway

Configure the Module

DH485 Interface

Driver Manual


Page 26 of 44

ProSoft Technology, Inc.

August 27, 2009

3.5.6 Swap Code

This field changes the order of the bytes and/or words used when sending or
receiving the data. The following codes are utilized:

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)

3.5.7 Poll Interval

This field sets the time interval between successive execution of the command.
This parameter is specified in seconds. If the field is set to 10, the command will
not be executed more frequently than every 10 seconds.

3.5.8 Node Number

This field defines the node address of the DH-485 node to send the command
request. This field should be set to a value from 0 to 31.

3.5.9 Function Code

This field defines the function to be executed by the command. The module uses
the following codes:
0 = Read
1 = Write

3.5.10 File Type

This field defines the file type to be interfaced with in the other DH-485 node. The
program utilizes the following codes for this field:
0 = Status File (2 bytes per element)
1 = Bit File (2 bytes per element)
2 = Timer File (6 bytes per element)
3 = Counter File (6 bytes per element)
4 = Control File (6 bytes per element)
5 = Integer File (2 bytes per element)
6 = Floating-point File (4 bytes per element)
10 = CIF File (1 byte per element)

3.5.11 File Number

This field defines the file number to access. This field is ignored for CIF file
access and should be set to 0. For Bit, Timer, Counter, Control, Integer, and
Float data types, a maximum value of 255 is valid.

This manual is related to the following products: