swordfish

MrPLC Member
  • Content count

    22
  • Joined

  • Last visited

Community Reputation

1 Neutral

About swordfish

  • Rank
    Sparky

Contact Methods

  • Website URL http://www.omron.se

Profile Information

  • Location Stockholm
  • Country Sweden

Recent Profile Visitors

1613 profile views
  1. Index Registers

    If you try to access a non existing address, you will get Illegal Access Error (Symbol Name P_AER in CX-Programmer). The Operation Manual says about P_AER "Turned ON when an Illegal Access Error occurs. The Illegal Access Error indicates that an instruction attempted to access an area of memory that should not be accessed. When the PLC Setup is set to stop operation for an instruction error (Instruction Error Operation), program execution will be stopped and the Instruction Processing Error Flag (A429510) will be turned ON when the Access Error Flag is turned ON." Normally the PLC is not set to stop on Instruction Errors, so it could go unnoticed. In your example, depending on what CPU you are using, its pointing to EM E0_02233 if I calculated correctly. See attached Memory Map
  2. Function Block for Software Cam

    The easiest way to do this is to use the Block Compare Instruction. Each instruction can handle 16 areas (Low limit-High limit), but if you need more you just add more BCMP-instructions. The source (Input) could be an angle from an encoder, timer value or any analog value you like. BR
  3. connecting omron plc with citect

    You cannot use 00000 as tag address, since this is used by the input card (CJ1W-ID201). You need to use separate work adresses as tags, and program them in parallell with input contacts. Ex. 00000 = Physical Start button connected to input card CJ1W-ID201 input 0 W00000 = Citect Start-button Hope this helps BR
  4. CPM2A-20CDT1 WITH TOW CPM1A-AD041

    Hi Yair, you may have up to 3 expansion units, so 2 CPM1A-AD041 is no problem. BR
  5. CTBL and IR problems.

    Hi andreas, you can change the comparison table without affecting the counter value. The table is registered each time CTBL is executed. Since you only need to change it after a certain number of times, it is recommended to use the differentiated version (@CTBL) or a condition that is On for one scan only each time you want to change the table. BR
  6. Omron to Siemens in profibus

    I would suggest using a Siemens DP/DP-coupler to create two separate Profibuses. This will of course require the Siemens PLC to have a Profibus Master as well. The DP/DP-coupler units have a memory area that can be configured so that units on one Profibus gets an area to write information to, and units on the other Profibus gets another area to write to, but all units can read the whole memory area. Featuresof the DP/DP Coupler: (order number 6ES7 158-0AD01-0XA0) • Maximum length of data exchanged consists of 244 bytes input data and 244 bytes of output data, of which up to 128 bytes are consistent • Up to 16 I/O areas for data exchange • If one side fails, the output values of the other are retained • DPV1 is supported with full and uniform diagnostic functions • PROFIBUS address setting either via selector switch on the DP/DP Coupler, or in STEP 7, or by means of another programming tool • Different transmission rates and PROFIBUS addresses on both sides of the DP/DP Coupler • Electrical isolation between the DP networks • Dual power supply Hope this helps BR
  7. Omron CPM1A

    Please contact Omron Portugal. They have an excellent 5-day repair service. see the following link. European Repair Center I guess the approximate cost would be 70-75 euro, depending on model. BR
  8. Hi Nuttaphong, If all you need to is transfer program, you may use CX-One 2.0. (CX-Programmer 7.0) You can also convert C500-program to newer CPU-type. See attached broschure. BR CXONE20_R134_E1_03.pdf
  9. Corrupt CXP file?

    You need to make the changes in the Mnemonics Editor (Press [Alt]+[M]) to have it automatically converted into Laddder (shows in the Diagram window), or you could select the entire rung, Right-Click and from the menu "Show Rung As" select Ladder. I'm glad it worked out for you. BR
  10. Corrupt CXP file?

    Hello Babster. I've tried to figure out a solution to this, and came to the conclusion that the P_On contact is causing the problem. As far as understand, P_On could be deleted, it does not do anything in this case. Please double check this, as it's easy to misinterpret Mnemonics as complex as this. LD P_On [Delete] LDNOT 9.00 OUT TR0 =(300) D61 #5 LD 136.09 OR 136.08 ANDLD LD TR0 =(300) D81 #5 LD 138.09 OR 138.08 ANDLD ORLD LD 9.00 OUT TR0 =(300) D62 #5 LD 1.08 LDNOT 1210.08 ANDNOT 1210.07 AND 1.09 ORLD ANDLD ORLD LD TR0 =(300) D82 #5 LD 2.08 LDNOT 1220.08 ANDNOT 1220.07 AND 2.09 ORLD ANDLD ORLD ANDLD [Delete] I've fixed this in your file (attached). BR FPSFLTBar_1__Fixed.cxp
  11. modbus CRC calculation

    I,m sorry, but I don't think the .doc file is part of a bigger manual. This example was created by Omron Italy I believe, and explained in the word document. BR
  12. modbus CRC calculation

    Hi hope this example helps. BR CJ1SLV.cxp CS1_CJ1_MODBUS_Slave_040303.DOC
  13. OPC Server for CJ1M-CPU23

    It's purchased separately.
  14. OPC Server for CJ1M-CPU23

    There are several OPC-solutions to choose from. Omron provides CX-OPC-EV1.22-N, and from a quick search on Google I found Kepware Omron OPC Suite. Omron Communications OPC Server suite I you would like to create your own communication solution, have a look in this manual from Omrons european web site. CS1/CJ1 Communications Commands Reference Manual BR
  15. ST FB - Syntax for Calling Instructions

    Hi Nick I would suggest using index registers (see attached jpg) There is no way to do this using ST. Instead you could divide you function block in two. One for ladder and one for ST, and then call the ST FB from the Ladder FB. BR