beautypg.com

ProSoft Technology PS69-DPM User Manual

Page 72

background image

Contents

PS69-DPM ♦ CompactLogix or MicroLogix Platform

User Manual

PROFIBUS DPV1 Master

Page 72 of 130

ProSoft Technology, Inc.

October 1, 2014

SLA := Slave Address
The parameter SLA allows the user to set the address of the Slave in which the Global
Control command is to be sent. The value of 127 is a special global broadcast address.
When this address is selected, all Slaves are affected by this command at the same time.

CC := Control Command
The parameter CC determines the function when using the Global Control Command.

Bit Offset

Structure Member

Data Type

Description

0

Reserved

BOOL

Reserved

1

Clear_data

BOOL

Clear output data

2

UnFreeze

BOOL

Unfreeze input data

3

Freeze

BOOL

Freeze input data

4

Unsync

BOOL

Neutralize the sync command or unsync

5

Sync

BOOL

Freeze output data, until sync command is neutralized

6

Reserved

BOOL

Reserved

7

Reserved

BOOL

Reserved

Combination of the Unsync/Sync and Unfreeze/Freeze bits:

Bit 2 or 4

Bit 3 or 5

Meaning

0

0

No function

0

1

Function (sync or freeze) is active

1

0

Function (unsync or unfreeze) is active

1

1

Function (unsync or unfreeze) is active

GS := Group_Select
The parameter GS allows the user program to select which of the 8 possible slave groups is
addressed by this service. This command is activated in the Slave when the AND linkage
between its internal Group_Ident and the desired Group_Select logic result is a "1". The
Group_Ident parameter is configured by the Master during the startup phase. If the
Group_Ident parameter is set to a value of "0", the Slave does not carry out a group
evaluation (AND linkage) with the received command.

The global control command is processed by using the two handshake bits GlbCtrlReq in
the Device Command register and GlbCtrCnf in the Device Status register. The command is
sent on every High to Low and Low to High transition of the GlbCtrlReq bit. If both bits are
equal a command can be sent. To send a command setup the Global_Control_array with
the desired command. Set the bits GlbCtrlReq and GlbCtrlCnf to unequal by transition of the
GlbCtrlReq bit. If the GlbCtrlCnf was set equal to the GlbCtrlReq bit the command was sent.
The truth table below provides an explanation of this process.

GlbCtrlReq

GlbCtrlCnf

Meaning

0

0

No Control_Command is active. Next command can be send.

1

0

Control command in progress.

1

1

No Control_Command is active. Next command can be send

0

1

Control command in progress.

0

0

Process repeats