ProSoft Technology 5104-DNPS-PDPM User Manual

Page 45

Advertising
background image

PDPM ♦ ProLinx Gateway

PDPM Protocol Configuration

PROFIBUS DP Master

Protocol Manual

ProSoft Technology, Inc.

Page 45 of 70

June 24, 2013

4.2

[PROFIBUS Master Commands]

The [PROFIBUS MASTER COMMANDS] section of the CFG file sets the
PROFIBUS master port command list. This list polls slave devices attached to a
master port. The module supports three commands. This permits the module to
interface with a wide variety of PROFIBUS slave devices.

The command list is formatted differently than the other sections of the
configuration file. Commands are present in a block between the labels START
and END. These labels inform the program where the list resides. The module's
program will parse all commands after the START label until it reaches the END
label or until the command count entered for the port is reached.

The format of each command in the list is the same with the content dependent
on the operation to perform. The following table describes the format and list of
PROFIBUS Master functions supported:

Column #

1

2

3

4

5

6

7

Function Type

Enabled

Database
Address

Register
Count

Polling
Interval

Node
Address

Command
Code

Data Length

Read Diag

1 or 2

0 to 3999

1 to 122

0 to 65535

0 to126

66

32 or 106

Global Cmd

1 or 2

0 to 3999

0

0 to 65535

0 to126

70

Group

Read Cntrs

1 or 2

0 to 3997

0

0 to 65535

0 to126

254

1 to 40

Reset Cntrs

1 or 2

0

0

0 to 65535

0

254

0

Command list example:

[PROFIBUS Master Commands]
# Database Register Poll Command Data
# Enabled Address Count Interval Node Code Length
START
1 600 10 0 3 66 32
1 610 7 0 4 66 32
2 620 0 10 3 254 2
2 0 0 1200 0 254 0
END

4.2.1 66 - Read Diag

Execute a station diagnostic command to the specified node placing the
response message at the Database Address specified but only using the number
of registers entered in the Register Count field.

4.2.2 70 - Global Cmd

Execute global command using the value at the specified Database Address to
the Node Address. The Data Length field specifies the Group Select parameter.

Advertising
This manual is related to the following products: