Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Modbus TCP Configuration process

Modbus TCP Configuration process 6 years 11 months ago #8872

  • JavKin
  • JavKin's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Hi Claes,Ben,Giants and everyone

I have a trouble in Modbus tcp configuration process,I hope you can give me help.
I create the project using QccomBusId=999 and using Modbus tcp protocol to connect the PLC(Phoenix),but it not works because the connection question as follow pictures, I try to set the port=0(default),port=502 in Modbus_TCP_Slave,it also not works. In addition ,I set address=1 and UnitId=0(default) in Modbus_Modules ,it nothing,Simultaneously,PLC light the status "Fail" as follow picture.

Note: 1、Environment: pwr4.8.5-1/ubuntu12.04LTS/Phoenix ILC 171 ETX.2TX
2、PLC directly connect to the PC by crossover cable


I hope you give me some guides to solve this question,thank you very much!
Best regards

/Javkin
Last Edit: 6 years 11 months ago by JavKin.
The administrator has disabled public write access.

Modbus TCP Configuration process 6 years 1 month ago #9533

  • benoit
  • benoit's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 180
  • Thank you received: 1
  • Karma: 0
Hi JavKin,
use 'Bit16' representation with 'WriteMultipleRegisters' function code.
/Ben
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 7.861 seconds