Open main menu
Home
Random
Log in
Settings
About CNC Wiki
Disclaimers
CNC Wiki
Search
Changes
← Older edit
Newer edit →
Saftronics GP5 VFDs
(view source)
Revision as of 06:35, 28 May 2020
126 bytes added
,
06:35, 28 May 2020
updated mbpoll commands to use 16-bit mode correctly
Line 71:
Line 71:
<code>mbpoll</code> commands to interact with the VFD:
<code>mbpoll</code> commands to interact with the VFD:
−
<pre># fault reset
+
<pre>
# trigger external fault
−
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1 -0 -r 1 -t 4:
int
-- 8
+
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1 -W -0 -r 1 -t 4:int16 -- 4
+
+
# fault reset
+
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1
-W
-0 -r 1 -t 4:
int16
-- 8
# stop
# stop
−
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1 -0 -r 1 -t 4:
int
-- 0
+
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1
-W
-0 -r 1 -t 4:
int16
-- 0
# set forward run
# set forward run
−
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1 -0 -r 1 -t 4:
int
-- 1
+
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1
-W
-0 -r 1 -t 4:
int16
-- 1
# set reverse run
# set reverse run
−
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1 -0 -r 1 -t 4:
int
-- 3
+
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1
-W
-0 -r 1 -t 4:
int16
-- 3
# set the output frequency (Hz*10, 1003 means 100.3Hz)
# set the output frequency (Hz*10, 1003 means 100.3Hz)
−
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1 -0 -r 2 -t 4:
int
-- 1000
+
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1
-W
-0 -r 2 -t 4:
int16
-- 1000
# monitor frequency command (Hz*10, 1003 means 100.3Hz)
# monitor frequency command (Hz*10, 1003 means 100.3Hz)
Fdarling
Bureaucrats
,
Interface administrators
,
Administrators
977
edits