
3 Message structure
Generally, single data are transmitted, exceptions are shown in the
CODE-table (Ächapter 4). Values in a reply are transmitted without
leading zeros, but minus sign/decimal point depending on the date.
Values in a transmission are valid within their limits with or without
decimal point. They will be cut and rounded to the required data
structure. Some parameters can be switched off by means of four minus
signs.
ADR Address (2 bytes)
CODE Code for data
VAL Value of data
DATA Comprises CODE = VAL
BCC Block Check Count Ü
CHR Character
FCT Function *
ÜAll characters after STX and including ETX are connected bytewisely in an EXOR function (1 byte).
*Function is the second part of the B2-codes. For B2,01 it is 01 and for B2,02 it is 02.
3.1 General structure
qComputer requests: EOT ADR ADR CODE CODE ENQ
With blocks B2, CODE and FCT must be requested: CODE CODE , FCT FCT
General reply: STX CODE CODE = tVAL rETX BCC or NAK in case of error
Block 00 reply: STX ST1 , ST2 , Y , W , X , Wv , Wnv , , HC/X2 ETX BCC
Blocks B2 reply: CODE is B2. FCT is first part of VAL.
VAL (Block B2,01): 0 1 , 1 0 , SP2 , SP3 , SP4 , SP5 , SP6 , SP7 , SP8 , SP9 , SP10 , SP11 , 0
VAL (Block B2,02): 0 2 , 0 , 1 0 , Pt2 , Pt3 , Pt4 , Pt5 , Pt6 , Pt7 , Pt8 , Pt9 , Pt10 , Pt11
qComputer transmits: EOT ADR ADR STX CODE CODE = tVAL rETX BCC
With blocks B2, CODE and FCT must be transmitted: CODE CODE , FCT FCT FCT is repeated in VAL.
VAL (Block B2,01): 0 1 , 1 0 , SP2 , SP3 , SP4 , SP5 , SP6 , SP7 , SP8 , SP9 , SP10 , SP11 , 0
VAL (Block B2,02): 0 2 , 0 , 1 0 , Pt2 , Pt3 , Pt4 , Pt5 , Pt6 , Pt7 , Pt8 , Pt9 , Pt10 , Pt11
General reply: ACK or NAK in case of error
3.2 Messages ACK (write access) and NAK (write or read access)
The controller replies ACK to a write access, if all the following conditions are met:
wParity bit correct wValue is within its specified limits
wBCC correct wController is at REMOTE mode
wCODE permittted and positioned correctly wPermitted write access (e.g. Code 06)
wMessage contains only permitted characters wMessage (data) received correctly
If one of the above conditions is not met, the controller replies NAK.
With message receive buffer overflow, the controller replies NAK.
With read access, remote or localoperation does not affect the message.
3.3 Reaction times
The computer enquires for data (read access) The computer sends data (write access)
wThe reply starts (STX) max. 150 ms after the
end of enquiry (ENQ). wThe reply (ACK) starts max. 150 ms after the
end of transmission (BCC).
English Message structure
960612 3 Interface description 9499 040 47701