buhnen
Member
Hi to everybody here!
I'm a newbie in the Allen Bradley world, I've just come from Siemens S7-300 and though I'm getting well with RSLogix 5000 I still have some problems:
I want to do something very easy. The idea is next: An analogic input linked to a ControlLogix PLC must perform a set of serial readings each 10 minutes and simultaneously go saving the results within an array of 6 elements. After one hour (6 readings * 10 minutes = 60 minutes)the PLC must do a math operation AVE (average) with those 6 saved results...This is the general idea.
Normally in Siemens I'd use a special mark (an status bit SM0.1 and I'd get a train of pulses and with a counter I would manage)...but in RSLogix 5000 I can't find an equivalent status bit (like In SLC-500)that, for instance, be able to generate a train with step-rhythms of a minute.
I've thought of using the WALLCLOCKTIME + GSV but I'm not sure if that would be the more "professional" option in this case.
Other doubt is: How would I simulate an analogic input with values changing when for testing the program?
Thanks in advance for your help,
PS (excuse my english, I'm not native speaker)
I'm a newbie in the Allen Bradley world, I've just come from Siemens S7-300 and though I'm getting well with RSLogix 5000 I still have some problems:
I want to do something very easy. The idea is next: An analogic input linked to a ControlLogix PLC must perform a set of serial readings each 10 minutes and simultaneously go saving the results within an array of 6 elements. After one hour (6 readings * 10 minutes = 60 minutes)the PLC must do a math operation AVE (average) with those 6 saved results...This is the general idea.
Normally in Siemens I'd use a special mark (an status bit SM0.1 and I'd get a train of pulses and with a counter I would manage)...but in RSLogix 5000 I can't find an equivalent status bit (like In SLC-500)that, for instance, be able to generate a train with step-rhythms of a minute.
I've thought of using the WALLCLOCKTIME + GSV but I'm not sure if that would be the more "professional" option in this case.
Other doubt is: How would I simulate an analogic input with values changing when for testing the program?
Thanks in advance for your help,
PS (excuse my english, I'm not native speaker)