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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Last edit: eschwellinger 2020-11-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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.
I can't run the module 750-653 in PFC200 and Codesys Runtime.
To communicte with Modbus RTU Slave's I am using RS485/Ethernet USR DR302 Modbus RTU/TCP converter. Works great.
As far as I know the 750-653 module is no a device in linux- /dev/ttyS1, /dev/ttyS2 etc etc... , so probably your COM2, COM3 configuration in Codesys will not work.
If you find any example using this module in codesys please share it please :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
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 ?
more posts ...
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 ?
Please help.
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.
Last edit: eschwellinger 2020-11-25
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 ?
Damian,
I read on the moxa website that they have linux tty drivers :
https://www.moxa.com/en/products/industrial-edge-connectivity/serial-device-servers/general-device-servers/nport-5400-series#resources
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:
[SysCom]
Linux.Devicefile.1=/dev/ttyMOXA
Linux.Devicefile.4=/dev/ttyMAYBEANOTHERNAME
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
Ian
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
Last edit: Morberis 2020-11-25
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.
Hi ;
i have same matter , i cant read or know com number for 750-653 , im using 2 And 3 by default
,, 1 its for X3 RS232/485 of PFC200
Thank you
I can't run the module 750-653 in PFC200 and Codesys Runtime.
To communicte with Modbus RTU Slave's I am using RS485/Ethernet USR DR302 Modbus RTU/TCP converter. Works great.
As far as I know the 750-653 module is no a device in linux- /dev/ttyS1, /dev/ttyS2 etc etc... , so probably your COM2, COM3 configuration in Codesys will not work.
If you find any example using this module in codesys please share it please :)