Vai al contenuto

How to manage logic I/Os by modbus

Home Forum Controllori SlimLine e Netsyst (LogicLab) How to manage logic I/Os by modbus

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Autore
    Post
  • #34782
    Anonimo
    Inattivo

    I have bought a slimline relay ethernet PLC and I would like to know if i can force output relay with modbus trame without load a program in PLC so directly after factory exit. Which adress correspond to output DO1 and next ?

    Otherwise, do you have program exemple for modbus slave configuration and output configuration ?

    #37838
    Sergio Bertana
    Amministratore del forum

    The logic I/Os are managed by program on process image, so they are not directly accessible by modbus commands. The modbus commands can act only on the DB100 data memory. The DB100 area is accessible by all the modbus commads at offset address 40000.

    If you need to manage the logic I/Os by modbus you must write a simple program that copies the logic inputs to a BOOL variables on DB100 and copies BOOL variables from DB100 to logic outputs. This program can be writen by using any language, here the ModbusIOs program download, it’s a simple project with two example programs, one in LD ladder diagram and one in ST structured text (Screenshot).

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Devi essere connesso per rispondere a questo topic.