sawyer65 Posted February 25 Report Posted February 25 I am trying to understand what is happening in a motion SFC program, the program is from a working machine. The machine has Q03 PLC Q173 Motion control CPU (SV22) MR-J3 servo amplifiers The software I am using is Gx Works2 and MT Developer2. I am looking at axis 19,axis 19 controls a set of holding dies, it starts with a position move then changes to a torque move (to hold the part during the work )then opens with another position move (after the work is completed), the starting and finishing position moves are well defined but I am having a problem understanding how it changes to torque mode. The SFC program in the Q173 makes the change. out M5794=M20 (M20 is PLC bit M7988) out M5762=M21 (M21 is PLC bit M7989) D2394=D2606 (D2606 is PLC register D7560) D2426=D2607 (D2607 is PLC register D7561) out M6100=M5890 (M6100 is PLC bit B4) D3010=#8361 (D3010 is PLC register D8012,#8361 is axis 19 motor current value) M20,M21,D2606,D2607,M6100 and D3010 are bits and registers that come from the PLC through the Multiple CPU High Speed Transmission area.#8361 is axis 19 motor current value (from the Q173). I cannot find M5794,M5762,D2394,D2426 or M5890. They have to be control registers and bits for axis 19 but I cannot find references to those ranges in any of the manuals, they are outside of the auto refresh ranges in the Multiple CPU High Speed Transmission area, cross reference in MT Developer only bring up the above lines in the SFC program. I don't see any indirect addressing at all in the program. Any suggestion of where to proceed from here would be appreciated
Gambit Posted February 25 Report Posted February 25 Tip: Open MT Developer => Help Motion Dedictaed device. I will open Excel and give you all the Specila devices and meaning
sawyer65 Posted February 25 Author Report Posted February 25 thanks for the tips, still not seeing the information I need. The M5700 range and D2300 range are both marked user device
Gambit Posted February 25 Report Posted February 25 aha ok than they do not have a specific purpose or dedicated infomration, Thye are free for the programmer to use. are they used in the multiple CPU settings ? Than the usage maybe come from the PLC program?
sawyer65 Posted February 25 Author Report Posted February 25 They are outside the ranges used in the Multiple cpu settings
Gambit Posted February 25 Report Posted February 25 Sorry just read your whoile post, You already found that these Devices are controlled via PLC dev setup in the multiple PLC settings(M20 for instance) So basically you want to find out where these are used in the SFC program right ? Have you used "find Device" to search for these devices in your SFC ?
sawyer65 Posted February 25 Author Report Posted February 25 find device only brings up the one line in the SFC program
Gambit Posted February 25 Report Posted February 25 43 minutes ago, sawyer65 said: find device only brings up the one line in the SFC program probably a step leading toward a servo program ?
sawyer65 Posted February 25 Author Report Posted February 25 there are only three servo programs, one to zero the axis, the other 2 are the 1st and 2nd position moves, it changes to torque mode during the 1st position move, it compares the position of the axis to a value stored in the HMI that is what turns M20(PLC M7988) and M21(PLC M7989) true
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