Vorbis

MrPLC Member
  • Content count

    22
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Vorbis

  • Rank
    Sparky

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Country Germany
  1. Problem recovering system of NS12

    I tried to install the "Recover_Update_7_0" from the CX-Designer's installation directory. That somehow didn't work, so I downloaded the Version 8.2 from myomron. That worked now. The Manuals are a little confusing and contradictionary telling to turn on dip switches and what not. After all I had to do nothing (leave all dip switches on "OFF"), copy the folders an files mentioned above to the root directory of the memory card, put it in, and restart the terminal. I formatted the card with a windows XP machine to FAT16 and that worked... although a manual says that wouldn't work. Having some trouble uploading the screen data now, but i think i'll figure that out soon. Might be a problem because i changed the system version.
  2. Problem recovering system of NS12

    I used to transfer screen data to a NS12 (NS12-TS01B-V2) via ftp. During that process you need to delete all files in /fr1. Accidentally I deleted all the files in /fr0 wich seems to contain the system data. When I start the Terminal now it shows me an error message saying: "ERROR No. 10: Fail in loading files or executing programs: Please recover the system program" I tried different things but I just can't get it to recover the system program. As I understood from the Manuals I need to copy the files in C:\Program Files (x86)\OMRON\CX-One\CX-Designer\RecoverUpdate_7_0 to a memory card and put that into the NS then start it. I also played around with the DIP switches on the back of the terminal but the terminal just doesn't do anything except showing me that same error message everytime I turn it on. I'd really appreciate to get some tips on how to it to work again.
  3. OPC write with VB application fails

    I was connected with CX-Programmer while testing, and that showed me Run-Mode. I'm quite sure it's in Run-Mode and Stays there. My VB Application is growing quite big, with a lot of queries, so it's getting slow. Could it maybe be possible that the application changes the Mode of the PLC whenever it requests data from it? That would explain why it's getting very slow.
  4. Reading from a .txt File

    Hi, I wanted to know if there is any chance to read from or display the content of a Text File that is stored on the Memory Card of the PLC with the NS Terminal. I see an Element called something like "Document View" (I have the German Version, there it says "Dokumentanzeige") in the Designer, but it's greyed out. Any suggestions on how to read from a Text File?
  5. OPC write with VB application fails

    I just tried because I never changed the PLC's mode for my VB Programm. My PLC is definitely in RUN Mode, but I can write to it.
  6. OPC write with VB application fails

    I don't use the wait option, not sure what it does though, but did you try without that?
  7. OPC write with VB application fails

    El Jimbo, I don't have a answer for you, but I think that would belong into an own thread.
  8. Inverting LED in VB application

    Hi Bertie, seems like you know a lot about programming for CX-Server, I just started to play around a little. I noticed that my programm gets slower and slower with every Data request I send to the PLCs. I'm programming a monitoring software for two PLCs (might be more PLCs in the future). At the moment I have a main window that shows an overview of the most relevant Data of the two PLCs plus a detailed form for each. It's all done with timers, I have one timer in each form except one form has two of them. I got to notice that sometimes a form wouldn't update data somehow. Maybe using up to 4 timers when all forms are open isn't very efficient. What would you suggest? Making one timer in the main form and declaring them as public? Or should I just change all the labels to bitlamps and other Omron elements? Regards, Vorbis
  9. Inverting LED in VB application

    I am veering away from using the Omron elements anyway. I prefer using standard VB elements and manipulate them with a timer and the AxComms.read() function.
  10. Hi, i'm programming an Interface for a PLC with Visual Basic and the ActiveX plugin from CX-Server Lite. I now would need an LED that is ON when the referenced Bit in the PLC is "0". Do I need to change the ladder program so that the bit has the right value or does anyone have a clue on how to invert this Bitlamp in VB? -Vorbis
  11. Hi, I have a PLC program (.cxp) and want to write a Visual Basic Application with Visual Studio and CX-Server Lite. To use the symbols defined in the ladder program I need a Project File (.cdm). I just can't figure how to generate such a project file without adding all the symbols manually. I tried to copy & paste the symbols but that didn't work. -Vorbis
  12. Programmierproblem: Variables Menü

    Even the german description of the problem is confusing, I don't get what exactly you are trying to do (I'm German). A more precise and well-thought-out question would more likely lead to an answer.
  13. And another update on that subject that might be interesting for others. This didn't do what I expected it to do: Text:=CONCAT(Text,'$N'); WRITE_TEXT(Text, Filename, '', 0); Whereas the following code writes "Text" into the File and adds an Line Break at the end. But, again, that File is displayed wrong in NotePad but correctly in WordPad and (most important to me) Excel. LineBreak:='$N'; Text:=CONCAT(Text,LineBreak); WRITE_TEXT(Text, Filename, '', 0); I wonder whether it's just strange or it's me not getting the point.
  14. Now I'm confused even more. If you insert the "$N" into the String instead of the third parameter of the WRITE_FILE command it works perfectly. It shows just one Linebreak in NotePad as well as other Text editors. Text:='one$Ntwo$N'; Filename:='\Filename'; WRITE_TEXT(Text, Filename, '', 0); Creates a Textfile with: This is all so confusing... they definately need to enhance Structured Text Programming. Vorbis
  15. My code (which I reduced to test) at the Moment is: Text:='test'; Filename:='\ename'; WRITE_TEXT(Text, Filename, '$N', 0); Mhh, strange. I just wanted to paste what I see in the Textfile. The strange thing is, the Fast Reply Window of the Forum gives me a line break where I see two squares in notepad. So probably my code was ok all the time but maybe notepad preferences are somehow strange? When I open it with WordPad or ConTEXT Editor it has two linebreaks, so I tried '$N1' but that resulted in the same, no linebreak but squares in notepad and two linebreaks in ConTEXT and WordPad. Does anybody know why notepad is giving me squares while other programms give me linebreaks? And why two linebreaks? Two linebreaks are better than none, but if possible i'd like to get it to giving me just one linebreak. Thanks for help and wishing us luck for the world cup, Paraffin Power, but it seems as if we don't need luck, we got skill ;) Vorbis