Skip to content

Commit d38c5f2

Browse files
AndrewAndrew
Andrew
authored and
Andrew
committed
Can send commands
1 parent edcc95a commit d38c5f2

12 files changed

+310
-445
lines changed

.github/workflows/npm-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: npm-publish
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66

77
jobs:
88
publish:

.idea/misc.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/node-red-contrib-light.iml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nexus21/errorcodes.js

+128
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
export default {
2+
8: {
3+
id: 8,
4+
short: 'Unexpected Reset',
5+
long: 'Unexpected reset caused by a software error or external reset'
6+
},
7+
9: {
8+
id: 9,
9+
short: 'LIN error',
10+
long: 'An error occur on LIN bus'
11+
},
12+
10: {
13+
id: 9,
14+
short: 'Power fail',
15+
long: 'Power fail occurred or power regulator adjusted below 10%'
16+
}
17+
};
18+
19+
20+
21+
22+
23+
// 11
24+
// Channel count changed
25+
// Number of channels connected to system has changed since last initialization
26+
// 12
27+
// Position difference
28+
// Difference between minimum and maximum position of a reference has been exceeded
29+
// 13
30+
// Short circuit
31+
// Short circuit has been detected while running
32+
// 14
33+
// Checksum
34+
// Position checksum check failed, all channels has position lost
35+
// 15
36+
// Power limit
37+
// System has reached its power limitation
38+
// 16
39+
// Key error
40+
// Illegal key combination or change of keys
41+
// 17
42+
// No Safety
43+
// Safety function has not allowed movement but input active
44+
// 18
45+
// Missing initialization plug
46+
// A special service tool is required to change number of channels to the system
47+
// 19
48+
// LIN power
49+
// LIN power dropped unexpected while system active.
50+
// 23
51+
// Channel 1 missing
52+
// Actuator is missing
53+
// 24
54+
// Channel 2 missing
55+
// 29
56+
// Channel 1 type
57+
// Actuator type has changed since initialization, or detected wrong.
58+
// 30
59+
// Channel 2 type
60+
// Actuator type has changed since initialization, or detected wrong, or not same as first actuator.
61+
// 35
62+
// Channel 1 pulse
63+
// Too many pulse errors.
64+
// 36
65+
// Channel 2 pulse
66+
// 41
67+
// Channel 1 Overload up
68+
// Overload occur outwards
69+
// 42
70+
// Channel 2 Overload up
71+
// 47
72+
// Channel 1 Overload down
73+
// Overload occur inwards
74+
// 48
75+
// Channel 2 Overload down
76+
// 53
77+
// Channel 1 Anti-collision
78+
// Anti-collision limit has been exceeded
79+
// 54
80+
// Channel 2 Anti-collision
81+
// 59
82+
// Channel 1 SLS activation
83+
// SLS input has been activated
84+
// 60
85+
// Channel 2 SLS activation
86+
// 65
87+
// Channel 1B type
88+
// Type of port B of channel has been changed
89+
// 66
90+
// Channel 2B type
91+
// 71
92+
// Channel 1A shorted
93+
// Short circuit detected on output
94+
// 72
95+
// Channel 1B shorted
96+
// 73
97+
// Channel 2A shorted
98+
// 74
99+
// Channel 2B shorted
100+
// 84
101+
// DC-out
102+
// DC unit has been disconnected or failed
103+
// 85
104+
// Radio dead
105+
// Radio circuit has died and has had to be restarted
106+
// 86
107+
// Master
108+
// Connection to master lost OR following messages are from master
109+
// 87
110+
// Slave 1
111+
// Connection to 1st slave lost OR following messages are from 1st slave
112+
113+
114+
// 500
115+
// Rest API argument error
116+
// Rest API argument error
117+
// 501
118+
// LIN Communication error
119+
// IPLINBox communication lost with LIN Controlbox
120+
// 502
121+
// Ref1 position lost
122+
// Ref1 position lost
123+
// 503
124+
// Ref2 position lost
125+
// Ref2 position lost
126+
// 504
127+
// Memory error
128+
// IPLINBox internal eeprom is not working, so wifi ssid/password/date can not be read/stored

nexus21/icons/squarelogo.png

24.9 KB
Loading

0 commit comments

Comments
 (0)