Skip to content

SAFECONF Online configuration with PLCnext Modbus TCP

edited April 2020 in PLCnext Engineer

Hello,

I'm trying to connect PLCnext to Safety logic(LPSDO) via Modbus TCP for online configuration.

I got modbus TCP library (https://www.plcnextstore.com/#/246) from plcnext store and implemented like example server described in the document.

I could connect PLCnext to Modbus TCP client via port 502(for test) but couldn't connect with SAFECONF.

The attached setting parameters are required according to the quick start guide of SAFECONF.

I didn't know how to set the last parameter, "Value Register" to the Modbus library.

Could you tell me the way?

PLCnext Engineer :2020.0 LTS

SAFECONF: 2.92 Build 2373 patch2

 

Best regards,

Atsushi

Comments

  • Hello Atsushi,

    you do not need the modbus TCP library for this. You can find everything in the Safety Bridge libary. When I see your attached image, your connection is between Safeconf and the PLC.
    Have you already uploaded a project to the LSPDO and is it already running?

    Greetings Jörn

  • Hello Jörn-san,

     

    Thank you for the answer.

    NO, the picture is just copy of the manual(for your referece). Sorry to confuse you.

    Yes, I've already uploaded Safeconfig binary file to the PLCnext and it works.

    Next, I would like to online HostPC via ModbusTCP for debugging.

     

    Do you mean the SB library has Modbus TCP functionality?

    If so, could you tell me how the value register to the STB library?

     

    Best regards,

    Atsushi

  • Unfortunately I cannot tell you exactly how I am doing in the SBT library.

    However, I have attached a sample project to you once. In this project you can see the wiring of the blocks.

     

    Please delete ".pdf" at the end of the file.

     

    Best regards,

    Jörn

  • Hello Jörn-san

     

    Thank you for the support. Now my PLCnext and the safety module could connect to SAFECONF.

    Plsease close the issue.

     

    Best regards,

    Atsushi

Sign In or Register to comment.