Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Codesys runtime in PFC200 - add 750-653 module

damian177
2020-11-16
2022-05-21
  • damian177 - 2020-11-16

    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 ?

     
  • MadsKaizer

    MadsKaizer - 2020-11-16

    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.

     
  • damian177 - 2020-11-16

    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 ?

     
  • MadsKaizer

    MadsKaizer - 2020-11-16

    I will have to check later, I got a PFC200 with a modbus-rtu card, but I am not at the office right now.

     
  • damian177 - 2020-11-19

    any news ? where can I check com port number ?

     
  • damian177 - 2020-11-24

    Please help.
    I should somethig edit in /etc/CODESYSControl.cfg file ? But what ?

     
  • eschwellinger

    eschwellinger - 2020-11-24

    This ist mit supported sorry, Wago provide no com Port for this...Just process Data.

     
  • damian177 - 2020-11-25

    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 ?

     
  • damian177 - 2020-11-25

    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?

     
  • eschwellinger

    eschwellinger - 2020-11-25

    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
  • damian177 - 2020-11-25

    So, is it available some module on that i can doing second modbus master RTU?

     
  • eschwellinger

    eschwellinger - 2020-11-25

    no not really, because the PFC has no USB connector..

     
  • damian177 - 2020-11-25

    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 ?

     
  • Morberis

    Morberis - 2020-11-25

    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.
    
     

    Last edit: Morberis 2020-11-25
  • damian177 - 2020-12-01

    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.

     
    πŸ‘
    1
  • salahsaoudi - 2022-05-20

    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

     
  • damian177 - 2022-05-21

    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 :)

     

Log in to post a comment.