Issues with transposing stocked memory values in SFC

Flashbacca

Member
Join Date
Feb 2024
Location
Montreal
Posts
1
Hiya,
I'm a student who's very new to programming on Studio5000 (Logix Designer - Rockwell Software) and maybe getting some insight or help on a problem I'm struggling with would be greatly appreciated.

I've been tasked with making a program for a mini factory that is composed of 6 positions where each are identified by P1, P2, P3, etc. They hold each three spots to stock a true or false value regarding the status of the part. As the table of position turns, the position values transfer to the next post and activate a sub-routine that work in parallel while only relying with the Px values that are stored Where all programs function independently from each other.

The routines themselves are functionnal (far from perfect) and the main issue that arises is how my stocked memory in which ever Px is transposed to the next Px. It doesn't seem to transfer proeprly and I dont quite understand why.

I wrote this in an action box and I was wondering if there was an issue with this:
P6:=P5;
P5:=P4;
P4:=P3;
P3:=P2;
P2:=P1;

I attached a view of my SFC but it'S in french, so MOT_TAB is for when the table moves
 

Attachments

  • Beginner_struggle.pdf
    91 KB · Views: 3

Similar Topics

Hello, I am currently in the final week of my internship and I have encountered issues with communication between a PowerFlex 700 variable...
Replies
0
Views
48
Hello everyone, I've had this issue for the last 2 days where I try to assign the profisafe address to an IO block (6ES7 146-6FF00-0AB0) but when...
Replies
5
Views
141
I'm at a loss here and hoping someone else has seen this: Background: We've got two identical machines on our floor (we'll call them machine A &...
Replies
0
Views
69
I have an Allen Bradley temperature switch that I am trying to use in studio 5000. I am getting the message "Unable to interpret the IODD file"...
Replies
0
Views
96
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
257
Back
Top Bottom