I have a multicolored icon on HMI to indicate pump status. Uses DS1 register.
Using a Mathbox to set DS1. On this PLC, I only use the first two states, so the logic is simple.
Not Y401 - DS1 = 0
Y401 - DS1 = 1
I've been using this code for years.
Code worked in version 1.40. Upgraded my CLICK software to 2.00 a few weeks ago. Went to customer site yesterday to do a simple edit. Had to upgrade PLC firmware to 2.00. It needed to erase program first. Confirmed.
The firmware upgrade failed during the first pass. Scary, because it looked like the erase parts were successful. Did I just brick the customer's PLC? Do I have a spare with me?
Fortunately, it worked on the second try. Using Keyspan USB-RS232. (Genuine AD adapter quit working when I upgraded to Win 10).
That's not my question, just FYI.
Noticed DS1 was now equal to 4, when it should be zero.
Tried whole numbers, and they worked. Only zero fails.
Gave it a formula instead. DS1 = 1-1. That worked.
Can someone else try this? Didn't have time to experiment at customer site.
PLC is Automation Direct Click C0-01DR-D.
Toshiba laptop with Win 10 Home, 64 bit.
Using a Mathbox to set DS1. On this PLC, I only use the first two states, so the logic is simple.
Not Y401 - DS1 = 0
Y401 - DS1 = 1
I've been using this code for years.
Code worked in version 1.40. Upgraded my CLICK software to 2.00 a few weeks ago. Went to customer site yesterday to do a simple edit. Had to upgrade PLC firmware to 2.00. It needed to erase program first. Confirmed.
The firmware upgrade failed during the first pass. Scary, because it looked like the erase parts were successful. Did I just brick the customer's PLC? Do I have a spare with me?
Fortunately, it worked on the second try. Using Keyspan USB-RS232. (Genuine AD adapter quit working when I upgraded to Win 10).
That's not my question, just FYI.
Noticed DS1 was now equal to 4, when it should be zero.
Tried whole numbers, and they worked. Only zero fails.
Gave it a formula instead. DS1 = 1-1. That worked.
Can someone else try this? Didn't have time to experiment at customer site.
PLC is Automation Direct Click C0-01DR-D.
Toshiba laptop with Win 10 Home, 64 bit.