Datasheet
Example 2
PC request of writing 4 words in the structure UIF_W, starting from the third position
(UIF_W.ram_tab[2], .., UIF_W.ram_tab[5]):
Byte Code Meaning
0 0F Number of bytes in the frame (0Fh=15dec)
1 3F Master string indicator. ("?")
2 00 Station address (it is always 0 in our boards)
3 57 word writing operation "W"
4 42 data start address (2(address in UIF_W.ram_tab)+40h(offset to add for ram reading/writing))
5 04 number of data
6 03 MSB of the first word of data (value (03E8h=1000dec) to be written in
UIF_W.ram_tab[2] = UIF_W.var.rif (speed reference)
7 E8 LSB of the first word of data
8 00 MSB of the second word of data (value to be written in UIF_W.ram_tab[3], not used)
9 00 LSB of the second word of data
10 00 MSB of the third word of data (value to be written in UIF_W.ram_tab[4], not used)
11 00 LSB of the third word of data
12 00 MSB of the fourth word of data (value to be written in UIF_W.ram_tab[5], not used)
13 00 LSB of the fourth word of data
14 E7 checksum
Board answer (indicates that the request is received and processed):
Byte Code Meaning
0 05 Number of bytes in the frame
1 21 Slave string indicator "!"
2 00 Station address (it is always 0 in our boards)
3 57 word writing operation "W"
4 E6 checksum