14.1.3 Serial Communication Configuration
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.
Please refer to the following for additional information:
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 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:
|
Serial Port | Select a serial communication port for the Xpanel. COM1: RS422/485 |
Baudrate | 300-230400 bps is supported. The range may vary according to the I/O device. |
Parity | Select the same parity (None, Even, Odd) as the device. |
Data Bits | Select the same data bit setting (7 Bits, 8 Bits) as the device. |
Flow Control | The amount of data being transmitted to itself using the serial communication method can be turn On, Off, or Control. |
Stop Bits | Select the same stop bit setting (1-Bit or 2-Bit) as the device. |
Additional Configuration - Device Specific
Modbus RTU
Item | Description |
---|---|
Swap 16 | Denotes whether to swap the order of the BYTEs within each WORD when reading/writing INTEGER types with this device. |
Swap 32 | Denotes whether to swap the order of the WORDs within each DWORD when reading/writing INTEGER types with this device. |
Swap 64 | Denotes whether to swap the order of the DWORDs within each QWORD when reading/writing INTEGER types with this device. |
Swap String | Denotes whether to swap the order of the BYTEs within each WORD when reading/writing STRING types with this device. |
Swap Float 16 | Denotes whether to swap the order of the BYTEs within each WORD when reading/writing float (FLOAT32) types with this device. |
Swap Float 32 | Denotes whether to swap the order of the WORDs within each DWORD when reading/writing float (FLOAT32) types with this device. |
Swap Double 16 | Denotes whether to swap the order of the BYTEs within each WORD when reading/writing double (FLOAT64) types with this device. |
Swap Double 32 | Denotes whether to swap the order of the WORDs within each DWORD when reading/writing double (FLOAT64) types with this device. |
Swap Double 64 | Denotes whether to swap the order of the DWORDs within each QWORD when reading/writing double (FLOAT64) types with this device. |
Mitsubishi MELSEC Serial
Item | Description |
---|---|
Frame Type | Frame Type is used to verify that data in a packet was transmitted/received correctly. Only |
Station Configuration
This configuration page can be accessed by clicking Tools > I/O Device Editor… > select serial device, then click Station.
Item | Description |
Station Name | Enter the station name for the I/O device. |
Station Number | Set the station ID. It must match the target device’s station ID. |