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

TOPIC: Can Proview act as a MODBUS TCP Slave

Can Proview act as a MODBUS TCP Slave 10 months 2 weeks ago #11959

  • ProviewFan
  • ProviewFan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hi,

I was to pass information from proview to a foreign system, the forgein system can read for a Modbus TCP slave.
Can Proview act as a MODBUS TCP slave ?
The administrator has disabled public write access.

Can Proview act as a MODBUS TCP Slave 10 months 2 weeks ago #11961

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi ProviewFan,

Yes. A Modbus TCP slave (or server as it's called nowadays) is configured with Modbus_TCP_Server and Modbus_TCP_ServerModule objects. Read more in Guide to I/O System.

/Claes
The administrator has disabled public write access.

Can Proview act as a MODBUS TCP Slave 10 months 1 week ago #11973

  • ProviewFan
  • ProviewFan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hi,

I have been trying the MODBUS TCP slave setup.
If i configure to send analog values it works fine(Foreign system Read Values). Write and Read address 0.
2 X AO channels. When I add AI channel to read from foreign system the comms stop or get interrupted.

I am sending on address 0 and receive on address 0 in the foreign system.

Does anyone what i could be doing wrong?
Attachments:
The administrator has disabled public write access.

Can Proview act as a MODBUS TCP Slave 10 months 1 week ago #11974

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
To set a value in the Ai you need a block in the foreign system with function code WriteMultipleRegisters. But there is probably also some other error in the configuration of the ChanAi because the communication should not stop when adding a ChanAi. Have you set the ranges correctly and representation to int16? Are there any error messages in the system log?

/Claes
The administrator has disabled public write access.

Can Proview act as a MODBUS TCP Slave 10 months 1 week ago #11980

  • ProviewFan
  • ProviewFan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hi,

I have send some attachment to show what is configured.
I have configured 2 modbus devices ID3 and ID2.
Attachments:
The administrator has disabled public write access.

Can Proview act as a MODBUS TCP Slave 10 months 1 week ago #11981

  • ProviewFan
  • ProviewFan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hi,

Could not find anything relevant in the log files.
The configuration is for 16int. Ranges 0-100.
Attachments:
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 8.504 seconds