0 votes
114 views
ago in Communication protocols by Fiby Thomas (12 points)

Hi,

I am currently working on establishing MODBUS TCP communication between a Typhoon HIL hardware (configured as a client) and a MODBUS device (configured as a server). Below is a summary of the setup:

  • Client IP (Typhoon HIL): 169.254.154.72
  • Server IP (MODBUS device): 169.254.154.70
  • Server Port: 502
  • Slave ID: 1
  • Function Code: Read Holding Registers
  • Read Address: Address of register in Modbus device
  • Number of Registers to Read: 2
  • Transmit Period: 1000 ms

In the simulation, I am sending an analog voltage from the HIL hardware’s analog output to the MODBUS device’s analog input. The MODBUS device correctly displays the analog voltage on its display, confirming that the signal is being received.

However, when attempting to read the same value back via MODBUS into Typhoon SCADA, the value returned is consistently 0. The MODBUS client reports:

  • Exception Code: 0 (no error)
  • State: 1 (communication active)

Despite this, the expected analog value is not being received. All configuration parameters have been verified, and multiple test cases have been attempted (including reading nearby registers and using different function codes), but the issue persists.

I would appreciate any insights or suggestions you may have to help resolve this.

1 Answer

+2 votes
ago by Petar Bajic (18 points)
edited ago by Petar Bajic
Can you read your modbus server device using some other client?

Are you using TyphoonSim software?
ago by Fiby Thomas (12 points)
Yes, I can read with Modscan tool
ago by Petar Bajic (18 points)
What version of THCC software are you using? Can you connect THCC modbus client to PC Modscan tool? Can you change server slave id to 255 and try that? If your regsiter is in range 40001+ can you try to put 0+ in Typhoon Client? Are HIL, PC and Modbus server all on the same router?
ago by Fiby Thomas (12 points)
I am currently using version V2025.2 THCC. I am unable to establish a connection between the Typhoon HIL client and the PC ModScan tool. All devices — the HIL system, PC, and Modbus server — are connected to the same router.
...