
73
Instruction book, PHD API Reference
CANopen channel events
Appendix B
cos.request_od
Event
cos.request_od
Event Data
Keys
Values
Description
index
<0..65535>
Index of the desired object dictionary element
subindex
<0..65535>
Subindex of the desired object dictionary element
Direction
output
Channel
cos
Notes
Sent by the application to request an object dictionary entry by index and subindex.
The example below assumes the Storyboard application is set up to call Lua function
canopen_request_od
with arguments of
index
and
subindex
with values of 0
through 65535.
Lua Example
function
canopen_request_od
(
mapargs
)
local
data
= {}
local
index
=
mapargs[
"
index
"]
local
subindex
=
mapargs[
"
subindex
"]
if
(
index
~=
nil and
subindex
~=
nil
)
then
data
["
index
"] =
index
data
["
subindex
"] =
subindex
gre.
send_event_data("
cos.request_od
",
"
4u1 access 4u1 index 4u1 subindex
",
data
, "
cos
")
end
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...