![Akron 6032 Скачать руководство пользователя страница 29](http://html.mh-extra.com/html/akron/6032/6032_installation-operation-and-maintenance-manual_2886639029.webp)
Input Messages
J1939 Basic Joystick Message (PGN 0xFDD6)
Header (29 bits) 2 22 11 00 0
8 ... 43.....65...... 87......0
011001111110111010110
[ A ]
3 bits, Priority 3 (011)
2 bits, 00
16 bits, PGN 0xFDD6
[A] = 8 bits, Source (Joystick node address, 0x33 – 0x38)
Data length – 8 bytes
Data byte 0 1 2 3 4 5 6 7
bit 7......07......07......07......07......07......07......07......0
AABBCCDDAAAAAAAAEEFFGGHHEEEEEEEEJJKKLLLLMMNNPPQQRRSSTTUUVVWWXXYY
[A] = 10 bits, X position in 0.1% (unsigned binary, LSB...MSB)
[B] = 2 bits, X right (+) status (00 Off, 01 On, 10 Error, 11 N/A)
[C] = 2 bits, X left (-) status (00 Off, 01 On, 10 Error, 11 N/A)
[D] = 2 bits, X neutral status (00 Off, 01 On, 10 Error, 11 N/A)
[E] = 10 bits, Y position in 0.1% (unsigned binary, LSB...MSB)
[F] = 2 bits, Y forward (+) status (00 Off, 01 On, 10 Error, 11 N/A)
[G] = 2 bits, Y back (-) status (00 Off, 01 On, 10 Error, 11 N/A)
[H] = 2 bits, Y neutral status
(00 Off, 01 On, 10 Error, 11 N/A)
[J] = 2 bits, X detent status (00 Off, 01 On, 10 Error, 11 N/A)
[K] = 2 bits, Y detent status (00 Off, 01 On, 10 Error, 11 N/A)
[L] = 4 bits, (unused)
[M] = 2 bits, Switch 1 status (00 Off, 01 On, 10 Error, 11 N/A)
[N] = 2 bits, Switch 2 status (00 Off, 01 On, 10 Error, 11 N/A)
[P] = 2 bits, Switch 3 status (00 Off, 01 On, 10 Error, 11 N/A)
[Q] = 2 bits, Switch 4 status
(00 Off, 01 On, 10 Error, 11 N/A)
[R] = 2 bits, Switch 5 status (00 Off, 01 On, 10 Error, 11 N/A)
[S] = 2 bits, Switch 6 status (00 Off, 01 On, 10 Error, 11 N/A)
[T] = 2 bits, Switch 7 status (00 Off, 01 On, 10 Error, 11 N/A)
[U] = 2 bits, Switch 8 status (00 Off, 01 On, 10 Error, 11 N/A)
[V] = 2 bits, Switch 9 status (00 Off, 01 On, 10 Error, 11 N/A)
[W] = 2 bits, Switch 10 status (00 Off, 01 On, 10 Error, 11 N/A)
[X] = 2 bits, Switch 11 status (00 Off, 01 On, 10 Error, 11 N/A)
[Y] = 2 bits, Switch 12 status
(00 Off, 01 On, 10 Error, 11 N/A)
Example – 0CFDD633 [8] 1 0 7D 04 6 4 00 10 00 00
This message from the joystick at CAN node address ‘0x33’ indicates its current state:
The joystick is actuated 50% to the right and 40% back
[ X position= 0x1F4 | 500 ]
[ X right (+) status = 01 ]
[ Y position= 0x190 | 400 ]
[ Y back (-) status = 01 ]
Switch 2 is on / closed
[ Switch 2 status = 01 ]
Refer to Appendix B for more information on how joystick input is handled.
29