Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: OMRON PLC and ScadaMobile – Mode problem #19909

    cSmith
    Member

      All right thank you, that makes sense now.

      in reply to: OMRON PLC and ScadaMobile – Mode problem #19907

      cSmith
      Member

        In coming back to working with SM I am still unsure about why I can not directly access a contact in my PLC code.

        For example:

        Lets say I have a rung with a contact that if I turn it on it allows for some function block (algorithm) to run. Now I can hard toggle this in the code on and off (it is not used any where else in the code). It is an HR bit, the SM user manual says I can use H bits. But alas I go to write to it (as a BOOL) and it does not toggle the bit on.

        Why would it be that some contacts I am able to write to while others I am not? Does it matter if it is a DM,HR,CIO address?

        in reply to: OMRON PLC and ScadaMobile – Mode problem #19906

        cSmith
        Member

          John,

          I finally realized what is going on. In CX-Programmer you can not reference the direct coil or contact. Lucky my company has some code in place that I can access the touch screen controls. Thank you for all the help!

          Curtis

          in reply to: OMRON PLC and ScadaMobile – Mode problem #19904

          cSmith
          Member

            John,

            Hmm, that does make sense. But I am here at my test bench trying what you suggested and still no luck. It makes sense that the PLC can not deal with the two sources demanding its attention.

            I have CX-Programmer(Ladder programming) disconnected from the PLC and strictly SM connected to the PLC. I have my output addresses (taken from the CX code) and have them used in my .cxr file.

            Here is an example of my code:

            Lift_Table_Ext_Valve BOOL 700.03 “ord:=1023.1; page:=”"Destacker Outputs”"; section:=”"Lift Table”" ; label:=”"Lift Table Ext. Valve Contact”" ; Comment:=”"”" ; style:=”"button”"; button_label:=”"Engage”"; color=Green ; access:=9 ; write_access=9;”

            The address 700.03 is my normally open(NO) contact. There is also a safety unlock (NO contact), which I also tried to make write able in SM(you have to be able to turn it on). But this also does not want to turn on.

            Hope that explains my thought process a bit. From what you have said I am unsure on how to “use program tags on the PLC, and connect them to the outputs.”

            Don’t I have to know what address the output is mapped to in the PLC (via the CX-Programmer)?

            Curtis

          Viewing 4 posts - 1 through 4 (of 4 total)
          Copyright © SweetWilliam, S.L 2009-2013. All rights reserved.
          Science and Technology Park of the University of Girona, Emili Grahit, 91 (NarcĂ­s Monturiol building, Office P3-B03) 17003-Girona. Phone +34972183244