본문 바로가기
IT.정보

[Modbus통신]모드버스통신 프로그램 Modscan/Modsim

by Mr쫑 2023. 5. 23.
반응형

모드버스 통신 테스트를 할때 

주로 사용하는 프로그램이다

 

Modscan 프로그램은

프로그램을 실행한 PC가 Master

즉 Slave 측으로 연결 할때 사용하는 프로그램이다

 

 

Connection 메뉴에서 Connect 를 실행하여

포트설정을 해준다

 

 

 

Slvave 측에 연결되면

읽어올 레지스터 타입을 설정하고

Device id : 국번 

Address : 시작 주소

Length : 불러올 데이터 갯수

를 입력 하여주면 데이터를 불러올 수 있다

 

여기서 불러올 데이터 갯수를 너무 길게 설정하면

간혹 연결이 안되는경우가 있었다

 

레지스트리 타입은 주로

03 : HOLDING REGISTER   4x 읽기/쓰기 영역

04 : INPUT REGISTER    3x 읽기 영역

두영역을 사용했다

 

 

 

반대로 Modsim 프로그램은

프로그램을 실행한 PC가 Slave

즉 Master 측으로 연결 할때 사용하는 프로그램이다

 

해당사이트에서 데모 버전을 다운받아

테스트 해보면 된다

 

 

 

https://win-tech.com/

 

WinTECH Software

ModScan is the original and still the best Windows application for testing and troubleshooting modbus devices. Beginning in 1990 with the release of Windows 3.0, ModScan has been around long enough to become the de-facto standard for maintenance of modbus

win-tech.com

 

 

반응형

댓글