Changing a Crimson3 3 State Toggle from a Micrologix1400

Goodknight436

Member
Join Date
Nov 2014
Location
LA
Posts
22
Hey Guys

I would like to use Crimsons3 3 state toggle HOA switch on a G310 to set the mode in a Micrologix1400. I understand I can just use a compare function in the plc to read the Integer from the HOA switch. But where I am unsure is if it would be possible to have the PLC write over that tag(with say a copy function) and have the HMI HOA recognize the change, switch and stay in the proper mode.

Thanks
 
The Red Lion typically sends its comms on demand only (adjustable at least with Ethernet communications). This means that once the message is sent it won't keep continuously writing to that variable and you should be able to change it no problem on the PLC side and have the HMI reflect that change.

If that doesn't work, it's also possible to have the HMI write it changes to a different variable than it is reading. You can then manipulate these on the PLC side.
 
So you are saying that the HMI will read and write to the same tag in the PLC? I havn't been able to see an option in the standard settings that would allow me to set a different tag for reading, unless I write my own code for the switch.
 
So you are saying that the HMI will read and write to the same tag in the PLC? I havn't been able to see an option in the standard settings that would allow me to set a different tag for reading, unless I write my own code for the switch.

Yes, the tag can be read and write. The built in three state toggle will use a single integer tag for both read and write. The tag property will be read and write by default, but could be changed to read or write only (which would defeat your purpose). I mention that in case you are using an existing tag and have problems.

You set the values for each position on the Advanced tab. If the PLC writes an undefined value, the appearance will go to the default state you choose. The appearance should follow the value of the tag so the PLC can change it. And as keshik said, when you perform an action by touching the button on the screen, the HMI will only write the value once. Afterward, the PLC could change it to a different value and the graphic object will reflect that change.

You can set it up to write to a separate tag if you make the control action "User Defined", but I am pretty sure that you don't need to mess with that. This is what is great about Crimson 3.0, It will do what you would naturally expect it to do with very little hassle 99% of the time.

If you want to make the switch do something totally off the wall or perform multiple actions, you might then need to use the User Defined switch settings and then put your own logic in the Advanced Tab for each section of the switch as it's "touch" action.

I would like to use Crimsons3 3 state toggle HOA switch on a G310 to set the mode in a Micrologix1400.

Set the mode of what? I don't believe it is possible to set the RUN/REMOTE/PROGRAM mode of the PLC, but I would be willing to be proved wrong.

If you are talking about the mode of some user programmed machine in your PLC logic by altering the value of a regular old integer, then you should not have any problem.
 
Last edited:

Similar Topics

We have a new machine that uses an armor block to transfer input signals for conveyor position that continuously alarms out on no position change...
Replies
0
Views
70
Hello everyone, I am trying to change the IP address of the Omron PLC (NJ30-1200) and HMI (NB7W-TW01B) to fetch the network on our network...
Replies
7
Views
244
Dear Experts, I'm just started working with GEO SCADA and I need your valuable help. Currently, I'm trying to edit the alarm limits on MIMIC...
Replies
0
Views
186
Hi, all! I have a 1768-L45 CompactLogix PLC with a couple of 4-20 temperature transmitters connected to it. I have the temperature scaling...
Replies
6
Views
432
Hi all, i have a panelview plus terminal 2711P-T12W22D9P terminal with different user names and passwords. Everyone seems to know the maintenance...
Replies
3
Views
721
Back
Top Bottom