EasyManua.ls Logo

Siko AG05 - SIKONETZ5 Error Codes and Communication Monitoring

Siko AG05
64 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication via SIKONETZ5
AG05
Date: 15.06.2016 Art. No. 85677 Mod. status 139/16 Page 49 of 64
10.3.7 Check sum
For checking error-free data transfer, a check sum is formed at the end of the telegram. The
check sum is the exclusive-OR-link of bytes 1 9:
Check sum [Byte10] =
[Byte1] XOR [Byte2] XOR [Byte3] XOR [Byte4] XOR [Byte5] XOR [Byte6] XOR [Byte7] XOR
[Byte8] XOR [Byte9]
The following applies for checking the telegram received:
[Byte1] XOR [Byte2] XOR [Byte3] XOR [Byte4] XOR [Byte5] XOR [Byte6] XOR [Byte7] XOR
[Byte8] XOR [Byte9] XOR [Byte 10] = 0
With a result unequal 0 a transmission error is to be assumed.
10.4 Synchronization
Byte/telegram synchronization is via "Timeout". The intervals between the individual bytes of
a telegram must not exceed the value of 10 ms. If an addressed device does not respond, the
master must not send another telegram earlier than after 30 ms.
10.5 Error telegram
Illegal entries are replied with an error telegram.
An error telegram consists of parameter address 0xFD and an error code.
The error code is in the data section of the reply telegram. The error code is divided in two
bytes. Code 1 describes the error proper and code 2 contains additional information if
available.
In the following example an attempt was made at writing a value of 1000 to the v-Pos
parameter address.
However, a maximum value of only 30 is admissible for this parameter.
Telegram from master to slave
1
st
byte
2
nd
byte
3
rd
byte
4
th
byte
5
th
byte
6
th
byte
7
th
byte
8
th
byte
9
th
byte
10
th
byte
Command
Node ID
Parameter
address
CW
Data
Check
sum
0x01
0x01
0x14
0x00
0x00
0x00
0x00
0x03
0xE8
0xFF
Reply telegram from slave
1
st
byte
2
nd
byte
3
rd
byte
4
th
byte
5
th
byte
6
th
byte
7
th
byte
8
th
byte
9
th
byte
10
th
byte
Command
Node ID
Parameter
address
SW
Data
Check
sum
Code2
Code1
0x01
0x01
0xFD
0x00
0x21
0x00
0x00
0x02
0x82
0x5C

Table of Contents