552
Jetter AG
10 Programming
CAN message box - Description of registers for indirect access
To get indirect access to message boxes of the CAN-Prim interface always
select the message box using R 200010502
Message Box Number
.
To allow compatibility with previous OS versions the registers for indirect
access are still supported.
Always use the registers for direct access when
programming the CAN-Prim interface.
CAN-Prim command register
R 200010501 is used to transfer certain commands to the CAN-Prim interface.
CAN-Prim interface - Commands
1
Enable the message box
The selected message box in R 200010502 is enabled. When enabling the
message box, the system checks whether the CAN-ID of the message box
has been reserved by the system bus or not.
Result:
Bit 0 = 1 in R 200010510
2
Disable the message box
The selected message box in R 200010502 is disabled.
Result:
Bit 0 = 0 in R 200010510
3
Send a CAN message
A CAN message is sent containing the data of the selected message box.
4
Clear the NEW DAT bit
This command is for clearing bit 1
NEW-DAT
in R 200010510 which
enables the selected message box to receive CAN messages again.
Result:
Bit 1 = 0 in R 200010510
5
Clear the OVERRUN bit
Clears bit 2
OVERRUN
in R 200010510 of the selected message box.
Result:
Bit 2 = 0 in R 200010510
6
Clear the sending error bit
Clears bit 3
Transmit error
in R 200010510 of the selected message box.
Result:
Bit 3 = 0 in R 200010510
7
Clear the FIFO buffer
This command is for clearing all entries in the FIFO buffer.
Result:
R 200010503 = 0
Indirect access
R 200010501
Содержание JC-120MC
Страница 1: ...User Manual JC 120MC Controller 60880901 We automate your success...
Страница 18: ......
Страница 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...
Страница 160: ......
Страница 186: ......
Страница 196: ......
Страница 395: ...Jetter AG 395 JC 120MC Programming Result When initializing the JX2 system bus the adjusted baud rate values were used...
Страница 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...
Страница 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...
Страница 586: ......
Страница 604: ......
Страница 633: ......