List of Contributions

Ian Shaw

Contact Details

Ian Shaw


My Content

1 to 20 of 50+ total
Posted By Ian Shaw Apr 01, 2024 09:00:49 AM
Found In Egroup: Automation Control
\ view thread
You can put different tag types in the Associated Tags. You can also include various data fields of the alarm message itself, such as the Input Value, High Limit, and even the tag description, I think. ------------------------------ Ian Shaw Riverside Automation, Sheffield, UK ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ...
Posted By Ian Shaw Mar 29, 2024 02:06:45 AM
Found In Egroup: Automation Control
\ view thread
That's odd. I've been able to store CF contents on our server. I wonder if there's an issue with your file system. Perhaps your server's file system is encrypted or compressed and the reverse process isn't producing precisely the same output. Have you tried using a different computer? (Perhaps ...
Posted By Ian Shaw Mar 29, 2024 01:59:00 AM
Found In Egroup: Automation Control
\ view thread
You need to put the String tag in Associated Tag 1. Then use the Editor button to add Tag 1 to the message contents. ------------------------------ Ian Shaw Riverside Automation, Sheffield, UK ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ------------------------------
Posted By Ian Shaw Mar 27, 2024 02:43:16 AM
Found In Egroup: Automation Control
\ view thread
That sounds correct to me. It's what I do. (I was using 1769-L35E and Compact Flash rather than SD. ) Is your SD card an official Rockwell one? My attempts with 3rd party Compact Flash were unsuccessful. Did you tick the box to include firmware in the save? You need the correct firmware; ...
Posted By Ian Shaw Mar 26, 2024 01:34:20 AM
Found In Egroup: Automation Control
\ view thread
You can't put the acd file on the card and have the PLC load it. If you look at the contents of an SD card you have backed up, the acd file is not there. You need to flash the program from the PLC onto the card. Then you can keep the contents of the whole SD card on your server and copy it to other ...
Posted By Ian Shaw Mar 15, 2024 04:18:48 AM
Found In Egroup: Automation Control
\ view thread
Your use of sarcasm in bit names is hilarious, @Petr Miksovsky. I must introduce it into my production code! Detecting that a some bit has changed (once you've done your neat AND, NOT logic) is trivial. Detecting which bit in which word is not so simple, which is why @Splash is using FBC and I was ...
Posted By Ian Shaw Mar 13, 2024 04:33:08 AM
Found In Egroup: Automation Control
\ view thread
Nice logic @Petr Miksovsky. By using the NOT instruction to set previous_scan the AND instruction only finds bits that were 0 on the previous scan. Of course, @Splash still needs to find which bits are set, but an array of only 0-->1 changes might make the FBC processing easier. ------------------------------ ...
Posted By Ian Shaw Mar 11, 2024 06:11:10 AM
Found In Egroup: Automation Control
\ view thread
Regarding how to find the bit in a word, here is an interesting discussion. https://www.plctalk.net/threads/rslogix-log2-alternative.70219/ TConnolly wrote: The fast way to program it: DintTag = LN(StateTag)/0.6931472 In case anyone was wondering how DintTag = LN(StateTag)/0.6931472 was derived: ...
Posted By Ian Shaw Mar 11, 2024 05:53:58 AM
Found In Egroup: Automation Control
\ view thread
Thinking about "I would still need to create logic to create a "found" output unless a different MODE operation would provide that ability" , the incremental mode might enable you to do something. But: you have to trigger the FAL 0-->1 to make it run; I think the .POS would indicate the progress ...
Posted By Ian Shaw Mar 11, 2024 05:36:00 AM
Found In Egroup: Automation Control
\ view thread
I drafted up some logic to identify the word and bit, but it's untested so would need refining . The FSC here replicates the function of the FAL. You don't necessarily need both, so you could either drop the FAL or keep it but change the FAC to compare the FAL Result <> 0. The FscCtl.FD is set when ...
Posted By Ian Shaw Mar 08, 2024 11:43:05 AM
Found In Egroup: Automation Control
\ view thread
I see you have found a solution, but I'll add a contribution anyway. To create an array of bits that have changed 0 --> 1 you can use a FAL instruction. XOR the current data with the previous data to produce an array of bits that have changed. To filter the bits that have changed 0 --> 1 we can AND ...
Posted By Ian Shaw Feb 26, 2024 04:23:06 AM
Found In Egroup: Automation Control
\ view thread
You can store a program on an SD card and set it to always load into the PLC RAM on power up. However, this doesn't give you extra memory to use, which is what you want. You would have to either buy a processor with more memory or write more efficient code, including @Philip Hamilton's suggestions. ...
Posted By Ian Shaw Feb 21, 2024 05:28:05 AM
Found In Egroup: Automation Control
\ view thread
@Ryan Thanks, I'd got almost that far, but I was looking in my Toolkit Pro drop-down instead of the Studio 500 Standard drop-down. It all seems a lot more complicated than it used to be, but that's progress, I guess! ------------------------------ Ian Shaw Riverside Automation, Sheffield, UK ≈≈ ...
Posted By Ian Shaw Feb 21, 2024 03:59:39 AM
Found In Egroup: Legacy
\ view thread
Also check how and when remote reset B54:0/4 is reset, compared to the local reset B41:0/1. If the bit stays on longer than you expect there may be consequences to the logic. Is the remote reset both set and reset by the SCADA/HMI, or does it only set the bit and the PLC logic must reset it? --- ...
Posted By Ian Shaw Feb 19, 2024 11:33:25 AM
Found In Egroup: Automation Control
\ view thread
We've spent over 1/2 hour putting licence numbers into PCDC. We can't work out how to download Architect at all. We can get as far a selecting version 8.0.0 and entering our SI Toolkit or Logix Designer details. But we are just not offered the download. ------------------------------ Ian Shaw Riverside ...
Posted By Ian Shaw Feb 19, 2024 03:20:43 AM
Found In Egroup: Automation Control
\ view thread
A bit off topic, but, I had trouble with the State 0 and State 1 descriptions failing when importing and exporting rungs. I thought they were a cool idea but I found they caused more trouble then they were worth. ------------------------------ Ian Shaw Riverside Automation, Sheffield, UK ≈≈≈≈≈≈≈≈ ...
Posted By Ian Shaw Feb 16, 2024 03:54:34 AM
Found In Egroup: Automation Control
\ view thread
You can import/export entire Programs or Routines, but not tasks. Import/Export is better than Copy/Paste because it also exports all the variables, UDTs etc. ------------------------------ Ian Shaw Riverside Automation, Sheffield, UK ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ------------------------------
Posted By Ian Shaw Feb 15, 2024 12:02:44 PM
Found In Egroup: Automation Control
\ view thread
Because you want to combine the hour and minute into a single field, you could cut down the number of instructions by first combining the Hour and Minute mathematically. This naturally gives you padding of the minutes, so you only have to pad the hours. The same technique can be used to elegantly create ...
Posted By Ian Shaw Feb 15, 2024 10:23:30 AM
Found In Egroup: Automation Control
\ view thread
@Splash I historically used [LES 10] too. It's fine, but you have to be careful to only trigger it once. Otherwise you risk ending up with the full length of the string padded with 00000000... Testing the .LEN is more robust. It also makes it more obvious, when you come back to it in 10 years' ...