Sign in to follow this  
Followers 0
slcman

RSLogix 500 & VB

6 posts in this topic

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
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
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
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
It is done in the PC with RSlogix open.

Share this post


Link to post
Share on other sites
Thanks for your helps BobLfoot & Mickey. Your are powerfull member on this forum!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0