Forum Home › Forums › Communicating with Devices › Communication is not established with MODBUS simulator
Tagged: communication, Modbus TCP
- This topic has 11 replies, 2 voices, and was last updated 7 years, 9 months ago by Mikhail.
-
AuthorPosts
-
June 22, 2016 at 3:36 am #1317PraveenParticipant
Hi,
I am trying to connect MODBUS PLC simulator (TCP) with Rapid SCADA.
Communication log always says “Connection is not established”.
I am using simulator from the link http://www.plcsimulator.org/Home
And I am running RapidSCADA and Simulator in same machine.
And I also could see in the log that connection is reused at 127.0.0.1, 10000 port.
Can you help me in solving this issue?
With B/R,
Praveen.BJune 22, 2016 at 7:48 am #1318MikhailModeratorHi,
Mudbus TCP usually uses 502 port. Try setting up the communication channel. Use TCP client channel type.
June 22, 2016 at 11:01 am #1320PraveenParticipantHi Mikhail,
I am using TCP client and using 502 port only.
And if I connect to slave simulator with “ADAM-6015 Server room”, I am able to read the data. If I configure new Modbus client, I am not able to get the data.
Can you help me in trouble shooting it?
With B/R,
Praveen.BJune 22, 2016 at 11:25 am #1321MikhailModeratorDo the both communications the old and the new work in parallel?
Post a piece of communication log, please.June 24, 2016 at 3:32 am #1323PraveenParticipantHi,
Please find modbus communication log for the one which I am not able to connect.
2016-06-24 08:52:07 Unable to communicate with the device because connection is not established
2016-06-24 08:52:37 Unable to communicate with the device because connection is not established
———————————————————————————-
Same slave I could connect from server room. Communication log is:Request element group “Max. Temperature”
Send (12): 00 00 00 00 00 06 00 03 00 0A 00 07
Receive (7/7): 00 00 00 00 00 11 00
Receive (16/16): 03 0E 0C 76 0C 76 0C 76 0C 76 0C 76 0C 76 0C 76——————————————————————————–
I have one more question.
How to change the Modbus TCP default port? Suppose I want to run 2 slave simulators from same machine and different ports.
With B/R,
Praveen.BJune 24, 2016 at 6:30 am #1327MikhailModeratorProbably the Simulator doesn’t support more than 1 connection.
You can set another TCP port followed by IP address: 127.0.0.1:503June 24, 2016 at 6:58 am #1328PraveenParticipantYes. In that case RapidScada also should listen at port 503 right?
Can you help me in changing TCP port to 503 in client?
(if I select Modbus TCP, by default RapidSCADA takes 502 port and not editable)
Thank you.
With B/R,
Praveen.BJune 24, 2016 at 7:46 am #1329MikhailModeratorPost screenshots for such questions, please.
June 24, 2016 at 9:20 am #1330PraveenParticipantHi, sorry for the inconvenience..
Not able to keep the image, editor is accepting only the text.
where can I keep the screenshot?In communicator, I imported communication line and selected modbus communicator
type as modbus TCP.then, Port is selected by default as 502, and not allowing to change to any other port.
June 24, 2016 at 5:19 pm #1331MikhailModeratorUse postimage.org and post links.
June 25, 2016 at 8:55 am #1332PraveenParticipantHi,
Thank you for the answer.And the issue is solved.I could connect to 2 modbus simulators on different ports.
With B/R,
Praveen.BJune 25, 2016 at 6:00 pm #1340MikhailModeratorOK 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.