This document describes the MODBUS communication driver for Canvas. This driver supports the RTU (serial) version of the MODBUS protocol.
...
본 문서는 CIMON Canvas가 지원하는 MODBUS RTU 통신 설정 방법에 대하여 안내합니다.
통신 설정: Canvas
Comm. 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
I/O Device Configuration
| To create a new device, select [Tools] → 디바이스 설정 | 새 디바이스를 생성하려면 [도구] - [I/O Device Editor]. Click the Device Name: Give a device name. This name will be used in the tag database, accompanid by the ‘Station Name’디바이스 편집기]로 진입하여 디바이스 이름: 디바이스 이름을 지정합니다. |
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. |
Communication Settings: PLC
디바이스 편집기] 우측에 표시됩니다. 나머지 설정의 경우 통신 대상 장비와 일치하도록 설정하여 주시기 바랍니다. | |
스테이션 | 다수의 스테이션과 통신하는 경우 각 스테이션에 대하여 스테이션 이름 지정 및 스테이션 ID 설정이 가능합니다. |
통신 설정: PLC
Area
Symbol
Analog Tag
Digital Tag
Read
통신 모듈 | Xpanel과 통신하기 위해 다음 PLC 모듈 중 하나를 사용하고 있다면 CICON에서 모듈 설정을 해야 합니다.
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, press the [Write] button while online with the PLC to update the communication parameters. |
CPU built-in Comm. 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:
|
Address Notation
The following table shows the list of valid address ranges and MODBUS function codes for each address area.
모듈에 따라 CH1과 CH2가 지원하는 통신 방식이 다를 수 있으므로 유의하여 주시기 바랍니다. CIMON Canvas에서 설정한 통신 파라미터와 일치해야 합니다. 설정 후 [쓰기]를 눌러 모듈에 설정 값을 씁니다. |
어드레스 표기법
다음 테이블은 MODBUS 통신이 지원하는 어드레스 범위와 각 어드레스 영역의 펑션 코드를 표시합니다.
영역 | 기호 | 아날로그 태그 | 디지털 태그 | 읽기 | 쓰기 |
Coil | 0 |
| 000001 - 0299991 | 1 | 5 |
Input | 1 |
| 100001 - 129999 | 2 |
|
Holding Register | 4 | 400001 - 429999 |
| 3 | 6, 162 |
Input Register | 3 | 300001 - 329999 |
| 4 |
|
Notes비고:
The symbol character 모든 어드레스는 반드시 기호 (0, 1, 3 , or 4) must be placed in the first position of the address string. The address number follows the symbol character.
The symbol character does not behave as a number. For example, 400100 and 40100 designate the same memory area (holding register 100).
The memory areas listed above are provided for general purposes. The actual available memory area and range of each area should be checked using the manual for the connected device. The ‘Read’/’Write’ columns show the MODBUS function codes used in this communication driver.
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
...
The above picture shows the RS-232C and RS-422/485 ports of the Xpanel. Refer to the manual of your device for signal descriptions.
...
또는 4)로 시작해야 합니다.
기호는 숫자로 처리되지 않습니다. 예를 들어 어드레스 400100과 어드레스 40100은 동일하게 Holding Register (기호 4)의 100번지를 의미합니다.
표에 제시된 어드레스 범위는 일반적으로 지원되는 영역입니다. 정확한 지원 어드레스 범위는 통신 대상 장비의 매뉴얼을 확인하여 주시기 바랍니다. ‘읽기’ 및 ‘쓰기’ 항목의 값은 본 통신 드라이버에서 사용되는 각 영역의 펑션코드 입니다.
펑션코드 16은 DWORD 데이터를 쓸 때 사용됩니다. WORD 단위 데이터는 펑션코드 6을 사용합니다.
Communication Cable Wiring
Xpanel의 Serial 포트 결선은 여기를 클릭하여 확인하여 주시기 바랍니다.