Posted 14 Feb 2009 I found in tools -> Visual Basic menu some VB feature. Can I put some VB code in my project? If yes, how I call the VB code? How I can use VB??? Thanks Share this post Link to post Share on other sites
Posted 14 Feb 2009 Been several years since I tweaked with this feature, but it allows you to create scripts and macros which you can run over and over from within 500. For example if you want to take 10 integers N7:0 thru N7:9 and do the Sum, Average, Mean and Standard Deviation and place the results in F8:0 thru F8:4 then Vb can create a script/macro for that. Share this post Link to post Share on other sites
Posted 14 Feb 2009 Some reading material below... http://literature.rockwellautomation.com/i...rm001_-en-p.pdf HelpFileForVBA.pdf Share this post Link to post Share on other sites
Posted 14 Feb 2009 Last question, the VBA code is execute in the PC or in the PLC? Like in your exemple, if I do a SUM of 10 integer and put it in F8:0, who do this job? PLC or PC thanks for your help Share this post Link to post Share on other sites
Posted 14 Feb 2009 It is done in the PC with RSlogix open. Share this post Link to post Share on other sites
Posted 15 Feb 2009 Thanks for your helps BobLfoot & Mickey. Your are powerfull member on this forum! Share this post Link to post Share on other sites