pabspagg

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

1 Neutral

About pabspagg

  • Rank
    Newbie

Profile Information

  • Country Brazil
  1. Well, I have just found out a document which explains what's happening.   I will test tomorrow if It works! Using_STRING_with_NB_HMI_and_NJ.pdf
  2. Sorry. I have a function block which takes Receitas -> ARRAY_RECEITAS(Input from the fuction block). I should have printed outside the function block! I think the problem it's about typing the string in the NB designer.  When I do and goes to plc (Receitas[X].nome), maybe it's not a string at all? Maybe array of words? Not sure though.  If I force a string in the structure, I can copy easily. But if I get the string from the NB Designer I wasn't able copy it. If I'm not clear , just tell me. I will try to explain a better way.
  3. Hello! I am trying to copy a part of a structure to an array. This is how my structure looks like: The variable that contains the structure: I want to move only the first variable ("nome") to an array of strings. I tried move, arymove, memcopy, left,mid ,right, everything I could think of. But nothing worked. I think the problem is the string was typed in the nb designer IHM and saved on the plc. But what NB designer does when u type a string? Is it converted? I did a test and this is how it looks:   The first part (Receitas[1].nome)  was typed  on the NB designer and the instruction move doesn´t work. The second one I forced the value on plc and it worked. What am I missing here? Thank you!  
  4. Hi ! I have a small issue here. I am creating a function block for controlling 1S servo drives on Sysmac Studio. It uses MC instructions inside. The figure below shows the inputs and outputs. You can see I have a reference in/out of the axis I am using in the project. When I go online and go to lower layer. I can access this signal below using the reference. I have to access other signals from Axis as well.  Why the colour rung is yellow? What am I doing is wrong? Is it just a warning? . It's my first project using Omrons devices. Thanks in Advance!