wakeup

MrPLC Member
  • Content count

    16
  • Joined

  • Last visited

Community Reputation

1 Neutral

About wakeup

  • Rank
    Sparky

Profile Information

  • Country Spain
  1. I would like to find a library for tcp/ipc communication with a  CJ1W-ETN21 , only need to read the value of some memory positions. I could use any programming language. Do you know any open source library to do it? Thanks
  2. I would like to insert values in a database from CX-supervisor, but in a free way, without using dababase link and loging features. I did this code en exce-vba, but I cannt use it in cx-supervisor because it doesn't recognice ADODB object. How can I configure it? It is a com object and not an activeX thanks Set objMyConn = New ADODB.Connection Set objMyCmd = New ADODB.Command objMyConn.ConnectionString = "Provider=SQLOLEDB;Server=xxx\SQLEXPRESS;Database=testlab;User Id=sa;Password=xxx;" objMyConn.Open 'Set and Excecute SQL Command' Set objMyCmd.ActiveConnection = objMyConn 'objMyCmd.CommandText = "insert into dbo.test ('nombre') values ('hola')" objMyCmd.CommandText = "INSERT INTO [dbo].[test] ([nombre]) Values ('eeee')" objMyCmd.CommandType = adCmdText objMyCmd.Execute objMyConn.Close
  3. Debug cx-supervisor on error

    Thanks I will try ns-runtime. I guess other non omron altenatives to comunicate with Omron PLCs are based in OPC server? I'm new in this world of scadas... Thanks a lot!
  4. Debug cx-supervisor on error

    Yes I uninstalled with cx-one remover and cx-server remover. And I installed cx-supervisor 3.23(5) I have tested it also in another computer (although not a new system) and it crashes sometimes too. I'm feeling dissapointed with CX-supervisor, It should give at least an explainatory error message... Which would be the alternative to build a scada interface? thanks a lot!
  5. Debug cx-supervisor on error

    Hi, With analyse application I didn't find any problem. I unsinstalled all cx-one, cx-server, cx-supervisor, and installed only last version of cx-supervisor but it still crashes sometimes... :( thanks
  6. Debug cx-supervisor on error

    I will try it. Thanks a lot!
  7. Debug cx-supervisor on error

    Version 3.23, just updated. And also just updated cx-one completly. The comunication is through and ethernet module Anyway I'm not asking for the problem, but if there is any way to debug or trace to know in which line or page is the problem. Thanks
  8. I have developed an cx-supervisor application which randomly crashes and is closed. After reopening it in the log it only says it was closed in wrong way but it doen't say in which part of the code is the problem. Do you know any way to debug, or to know where is the problem when the application have and error and is closed? Thanks
  9. I have two omron plcs in a devicenet. Is it possible to have always synchronized the time of the slave with the time of the master? Thanks
  10. I have two PLCs connected by a Device net. If I have my computer connected to the first one by serial port, is it possible to connect with the second one by the device net? Or is it always necessary to connect directly by the serial port? Thanks in advance
  11. Hi, I have just tried to define "xx" variable as number, I put 1 as value because C1 is not possible with number type. And trying to compile I get this error in the CNTX line I don't understand why consider a variable of type number as literal, and if counter don't exist in CJ1M plc why says counter in the error message? Thanks a lot!
  12. Charts

    Now, I'm using this activex chart, http://www.codeproject.com/Articles/3214/D-Graph-ActiveX-Control But it's a bit limited too.
  13. I have defined a variable "xx" as a Counter, and in ST language this code: CNTX(P_1min, condition, xx , 10); It runs sucessfully in a CJ2M CPU35, but if I do the same in a CJ1M CPU12, I get this error: That error is only shown if I have that instruction in ST languaje. Why is different in both PLCs? If I can't use a Counter variable in ST, how can I set the counter number in the CNTX function? I have tried CNTX(P_1min, condition, "C1", 10); CNTX(P_1min, condition, 'C1', 10);CNTX(P_1min, condition, 1, 10);CNTX(P_1min, condition, C', 10);but nothing runs. Thanks in advance
  14. Charts

    I find the three charts included in cx-supervisor quite limited. Could you recommend me any external active x chart which runs well with cx-supervisor? Have you tried teechart in cx-supervisor? Thanks in advance
  15. Error creating IO-table with AD041-V1

    I had other 2 modules of digital input and output, but they are well detected. I don't have any other AD-041 to test. But I tested it in another PLC with the same error result. There is any official way to confirm they are defect? Can they be fixed? Thanks