Xsailor Posted October 2, 2008 Report Posted October 2, 2008 Hi, Very new to the PLC world - have learnt most of what I know from forums and manuals and example programs. Have a manufacturing machine working on Siemens S7200-CPU 226. Processes happen in a downstream sequence - similar to a pouch making machine. Hole is cut>Label applied>liquid injected>Die cut and so on. The stations which carry out the processes get moved around a bit depending on center distances of the job. The HMI (TP177B) is fed with VW data which IDs (rather a physical count starting from 1) each position of the stations. e.g. Hole punch is 12 Hole sensor is 13, Label Applicator is 17, Label sensor is 18 and so on. Using indirect addressing, an array is created and shifted for every scan (VB700 until VB800). This is used for Quality Control QC. Each of the errors, say hole error, have a VD pointer attached, say VD400 for Hole error. Attachment will make things clearer. During machine operation, if there was an error for hole sensor (no hole was punched), a '0' is noted on the array and this gets shifted every scan. The label station solenoid is then inhibited since 0 is an error and 1 is Good. This happens to all stations downstream and the particular unit is rejected. I now have purchased a similar machine but with the A1SJH CPU. The QC is done by using SFTP command. It just shifts M bits for each cycle and XIC/XIO every such bit prior solenoid operation. The system works well but to change any stations and center distances needs me to cart-out my laptop and count and change the correct M bit. Cumbersome! Also the program reached close to 3000 steps of code due to the multitude of SFTP commands. My questions is; 1. I know that a similar-to-Siemens code can be used using Z registers of the Mitsi but how to go about it? PS: I use GX developer/Ladder mode. Thanks in advance. Cheers Xsailor
Gambit Posted October 3, 2008 Report Posted October 3, 2008 When you adress a Device in this way D0Z0 the value of Z0 is added to the device adress. For instance: MOV K100 D10Z0 When Z0 = 50 the value K100 is writen to D60 (D10 +50)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now