Plcmy Posted March 19, 2022 Report Posted March 19, 2022 I want to test Tcp/IP application using omron studio simulation. What I have done: 1. Create function block for a server using sktTcpcreate 2. Set up the IP address of the built-in ethernet IP 3. No physical plc, I want to test just with simulation environment of sysmac studio 4. Ping with CMD prompt but fail 5. Attempt to connect to the server with third party software Hercules, but fail Assumption: sysmac studio cannot simulate a built in ethernet IP application? Quote
photovoltaic Posted March 19, 2022 Report Posted March 19, 2022 Sysmac simulation doesn't communicate with anything in the outside world 1 Quote
FLAutomation Posted April 19, 2022 Report Posted April 19, 2022 On 3/19/2022 at 10:50 PM, photovoltaic said: Sysmac simulation doesn't communicate with anything in the outside world On 3/19/2022 at 9:25 PM, Plcmy said: I want to test Tcp/IP application using omron studio simulation. What I have done: 1. Create function block for a server using sktTcpcreate 2. Set up the IP address of the built-in ethernet IP 3. No physical plc, I want to test just with simulation environment of sysmac studio 4. Ping with CMD prompt but fail 5. Attempt to connect to the server with third party software Hercules, but fail Assumption: sysmac studio cannot simulate a built in ethernet IP application? I am not sure if its using TCP/IP, FINS, or another protocol. (Still trying to find out myself.) But i was able to communicate with the simulator running on one PC from another running a custom Windows application through use of OMRON DLLs. See attached screenshot of connection setting used for the DLL function. It seems that 127.0.0.1 is the default simulator IP but i am not sure of the port being used. (Seems ambiguated in the DLL.) I am also in the process of trying to use TCP/IP communications but it seems writing the code to do these comms from scratch would be a huge pain, rather than using OMRON provided communication DLLs. I was under the same impression that the simulator cant communicate out, But after doing this experiment, The Simulator CAN communicate to the outside. Quote
pturmel Posted April 19, 2022 Report Posted April 19, 2022 42 minutes ago, FLAutomation said: The Simulator CAN communicate to the outside. I would not expect most people to consider a localhost-only connection to be the "outside world". Quote
FLAutomation Posted April 19, 2022 Report Posted April 19, 2022 1 hour ago, pturmel said: I would not expect most people to consider a localhost-only connection to be the "outside world". I am mistaken, I just talked to a different person in support and this is a part of Sysmac Gateway / Compolet software. However, It can communicate Simulator and PLCs to external PC / Network. Theres an option in the functions to communicate specifically to simulator vs physical PLC. (IsSimulated? BOOL) Quote
bartech Posted May 3, 2024 Report Posted May 3, 2024 (edited) Hello FLAutomation, I am trying to communicate with Sysmac Studio Simulator. I have the Compolet library but I did not find the option IsSimulated? BOOL Can you please point me in the right way to start the communication tests? I run the simulator, but what is the IP address to point? Thanks!! Edited May 3, 2024 by bartech Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.