Codesys runtime in PFC200 - add 750-653 module

damian177
2020-11-16
2020-12-01
  • damian177

    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 ?

     
  • damian177

    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
  • 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

    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

    damian177 - 2020-11-19

    any news ? where can I check com port number ?

     
  • damian177

    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

    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

    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

    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

    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

Log in to post a comment.