MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About hukc

  • Rank

Profile Information

  • Country Hungary
  1. Sysmac studio support FINS/TCP?

    Hi! You want to use direct FINS messages? Or you want to read and write the PLC memory via FINS? If the second you can use NX1P2. Enable the CJ memory and then you can read and write these memory area.
  2. Timers and Structured Text

    Hi! In first picture the timer isn't called. If you take a this row to your program then the timer is started: Password_RST_TTimer(); This timer is a funciton block, so must be call in the program. You only set the function block input parameter and not called. In second picture the timer is called, so it is working.  
  3. Synchronising 1S servos

    Which PLC you use? If it is allow motion control axis then you can create an axis group. With a group you can move syncronized the axises.
  4. Time display formatting question

    Temp := TimeToSec(yourTimerVariable); Hour := Temp / 3600; Min := (Temp MOD 3600) / 60; Sec := (Temp MOD 60); After that you can convert this 3 integer to  string. Then concat with ":"
  5. CX-Supervisor - NX1P2 communication

    Thank you! I know the using CJ memory of NX1P2,  my question is that memorys can be read in Supervisor? I cant add NX1P2 in CX-SUPERVISOR.
  6. Hi all! Somebody make CX-Supervisor project with NX1P2 PLC? Is it possible to use CJ memory of NX1P2?
  7. Take the two image in same position and create animation on the image visiblity with a variabe or in subroutine you can set the images IsVisibe property.
  8. Edge Detection in Structure Text

    simonongsk: in your code the rising and falling edge is increase the counter. One other solution: IF timeOut AND NOT PreviosState THEN    Counter:=Counter+1; END_IF; PreviosState:=timeOut;   Or in ST you can use R_TRIG variable: rtrigTimeout(Clk := timeOut); IF rtrigTimeout.Q THEN       Counter := Counter + 1; END_IF; In that case declare rtrigTimeout with R_TRIG data type.
  9. Hi, You can use it with controller variable too, but cant use an array inside a structure. Try it with a simle array in PLC and its work.
  10. Hi, You can use tag data link, to cyclic communication. In this case you set up the controller to read the other device. See video: Another option to use CIP. CIPOpen, CIPRead, CIPWrite, CIPClose instuction see in instructions reference. With this function block you can make the communication in code.   EthernetIP manual:  
  11. Torque control mode

    Which NX1P2 you use? If NX1P2-9.... then you can not use torque control. If NX1P2-1... then you can set in the Axis settings Control function to Motion control.