Industry Online Support
Technical Forum
12/5/2010 3:55 PM | |
Joined: 10/17/2007 Last visit: 1/24/2025 Posts: 4160 Rating: (363) |
Hi, I'm looking to add a small addition to the PLC on one of our CNC Machines with an 840D control. I'm looking to use afew inputs &outputs, atimer and alarms (DB2.DBX***.*) I've had basic Siemens training but have a much better understanding of AB. Am I correct in saying thatI should create a 'new function' (FC***) and create my ladder. Then open OB1, insert a networkand add a 'call' i.e CALL FC***? I have tried this, when I add the CALL FC*** in OB1 and try to save it I get a message saying "One or more parameters of an FC call are not assigned". I spoke with a colleague (S5 Trained) and he suggested that I may need to add "NOP 0". This never worked either. Having looked through OB1 and looking at other CALL FC's I noticed that some of these FC's carryout CALLs aswell. I added my CALL into one of these FC's and itwas happy to save. I then tried to download the edited PLC into the machine but when it tried to copymy FC I got a message saying "unable to copy the block". I've also tried it using an FB instead of an FC. Does it matter what number of FC you use? Any help would be much appreciated. Thanks in advance. Stevie Splitted from Editing PLC on 840D using Simatic Manager. |
Last edited by: O_Moderator at: 12/8/2010 9:23 AMnew subject after splitting Last edited by: nulizhang at: 12/5/2010 3:56 PMIf you like my comments please |
|
Follow us on