Red

MrPLC Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Red

  • Rank
    Newbie

Profile Information

  • Country United States
  1. This worked great.  I was focused on the "Global Variables" section only.  I completely missed the Variable Mapping section.   Added it there and you are correct.  It auto populated from the PLC. Thank you both for your quick responses!  You have saved me hours of frustration.
  2. Hi all and good day, I'm working through my workflows with Sysmac studio.  I think I have a grasp on the PLC side, now I'm trying to foucs on the HMI side.  I have setup some data types on the PLC to store booleans, integers, etc. I am trying to pull the data from those data structures into a value display on the HMI however it is being most difficult.  This brought me to two immediate questions. 1. Can you display the value of a local variable on the PLC from the HMI or does it need to be a Global variable?  I'm familiar with Java so I do understand the concept of public versus private variables.  I'm just not sure if that is what is going on here or if I am just not querying the variable correctly.  2. How would you go about setting up a variable display of a variable that is part of a data structure?  I have my structure setup as well as the variable in the table to USE that data type however it is just giving me an error when trying to look at it from the HMI. Any help would be very much appreciated.  My apologies in advance if this is a repetitive question. Thanks, Red
  3. Simple Question?

    Ah!  I see.  I saw that listed in the manual but I didn't take it as literal. Thank you kindly for that clarification!
  4. Hi all, I'm working on my migration from CJ series to Sysmac (NJ/NX).  I've encountered something I think is  a simple answer but I just can't find anything in the documentation or forums that has gave me a concrete answer. I want to increment a variable by one.  Is it not possible to insert a raw integer into the value field of the function?  (Please ignore the P_Off as this is only for test purposes only) I know I can create a variable and make it a constant of one but that just seems odd to have to go through that many steps to do so.     EDIT:  I should add the variable I'm trying to increment is a UINT (Unsigned Integer) The error I get is:   EDIT2: While I solved my problem with this instance by using the Increment function, my root question still remains.  How do you supply a value of a number to a parameter of a function without creating a symbol for that parameter?   Thank you all for your time,
  5. Setting up Data Types

    Well that was easy.... Thank you very much for your swift response.  You've saved me countless hours of right clicking to add members to my structures.
  6. Hi all, Long term CX user here,  I'm starting to attempt to migrate a few projects to OMRON Sysmac NJ controllers.  We are heavy into the Ethernet/IP integration with devices.  In CX world, I would setup my variables or array and verify the data size matched on both sides.  Is there a simple/easy way to verify the size of a UDT?   Also is there a simple/easy way to setup these data types in an excel sheet and then import them into Sysmac? Your help will be very much appreciated! Thanks, Red