APC MGETM GALAXYTM 6000 User Manual Page 11

  • Download
  • Add to my manuals
  • Print
  • Page
    / 38
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 10
6739389EN/FB - Page 11
Function 6: writing a word
request
slave address
6
word address
CRC 16word
1 byte 1 byte 2 bytes2 bytes 2 bytes
response
slave address
6
word address
CRC 16word
The response is echoed acknowledging that the word sent has been received.
example
06 08 10 10 00
50
8A 2E
Writing the value 1000 into the word location 810H of slave at address 50H
Function 8: reading error diagnosis counters
Each slave manages a set of nine
16 bit counters for error diagnosis
(see opposite):
slave address
CRC 16
1 byte
1 byte 2 bytes 2 bytes 2 bytes
8
- request / response:
- the slave must echo 00 XYZT
the request
- reset error 0A 0000
diagnosis counter
- read the total number of:
received frames with CRC error (CNT 1) 0B XXXX
received frames with CRC error (CNT 2) 0C XXXX
number of exception responses (CNT 3) 0D XXXX
frames addressed to the station (CNT 4) 0E XXXX
(not including broadcast)
broadcast requests received (CNT 5) 0F XXXX
number of NACK responses (CNT 6) 10 XXXX
unit not ready responses (CNT 7) 11 XXXX
illegal characters (CNT 8) 12 XXXX
X, Y, Z, T are user
defined (transmission
parameters)
requests:
XXXX equals 0000
response:
XXXX is the counter
value
data
sub-function
code
JBUS protocol (continued)
Page view 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 37 38

Comments to this Manuals

No comments