G-Penny Spindle & H100 Register Settings: Documenting

More
30 Sep 2025 19:36 #335638 by Fmgutierr69
After a few days trying to get UART to work on my Pi 5 I came to realize it was my TTL/RS485 board that was faulty.  I bought a USB RS422/485 adapter with a terminal block and was able to connect right away to my VFD.My next challenge was using mbpoll to scan the registers, after hours of errors I recall reading in a forum somewhere that there is a limit to  how many responses my VFD can provide at one time.  After testing, I confirmed on mine the limit is 4.This command structure worked for me after reading the mbpoll help file.  This is the command structure that worked for me in case someone has the same VFD and is trying to find out what the settings are without going into the front panel every time:

On my system I have it set to RTU, 38400 baud rate and 8E1:

mbpoll -m rtu -a 1 -b 38400 -d 8 -P even -s 1 -r 160 -c 4 /dev/ttyUSB0

Where:
-r is the register number you are trying to scan.  From 1-199 on my VFD
-c is the number of registers in total to scan.  On my VFD the range is 1-4.  Outside of that range is fails.  There is an offset that you'll need to match up.  For instance, scanning  -r 160 -c 4 returns the values for  F163-F166 on my VFD

I've attached a txt file that contains the script that I  had ChatGPT help me with to document all of my register settings.  The script iterates through every register and cross-maps it to the name of the register.  The output is a file named vfd_register_scan.csv.  It is output in the same folder you run the shell script from I manually entered the Register name from the manual.  Here is a copy of the manual:

images.thdstatic.com/catalog/pdfImages/b...a62-3f425c50eff9.pdf
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum