Programming the MOBY-ASM on PROFIBUS
B.3 Methods of operation with the ASM
FC 45
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
B-9
Command chaining and command buffering on the ASM
Command chaining is indicated when the chaining bit (bit 6 in the command) is set (see also
Section "MOBY commands).
Command buffering is a characteristic of the ASM. A variety of buffers are available to the
ASM for intermediate storage of commands and results.
Use of command chaining and command buffering involves the following characteristics:
•
Programming a function block becomes more complex.
•
Optimum data throughput to and from the MDS.
This is particularly noticeable with large amounts of data ( 1 KB) and slower PROFIBUS
transmission rates.
The following diagram shows the procedure used for command and acknowledgment
communication between user (DP master) and MOBY-ASM when a chained command is
used.
'3PDVWHU
02%<$60
7KHFRPPDQGDQGDFNQRZOHGJHPHQWWHOHJUDPLVDQDF\FOLF'39WHOHJUDPZLWK'39UHVSRQVH
$VWDUWLVRQO\DOORZHGDIWHUFKDQJLQJWKHFRPPDQGDQGRUDFNQRZOHGJHPHQWFRXQWHU
&KDQJHFRPPDQGFRXQWHU1HZVWDWXV ROGVWDWXVF\FOLFZRUG
&KDQJHDFNQRZOHGJHPHQWFRXQWHU1HZVWDWXV ROGVWDWXVF\FOLFZRUG
1RFKDQJHWRF\FOLFGDWD
7LPHD[LV
VW
FRPPDQG
QG
FRPPDQG
UG
FRPPDQG
([HFXWLRQRI
VWFRPPDQGLQ$60
([HFXWLRQRI
QGFRPPDQG
LQ$60
([HFXWLRQRI
UGFRPPDQGLQ
$60
7UDQVIHURIWKUHHFRPPDQGVLQ$60
7UDQVIHURIQG
UHVXOW
7UDQVIHURIUG
UHVXOW
7UDQVIHURIVW
UHVXOW
&RPPXQLFD
WLRQGLUHFWLRQ
Figure B-7
Command execution: Command chaining and buffering
The following general conditions apply to the procedures shown in the diagram above.
•
It is obvious that data transmission and execution of the commands take place parallel to
each other.
•
The sequences shown in the diagram above may vary depending on the transmission
speeds of PROFIBUS and the MOBY-MDS.
•
If the PROFIBUS implementation on the DP master only provides limited resources
(buffer) for non-cyclic data transmission, the PROFIBUS data transmission may take
quite a while. This is particularly noticeable in extensive bus configurations with MOBY-
ASM.