How to do a simulation of a strategy - old forum post


#1

aamb_999@hotmail.com

Joined on 03-12-2009
Posts 2
Can I do a simulation in this case?

Hi All,

I have a build my strategy by opto22script and flowchart.

I have two questions:

1- How I can test my software without using a hardware?

2- How can I connect to PAC Display without hardware, just for demonstration?

the reason for that, I phoned a company in my region to ask him to hire an opto22 divice from them, and they told me that I have to pay 400£/month ! I’m a full student , I’m not able to pay this amount :frowning:

I’m realy need your help asap, and if there is any need to upload my strategy to this post I will be happy to do it .

Many thanks.
Report
03-11-2009, 1:26 PM
Bryce

Joined on 01-15-2004
Temecula, CA
Posts 19
Re: Can I do a simulation in this case?

Hello,

You should be able to do all of this without spending a pound. PAC Project Basic is free and the simulator is available free as well.

(PAC Project Basic)
http://www.opto22.com/site/downloads/drilldown.aspx?aid=3146

(Sim)
http://www.opto22.com/site/downloads/drilldown.aspx?aid=3690

And an XP or Win2K PC to run all this stuff on.

Bryce
Report
03-12-2009, 12:46 AM
aamb_999@hotmail.com

Joined on 03-12-2009
Posts 2
Re: Can I do a simulation in this case?

Thanks for your replay, but I’m still beginner !. can you till me please step by step ?

when I press Mode --> Debug

the program ask me about hardware !

Report 
03-12-2009, 12:01 PM

Brianf

Joined on 05-15-2007
Posts 3
Re: Can I do a simulation in this case?

You need to configure your control engine to be the PAC Sim (using an IP address of 127.0.0.1). Also, the simulator does not recognize any direct inputs because obviously its a simulation and there are no inputs. One way to simulate inputs is use variables that you can link to a key on your computer keyboard.
Report
03-12-2009, 1:47 PM
dhhill

Joined on 06-04-2003
Posts 25
Re: Can I do a simulation in this case?

Opto has a “starter’s kit,” so to speak, that is really what you need to get a basic idea of what PAC Control, PAC Display, and PAC Sim software do. It’s here:

http://www.opto22.com/site/downloads/drilldown.aspx?aid=3172

It’s called the PAC Project Demo, and it includes a short tutorial document that gets you started with these software applications, including using PAC Sim.

David