Help - Search - Members - Calendar
Full Version: RSLogix 500 & VB
Forums.MrPLC.com > PLCs and Supporting Devices > Allen Bradley
slcman
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
BobLfoot
QUOTE(slcman @ Feb 13 2009, 08:40 PM) [snapback]78850[/snapback]

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


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.
Mickey
QUOTE(slcman @ Feb 13 2009, 08:40 PM) [snapback]78850[/snapback]
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


Some reading material below...

http://literature.rockwellautomation.com/i...rm001_-en-p.pdf
slcman
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

BobLfoot
QUOTE(slcman @ Feb 14 2009, 09:37 AM) [snapback]78864[/snapback]

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


It is done in the PC with RSlogix open.
slcman
Thanks for your helps BobLfoot & Mickey. Your are powerfull member on this forum!

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.