MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About nednor

  • Rank

Profile Information

  • Country Norway
  1. Address incremental copy uses wrong size

    This is the rung I want to copy with incrementing addresses. D100 is an INT and 4003 is an INT. But any way, I figured what the problem was. The result of the multiplication instruction is two words, hence my problem, even if the result only needs one word.
  2. Real world simulator

    You have this "game" called Factory IO. It is more like a learning environment, but it can simulate simple moving parts and give feedback to the PLC via an I/O device connected to the computer.
  3. Hello there. I have a problem with the address incremental copy function. I have a integer variable I want to increment the address of by 3 for each copy. But because of the size being 2 I can't get the next copy to have the address 4006. If I put 3 in the offset the next address is 4009, not 4006. And if I use 2 the next address is 4007.  Shouldn't an integer have size 1? What am I doing wrong, or what is it that I don't understand?
  4. I suspected this. Thanks for the clarification. 
  5. In a project I did about two years ago, probably with NB 1.38 or 1.37 I had three NB10s on ethernet connected to a single CJ2M.  So today I tried to create a similar project, with more than one NB on a CJ2M. Only problem is, I get an error saying "Only one NB can be accommodated within a project". Is it possible that Omron just figured they would change the software so that its not possible to use more than a single NB on new projects? Or am I doing something wrong or different from last time?
  6. Thanks for the answers! The valves were just an example. Recent I was at a plant with 40-something VFDs on a fieldbus, and each and every one of them had their respective status bits and words declared individually. The manual for the inverter suggested using structs and showed an example from Rslogix. I didn't get to try this with Omron.  I see the point of mapping the IO to another area. It doesn't make a practical difference for the projects I deal with anyway with increased cycle time.   
  7. Hi there, I am starting to discover the user-defined datatype in CX-Programmer, but I have one issue with it. I can't get the addresses I want to use. e.g. I create a type called "valve" with the members  "open", "close" and "limit". Now I have to define the memory area for it, but if I chose CIO 3200 CX-Programmer assumes I want all the members to be in adjacent addresses. I would want "open" to be in CIO 3300 and "limit" to be in CIO 3200 for instance. Is there a way to specify an offset? I have tried the brackets ( [] ) behind the address in a rung, but that seemed not to compute very well. Is there a way around this?