-
Notifications
You must be signed in to change notification settings - Fork 46
Command 0E Status Request
Eelke Jager edited this page Sep 18, 2018
·
26 revisions
The PDM uses a $E Command to request status from the Pod. The only parameter is this command is a single byte that contains the type of status to be returned. The command format is as follows:
Oe 01 TT
0e 01 00
- byte
0e
: mtype of0e
- byte
01
: length, fixed 1-byte command length - byte
TT
: request type-
$00
Command 1D Status Request standard status -
$01
Command 02 Pod Information Response Type 1 - expired alert status -
$02
Command 02 Pod Information Response Type 2 - fault event information -
$03
Command 02 Pod Information Response Type 3 - contents of data log -
$05
Command 02 Pod Information Response Type 5 - fault information with Pod initialization time -
$06
Command 02 Pod Information Response Type 6 - hardcoded values -
$46
Command 02 Pod Information Response Type $46 - flash variables including state, initialization time, any faults -
$50
Command 02 Pod Information Response Type $50 - dumps up to 50 entries data from the flash log -
$51
Command 02 Pod Information Response Type $51 - like type $50, but dumps entries before the last 50
-
The usual PDM status request for type 0 yields a Command-1D-Status-response response from the Pod. All of the other $0e command type requests will generate a Command-02-Pod-Information-Response from the Pod of varying different formats depending on the request type.
Request type 0 example:
Oe 01 TT
0e 01 00 PDM request type 0
1d SS 0PPPSNNN SSTTTTRR
1d 19 061f6800 044295e8 Pod responds with $1D status
Request type 1 example:
Oe 01 TT
0e 01 01 PDM request type 1
02 13 01 XXXX VVVV VVVV VVVV VVVV VVVV VVVV VVVV VVVV
02 13 01 0000 0000 0000 0000 0000 0000 0000 0000 0000 Pod responds with $02 pod information type 1
More Examples can be found here: