Changes

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)