First off, great work. You've really managed to distill HMI generation to something simple and easy to use. Unfortunately, I'm stuck and it's probably my lack of PLC experience. I have a ControlLogix PLC. When I add a tag, such as WebSpeed (a Float), and run the HMI, I get a an "INVALID VALUE RETURNED!! Invalid Tag Address. CIP status 4". I've researched this as much as I could and am not getting anywhere. I tried the N6:0 syntax on an analog input module, but get the same error. I'm not sure what are the syntax requirements. From this , it seems like I'm doing things right, but….
Any help would be appreciated!
Nick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
CIP Status 4 is returned from the ControlLogix when a tag does not exist. Is your tag in the Controller Tags or the Program Tags? If it's in the Program Tags, try a tag in the Controller Tags.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the info and the quick reply! I was able to pull in a couple of controller tags. Unfortunately, everything I need to interact with are program tags. I take it there isn't a way to pull these in directly.
Nick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, with your help, I was able to pull PLC tags into the HMI. Great! I thought i was home free. Then I realized that I had to set tags on the PLC. So I tried the following:
Local:5:O.Data/0 give the following error: Unknown Message - 5 CIP status 5- INVALID value
Local:5:O.Data.0 give the following error: Unknown Message - 5 CIP status 5- INVALID value
Local:5:I.Data.0 give the following error: Unknown Message - 5 CIP status 5- INVALID value
Local:5:I.Data/0 give the following error: Unknown Message - 5 CIP status 5- INVALID value
Local:5:O:Data no error and it works, but there is no channel resolution.
I'd appreciate any help with the syntax for digital points.
If I haven't mentioned it, I'm using the EthernetIPforCLXComm module with a ControlLogix PLC.
Thanks in advance.
Nick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I still haven't figured out how to get the bit values for a Digital module, but did come across how to get at not controller tags. for PLCAddressValue, I used "Program:MainProgram.DistanceTraveledTemp". where DistanceTraveledTemp is my program tag!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First off, great work. You've really managed to distill HMI generation to something simple and easy to use. Unfortunately, I'm stuck and it's probably my lack of PLC experience. I have a ControlLogix PLC. When I add a tag, such as WebSpeed (a Float), and run the HMI, I get a an "INVALID VALUE RETURNED!! Invalid Tag Address. CIP status 4". I've researched this as much as I could and am not getting anywhere. I tried the N6:0 syntax on an analog input module, but get the same error. I'm not sure what are the syntax requirements. From this
, it seems like I'm doing things right, but….
Any help would be appreciated!
Nick
CIP Status 4 is returned from the ControlLogix when a tag does not exist. Is your tag in the Controller Tags or the Program Tags? If it's in the Program Tags, try a tag in the Controller Tags.
Thanks for the info and the quick reply! I was able to pull in a couple of controller tags. Unfortunately, everything I need to interact with are program tags. I take it there isn't a way to pull these in directly.
Nick
Did a bit more reading and answered my own question. No, program tags can't be accessed by external means.
So, with your help, I was able to pull PLC tags into the HMI. Great! I thought i was home free. Then I realized that I had to set tags on the PLC. So I tried the following:
Local:5:O.Data/0 give the following error: Unknown Message - 5 CIP status 5- INVALID value
Local:5:O.Data.0 give the following error: Unknown Message - 5 CIP status 5- INVALID value
Local:5:I.Data.0 give the following error: Unknown Message - 5 CIP status 5- INVALID value
Local:5:I.Data/0 give the following error: Unknown Message - 5 CIP status 5- INVALID value
Local:5:O:Data no error and it works, but there is no channel resolution.
I'd appreciate any help with the syntax for digital points.
If I haven't mentioned it, I'm using the EthernetIPforCLXComm module with a ControlLogix PLC.
Thanks in advance.
Nick
I still haven't figured out how to get the bit values for a Digital module, but did come across how to get at not controller tags. for PLCAddressValue, I used "Program:MainProgram.DistanceTraveledTemp". where DistanceTraveledTemp is my program tag!