![]() ![]() Not all manuals will mention which Modbus function codes are supported by the device.If these function code settings doesn’t match your Slave Device, you may get errors on writes.Use function code 05 when writing a single coil.Use function code 06 when writing a single register.NOTE: If this setting doesn’t match your slave device, you could still end up with okay-looking values if you also have a mismatch on your “Data Interpretation Settings” below.Modscan, the popular troubleshooting tool from WinTECH software, always does 1-based like the groov default. Sometimes the 0-based numbers are called “Register Address” (vs. Check your Slave Device manuals to see if they start at 0 or 1. If this setting doesn’t match your Slave Device, your Tag Addresses will be off by one.tab settings show in the table above - defaults shown: vs Port: aka “Service Port” - usually 502.Name: meaningful to you: like the brand and/or location of your Modbus slave device).More details on these groov Modbus settings in general: You’ll need to drop the pre-pended 4 for your tag settings. Watch extra digits on address - since groov pre-pends the 4 (for Holding Register). Watch how addresses shown in their manual, like: 4000 H since that H means Hexadecimal – you must convert to decimal for groov, e.g. Also be sure to let us know if you have one you’d like to add to this list, or find these settings did not work for you. On that previous post, be sure to scroll to your right to see more Modbus devices (listed alphabetically). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |