Happy New Year everyone,
I am working on a Prototype project using a AutomationDirect Click Ethernet PLC and a Red Lion G306 HMI. I have the HMI connected to the PLC via Ethernet and have the HMI set up to be the Modbus TCP/IP Master.
The problem I have is that I am not able to write to the PLC Contol (C) bits. I have been able to write to the Float (DF) and even the Output (Y) registers but when I try to set a C bit via the HMI using the 2 Position Switch the switch just moves to the 1 position and then right back. The PLC doesn't even show that the status changed.
If I go into the PLC and force the C bit on the switch will move to the 1 position so I am sure I have the addressing correct. Just to make sure I have tried to use the 2 position switch to write to a Output (Y) and that works just fine. I am also able to write data from the HMI to the Float (DF) Registers perfectly too. So from the Addressing and Communications I am pretty sure that everything is working fine.
I have also used a Modbus driver on my PC and have been able to write to the PLC's C bits with success so it must be something in the HMI. I have tried to reflash the G306 with some older firmware just in case there is a issue with the new firmware. No change.
I have talked to AD support and they couldn't offer any ideas on why this is happening. I will try to talk Red Lion tomorrow and see if they have anything to add.
I am hopping one of you guys have had this issue before and can offer some ideas. I have attached my Red Lion Crimson Program as well as the Click Program.
Thanks for any help you and provide!!
I am working on a Prototype project using a AutomationDirect Click Ethernet PLC and a Red Lion G306 HMI. I have the HMI connected to the PLC via Ethernet and have the HMI set up to be the Modbus TCP/IP Master.
The problem I have is that I am not able to write to the PLC Contol (C) bits. I have been able to write to the Float (DF) and even the Output (Y) registers but when I try to set a C bit via the HMI using the 2 Position Switch the switch just moves to the 1 position and then right back. The PLC doesn't even show that the status changed.
If I go into the PLC and force the C bit on the switch will move to the 1 position so I am sure I have the addressing correct. Just to make sure I have tried to use the 2 position switch to write to a Output (Y) and that works just fine. I am also able to write data from the HMI to the Float (DF) Registers perfectly too. So from the Addressing and Communications I am pretty sure that everything is working fine.
I have also used a Modbus driver on my PC and have been able to write to the PLC's C bits with success so it must be something in the HMI. I have tried to reflash the G306 with some older firmware just in case there is a issue with the new firmware. No change.
I have talked to AD support and they couldn't offer any ideas on why this is happening. I will try to talk Red Lion tomorrow and see if they have anything to add.
I am hopping one of you guys have had this issue before and can offer some ideas. I have attached my Red Lion Crimson Program as well as the Click Program.
Thanks for any help you and provide!!