[?]: Siemens PLC Sim communicate with Wonderware

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

[?]: Siemens PLC Sim communicate with Wonderware

Post by reymond_craig »

Dear experts,

Good afternoon, i have an Intouch project with S7-400 PLC.
Now my question is, can we communicate Siemens PLC Sim 5.4 to Intouch.
It seems PLC SIM is not communicating to my wonderware even you configure PLC Sim to run in ethernet.
This will help me reduce my comissioning time if there's a way of communication between wonderware and PLC sim.

Thank you very much in advance..

Beginner
Schtiel
Site Admin
Posts: 1122
Joined: Wed Sep 06, 2006 12:03 pm
Location: CIS

Post by Schtiel »

I am not sure, but you can try to use S7 IOServer from Wonderware and then follow these steps:
http://61.37.246.137/TECH/html/t000948.htm
May be it will work...
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Post by Umencho »

Hello


No It's not possible. S7-PLCSIM does not support any communication functions. :( You can read here http://www.automation.siemens.com/WW/fo ... stID=96908 some way but ... :roll:

Try with using WinLC. And post result :lol:


regards
fanren
Posts: 9
Joined: Tue Nov 21, 2006 11:45 am
Location: China

Post by fanren »

Umencho wrote:Hello


No It's not possible. S7-PLCSIM does not support any communication functions. :( You can read here http://www.automation.siemens.com/WW/fo ... stID=96908 some way but ... :roll:

Try with using WinLC. And post result :lol:


regards
S7-PLCSIM can connect with WinCC. Why not be connect with intouch?
It's not a question of communication.
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Post by Umencho »

Hi

The connection from S7-PLCSIM to STEP7, Protool and Win CC is by some internal "shortcut" that replaces the ordinary MPI connection with the simulated MPI connection to S7-PLCSIM.
PLCSim detours S7ONLINE access point for PG Layer 4 to PLCSim interface so any application (STEP7, WinCC, ProToolPro) that uses S7BlockServer (PG Layer 4) hits PLCSim when use S7ONLINE access point. S7 OPC ( Intouch I/O Server, IFIX, ....) does not use S7BlockServer (uses S7-API) for communication.

TO SIMULATE I/O NEED real PLC.

REGARDS
negotio
Posts: 7
Joined: Thu Nov 06, 2008 7:06 pm
Location: Europe

Alternative solution

Post by negotio »

Unfortunatly it is not possible for other programs to connect to PLCSim. But I recently found a program called WinPLC-Engine on the MHJ website (http://www.mhj-software.com/). I think this program will do the job.
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Post by Umencho »

Hello
Did you make some test? I'll try next week. But I am afraid from bad results. Problem is in Wonderware Intouch I/O Servers. But let to be optimists. :wink:

regards
negotio
Posts: 7
Joined: Thu Nov 06, 2008 7:06 pm
Location: Europe

Alternative solution

Post by negotio »

Unfortunatly it is not possible for other programs to connect to PLCSim. But I recently found a program called WinPLC-Engine on the MHJ website (http://www.mhj-software.com/). I think this program will do the job.
AMB
Posts: 5
Joined: Wed Jun 20, 2007 7:24 pm
Location: Europe

Post by AMB »

I found this TCP/IP-Network extension for the PLC simulation software Siemens PLCSim (required Step 7 V5.4) :

http://sourceforge.net/projects/nettoplcsim

Try it :idea:
Setup of your client software

The computer on which PLCSim and NetToPLCSim is running represents your PLC.
So in your client Software (SCADA/HMI/OPC) you have set the IP address of the PLC to the IP address of the network interface of the PLCSim computer, or set the IP of your network interface to the IP your PLC will later have.

NetToPLCSim don't cares about the rack/slot specifications, and handles a max. PDU size of 960 bytes.

Tested with some SDCADA/HMI systems:

* Wonderware InTouch with DAServer
* Works well. Libnodave itself
* Works well. WinCCflexible 2007/2008
* Siemens WinCCflexible sometimes uses special protocol commands which NetToPLCSim doesn't support. But simple projects will mostly work. If you have large amounts of data and many cyclic data for alarming, WinCCflexible requests the PLC to send cyclic messages with this data without any request from flexible. Simatic Net OPC Server
Works well. But you can't browse the PLC with the OPC-Scout, because it asks the PLC which data blocks are present in the PLC. Nevertheless you can read/write this data.

It will work with any other driver that uses S7-Communication (no configuration or programming in the PLC is needed), and uses no special functions.
How it works

NetToPLCSim uses the S7ProSim COM-Interface of PLCSim, to read/write the data out of it.
A background thread waits for connections on port 102 and handles the S7 communication (ISO on TCP).
Image
fanren
Posts: 9
Joined: Tue Nov 21, 2006 11:45 am
Location: China

Post by fanren »

After running,prompt :
Fehler! NoDaveServer konnte nicht gestartet werden! Return Value: 3
Grund: Socket konnte nicht an Port 102 gebunden werden (Port evtl. schon benutzt)

But the Port 102 is used by another simatic program. .Can anyone changed the port ?
negotio
Posts: 7
Joined: Thu Nov 06, 2008 7:06 pm
Location: Europe

Post by negotio »

After running,prompt :

Fehler! NoDaveServer konnte nicht gestartet werden! Return Value: 3
Grund: Socket konnte nicht an Port 102 gebunden werden (Port evtl. schon benutzt)

But the Port 102 is used by another simatic program. .Can anyone changed the port ?
This is a know problem. Try to set the "Simatic IEPG Help Service" to manual start mode and stop the service. Then the port 102 should be free.
Dr.Acrobat
Posts: 66
Joined: Sat Mar 10, 2007 8:11 am
Location: Spain

WW DASSIDirect and PLCSIM

Post by Dr.Acrobat »

I try Net to PLCSIM but with problem.
After solve port 102 trouble disabled service DASSIDirect not connected on PLCSIM.
Somebody have idea why ???
Thanks advance.
Dr.Acrobat
Posts: 66
Joined: Sat Mar 10, 2007 8:11 am
Location: Spain

Solved

Post by Dr.Acrobat »

PLCSIM and PC must have same TCP/IP address.
Bye.
sania
Site Admin
Posts: 1387
Joined: Sat Aug 13, 2005 6:15 am

Post by sania »

for connection with intouch you can use winac
links : http://plc.net.ru/viewtopic.php?t=6079
within you can run your plc on your pc