Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SEissing

Pages: [1]
1
Support Questions / Re: Mitsubishi FX5 via ModbusTCPCOM
« on: February 14, 2018, 08:35:08 AM »
Hi Godra,

tried this experimental driver with support for extended registers. But unfortunately it is still not working.
Same error: illegal data value
Tried: 4XXXX ; 4XXXXX ; 6XXXXX

Thanks anyway for your help!!!

Will give the mitsubishi guys a call now. Maybe I find one who knows about MODBUS issues ;-)

2
Support Questions / Re: Mitsubishi FX5 via ModbusTCPCOM
« on: February 12, 2018, 04:17:07 AM »
Just read this prior answer regarding MODBUS function codes:


Re: VLINX MESR911 ModBus TCP to Modbus Serial Converter to Badger M-5000
« Reply #1 on: August 19, 2013, 05:40:00 PM »

Currently the Modbus driver doesn't support floating point. Modbus works by function code, so AdvancedHMI could be using a function code that is not supported by your device. Below is the code that parses the addresses and converts it to function code. It's based on the first digit of the address and only 0,1,3, and 4 are supported.

The easiest troubleshooting route may be to use wireshark to look at the packets and see what function codes are working.

Code: [Select]
                    Select Case CInt(AddressFirstDigit)
                        Case 0 : m_ReadFunctionCode = 1
                            WriteSingleFunctionCode = 5
                            WriteMultiFunctionCode = 15
                            m_BitsPerElement = 1
                        Case 1 : m_ReadFunctionCode = 2
                            WriteMultiFunctionCode = 0 '* Invalid
                            m_BitsPerElement = 1
                        Case 3 : m_ReadFunctionCode = 4
                            WriteMultiFunctionCode = 0
                            m_Element = CInt(Address.Substring(1)) - 1
                            m_BitsPerElement = 16
                        Case 4 : m_ReadFunctionCode = 3
                            WriteSingleFunctionCode = 6
                            WriteMultiFunctionCode = 16
                            m_Element = CInt(Address.Substring(1)) - 1
                            m_BitsPerElement = 16


Is it still working like this?
That would mean if address is 4xxxxx, Functioncode will be automatically: 3
Am I right?


3
Support Questions / Mitsubishi FX5 via ModbusTCPCOM
« on: February 09, 2018, 10:50:02 AM »
Hey guys,

got some problems using a Mitsubishi FX5 with ModbusTCP.

For my test I'm using just 1 AnalogDisplayValue.
In general it is working. I checked Standard-register from documentation D0 (MODBUS-address 40001). No problem.

But for my project I need to use extension registers R.
In the documenttation I found address mapping R0 - R32767 (MODBUS address 2140h - A13Fh)

So in my opinion correct address for R0 should be: 40000 + 8512 + 1
But with this address I always get  MODBUS error 03: Illegal data value

I'm not sure what the problem is. Can anyone help me?

Pages: [1]