Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document describes the MODBUS communication driver for Canvas. This driver supports the RTU (serial) version of the MODBUS protocol.

Communication

...

Settings: Canvas

I/O Device Configuration

 

To create a new device, click Tools > I/O Device Editor… > click the + icon > click Serial for Connection Type > select Modbus RTU for Device Type.

I/O Device Settings

 

Once the connection type, device name, and device type have been assigned, the I/O Device Editor window populates with the default settings for the selected communication protocol.

After selecting the correct Connection Type and Device Type, match the remaining settings to the target I/O device’s communication settings.

Station

In this window, users can assign a Station Name and ID for the target I/O Device.

See the Serial Communication Configuration section for more information.

Communication Settings: PLC

Communication Module

If using one of the following PLC modules to communicate with Xpanel, the card settings must be configured in CICON as shown below:

  • CM1 - CN01M

  • CM1 - CN01S

  • CM3 - SP02ERS

  • CM3 - SP02ERR

  • CM3 - SP02ERC

  • CM3-SP02ERSC

  • BPnnMxxx - U

Note that the CH 1 tab is for usage with RS232 connections, while the CH 2 tab is for usage with RS485 connections. All communication parameters must match the settings chosen during the I/O device configuration in Canvas.

Once the correct parameters have been entered, click Write while online with the PLC to update the communication parameters.

CPU Built-in Communication Port

If using a built-in CPU (PLC) serial port to communicate with Xpanel, the channel settings must be configured in CICON as shown below:

This connection option is available with the following models:

  • CM1 - XP Series

  • CM1 - CP Series

  • BPnnMxxx - S

  • PLC-S

    All communication parameters must match the settings chosen during the I/O device configuration in Canvas.

...

  • The symbol character does not behave as a number. For example, 400100 and 40100 designate the same memory area (holding register 100).

  • Code 16 is issued for writing double words or when the recipe write function is activated. When writing single words, code 6 is used.

...

Communication Cable Wiring

XPANEL COM/CPM2 RS-232C

XPANEL COM1 RS-422/485

...