Alphatronics AP298, AP338, AP286 Configuration

  1. Configure the Operating settings of moxa module via its web interface

    • Operation mode: TCP Server Mode

    • Local TCP port: 4002

    • Max connection: 4

    • Delimiter 1: 23

    • Ignore jammed ip: yes

../../../_images/MoxaConfig_OperatingSettings_Screenshot.png
  1. Configure the Serial settings of moxa module via its web interface

    • Baudrate: 19200

    • Data bits: 8

    • Stop bits: 1

    • Parity: None

    • Flow control: RTS/CTS

    • Fifo: Enable

    • Interface: RS-485 2-Wire

../../../_images/MoxaConfig_SerialSettings_Screenshot.png
  1. Add a gen2 device to the device module in ALIOT webportal

    • Device type: AP286 / AP338 / AP298

    • Interface: tcp/Ip

    • IP address: het IP address of the moxa module

    • IP Port: 4002 (default)

    • Port: /tmp/port0 (moxa serial port)

    • Serialnumber: serialnumber of the gen2 device

    • RS485 Address: RS485 address of the gen2 device

    • check ‘Activated’ checkbox

Note

  • Always start with /tmp/port0 as Port for the devices attached to the first moxa module. Select port /tmp/Port1 for the second moxa module, and repeat this for other moxa modules.

  • Never give 2 devices the same RS485 address on the same rs485 bus connected to the moxa module (module serial port)

Troubleshooting

  • Check you communication with the Gen2Manager tool using a separate moxa module (mapped to your pc with nport admin)

  • Use the ‘health check’ button in the device module info panel in the ALIOT portal, to test if the gateway can communicate with the gen2 device

  • Use the Detect Port command in the device module command panel to check if the moxa serial ports are available on the gateway

  • Restarting the device module via the device module command panel may be required after configuring a new gen2 device to enable connection with the recently created moxa serial port