Michael Walsh

MrPLC Admin
  • Content count

    1801
  • Joined

  • Last visited

Everything posted by Michael Walsh

  1. NC281 Error (posted by GK237)

    From a private message from @GK237: I am using CJ1W-NC281 Position Controller with R88-1S servo drive with absolute encoder(23bit) ,In my application, I want to  move servo linear from 0mm to 15000mm  and In axis parameter, dispaly unit parameter ,value set -mm and command pulse count per motor rotation ,value set -8388608 and work travel distance per motor rotation, value set -204mm and using absolute command bit, I give command to servo drive run 14000mm  then alarm come and alarm code 6700, absolute movement position error, what should I do to solve this problem.
  2. NC281 Error (posted by GK237)

    If I am understanding the initial post correctly, this error occurs as soon as he issues the command.  Also, I believe that the following error is monitored in the drive for this module. 
  3. Omron CJ2M-CPU13

    Yes it is possible to add a CJ1W-EIP21 or CJ1W-ETN21 module to the CJ and get data using Kepware.  As long as you have room for the module (less than 10 modules in the rack and physical space as well).
  4. Sending alarms with NA panel

    Yes, that is inline structured text in the example shown.  All of the variables shown are strings.  You can see the values that I write to each one (red text).  
  5. NC281 Error (posted by GK237)

    What are your software limits set to? Also, what is the setting of Software Limit Function Selection (two settings above the highlighted setting)?
  6. Send data memory from PLC to other PLC with CX Programmer

    Send/Recv instructions are way easier to implement than socket services.  My 2 cents...
  7. This is how you would do it in both ladder and ST:  
  8. HMI NA - Playing Video continously

    I would imagine that you could write a script to make it repeat.  This video link below shows how to write the script to play, stop and pause a video.  You would just have to create a global subroutine that issues the play command and then call that subroutine by a timed event.  Just set the timer to a little longer than the video and it should work.   https://www.youtube.com/watch?v=JzyAtgwVKKw
  9. Desperation

    Ok, then how about this: C20H HDM Instruction.pdf I know that this is for the C20H, but this should help clarify.
  10. Desperation

    I wrote up an example of how to replace an HDM function from an S6 in a CP1L a while back.... I have attached it here in case you need it. CTBL in CP1L for replacing HDM in S6 conversion.cxp
  11. Cant connect scale to CP1H through RS232C Module

    Change your end code from CRLF in the settings to hex code 03 <ETX> as it looks like that is the terminator.  I just noticed this.  You would then get the whole string response at one time.  
  12. HOW TO CONNECT PLC OMRON CP1E TO RS485 DEVICE (CLEAR)

    I agree with the above suggestion. The P_1s suggestion was just for testing purposes.  I do not propose that you keep it that way.  
  13. Cant connect scale to CP1H through RS232C Module

    Send that same picture above, but change it to monitor in HEX.
  14. Omron NX1P2 to Non-Omron DC servo motor

    My mistake, I don't know the actual drive, I thought that the 24VDC connection at X9-3 was the input common.  If it were, then he would need the NPN module.  It must not be the common then.  Thanks for the correction.
  15. Cant connect scale to CP1H through RS232C Module

    If  <STX>S<CR>  does not work, try  <STX>?S<CR> which is 02 3F 53 0D in Hex.
  16. Cant connect scale to CP1H through RS232C Module

    You need to send  <STX>S<CR>  using TXD.  Then use RXD to receive  <STX>?<StatusByte><CR> .  Hex code for <STX>S<CR> is 02 53 0D  
  17. Cant connect scale to CP1H through RS232C Module

    It looks to me like you need to send the letter S with a header and terminator.  I am guessing that would be <STX>S<CR> and then you should get the status back in the format shown in the last picture. <STX>?<StatusByte><CR>.  I am not sure if StatusByte is only one of the status bytes, or all 4 of them.  
  18. Need Manual for CS1W-CTS21 SSI Interface

    Well, here is the CS1W-CTS21 sheet: http://www.edata.omron.com.au/eData/PLCs/CS1/CS1W-CTS21.pdf The switches are shown on page 3.
  19. Omron NX1P2 to Non-Omron DC servo motor

    If you need to generate pulses, then you will need to get an NX Pulse output unit.  The models are listed in section 1-3-4 of this manual: http://www.edata.omron.com.au/eData/NX/W524-E1-10.pdf   I am guessing that you need an NPN unit based on the provided drawing. 
  20. HOW TO CONNECT PLC OMRON CP1E TO RS485 DEVICE (CLEAR)

    What is different is that the P_1s bit is a one-shot (differentiate UP).  It is only on for one scan.  Right click on the contact and choose differentiate up.  My thought is that using the P_1s bit will allow the code to clear out the buffer.  For some reason, A392.14 is staying on, so the RXD instruction is only executed one time.  There is clearly data in the buffer since A394 = 16, so the P_1s bit would empty out the buffer.  Perhaps your device is sending multiple versions of the same string?  See if there is a setting to have it only send one at a time.  You could also connect this up to a PC with an RS232 adapter to look at it with a Hyperterminal like progam to see what your device is sending.
  21. Cant connect scale to CP1H through RS232C Module

    D200 needs to be something other than &0.  Try putting a fixed value in there.  Since you are using option slot 1, use #0100 instead of D200.   After you do that, check your wiring....I cannot tell if you have anything connected to SG (pin 9) on the CIF01 connector side.
  22. HOW TO CONNECT PLC OMRON CP1E TO RS485 DEVICE (CLEAR)

    For testing purposes, change your ladder rung to this: and let us know what happens. Or, put a bit in place of the P_1s contact that you are not using elsewhere and turn it on manually when A394 = 16.  Then check D10 (or D0 as I have done above).
  23. HOW TO CONNECT PLC OMRON CP1E TO RS485 DEVICE (CLEAR)

    The manual that you attached for the AD4329 does not mention any ability to support RS485.  It only shows RS232.  Are you sure that it supports RS485?  Are you using a converter between the AD4329 and the CP1E to change from RS232 to RS485?
  24. CQM1H-51 with touch screan NT20s-ST121

    Yes, that is a problem.  They need to be different.  The control area controls the screen.  You can make it change screens and other functions using the control area.  The notify area is status returning from the screen.  
  25. how to set up timer in st

    Good point.... @BITS N BYTES