beautypg.com

ProSoft Technology 5204-DFNT-PDPMV1 User Manual

Page 45

background image

PDPMV1 ♦ ProLinx Gateway

Configuration

PROFIBUS DPV1 Master

Protocol Manual

ProSoft Technology, Inc.

Page 45 of 157

March 23, 2011

Command Layout for Start/Stop Slaves

Column

Value

Description

Type

0 to 3

Type

0

Command Disabled

1

Command Enabled, use poll interval

2

Command executed when database changes
(Func 2, 3, 11, 12 or 33 only)

3

Command executed when database trigger set
Not equal to 0

DB_Reg

This is the database location where the 126 bytes of data for the message to be constructed
for the mailbox command is present.

Count

This field is not used as the message is always 63-words in length

Poll_Int

Only if type = 1

Swap

Utilized on request and response message

DB_Trigger

Used if type is 3

Func

11
12

Start Slave(s)
Stop Slave(s)

Param_1

This field contains the database address where the 63-words of response data from the
mailbox is written. Set to -1, if the data is not to be written to the database.


For this example, the command will stop and start the specified slave(s) using
Database trigger register 3199 (stop) and 3198 (start). Any nonzero value placed
in either register will trigger the command to execute. When the command has
executed, the database register will be reset to zero. Data will be read from
database register 3200 for a count of 63 words. The response will be placed at
Database address 3500 with a length of 63 words.
The following illustration shows the parameters that execute this command.

This manual is related to the following products: