simonongsk

MrPLC Member
  • Content count

    52
  • Joined

  • Last visited

Community Reputation

0 Neutral

About simonongsk

  • Rank
    Sparky

Profile Information

  • Country Singapore
  1. Does any one know any instruction that rotate the 1S Servo Motor continuously with angle(0 to 360)  and velocity control ? https://forums.mrplc.com/index.php?/topic/35459-omron-g5-servo-drive-rotary-mode/#comment-165564   Above link may be quite close to what i want. But I have no idea how to set it up   Simon        
  2. NX1P2 Fins

    @photovoltaic:                            I am using NX102 9000. The error is dealing with connection. What is the Fins Settings (under Built in Ethernet/ip) . I am unable to make connection using TCP. Even with UDP, the error of 1004 will occur if the command is send to the PLC. If I use the TCP/UPD Messaging Services, Connection can be make but response message is not encouraging <--: 46494E530000001A0000000200000000800007000100007800020101820001000003 -->: 46490400009A1500 May i know are there any setting in Ethernet/IP and the Operation Setting tabs? Attached 
  3. NX1P2 Fins

    Hi @photovoltaic:                                           I did use Ehterway, the  end result is the same error code of 1004.  but using UDP. It seems like you are using TCP? How do you set up TCP instead of UDP in Sysmac Studio?  The Etherway shown Time out if I am using TCP (client ?) Try connecting to 192.168.250.1  ERROR: No connection could be made because the target machine actively refused it 192.168.250.1:9600.    
  4. NX1P2 Fins

    Hi:       Has anyone use Fins Command with NX1P2 (or any NX/NJ). I try with Multiway with "[!]: Command format error (1004)" Below is the command from multiway 800003000100000100060101820001000003 Data memory are define in global variable table as  A as %D1, B as %D2 and C as %D3. The relevant setting are done on Fins Setting and Memory Setting in the PLC.   Anyone ?    
  5. NX1P2 Fins

    Hi:       Has anyone use Fins Command with NX1P2 (or any NX/NJ). I try with Multiway with "[!]: Command format error (1004)" Below is the command from multiway 800003000100000100060101820001000003 Data memory are define in global variable table as  A as %D1, B as %D2 and C as %D3. The relevant setting are done on Fins Setting and Memory Setting in the PLC.   Anyone ?    
  6. 2 Words to Real

    @photovoltaic Wow, that is weird command name TBH. The CopyDWordToReal seem to work, may i know what do you meant by  "if it is a bit pattern move"  I wonder why DWORD_To_Real did not work as the command name suggested or are there any more conversion command for Dword to Real?
  7. 2 Words to Real

    Hi:       There are 2 Word, Let say  Word_0 = 5c29, and Word_1=3e8f, I combined that 2 word into  DWord=3e8f5c29; The result converted online (https://www.scadacore.com/tools/programming-calculators/online-hex-converter/) to Float will be 0.280 (expected result).   But with DWORD_To_Real , i get this result :    1.0354898e+09    REAL          May I know how to convert the 2 words into Real (Float ?) Omron PLC: NX1    
  8. Checking TCP Connection Status

    Wow: How can I forgotten about the # sign! I have been using dot .... Thank you very much, you make my day!
  9. Hi :      I would like  to know how to compare or check _eCONNECTION_STATE (Enum) using ladder in Sysmac Studio.  Error Code Error    4    Specify the enumerated data type name.          
  10. Omron 1S Servo

    Yes. I did read this. for Example at Page 172 of Section 8, Home proximity input signal vs Home input signal, what is the different between the 2 ? Example I have an Axis fitted with a proximity sensor (or a reed switch) as a home signal, which of the above I should look at Home proximity input signal or Home input signal ?   Regards  
  11. Omron 1S Servo

    Hello:           Does anyone know the details explanation of the Homing Settings for the Axis? Set the homing operation. 0: Proximity reverse turn/home proximity input OFF 1: Proximity reverse turn/home proximity input ON 4: Home proximity input OFF 5: Home proximity input ON 8: Limit input OFF 9: Proximity reverse turn/home input mask distance 11: Limit inputs only 12: Proximity reverse turn/holding time 13: No home proximity input/holding home input   Limit Input referring to Input (I/O) ? How about Proximity Input ? It is confusing with the terms. The manual has no explanation for each of the above selection.   Any one?   Simon
  12. NX1P2 Motion Control

    Hi:       I need to change an old PLC  with NX1p2  to control 3 servo motor by means of Analog Outputs couple with encoders, My job is to change the PLC only. So the servo drives and drivers are untouchable (No budget and involve too much mechanical works).   I observed that Sysmac Sttudio Axes setting has this: Servo Axes, Encoder axes, Virtual Servo Axis and Virtual Encoder Axes.   I believe the Encoder Axes couple with Analog Output is able to to do the Job? If so, what function block should i use? If no, do any body have a suggestion of any function block i can use? Thanks  
  13. Using Word to perform calculation

    WordCounter:=WordCounter+UINT#1; The error :Error    26    The '+' operator is not supported by WORD data type.  
  14. Hi:         How to use data type Word to perform math function without converting to Int or Uint ?  -----> Error    26    The '+' operator is not supported by WORD data type.     thanks    
  15. Hi:         I am planning to use NX with Encoder Card  couple with Omron Rotary Encoder for measuring product length. ( GX-EC0211 /EC0241) or may be (NX-EC0112, I read there is proble with this card , here https://forums.mrplc.com/index.php?/topic/34896-problem-pulse-reading-with-fast-counter-card-in-nx2/ ), but whatever it is I need to know is there any specific Instruction in Sysmac Studio that is tailored for Fast Counter or Encoder (something Like PRV in CX Programmer or special function in CJ-CT021 where start/stop counter and changeable preset counter are available).  The Length measurement is straight forward and is only a small part of the overall program.  Basically is Start ---> measure to length----> Cut --->Repeat again.  I read through the Instruction Reference Manual and I am unable to find one.   Anyone have any idea or any sample program (Sysmac Studio only ) that I can refer to ?    Thanks