
63
Transmit Message Data
Appendix A
Instruction book, PHD API Reference
Transmit Message Data
The application is able to control the data transmitted by defined messages using the
following mechanism.
j1939.canX.pgnYYYYYY.saZZ
Event
j1939.canX.pgnYYYYYY.saZZ
Event Data
Keys
Values
Description
[parameters]
<parameter data>
Each parameter in the message is accessible using the
parameter name as the key.
Direction
output
Channel
j1939
Notes
Sent from the application to the J1939 service. The path is described generically
where:
•
canX is the name of the interface
•
pgnYYYYYY is the PGN of interest
•
saZZ is the source address of the target CA.
For example, data for PGN 0xF004 from SA 0x00 on interface can0, the path would
be:
j1939.can0.pgn61444.sa0
.
Note that all PGN and SA values must be specified in decimal notation (base 10).
Lua Example
Note that the example adjusts the testParameter parameter of PGN 0xFFFF.
testParameter is an unsigned 32-bit value.
function
cb_update_ffff
(
mapargs
)
local
ev
=
mapargs
.context_event_data
local
data
= {}
data
["
test_parameter
"] =
sendData
gre
.send_event_data("
j1939.can1.pgn65535.sa10", "4u1 test",
data
, "
j1939
")
sendData
=
sendData
+
1
end
Содержание PHD28
Страница 1: ...Parker Hannifin Display PHD User Guide UG PHD 1040001 201707 010...
Страница 52: ...44 PHD Mounting the PHD 9 1 2 PHD50 Figure 18 PHD50 dimensions mm...
Страница 53: ...User Guide 45 Mounting the PHD 9 1 3 PHD70 Figure 19 PHD70 dimensions mm...
Страница 58: ...Parker Hannifin Display PHD User Guide HY33 5021 IB US...
Страница 59: ...PHD Network Interface Configuration Publ no HY33 5021 M1 UK Edition 2017 02 02...
Страница 75: ...PHD API Reference Publ no HY33 5021 M2 UK Edition 2017 02 13...