8/29/2007 12:40 AM | |
Posts: 95 Rating:
|
Hi Gang! This data type is ‘ANY’ Is it possible to create that data type in the declaration table as an OUT within the LAD world? Inside my project (attached)I am calling SFC13 from within FB1000 “DP Slave Diagnostics”. Currently I am using a pointer to a ‘yet to be created’ DB2. I would like to be able to use this FB1000 and have no ‘hard coding’ within it but only have Variables from the declaration table assigned to/from it. Any ideas? Do I have to have some STL code to magically convert the ANYto some strange carnation to accessindirect addressing on the OUTto achieve this vision? If so is anyone up for the challenge – since I have only ever programmed in LAD. (LADis a weakness of American programmers I guess – at least this one… If any of ya'llare so inclined to retrieve the project feel free to poke around and offer any tips/tricks or suggestions in my approach to working with some of the SFC's– I am very teachable with all this stuff. The project is the early stage so it isn’t too big and I have not created the instance DB’s yet since I am still working on the FB’s. Attachment300_Diag_Funct_070828a_DK.zip (106 Downloads) |
8/29/2007 4:37 AM | |
Posts: 112 Rating:
|
I highly recommend using FB125 for diagnostics of a DP slave. This block calls many SFC's including SFC13. Siemens has sample projects which include OP screens, saves you a lot of work. Entry ID:5362473 https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&objId=5362473&objAction=csOpen&nodeid0=16599820&lang=en&siteid=cseus&aktprim=0&extranet=standard |
Follow us on