11/8/2023 11:16 AM | |
Joined: 12/27/2013 Last visit: 2/1/2024 Posts: 11 Rating: (0) |
Hi, in 840D, how to select NC program by PLC automatically ? e.g. in 840Dpower line, workpieces => "modelprog" file includes: “short”, “middle” and “long” 3 NC programs. We want: When I6.0 =1 in PLC, NC will select and run “short” program automatically; When I6.2 =1, NC will pick up and run “middle” program; When I6.4 =1, NC will choose and run “long” program. How to make it happen? Thanks a lot. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 11/08/2023 13:37:09New subject after splitting |
|
11/8/2023 10:17 PM | |
Joined: 10/17/2007 Last visit: 5/1/2024 Posts: 3980 Rating: (340)
|
Hi ahoroos, it is a good question, but let me know how deep do you know 840D? or answer my question—can you modify your machine PLC program? Do you know what is software name NC VAR? Do you read Siemens 840D manual Function Description Basic, PLC program? there is no ready to use applications , you must in the level of middle to higher of knowledge of 840D then make Plc program by yourself, so answer me or even you get my answer, you will have more questions you can let your machine builder to do it for you My Add on —-after my 1st answer , I thought again, you may have some simply solution No need deep action from PLC , you can run your short , middle, and long nc programs But you need basic knowledge of NC / PLC interface signals
|
Last edited by: nulizhang at: 11/08/2023 23:09:08If you like my comments please |
|
11/27/2023 4:50 AM | |
Joined: 10/17/2007 Last visit: 5/1/2024 Posts: 3980 Rating: (340)
|
There is no ready to used example in Siemens manuals.--I attached the key page for "select" , read by yourself , and if have a spare NCU to test will be good. I have been sure tested all PI service during I worked for Siemens , I can only remind your some hits #1--for using FB2,FB3,FB4 and so on, You must set in OB100 call FB1 the parameter NCKom=true #2--I am not sure you get correct program path and program name, as I remember the NC program name (you need to read Programming manual ) like this %_N_ABCD_MPF you can make some simple NC program then using WinPCIN to transfer it out to you PC you will get real path format and name format. #3--when you make test FB4, you may meet some error code returned from the code your will be easy to find what is wrong at last I hope you response quickly --you see we have 3 members answered you 1st question, but how long (I thought you may never coming back????) you response for??? and did you see my suggestion ,,call FB4 is a hard job, If you try many time not successful--i SUGGEST YOU TO USE OTHER WAY TO get you same solution maybe easy way--Let me know when want use other way than FB4
AttachmentPI_service_select.pdf (274 Downloads) |
Last edited by: nulizhang at: 11/27/2023 04:53:05If you like my comments please |
|
Follow us on