Changes

added Modbus register addresses
Line 54: Line 54:  
| MODBUS parity selection
 
| MODBUS parity selection
 
|}
 
|}
 +
 +
NOTE: the numbering of some parameters above <code>n100</code> seem to be slightly shifted between different revisions of the VFD firmware. A physical Saftronics GP5/FP5 Series Instruction Manual (PN 027-2005, Rev 1195, 1995) differs from the "027-2005F" that can be found online.
    
=== Modbus registers ===
 
=== Modbus registers ===
Line 62: Line 64:  
* [https://www.yaskawa.com/delegate/getAttachment?documentId=TM4026&cmd=documents&documentName=TM4026.pdf#page=41 Page 41] (7-8 in the PDF) of the RTU manual lists the "Drive Parameter" (read/write) registers.
 
* [https://www.yaskawa.com/delegate/getAttachment?documentId=TM4026&cmd=documents&documentName=TM4026.pdf#page=41 Page 41] (7-8 in the PDF) of the RTU manual lists the "Drive Parameter" (read/write) registers.
 
* [https://www.yaskawa.com/delegate/getAttachment?documentId=TM4026&cmd=documents&documentName=TM4026.pdf#page=53 Page 53] (7-20 in the PDF) of the RTU manual lists the "Special" (read/write) registers.
 
* [https://www.yaskawa.com/delegate/getAttachment?documentId=TM4026&cmd=documents&documentName=TM4026.pdf#page=53 Page 53] (7-20 in the PDF) of the RTU manual lists the "Special" (read/write) registers.
 +
 +
{| class="wikitable"
 +
! Address Hex
 +
! Parameter No.
 +
! Description
 +
|-
 +
| 0x0000-<br/>0x000a
 +
|
 +
| Command registers (read/write) for broadcasts, first two are Simultaneous broadcast registers (write-only)
 +
|-
 +
| 0x0020-<br/>0x0040
 +
|
 +
| Monitor registers (read-only)
 +
|-
 +
| 0x0101-<br/>0x018d
 +
| n101-<br/>n241?
 +
| Parameters (the max parameter is <i>supposed</i> to be n116...)
 +
|}
    
=== mbpoll ===
 
=== mbpoll ===
Line 71: Line 91:  
<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 status
 +
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1 -0 -r 0x20
 +
 
 +
# monitor drive fault
 +
./mbpoll /dev/ttyUSB0 -b 9600 -s 1 -P even -a 1 -0 -r 0x21
    
# monitor frequency command (Hz*10, 1003 means 100.3Hz)
 
# monitor frequency command (Hz*10, 1003 means 100.3Hz)
Line 97: Line 126:     
== Online Resources ==
 
== Online Resources ==
 +
 +
<del>[http://www.efesotomasyon.com/html/control_techniques/027-2005F%20GP5%20Manual.pdf Saftronics FP5/GP5 Series User's Manual]</del> (DEAD)
   −
[http://www.efesotomasyon.com/html/control_techniques/027-2005F%20GP5%20Manual.pdf Saftronics FP5/GP5 Series User's Manual]
+
[https://web.archive.org/web/20150513231041/http://www.efesotomasyon.com/html/control_techniques/027-2005F%20GP5%20Manual.pdf Saftronics FP5/GP5 Series User's Manual] (Wayback Machine)
    
[https://www.yaskawa.com/delegate/getAttachment?documentId=TM4506&cmd=documents&openNewTab=true&documentName=TM4506.pdf Yaskawa GPD 506/P5 Technical Manual (TM4506)]
 
[https://www.yaskawa.com/delegate/getAttachment?documentId=TM4506&cmd=documents&openNewTab=true&documentName=TM4506.pdf Yaskawa GPD 506/P5 Technical Manual (TM4506)]