MODBUS RTU (Adjustable)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

PLC Connection Guide

MODBUS RTU (Adjustable)


지원 기종: MODBUS RTU CONTROLLER

Website : http://www.modbus.org

[편집]->[시스템 파라미터]->[디바이스 설정]에서 아래의 사항을 설정합니다.

HMI 설정:
파라미터 권장 사항 선택 사항 참조
PLC 기종 MODBUS RTU (Adjustable)
PLC I/F RS485 RS232/RS485
9600/19200/38400/5
통신 속도 9600
7600/115200

데이터 비트 8 7,8
패리티 Even Even, Odd, None
정지 비트 1 1,2
PLC 국번 1 0-255

온라인 시뮬에이션 YES

PLC 설정:
통신 모드 Modbus RTU protocol

디바이스 주소:
Bit/Word Device type Format Range Memo
B 0x DDDDD 1 ~ 65535 Output bit
B 1x DDDDD 1 ~ 65535 Input bit (read only)
B 3x_Bit DDDDDdd 100 ~ 6553515 Input Register bit (read only)
B 4x_Bit DDDDDdd 100 ~ 6553515 Output Register bit
B 0x_multi_coils DDDDD 1 ~ 65535 Write multiple coils

W 3x DDDDD 1 ~ 65535 Input Register (read only)


W 4x DDDDD 1 ~ 65535 Output Register
PLC Connection Guide

W 5x DDDDD 1 ~ 65535 4x double word swap


DW 5x (32-bit) DDDDD 1 ~ 65535 4x double word
W 6x DDDDD 1 ~ 65535 4x single word write

NOTE:
Address type “5x” is mapping to Hold Reg. The communication protocol of “5x” is almost the

same as “4x” except that “5x” swaps double words.

If 4x contains the following information:

Address 1 2 3 4 5 6 ...

Data in word 0x1 0x2 0x3 0x4 0x5 0x6

Data 0x20001 0x40003 0x60005

For 5x, it will be:

Address 1 2 3 4 5 6 ...

Data in word 0x2 0x1 0x4 0x3 0x6 0x5

Data 0x10002 0x30004 0x50006

Modbus RTU function code:

0x 0x01 Read coil 0x05 Write single coil

0x_multi_coils 0x01 Read coil 0x0f Write multiple coils

1x 0x02 Read discrete input N/A for writing operation

3x 0x04 Read input register N/A for writing operation

4x 0x03 Read holding register 0x10 Write multiple registers

5x 0x03 Read holding register 0x10 Write multiple registers

(Note: reverse word order in double words format)


PLC Connection Guide

3xbit is equivalent to 3x

4xbit is equivalent to 4x

6x 0x03 Read holding register 0x06 Write single register

(Note: 6x is limited to device of one word only)

설정 방법:
1. [시스템 파라미터 설정]을 클릭 , [새로만들기]를 클릭하고, MODBUS RTU
(Adjustable)드라이버를 선택합니다.

MODBUS RTU (Adjustable) 드라이버를 추가 하면, 아래 그림과 같이 사용자는 최대 읽기/쓰기 범

위를 설정 할 수 있습니다.

 최대. 읽기 명령 크기(words): 드롭-다운 리스트로 범위를 설정합니다.

 최대. 쓰기 명령 크기(words): 드롭-다운 리스트로 범위를 설정합니다.


PLC Connection Guide

Note:

MODBUS RTU (adjustable) 사용방법:

사용자가 Parameter1의 값 설정을 통해 주소 범위를 결정할 수 있습니다.


예를 들어, 사용자가 파라미터 1을 5로 설정하면, 주소 범위는 5 ~ 65,535가 될 것입니다.
PLC Connection Guide

결선도:
기종과 연결단자를 확인하십시오.

MODBUS RTU CONTROLLER : RS232

eMT3000 series
COM1 RS232 9P D- COM 3 RS232 9P D- RS232 9P D-Sub Female
Sub Female Sub Female
2 RX 8 RX TXD
3 TX 7 TX RXD
5 GND 5 GND GND
RTS
circuit
CTS

mTV series
COM2 RS485 2W 9P COM3 RS485 2W 9P RS485 2W 9P D-Sub Male
D-Sub Male D-Sub Male
7 RX- 4 Data- D-
6 RX+ 1 Data+ D+
5 GND 5 GND GND

MT8000iE series
COM1 RS485 2W 9P COM3 RS485 2W 9P RS485 2W 9P D-Sub Male
D-Sub Male D-Sub Male
1 RX- 7 Data- D-
2 RX+ 8 Data+ D+
5 GND 5 GND GND
PLC Connection Guide

MT6000/8000 series (MT6050i/MT8050i은 아래의 결선도를 참조하십시오.)


COM1 RS232 9P D- COM2 RS232 9P D- COM3 RS232 9P D- RS232 9P D-Sub Female
Sub Female Sub Female Sub Male
2 RX 6 RX 8 RX TXD
3 TX 4 TX 7 TX RXD
5 GND 5 GND 5 GND GND
RTS
circuit
CTS

MT6050i/MT8050i
COM1 RS232 9P D- RS232 9P D-Sub Female
Sub Female
9 RX TXD
6 TX RXD
5 GND GND
RTS
circuit
CTS

기종과 연결단자를 확인하십시오.

MODBUS RTU CONTROLLER : RS485 4W

eMT3000 series
COM1 RS485 4W 9P RS485 4W 9P D-Sub Male
D-Sub Male
1 RX- TX-
2 RX+ TX+
3 TX- RX-
4 TX+ RX+
5 GND GND
PLC Connection Guide

mTV series
COM2 RS485 4W 9P RS485 4W 9P D-Sub Male
D-Sub Male
7 RX- TX-
6 RX+ TX+
9 TX- RX-
8 TX+ RX+
5 GND GND

MT8000iE series
COM1 RS485 4W 9P RS485 4W 9P D-Sub Male
D-Sub Male
1 RX- TX-
2 RX+ TX+
3 TX- RX-
4 TX+ RX+
5 GND GND

MT6000/8000 series except MT6050i/MT8050i


COM1 RS485 4W 9P RS485 4W 9P D-Sub Male
D-Sub Male
1 RX- TX-
2 RX+ TX+
3 TX- RX-
4 TX+ RX+
5 GND GND
PLC Connection Guide

MT6050i/MT8050i
COM1 RS485 4W 9P RS485 4W 9P D-Sub Femal
D-Sub Female e
1 RX- TX-
2 RX+ TX+
3 TX- RX-
4 TX+ RX+
5 GND GND

기종과 연결단자를 확인하십시오.

MODBUS RTU CONTROLLER : RS485 2W

eMT3000 series
COM1 RS485 2W 9P COM3 RS485 2W 9P RS485 2W 9P D-Sub Male
D-Sub Male D-Sub Male
1 RX- 6 Data- D-
2 RX+ 9 Data+ D+
5 GND 5 GND GND

mTV series
COM2 RS485 2W 9P COM3 RS485 2W 9P RS485 2W 9P D-Sub Male
D-Sub Male D-Sub Male
7 RX- 4 Data- D-
6 RX+ 1 Data+ D+
5 GND 5 GND GND
PLC Connection Guide

MT8000iE series
COM1 RS485 2W 9P COM3 RS485 2W 9P RS485 2W 9P D-Sub Male
D-Sub Male D-Sub Male
1 RX- 7 Data- D-
2 RX+ 8 Data+ D+
5 GND 5 GND GND

MT6000/8000 series (MT6050i/MT8050i은 아래의 결선도를 참조하십시오.)


COM1 RS485 2W 9P COM3 RS485 2W 9P RS485 2W 9P D-Sub Male
D-Sub Male D-Sub Male
1 RX- 6 Data- D-
2 RX+ 9 Data+ D+
5 GND 5 GND GND

MT6050i/MT8050i
COM1 RS485 2W 9P COM3 RS485 2W 9P RS485 2W 9P D-Sub Femal
D-Sub Female D-Sub Female e
1 RX- 7 Data- D-
2 RX+ 8 Data+ D+
5 GND 5 GND GND

드라이버 버전:
버전 날짜 설명
PLC Connection Guide

V1.40 Jun/14/2011

You might also like