Versions Compared

Key

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

Please note that Canvas can still communicate with these devices via Modbus if the specific protocol necessary for a given device is unavailable. For more information on a specific device type, refer to the Supported Communication Drivers section.

Once a new Serial I/O device has been added successfully, the three sections for configuration will appear as follow:

The General configuration page will appear once a new Serial I/O device has been added successfully. An additional configuration is below the General configuration section and will differ based on the device protocol selected.

  • General Configuration

  • Additional Configuration - Device Specific

    • Omron HostLink

    • CIMON CI-bus (CIMON-PLC)

    • Modbus RTU

    • LSIS Cnet

    • Mitsubishi MELSEC Serial

    • Panasonic FP7

    • Yokogawa FA-M3

  • Station Configuration

General Configuration

Please know that general configuration will appear regardless of the selected Connection Type and Device Type.

...

Item

Description

Device Name

Allows the user to assign a name for the selected I/O device.

Device Protocol

Allows the user to select a protocol for a device.

Timeout (ms)

The maximum time to wait with no response before assuming a communication failure.

Retry Count

Set the number of retries for sending a frame when communication fails.

Swap 16 (16-bit Data Swap)

This option swaps bytes for all word or double-word-sized data. The following diagram shows an example of byte-swapping:

Image Added

Almost all data types will be influenced by this option except INT16 / UINT16

Swap 32 (32-bit Data Swap)

This option swaps words of all double-word-sized data. The following diagram shows an example of word swapping:

Image Added

Tag values with data types INT32 / UINT32 / BCD32 / UBDC32 / FLOAT will be influenced by this option.

Swap String

Swaps the upper and lower bytes of string word data.

String Encoding

Specifies the encoding method for reading and writing string values stored on the device. This option can be overridden for individual tags in the Edit Tag menu.

String Encoding Method

When an invalid character is encountered, the gateway will do one of the following:

  • Replace the character with "?".

  • Skip the character and continue with the next one.

  • Stop the string and truncate any remaining characters. This option can be overridden for individual tags in the Edit Tag menu.

Additional Configuration - Device Specific

The communication configuration page will appear after adding a serial device.

...

General Properties

Item

Description

Device Name

Allows the user to assign a name for the I/O Device.

Device Protocol

Select the type of target device. This also selects the driver used to communicate with the device.

Time Out

The timeout feature periodically checks whether the connection is still valid. If a requested frame is not received in the assigned time, it will be processed as a communication failure. This option is not applied if the protocol is TCP/IP. Values represent multiples of 100ms. For example, a value of 10 represents 1000ms or 1 second.

Retry Count

Assign the number of communication retry attempts after a communication failure.

Serial Port

Select the COM port to be used by the local device (Xpanel). Each COM port may support different communication methods depending on the Xpanel model. You can choose a COM port number up to COM4 or a TTYMCX port up to TTYMCX4. Refer to the table below for more information.

Baudrate

Assign the baudrate. You can select a rate from 300 to 115,200 bps. The rate must be identical to the target device’s configuration.

Parity

Select an option for parity bit usage. Users may select none, even, or odd.

Data Bits

Assign the number of data bits per packet. This option must be equal to the target device’s configuration. Choosing 5 – 7 bits provides faster communication speed but can cause errors if the data contains Korean characters.

If Korean characters are included in the frames, select the 8-bit option.

Flow Control

Allows the user to enable or disable flow control.

Stop Bits

Select the number of bits used to signal the end of the frame. You can select 1 or 2 bits. This option must be identical to the setting on the target device.

Comm Type

Select the communication type used by the target device. You can select RS232, RS422, or RS485.

Station Number

Enter the station number of the target device.

...

 

XT04

XT07

XT08

XT10

XT12

XT15

COM1

RS-232C

RS-232C

RS-232C

RS-422/485

RS-422/485

RS-422/485

COM2

RS-422/485

RS-422/485

RS-422/485

RS-232C

RS-232C

RS-232C

COM3

RS-232C

RS-232C

RS-232C

Device Specific Properties

Depending on the selected Device Protocol, the available properties in the PLC Type tab change, and a new tab unique to the device type may appear depending on the selection.

Item

Description

PLC Type

Allows the user to assign a specific model of PLC for the selected Device Protocol. This option is only enabled for the CIMON CI-bus, LSIS Cnet, and Mitsubishi MELSEC drivers.

Modbus RTU

The following properties are revealed when selecting the Modbus RTU option for the Device Protocol.

Swap 16

Enable/Disable 16-bit data swaps.

Swap 32

Enable/Disable 32-bit data swaps.

Swap String

Enable/Disable string swaps.

Melsec: Sum Check

Allows the user to enable or disable Sum Checks.

Station

Users can define the Station Name and Station Number of the selected Serial Device in the Station tab.

...