8/14/2013 2:48 PM | |
Posts: 12 Rating: (0) |
Dear Colleagues, I would like to write function for remember state of signal. This function I would like to use for checking interlock which I will get from other PLC. I can prepare sample and testing it but unfortunately it is not working as I wish: Problem: Frist I do not know why the value is not writing to the next index when I have one of the signals (FB1 netw 5). Second I would like to only write the value when minimum one of the signal should be change (FB1 netw 12 with comment). Thank you in advanced for your help I wish everybody have a nice day Greetings AttachmentSignalRemeber_2013141445.zip (60 Downloads) |
8/23/2013 6:33 PM | |
Joined: 6/24/2013 Last visit: 5/8/2024 Posts: 1596 Rating: (410) |
Hello Not sure. first of all date and time is 8 bytes not 6 and Your record is 8 bytes with signal state altogether. please see FB2 - made it in easier way - also can work as a blackbox i.e. discard old data. Also see comment in FB1 how to open project created on PC with different language [navigate to s7 project with windows explorer; open folder global and delete file "language"] Pozdrowienia z Nantong gdzie uruchamiam linie do drutu. AttachmentSignalrecorder.zip (27 Downloads) |
8/25/2013 1:20 PM | |
Joined: 6/24/2013 Last visit: 5/8/2024 Posts: 1596 Rating: (410) |
FB was not debugged i.e. had no access to PLC or simulator. please change in it: 1. label in 1st network - move it to network after call to SFC "FILL" 2. in the indirect write please change DID to DBD and DIW to DBW then it should work. Also there is another post where person asked for recording even if there are 2 edges in the same scan. project with solution for it attached to this post. AttachmentSignalrecorder_simultaneous_edges.zip (50 Downloads) |
8/26/2013 7:42 AM | |
Posts: 12 Rating: (0) |
Hello Everybody, I think the topic is close. P.S Dziękuje Piotrze za zainteresowanie tematem, Polska myśl inżynierska górą… :) AttachmentSignalRemeber_20130826_0745_V00.zip (37 Downloads) |
Follow us on