Device control record
The device control record contains configuration parameters for controlling some external devices and the operation of some receiver options. The number of bytes contained in the record and the length of the record are determined by the device type entry.
The following table shows the additional records provided when the device type record is included with Command Packet 64h.
Device type |
Byte |
Item |
Type |
Value |
Notes |
---|---|---|---|---|---|
All |
0 |
RECORD TYPE |
1 (Char) |
09h |
Device Control record |
1 |
RECORD LENGTH |
1 (Char) |
02h or 0Dh |
Number of bytes in record, excluding bytes 0 and 1 |
|
2 |
DEVICE TYPE |
1 (Char) |
01h, 02h or 07h |
01h = Event Marker |
|
1PPS Output only
|
3 |
1PPS CONTROL |
1 (Char) |
00h or 01h |
Enables or disables 1PPS output; when byte 2 is set to 02h 00h = disabled |
4 |
POSITIVE OR NEGATIVE TRIGGER EDGE |
1 (Char) |
00h or 01h |
00h = Positive Trigger Edge |
|
5 |
Always on |
1 (Char) |
00h or 01h |
00h = On only when time is valid. |
|
6 |
ADJUST 1PPS WIDTH |
1 (Char) |
00h or 01h |
00h = Use default 8000 nanoseconds width |
|
7–10 |
1PPS WIDTH |
uint32 |
160 ns – 10485600 ns |
1PPS width in nanoseconds |
|
Event Marker only
|
3 |
EVENT CONTROL |
1 (Char) |
00h or 01h |
Enables or disables event marker; when byte 2 is set to 01h 00h = disabled |
4 |
EVENT 1 TRIGGER SENSE |
1 (Char) |
00h or 01h |
00h = Positive Trigger Edge |
|
5 |
EVENT 2 CONTROL |
1 (Char) |
00h or 01h |
00h = disabled |
|
6 |
EVENT 2 TRIGGER SENSE |
1 (Char) |
00h or 01h |
00h = Positive Trigger Edge |
|
CAN Device only |
3 |
CAN Port |
1 (Char) |
00h or 01h |
CAN port (zero-based) |
|
4 |
Bus Speed |
1 (Char) |
00h, 01h or 02h |
00h = 250 kB/s |
|
5 |
J1939 Local Address |
1 (Char) |
??h |
Default: DAh |
|
6 |
RESERVED |
1 (Char) |
00h |
|
|
7 |
RESERVED |
1 (Char) |
00h |
|