
Introduction To ProfiBus DP
__________________________________________________________________
_______________________________________________________________________________________
Acromag, Inc. Tel:248-624-1541 Fax:248-624-9234 Email:sales@acromag.com http://www.acromag.com
34
The response telegram format is the same as noted above, but with the
DSAP/SSAP mirrored (swapped) and the DU bytes embedded.
Read_Outp Telegram – SAP 57
The master can use the Read Outputs telegram to
asynchronously
read
the output data (Outp_Data) of any slave in Data_Exchange mode.
SD LE LEr SD DA SA FC DSAP SSAP FCS ED
68H 05H 05H 68H 8x 8x X 39H
(57)
3EH
(62)
X 16H
The response telegram format is the same as noted above, but with the
DSAP/SSAP mirrored (swapped) and the DU bytes embedded.
Global_Control Service – SAP 58
ProfiBus DP uses the Global Control function to send special
commands addressed to a single slave, a specific group of slaves (multi-
cast), or to all slaves at once (broadcast). ProfiBus sends broadcast and
multi-cast messages as global control telegrams using address 127 (an
optional group number is included for a select group with multi-cast).
Using SDN transmission (Send Data with No acknowledge), a class 1
master will use the Global_Control service to inform the slaves of his mode
(Operating or Clear Mode), or to send commands such as sync, unsync,
freeze, unfreeze, and clear data to a group of slaves, typically for
synchronization purposes. Note that a slave will only accept this command
from the same master that parameterized and configured it. There is no
response returned to an SDN telegram.
Global_Control Telegram
SD LE LEr SD DA SA FC DSAP SSAP DU FCS ED
68H X X 68H 8x 8x X 3EH
(62)
3AH
(58)
X.. X 16H
DU Byte 1 (Control_Command To Be Executed)
765 4 3 2 1 0
Res. Res.
Sync Unsync Freeze Unfreeze Clear_Data
All outputs
cleared.
Res.
0 0 00=No Function
01=Deactivated
10=Activated
11=Deactivated
00=No Function
01=Deactivated
10=Activated
11=Deactivated
0=Do Not
Clear Outp
1=Clear
Outputs
0
Sync:
The output states transferred in Data_Exchange are delivered and
frozen. The output data which follows is held until the next Sync
command or Unsync command.
Unsync:
This control cancels the sync command.
Freeze:
This causes the states of the inputs to be read and frozen until the
next Freeze command or Unfreeze. Slaves must ensure that following
a freeze command, the last frozen values of the inputs must be
transferred in the next data exchange cycle.
Comentarios a estos manuales