AVEVA Plant SCADA Forum
A support forum for AVEVA Plant SCADA (formerly Citect SCADA). Share new and exciting product information, connect, learn, and collaborate with the ecosystem of Plant SCADA Users. AVEVA Plant SCADA a reliable, flexible and high-performance Supervisory Control and Data Acquisition software solution for industrial process customers. This forum is to connect, share, learn and collaborate new and exciting product information. Feel free to join and share to your Ecosystem of Plant SCADA Users.
Posted: 2021-11-09 07:50 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-11-09 07:50 AM
Hi,
I have a system with Citect SCADA 2016. I want to communicate with a device over internet. Modbus RTU over TCP/IP will be used. ID of the device is 1 and port 80 is opened for modbus protocol. I will read a float value. Start address is 0.
I tested with Modbus Poll software and it works fine. I get the value.
But when i try with Citect, the driver is offline. In kernel it says that, can not talk to device.
I changed the citect ini parameter. I tried several options. (Initvar = 30000, 0 , 1 - InitVarType = 3,4) But nothing changed.
I used wireshark to diagnose. With modbus poll software, correct message sent to the target but not with Citect.
When modbus poll software used, first poll returns with timeout error but 2nd request comes with the correct return. Thats why i change some ini parameters too.
ConnectTimeout = 15000
Debug = 1
Delay = 100
InitVar = *as i mentioned above
InitVarType = * as i mentioned above
MaxOutstanding = 3
MaxPending = 3
PollTime = 100
Timeout = 5000
Watchtime = 30
Thank you.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-11-16 05:24 AM
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-11-09 08:27 PM
ModbusTCP does NOT use port 80, it uses TCP port 502.
So are you testing using your modbus scanner in the same manner as Citect would be using (i.e. is your test valid)?
If you are getting a timeout on the first message using your test software, then this isn't a good start.
You should confirm that you can get successful communication over port 502 first (using telnet or tcping) this should be highly repeatable with a low error rate. Only then would I bother trying to get actual ModbusTCP working.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-11-09 10:06 PM
Thank you for quick answer.
I know that the default port of the modbus protocol is 502. But this one is configured as 80. And i can read the value with another software with modbus protocol from port 80. So everything is working great but Citect. So i think that something is wrong about modnet configuration. How can i diagnose it? How can i see what is going wrong?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-11-16 05:24 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-11-16 05:24 AM
Hi all,
I used Modbus driver instead of Modnet and it is communicating now.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-12-02 08:43 AM
Hi,
Modbus and Modnet protocols are different.
Modnet = HEADER (6 bytes) + Modbus
If the communication is with a Modbus RTU device, the appropriate protocol is Modbus if the type of gateway is (TCP-> RS232 / RS485).
In the case of using an EGX type gateway (TCP-> RS232 / RS485 + Modbus TCP-> Modbus) the correct protocol would be Modnet.
You can configure any port in the driver port settings in Citect. -I1192.168.100.1 -Pxxx -T
Regards,
Juan
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-12-02 08:46 AM
Hi,
Modbus and Modnet protocols are different.
Modnet = HEADER (6 bytes) + Modbus
If the communication is with a Modbus RTU device, the appropriate protocol is Modbus if the type of gateway is (TCP-> RS232 / RS485).
In the case of using an EGX type gateway (TCP-> RS232 / RS485 + Modbus TCP-> Modbus) the correct protocol would be Modnet.
You can configure any port in the driver port settings in Citect. -I1192.168.100.1 -Pxxx -T
Regards,
Juan
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.