
75
Instruction book, PHD API Reference
CANopen channel events
Appendix B
cos.rx_emcy
Event
cos.rx_emcy
Event Data
Keys
Values
Description
error_code
<0..65535>
Error code
error_reg
<0..255>
Error register
count
<0..255>
Occurrence count
value
<0..65535>
Data for the EMCY message.
Direction
input
Channel
cos
Notes
EMCY Receive Event.
This event is published by cos when an EMCY message is received from the VSM
using COB-ID 0x083.
The example below assumes the Storyboard application is set up to call Lua function
canopen_rx_emcy
when the
cos.rx_emcy
event is received.
Lua Example
function
canopen_rx_emcy
(
mapargs
)
local
ev
=
mapargs
.context_event_data
local
code
=
ev
["
error_code
"]
local
reg
=
ev
["
error_reg
"]
local
count
=
ev
["
count
"]
local
value
=
ev
["
value
"]
("
Received EMCY message."
)
("
__
Error code:
". .
code
)
("
Error register: ". .
reg
)
("
Occurrences: ". .
count
)
("
__.___
Value: ". .
value
)
end
Summary of Contents for PHD28
Page 1: ...Parker Hannifin Display PHD User Guide UG PHD 1040001 201707 010...
Page 52: ...44 PHD Mounting the PHD 9 1 2 PHD50 Figure 18 PHD50 dimensions mm...
Page 53: ...User Guide 45 Mounting the PHD 9 1 3 PHD70 Figure 19 PHD70 dimensions mm...
Page 58: ...Parker Hannifin Display PHD User Guide HY33 5021 IB US...
Page 59: ...PHD Network Interface Configuration Publ no HY33 5021 M1 UK Edition 2017 02 02...
Page 75: ...PHD API Reference Publ no HY33 5021 M2 UK Edition 2017 02 13...