Home > HMS NETWORKS > HMS NETWORKS CANbridge NT Lua ADK Bridge Router User Guide

HMS NETWORKS CANbridge NT Lua ADK Bridge Router User Guide

C Funcons Called from Lua  
CAN@net NT/CANbridge NT Lua ADK  
patternpossible values:  
1- turn o(set ticksto 0)  
2- set to red (set ticksto 0)  
3- set to green (set ticksto 0)  
4- set to orange (set ticksto 0)  
5- ash red for tickscks  
6- ash green for tickscks  
7- ash orange for tickscks  
8- blink red (frequency in Hz is 50 / ticks)  
9- blink green (frequency in Hz is 50 / ticks)  
10- blink red/green (frequency in Hz is 50 / ticks)  
11- blink orange (frequency in Hz is 50 / ticks)  
12- blink red/orange (frequency in Hz is 50 / ticks)  
13- blink green/orange (frequency in Hz is 50 / ticks)  
ticks: me in mulples of 10 milliseconds  
Funcon 'sys.logging'  
sys.logging(severity, message)  
Writes a test message into the LOG/ERR le, e. g. sys.logging("E", "my log message").  
severity: possible values: e'X'epon, 'E'rror, 'W'arning or 'L'ogging  
message: text string  
5.2.5. Module cyc  
The cycmodule allows stopping, updang and sarng the cyclic transmission of CAN messages. CAN messages  
to be sent cyclically can be congured with the "CAN-Gateway Conguraor". These messages can then be  
controlled from Lua.  
Funcon 'cyc.stop_msg'  
cyc.stop_msg(row)  
Congured "cyclic messages" will be sent on secondary side as soon as the message on primary side is received  
once. To prevent the transmission of such a message, the uncon cyc.stop_msgcan be used e. g. from  
within the Lua uncon initialize.  
row: The row number in the "CAN-Gateway Conguraor" grid (0 to 127)  
Funcon 'cyc.start_msg'  
cyc.start_msg(row)  
To enable the transmission of cyclic message again, the uncon cyc.start_msgis used.  
TIP  
The transmission only begins when the rsmessage has been received on primary side or the  
cyc.update_msguncon has been called.  
row: The row number in the "CAN-Gateway Conguraor" grid (0 to 127)  
4.02.0332.20002 Version 1.5  
Page 15 of 20  
GeneralDetails
NameHMS NETWORKS CANbridge NT Lua ADK Bridge Router User Guide
MakeHMS NETWORKS
LanguageEnglish
FiletypePDF (Download)
File size MB
Download PDF
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

If you have any questions regarding HMS NETWORKS CANbridge NT Lua ADK Bridge Router User Guide, please ask here and describe the problem in detail.

Leave a Reply

Your email address will not be published. Required fields are marked *

fifteen − 11 =

HMS NETWORKS CANbridge NT Lua ADK Bridge Router User Guide