MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About BitsNBytesRookie

  • Rank
    Hi, I am New!

Profile Information

  • Country Netherlands
  1. Random Number In SCL (Siemens CPU1500)

    Hello, For a small project I want my SCL code to come up with a random number between 0 and 3. There are no functions that are capable of producing these random numbers. So how should I approach doing this? I have read about some algorithms on the internet, but pretty much all of them are really hard to understand or won't produce the desired result. Anybody that has a good idea? Or maybe some sample code? Thanks in Advance. -BitsNBytesRookie
  2. Omron CJ1M-CPU13-ETN to .NET Framework

    Thank you very much. I found a teacher that has knowledge of OPC, he will help if I need any help. Thank you very much for your time and knowledge ;)
  3. Omron CJ1M-CPU13-ETN to .NET Framework

    Thank you for your reply. I Learned some things from the program you gave me, and I'm busy reading the manual. Does anybody have like a more recent application that I can use to understand how to do certain things, such as reading and writing data to the PLC? --Thanks in Advance.
  4. Omron CJ1M-CPU13-ETN to .NET Framework

    Hello People, In my school we had an assignment to program a Sorting machine using an Omron PLC and CX-Programmer. Now we got the assignment to make an HMI that we can open on our own computer (Windows 8.1) so that we can control various things of our program, such as reading and writing bits, and other data (To the PLC obviously). Now I only have very little experience in reading and writing data from a PLC (Using a PC), I have used the libnodave library to connect to a Siemens S7-300 PLC. With this I managed to read and write bits, and also read and write data to a DataBlock. We wrote this program in Visual Basic 2013 using the .NET Framework with the libnodave library as an added extension. Now I have searched far and wide on the internet but have not come across any good examples of how to do this with an Omron PLC. So I hoped that I could get some advice from you guys. What I'm asking is if anybody here has maybe a link to a guide/ example program/ manual that could get me forward? And if I can easily get this done with Visual Basic, by adding an extension, could anybody tell me which extension this would be? And where I could find it? I appreciate any help. :D Thanks in advance, BitsNBytesRookie