Yair

MrPLC Member
  • Content count

    261
  • Joined

  • Last visited

Everything posted by Yair

  1. Input Interrupts in CP1L-M40CDR

    I'm trying to setup input 0.05 as input interrupt. But I get Error Flag after MSKS(690) and input interrupt doesn't work What is wrong?? I copy the program from the book W451-E1-03_PROGRAMMING MANUAL Error Flag ER ON if N is not within the specified range. For input interrupts: ON if S is not within the specified range of 0000 to 0003. For scheduled interrupts: ON if S is not within the specified range of 0000 to 270F hex when the scheduled interrupt interval is in 10 or 1 ms units or 0005 to 270F hex when the interval is in 0.1 ms units. OFF in all other cases. CP1L_INPUT_INT.cxp
  2. Input Interrupts in CP1L-M40CDR

    Thanks all The interrupt is working I don't know what was worng but now it is working. Thanks ParaffinPower you are right. I uploded the cxp file if anyone want to use it. In order to open this file CXP Version 7.1 is required . CP1L_INPUT 0.05 AS interrupt CP1L_INPUT_INT.cxp
  3. CQM1H-SCB41 TO 3G3MV

    Hi every one, Have a project with 6 inverters 3G3MV connected to CQM1H-SCB41 RS485. This is the CX-protocol file see line_2_v3. The communication working fine. My problem is, If one of the inverters is disconnect from the network or not connected to the power supply the plc doesn't keep increment the internal counter N in order to communication with the other inverters. for example number 02 is disconnect now see trace11 I know that I can write the protocol for each inverter with constant address to solve this problem but I prefer working with the internal counter because it is more easy to add inverters. Thanks,
  4. While installing Smc1704_0101Setup.exe its installing Microsoft.V.C++ please check that this program (see jpg)  is installed correctly    
  5. PG0122 CONNECTIONS

    It seems that this is NPN stepper you may need to use NX-PG0112
  6. I had the same Error. I tried to restore Windows registry. didn't help The error occurs because some references to libraries of CX-Programmer have been removed from the Windows registry . This can happen if you use "optimization" tools for Windows such as CCleaner or similar. The only solution is to uninstall and re-install everything.
  7. Migration from C60H

    1) In order to run syswin on WIN7 64 BIT you need to install microsoft virtual XP you can download it for free from microsft http://windows.microsoft.com/en-us/windows7/install-and-use-windows-xp-mode-in-windows-7 then you can install syswin on xp 2) you might need USB TO RS232 CONVERTER 3) RUN SYSWIN and upload the program from C60H C60H has Built-in RS232 there is no need for any adapter but the cable is Different 9pin ------ 9 pin male 2------------------2 3------------------3 5------------------7 (not 9) 4-5 Short at plc 7-8 Short at computer 4) upload the program and save it then change the plc type to CPM2 (This will convert all internal relay like 18.13 to 253.13 P_On) 5) open the file with CXprogrammer *.SWP save it as *.cxp and convert it to CP1L-60 6) Replace IO to Match the new IO of the CP1L FIRST THE OUTPUTS out 1.00-1.07 ---> 100.00-100.07 1.08-1.11----> 101.00-101.03 and more THEN INPUT IN 0.00-0.11----->0.00-0.11 0.12-0.15 -----> 1.00-1.03 and more
  8. cp1l/em cpu with a1000 over ethernet/ip

    What type of communication card do you have in the A1000 inverter?
  9. CP1W-CIF41 Ethernet Module Cannot Connect

    If the unit is V2.0 It is possible to reset it to default. by using A525.00 A525.01
  10. Hi All, I would like to know if any one has tried to use the new software Sysmac Studio and the new plc NJ501 This software will replace the CXONE .OMRON NJ NJ
  11. 1) Open plc settings 2) Go to Built-in ethernet click FINS/TCP settings 3) Click EDIT CHANGE node FROM 0 to 251 4) Download settings to plc 5) Cycle the power to plc 4) In CXP communication settings go to driver disable Auto-negotiation and set 251 as work station node addres Work online with any IP
  12. NEW NJ 301 4 OR 8 AXES at 1 mili sec NJ301.pdf
  13. Printer connected to NS screen

    1) By installing NS system version 8 or higher any printer with PICBRIGE might be a suitable replacement. Also the USB CABLE A-B should be replace to B-B 2) An other option is to install 2G memory card in NS change the printing target to memory card .($sw) up to 999 bmp files might be saved The user can print the picture or just save them in hard disk by using FTP server (this could done with Ethernet). If NS hasn't Ethernet you may use 2 memory card also a memory card extension could be use
  14. SCU21

    Reception counter (n+10 for port 1) (n+20 for port 2) (n=1500*unit No.) Indicate the number of bytes received. (waiting in the SCU buffer).
  15. Help with CN3 monitor cable!

    l think it is smart step servo drive cable. Computer Monitor Cable R7A-CCA002P2
  16. Help with CN3 monitor cable!

    You can use CXDRIVE software include in CXONE to program parameters and monitor drive parameters. In the prameter table you can find all modbus address.
  17. SCU21

    I think you can keep using the RXDU and add an other RXDU instruction with #00 for the number of bytes IN ORDER TO CLEAR THE BUFFER/ If 0 is specified for N, the Reception Completed Flag and Reception Overflow Flag will be turned OFF, the Reception Counter will be cleared to 0, and nothing will be stored in memory.
  18. E5CN set point

    1) The set point has to be in DINT format. 2) SET Communications writhing Enable in E5CN
  19. CQM command HELP

    Please try to upload the expansion instructions. You may findout what instruction using function 48 because TXD is an expansion instruction and can be change by the user
  20. W195-E1-07_CV500-CV1000-CV2000-CVM1 Programmable Controllers Installation Manual.pdf W195_E1_07_CV500_CV1000_CV2000_CVM1_Programmable_Controllers_Installation_Manual.pdf
  21. CTS Enable in CX-Protocol

    You can use the CTS & RTS with full hand shake cable pin 4 and 5 conected to host Once pin 4 connect to pin 5 the setting you mentioned in your first post are not affective. and in protocol macro this setting is not affetive at all. In most of the device in the market there is no need to use it. FROM MANUAL W336 PAGE 79 With CTS control, turn ON the request to send (RTS) signal before stating to send, and be sure the clear to send (CTS) signal is ON before sending data. When there is no CTS control, turn ON the request to send (RTS) signal before sending, and then send data without checking the request to send (RTS) signal.
  22. New shape for CX-Designer

    You can prepare new shapes with CXD for example: 1) prepare a circle ploygon or bitmap. 2) copy it to library (OPEN BY ALT+4) inside library you can craete your one dirs with all your shape. 3)From the library right click and make it as a VEC file
  23. CTS Enable in CX-Protocol

    CTS=Clear to send In most of the system there is no need to use it. On RS232 Pin 4 should be connect to pin 5 also this bit can be monitoring at CIO 1500 AREA. More information about CTS can be found in W336-E1-07 Serial Communications Units
  24. It isn't model dependent. Why do you need to use an interrupt task? Are you using I/O interrupt on CJ1M-CPU21,22,23?? There is no need to use TKON TKOF with I/O interrupt. In this code each time w0.0 go from off to on Task 249 run just one time. This is not interrupt, it is an extra cyclic task that run just one time. Once you run interrpt task as extra cyclic task you can use TKOF AND TKON inside this interrupt task. int249.cxp
  25. Interrupt task 4-255 can be used as cyclic Task same like cyclic Task 0-31. So in order to run them just once TKOF(821) should be use. FOR EXAMPLE: int249, at end of the int program 249 this code should be written LD P_On TKOF(821) 8249 8000 + 249(int task number)