beautypg.com

ProSoft Technology 5202-DFNT-DFCM4 User Manual

Page 43

background image

DFCM ♦ ProLinx Gateway

Commands Supported by the Module

DF1 Master/Slave

Driver Manual

ProSoft Technology, Inc.

Page 43 of 88

October 15, 2010

The first part of the record is the module Information, which relates to the ProLinx

module and the second part contains information required to interface to the

slave device. Refer to the slave device documentation for a full discussion of

each function.
Command list example:

[DF1 Port 1 Commands]
# The file contains examples for a SLC 5/03 processor.
#
START
# 1 2 3 4 5 6 7 8 9 10 11
# Internal Poll Swap Node Func File File Elm Sub
# Enable Address Interval Count Code Address Code Type # # Elm
1 1510 0 5 0 3 501 N 10 10
0 1515 0 2 0 3 509 N 10 0
1 1500 0 10 0 3 502 N 10 0 0
END

Parameter

Range

Description

Enable

0, 1, 2, 999

This field defines whether the command is to be executed and
under what conditions.

Value Description
0

The command is disabled and will not be executed in
the normal polling sequence.

1

The command is executed each scan of the command

list if the Poll Interval Time is set to zero. If the Poll
Interval time is set, the command will be executed,

when the interval timer expires.

2

The command will execute only if the internal data

associated with the command changes. This value is

valid only for write commands.

999

Issues a poll request to indicated slaves. This
command can be used to implement a slave-to-slave

network or an RBE based network

Internal

Address

0 to 3999

This field specifies the internal database register to be associated

with the command.
For Read functions, the data read from the slave device will be
placed starting at the register value entered in this field.
For write functions, the data written to the slave device will be
sourced from the address specified.

Poll Interval

0 to 65535

This parameter specifies the minimum interval to execute

continuous commands (Enable code of 1). The parameter is
entered in units of seconds. Therefore, if a value of 10 is entered

for a command, the command will execute no more frequently than

every 10 seconds.

Count

Message

dependent

This parameter specifies the number of registers or digital points to

be associated with the command. Functions 5 and 6 ignore this
field as they only apply to a single data point.
For Binary data functions, this parameter sets the number of digital

points (inputs or coils) to be associated with the command.
For word or register functions, this parameter sets the number of

registers to be associated with the command.