the_msp
Lifetime Supporting Member
I am trying to track product as it advances through a rotary indexing table. Been playing about for the past hour but not making much progress.
The table has 4 nests. Nest 1 is load and 4 unload. I have a DINT array "Nest(0)...Nest(3)". The id is a 4 digit integer. I have a rung where the 1st ID is MOVed to Nest(0) from InitID (initial ID) which is entered on the HMI.
I tried to MOV the data but ended up having the 1 ID entering all nests simultaneously. I tried to resolve this with ONS and OSR but didn't have any joy.
I am now trying to use the COP function. I read you have to do it backwards. So once my initial ID is in nest one, I trigger a COP with the same bit that indexes the table. The COP data is:
Source: Nest(3)
Destination: Nest(2)
Length: 4
...this isn't working either?
The table has 4 nests. Nest 1 is load and 4 unload. I have a DINT array "Nest(0)...Nest(3)". The id is a 4 digit integer. I have a rung where the 1st ID is MOVed to Nest(0) from InitID (initial ID) which is entered on the HMI.
I tried to MOV the data but ended up having the 1 ID entering all nests simultaneously. I tried to resolve this with ONS and OSR but didn't have any joy.
I am now trying to use the COP function. I read you have to do it backwards. So once my initial ID is in nest one, I trigger a COP with the same bit that indexes the table. The COP data is:
Source: Nest(3)
Destination: Nest(2)
Length: 4
...this isn't working either?