Hey Guys,
bad luck. The communication seems to run between mesa and Vfd.
Now i measured (in parallel) the connected Mesaoutput with Vfd Input. (mesa_modbus.png)
Compare to the connected USB-Dongle output and Vdf Input (USB_Modbus.png)
Signal Quality looks pretty good. (pktuart seems to work)
I figured out by using the USB-Dongle, that i have to set some Frequency to get this RUN-LED flashing on my OmronMX2 Vdf.
So I implemented all the other necessary Hal Pins to .hal file to check this with the Mesa <--> Vdf communication.
Know, if i click the CW AXIS GUI Button, Iḿ getting the same Error at my Vdf ( E12.1 like a few days ago).
From my point of view, there must be something wrong with the run, reverse or cmd-freq command.
Or still some wrong configuration somewhere.
Iḿ still getting no Vdf temperature out of the Vdf.
so write or read is not Working,
my current .mbccs:
Code:
<mesamodbus baudrate="9600" parity="N" interval="1000" stopbits="1" duplex="half">
<devices>
<device name="omronmx2" address="0x01"/>
</devices>
<initlist>
<command device="omronmx2" address="0x0001" function="W_COIL">
<description>Zero Operation</description>
<data value="0"/>
</command>
<command device="omronmx2" address="0x0002" function="W_COIL">
<description>Reverse Operation</description>
<data value="0"/>
</command>
<command device="omronmx2" address="0x0001" function="W_REGISTERS">
<description>Frequency</description>
<data value="0"/>
</command>
</initlist>
<commands>
<command device="omronmx2" address="0x0001" function="W_COIL" name="run"/>
<command device="omronmx2" address="0x0002" function="W_COIL" name="reverse"/>
<command device="omronmx2" address="0x0001" function="W_REGISTERS" name="cmd-freq" haltype="HAL_FLOAT" modbustype="U_AB" count="1"/>
<command device="omronmx2" address="0x0014" function="R_COILS" name="is-at-speed" count="1"/>
<command device="omronmx2" address="0x0018" function="R_COILS" name="watchdog-out" count="1"/>
<command device="omronmx2" address="0x0013" function="R_COILS" name="is-running" count="1"/>
<command device="omronmx2" address="0x1003" function="R_REGISTERS" name="motor-current" haltype="HAL_FLOAT" modbustype="U_AB" count="1"/>
<command device="omronmx2" address="0x1019" function="R_REGISTERS" name="heatsink-temp" haltype="HAL_FLOAT" modbustype="U_AB" count="1"/>
</commands>
</mesamodbus>
Can someone explain these
?
Once, i had one PDU Error. But i guess it was only a wrong configuration.
Iḿ loosing my motivation, i wasted 3 weeks now 3h a day