crazylizz
Member
Hey guys,
Again, another question I have that I can't seem to find the answer in the search.
I am writing a program to go along with my panelview screen (PV1500+) and I am using RSLOGIX5000 V 13.01.
*On a side note, the company that I am going to install at is running 14.1 for safety controllers*
Thier goal:
To be able to cycle through a 100 part history on the HMI screen. The part history will be generated by a Vision Camera, and then be sent to the PLC in a format yet to be determined (I was leaning towards a string)
I have been able to accomplish the scrolling portion of the program without a problem, but I am now having issues with the data transfer.
This is my ladder logic
The OK_TO_DISPLAY_HMI is a oneshot triggered output when the camera PC has sent new information to the PLC.
Each hole history is a 100 element DINT array (although the values will only be between 0-5).
I thought that this would allow me to copy HIST_HOLE_08[0] to HIST_HOLE_08[1] for 99 units, that would essentially shift my values +1 every time OK_TO_DISPLAY_HMI was triggered. The CAMERA_STRING is the input string that I will be recieving via ethernet from another computer, which is then copied/written to the first part in the array.
What I am experiencing when I set everything up using the emulator/RSViewStudio, is that instead of 'shifting', the bits are being overwritten. (I have also tried the COP command, I just happened to have the CPS in place during time of the screenshot).
What is my best way to complete this task?
Can anybody lend advice to this matter?
I cannot thank you enough in advance.
Joe
Again, another question I have that I can't seem to find the answer in the search.
I am writing a program to go along with my panelview screen (PV1500+) and I am using RSLOGIX5000 V 13.01.
*On a side note, the company that I am going to install at is running 14.1 for safety controllers*
Thier goal:
To be able to cycle through a 100 part history on the HMI screen. The part history will be generated by a Vision Camera, and then be sent to the PLC in a format yet to be determined (I was leaning towards a string)
I have been able to accomplish the scrolling portion of the program without a problem, but I am now having issues with the data transfer.
This is my ladder logic
The OK_TO_DISPLAY_HMI is a oneshot triggered output when the camera PC has sent new information to the PLC.
Each hole history is a 100 element DINT array (although the values will only be between 0-5).
I thought that this would allow me to copy HIST_HOLE_08[0] to HIST_HOLE_08[1] for 99 units, that would essentially shift my values +1 every time OK_TO_DISPLAY_HMI was triggered. The CAMERA_STRING is the input string that I will be recieving via ethernet from another computer, which is then copied/written to the first part in the array.
What I am experiencing when I set everything up using the emulator/RSViewStudio, is that instead of 'shifting', the bits are being overwritten. (I have also tried the COP command, I just happened to have the CPS in place during time of the screenshot).
What is my best way to complete this task?
Can anybody lend advice to this matter?
I cannot thank you enough in advance.
Joe
Last edited: