Menu

PLCAddressValue

Help
Nick Gomez
2011-11-02
2013-05-30
  • Nick Gomez

    Nick Gomez - 2011-11-02

    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

     
  • Archie

    Archie - 2011-11-02

    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.

     
  • Nick Gomez

    Nick Gomez - 2011-11-03

    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

     
  • Nick Gomez

    Nick Gomez - 2011-11-03

    Did a bit more reading and answered my own question. No, program tags can't be accessed by external means.

     
  • Nick Gomez

    Nick Gomez - 2011-11-17

    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

     
  • Nick Gomez

    Nick Gomez - 2011-11-18

    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!

     

Log in to post a comment.