alberto05

MrPLC Member
  • Content count

    41
  • Joined

  • Last visited

Everything posted by alberto05

  1. Cx-OPC server

    Hi Friends, I use the omron´s OPC server in an aplication where there are 14PLCs and 30 or 40 items in each plc. I think that the server is not fast enough, in the syncronization program (see clock syncronization) i read the the clock from the plc but the refresh time is arbitrary, i can not see how the clock changes second by second. What do you think about the OMRON´s OPC-server?
  2. FWRITE function

    Hi there, I want to write something like this in a memory card: 2006-04-10 14:32:15 116.5 1.398 2006-04-10 15:32:15 117.2 1.56 2006-04-10 16:32:15 115.9 1.75 2006-04-10 17:32:15 116.5 1.71 it should be a .txt archive for importing it with mysql commands, i only be able to write this with a cj1 cpu12 firmware version 1 (no fb possible): 2006 0410 1432 1500 1165 1398 2006 0410 1532 1500 1172 1560 2006 0410 1632 1500 1159 1750 2006 0410 1732 1500 1165 1710 this information must be manipulated before logging it in the DB, this make my program more complex and slow. Anybody know how to make a txt file like the indicated first? thanks
  3. NS5 screen defective

    hi, there is neither screen saver nor dedicated power supply. The screen is in a retort control system, the temperature may be 35-40ºC or so in the cabinet. The screen is turned off at the end of working day. Omrons reparation report said that was an error in the NS power supply, that may be a lot defect. The same error occour with an first time used screen (with no plant operation, only take off the box and feed). All the NS were buyed at the same time, so may be the same lot I think that there should be a dedicated power supply but......i am not the boss thanks
  4. NS5 screen defective

    Hi all, We have installed 14 NS5 screens 2 years ago (ns5-sq00-v1) and yesterday i have replaced the 4th screen in this 2 years. The screens become black and the light is red. I think that may be a manufacture defect, what do you think?, anybody has the same problem whit NS5?. The OMRON representative here replace our screen in garantie but...if the other 10 are manufacture defect too and the garantie has passed? thanks
  5. Cx-server error

    hi all, i am working in an application in LabView that use cx-server OPC to communicate with cj1mcpu12+etn21: cx-opc server 1.2 cx-server 2.4 labView7.1 the problem is that, after the good read of the opc during some seconds or minutes, an error occour in cdmsvr20.exe and the program stops reading and "hang up" has anybody similar problem?, i really do not like cx_opc server, i can not put it in good operation and i don´t know if it is a problem of labview or opc ;-(, sometimes works and sometimes do not. thanks
  6. Cx-server error

    hi, i try with an older version of cx-server (v1.7) and the problems does not appear, i am waiting for the omron representative for a copy of cx-server v3.0 to try with it. the problem may be in cx-server 2.4, i don´t know, with the older version works. i will tell you the results with v3.0 in 2 weeks or so by
  7. FINS UPD for Ethernet

    I make only steps 1 to 3 but without ip address table, Conversion Auto (Dynamic) instead. I get good results, sorry but i can help you more. Suerte. Saludos
  8. FINS UPD for Ethernet

    hi, the code works great, have you configured the ethernet unit of the plc? by
  9. PID Instruction

    opps, i think that my problem are the units, where i think that i am writing PB=1, it is actually 0.1, so 100/0.1=1000, sorry sleepy thanks for your time and support
  10. PID Instruction

    Hi Sleepy, I don´t know but i play with omrons PID instruction and i can´t get what you said above, for example: Input=1 Set Value=2 Proportional Band=1 Integral=9999 not actived Derivative=0000 not actived Sample period=1 So, error equals 1, output should be: error*100/PB=1*100/1=100 are you agree with me? now, run the pid instruction in the attached program and i get a result of 1000, if error is 2 than output equals 500... this is the reason why i think that in omron the formula is gain=1000/PB. can you said me please where i am wrong? i can´t find my mistake thank you very much p.s: the pid function is a little bit particular, what do you think about the Bumpless operation?, if the pv make a step change, the output take a time to actuate. Anybody knows the meaning of lambda in the Block Diagram for target Value PID with Two Degrees of Freedom that appears in w340-e1-06 pg664?, we can´t configure this parameter in the function PIDsample.cxp
  11. PID Instruction

    yes Sleepy but, the input for PB parameter is from 0 to 999.9% (0000 to 9999), so if you enter 100 than the Gain is 10 in omron PLC. I think so, may be i am mistake
  12. PID Instruction

    hi, i think that the formula for omron is: PB= 1000/Gain Gain=1000/PB because the PB is from 0 to 999.9% bye
  13. Cx-server error

    Hi, Omron is on holydays here, this is a screenshot of the error. Memory ok thanks
  14. Cx-server error

    Hi Pdl, the opc project has 14devices (PLCs), each one has only one group with 26 items , total 364 items to read.what do you think about it?, too many items?. thanks
  15. Cx-server error

    Hi BobB, I have not the cx-one, only the cx-programmerv5.0. I have downloaded de cx-server v2.4 from the omron site and it does the same, also with the latest cx-opc 1.22. the results that i get with the opc are not gut enought, the application would be a supervisión scada and i am not sure that the values that appears in the screen are good or not. I think that it is possible to make a communication with tcp commands or udp, labview has functions for this but i have not enought experience neither in finscommunicatons nor labview tcp/udp communicatons. I don't know how to build the frame and how to send it. I used time ago the finsgateway for downloading ns screens passing trought plcs but i have never use it for other purposes, is there any "step by step how to.." manual of finsgateway communicaton and configuration?. thank you
  16. TCP/IP communication

    Hi all, I am trying to communicate with a cj1mcpu12+etn21 with tcp commands, i have allready downloaded the jay code for UDP communications and i use it for building the Fins command to send but the results are not good in my application. my pc is 101.112.123.5 the plc is 101.112.123.6 i put 9600 as port number i send this fins data: 800002010600010300000501 (model read) in the jay code that works but in my code the result is: FINS + cubes and zeros is any configuration needed before sending the command? thanks in advise Alberto
  17. UPS for CJ1

    Hi, I need help, i have a CJ1Mcpu12 with PA202 power supply. I write in my application some files in a memory card. When the power by a storm goes away, the archives do not work well. Is there any UPS power supply for omron CJ1M?, how can i feed the CPU with 24V without omronsPA202? thanks (i apologize for my bad english )
  18. fwrite function

    hi Sleepy, There is no problem with your program, it works fine. i have the problem with my application. I don´t know if i really need to interlock the portion of program where i use the fwrite funtion like you do. My application writes the first line of the file and then write the others that are diferent from the first one. When the file is full a PC download it via ftp. The problem is that sometimes (with random frecuency) the downloaded file come without the first line and that is a great problem. I think that the problem is that the ftp program download and delete the file while the PLC is writing to it and that the reason why the first line is not in the file. Whell, sorry for my long post, the question is:why do you interlock the fwrite function? i have never use the interlock function and i don´t know if i muss to use it in my program thanks
  19. fwrite function

  20. UPS for CJ1

    ey!, this is the way!! thank you, i did not know that there is a 24VDC power supply for the CJ1M PLC (neither the omron dealer here?¿) i will ask for price of that configuration but i think that may be very expensive (i have 15 PA-202 allready) i will look for a Phoenix Contact Quint DC-UPS instead of the S8TS. thank you very much for your help, this forum realy works!!!!
  21. UPS for CJ1

    Thanks TERdON, but how is the conection between this modules and the CJ1M cpu?, with the PA202 is "plug & play", but with this modules, that i don't know if are available in Spain, how must i do the wiring?
  22. NS Screen - Updating Date & Time via PLC

    Sorry soundwave but i have not manuals for this. The omron dealer in my country sent me this macro but he did not understand the code and was not able to help me. I asked he for an explanation of the function but...... i can give you more help in this
  23. NS Screen - Updating Date & Time via PLC

    hi, this is a macro for that: '''Write calender information from PLC to PT 'Macro startup trigger OFF $B32000=0; 'Read calender information from PLC FINS(0,0,0,"0701",0,2,0,11,$W32000,0); $W32040=$W32004; $W32041=$W32003; $W32042=$W32002; 'Adjust PLC calender information '$W32001=H0702; 'FINS(0,0,0,$W32001,9,1,0,4,$W32020,0); 'Write calender information to PT SETTIME($W32040); red 2 is if you use serial B port of the screen, put 1 if is serial A hope this help by
  24. ETN21 issues

    hi, In this manual you have some answers to your cuestions. v074-e1-04 p253 -p255 hope this helps
  25. Internet remote control?

    hi, i am very interested in this thread, i only own the Cx-Programer v5.0, can i go online with PLCs wich are conected in an ethernet network with a PC with internet conection? is there any manual wich splain how to do this? thank you