I added new module 750-653 (RS485). I would like to add to my project new Modbus RTU Master but I do not have which one number COM is assigned to new module ? How check it ?
I runned my application like "Modbus TCP Master" together with MODBUS TCP to MODBUS RTU gateway. Works great.
I have next device with RS485. This device send automatically data frame - 20 bytes periodically. To read this device I can use 750-653 module ? How can read all frame when I have only 4 bytes in receive data in my conffiguration -please find in attachement.
Usually Wago identifies these speciel modules as each their own. So if you have 2 MODBUS-RTU cards and 2 DALI cards. These would just identify as port 1 and 2 on RTU function blocks and also port 1 and 2 on DALI cards, its limited to the specific type of card and first card is always 1.
Actually I use RS485 (Modbus Master RTU) build in CPU on PFC200 and it is assigned as COM1, but COM4 I use to GSM modem. So I wonder how identify COM number my new module (750-653), I should do this by enter in to linux console on my PFC200 ?
I will have to check later, I got a PFC200 with a modbus-rtu card, but I am not at the office right now.
any news ? where can I check com port number ?
I should somethig edit in /etc/CODESYSControl.cfg file ? But what ?
This ist mit supported sorry, Wago provide no com Port for this...Just process Data.
So how can I use Modbus Master RTU on this module ? Several weeks ago I use PFC200 but wago runtime , programed by eCocpit and I had two this modules. First of them had COM2, and second of them had COM3 number. Why is not possible in Codesys Runtime ?
Look on the 'print screen' in attachment. One of the article in internet (but polish language) is described that it is possible.
What do you think?
as I tried to say:
There is no com interface in Linux available in the Wago OS on the PFC.
So it is not possible to do Modbus with it.
Wago has an own library which is not based on a com device /dev/ttyxx ... this Wago library does handle the process data from KBUS, but this is not compatible with the CODESYS V3 Modbus.
So no chance to do 'CODESYS' Modbus via these modules.
So, is it available some module on that i can doing second modbus master RTU?
no not really, because the PFC has no USB connector..
So I have a problem. I must have several Modbus Master. Please tell me if is available in Codesys store some library to using Modbus Master RTU over TCP. I have a MOXA devices work as port server with RS485 (TCP<->RS485). Is it some a simple way send Modbus RTU command by TCP from Codesys ?
I read on the moxa website that they have linux tty drivers :
You could try getting that working. once you have a tty address, you just have to add the appropriate tty address to your /etc/CODESYSControl_User.cfg file:
The number after the dot is the COM number to use in CODESYS.
Of course, easier would be a MODBUS TCP to MODBUS RTU gateway, like https://www.moxa.com/en/products/industrial-edge-connectivity/protocol-gateways/modbus-tcp-gateways/mgate-mb3180-mb3280-mb3480-series
In addition to what they said... contact Wago.
There is this video by Kurt Braun for something very much like this.
This is what he has to say about this
Installation instructions to access PFC200 G2 KBUS IO with ModbusTCP, as if the IO was Remote IO. This might be a simpler way to access the IO without a e!Runtime application.
Log in to post a comment.