Specifications
1070 072 131-102 (96.08) GB
BUEP03E Protocol8-4
8.4 Transmission Format
The non-displaying ASCII characters are used to control the protocols.
These control characters, like the other data, are written to memory as
hex code by the user. All the data is then output with the Transmit com-
mand via the serial interface. The data can be input into the PLC memory
either via the PG editor or the PLC program commands. The PG editor
only allows the ASCII and hex formats. In both the ASCII and hex for-
mats, the addresses are zero-filled up to the word boundaries. A single
control character can therefore not be input with the PG editor. The user
must edit the required control characters, possibly combined with a text
character, as a hex word.
No. Symbol Type Sign Data field F
D0 Text Word N 5402 H
D2 Word N H
D4 ASCII N ESTE
Fig: Inputting text with control characters
The first line is input as a hex word, and the second line as ASCII text in
the PG editor.
The hex dump of the data in the controller:
02 54 45 53 54 45 ==> STX TEST
ASCII Hex Description
STX 02 Start of Text ASCII character
ETX 03 End of Text ASCII character
ETB 17 End of Block ASCII character
CAN 18 Cancel ASCII character
NUL 00 All bits = 0 ASCII character
Fig. 8-1 Control characters — Protocols
ASCII Hex Description
CR 0D Carriage Return ASCII character
LF 0A Line Feed ASCII character
FF 0C Form Feed ASCII character
TAB 09 Tabulator ASCII character
ESC 1B Escape ASCII character
Fig. 8-2 Control characters — General-purpose
The commands execute only the specified tasks and do not analyse the
responses of the partner module. Any response to the fault statuses must
occur on the PLC side. For example, a data request is transmitted to a
peripheral, but is not understood by the latter. This case must be analysed
on the PLC side, and an appropriate response must be issued.