2410_LSS100100/LSS100200_SW_03.0

Modbus TCP Configuration Commands

  1. Create Modbus TCP object:

    local luamodbus = require('luamodbus')
    local mb = luamodbus.tcp()

  2. Open Modbus TCP connection:

    mb:open('192.168.1.2', 1234)
    mb:connect()

The remaining commands for configuring the Modbus TCP connection are the same as for Modbus RTU (Modbus RTU Configuration Commands).

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?