Specifications

1070 072 131-102 (96.08) GB
BUEP03E Protocol8-30
8.7.4 Examples of BÜP03E Commands
The examples illustrate how the interlinked commands implement effecti-
ve applications. In theory, any command can be interlinked with any other
command. However, commands should be interlinked effectively. For ex-
ample, the Data Copy command can be completely integrated into the
command chain following the Receive command. However, the command
is not activated during the Receive process. The Data Copy command
should therefore be started, as required, parallel to the Receive com-
mand.
The parameter list (16 words each) stands for the examples listed below
in the DM10, commencing from DW0, and is started with the FM call in
the PLC program.
CM -R5REQ,6
P0 0 ;Data in the data module (0=DM, 1=DB, 2=DF)
P1 10 ;Data module number 10
P2 0 ;Data word number 0
P3 1 ;Only one job parameter list
P4 M0 ;Fault message
P5 M2 ;Result
Example 1: Only Unrestricted Receive should be activated with time-
monitoring and without interlinking. The parameters are entered in the
DM10, commencing from DW0.
DW0 - DW4 = reserved for R5REQ
DW6 = 'RX' Command identifier
DW8 = 10 Monitoring time = 100 ms
DW10 = 100 Size of the PLC Receive buffer = 100
DW12 = 0 No Receive-data length condition
The received characters are written to the BÜP03E Receive buffer and
can be loaded into the PLC Receive buffer with the Data Copy command
at any time.
Example 2: A data area should be transmitted to the interface. The pa-
rameters are entered in the DM10, beginning with DW0. The characters
to be transmitted are in the DM11, commencing from DW0.
DW0 - DW4 = reserved for R5REQ
DW6 = 'TX' Command identifier
DW8 = K44H Identifier
DW10 = 11 for
DW12 = 0 Transmit buffer
DW14 = 150 Transmit 150 bytes
The 150 bytes written to the DM11, commencing from DW0, are trans-
mitted unchanged.