skyfox

MrPLC Member
  • Content count

    111
  • Joined

  • Last visited

Posts posted by skyfox


  1. Has anyone done this? I want to be able to connect to an NX1P2 PLC from a remote location over an internet connection. If you have, can you share what is required to do this? For the most part at this stage, security is of no concern. NX1P2 is on a dedicated network that is exposed to the internet at the remote location, that no other device at the remote location, has access to.  A hacker can't do much, if any, damage. I want to be able to connect to it from off-site and be able to do online edits. How can I do this or what is required to do this on this OMRON platform? I have done this easily with some other brands of PLC's that are 20+ years old. Stuck on this.


  2. I am not too worried about anyone hacking into this network in this particular scenario. I have isolated this network from the corporate WAN/LAN networks. There is not much damage, if any, a hacker can do to this set up. Are 9610 & 2224 OMRON ports?  This is an experimental set-up. Just wanting direct access to the PLC over the internet. Once that is established, we will implement strict hardware mac-address based security during the next development phase. For now, three collaborators scattered around the globe, trying to connect to this PLC over the internet.

     

    Cheers.


  3. Current Set-up:

    OMRON NX1P2

    MAPLE SYSTEM HMI

    WINDOWS PC

    All on a dedicated LAN with access to internet via a cellular modem with a static WAN IP. This network is 100% isolated from any other networks in the office. I can remote desktop into the PC. I do not have Sysmac studio installed on this PC. I can see and control the MAPLE system HMI from this remote desktop connection. Question is, how do I connect directly to the NXIP2 over this internet connection? (Without using remote desktop.) I have port 44818 forwarding set to local LAN IP of NX1P2 in the Modem/Router.

    In the Rockwell world, I am able to do this by simply setting up a driver in RSLINX with the rempte WAN IP address and the required port forwarding to the local LAN IP of the PLC at the remote location. is there a way to do this with NX1P2?

     

    Cheers.

     


  4. Is it possible to enumerate all the files in the SD card get their names into a string array?

    File names will have the format...

    RUN0001 data.csv

    RUN0002 data,csv

    .....

    RUN9999 data.csv

    I want to be able to first find the # of data files (get a count) and load the first ten file names it finds into an array and display those names on the HMI. User then presses a button on HMI and PLC gets the next 10 filenames to displays and so forth. All file names on the card will have the same name format (fixed length file names).

    Can this be done with Sysmac studio and NX1P2? I did not find any SD function blocks that had this capability.

    Cheers.

     

     


  5.  

    OMRON's manual description states "Decimal output value is 0 to 100%" for -15000 to +15000 raw counts for a ANALOG out signal -10VDC to +10VDC.Does that mean instrument value of Zero is raw count value of -15000 counts in this case? Or, is Zero is instrument Zero and +15000 = Instrument's high EU?

    I am unable to attach a pic. (Tried BMP, PNG, and JPEG. none of them are working. Size is only 50KB well below 3.9MB limit.) This is for an Analog output card NX-DA3605

    SPEC STATES: -10V to +10V

    Resolution 1/30000

    Omron manual states decimal output value is "0 to 100%" and directly below that is the RAW count shown as -15000 to +15000 implying -15000 count = 0%

    My instrument 0 = 0VDC and 100% EU = 10VDC.

    Just trying to figure out OMRON's verbiage.

    Thanks.

     

     

     


  6. On 2/18/2023 at 4:58 AM, JYG said:

    You can look at Omron Instructions manual or on line help under SktUDPCreate() function for a complete example on the server side and client side.

    You must choose to use UDP or TCP for your application.

    Usually the PLC is the server and wait request from client but you can also choose to send data to client as soon new data is available. Your decision.

    If you have specific questions I will answer you.

    Thanks. I will have a look.


  7. 52 minutes ago, icanet said:

    Really George? (What else?)

    I know it...... OK, for various reasons we are being forced to use the Sysmac Studio environment. I'm solving the previous disadvantages that I mentioned doing some programming tricks. But is better that the environment offers better solutions, really? Nothing more to add.

    But this is a forum to get help with WHAT WE GOT NOW. No? Oh and by the way, it is Mr. George. All kidding aside, have you looked in to the possibility of a FUNCTION block as the final product that you want with your STRUCTURE?

    Thank you kindly.


  8. 28 minutes ago, icanet said:

    Please, abstain from being ironic. I know that the Sysmac Studio environment is still young and the developers continue to work on their development; I only bring comments from certain limitations that currently presents and that can be used to try to improve the environment.

    Your first comment has been an ironic attack where you do not bring anything interesting, we should try be professionals, thank you. Let's leave the misunderstanding at this point. And sincerely, thanks for reading my point of view, I know that after reading it, you will have realized that everything is true.

    Like i said, If i don't like what the yellow car is offering at this time, I will buy the RED one that has everything I want NOW.

    Cheers!

     


  9. 1 hour ago, icanet said:

    @skyfox, sorry i'm to show some points where the sysmac studio environment could be improved. If you have been lucky (and capable) of being able to test environments such as TIA Portal or environments based on Codesys where you have been able to express your creativity when programming, you will know what I am talking about.

    For example, the motion environment in sysmac studio is so good, very friendly and powerful.

    The tools that sysmac studio offers now at this time, harm the performance of the PLCs, due to the fact that it is necessary to do an OVERtreatment of the data, in addition.  If you are not able to see this, you should change your job. I am being a constructive critic, I am not discrediting the environment. Thanks for the comment.

    I am sorry for misinterpreting your post. As you pointed out, I have failed miserably. Sincere apologies. What the HEX. I will take your advise and go back to programming a DL-06.

    Cheers!!!


  10. I am not sure what your approach to solving problems is. As for me, when I have this many issues, I do one of two things.

    1. Switch my PLC platform.

    2. Change my job.

    But that's just me. Helps keep my blood pressure in check and most importantly, my co-workers will never, ever, ever, ever, have to worry about me one day walking in to work locked and loaded because I couldn't move a DINT to a FLOAT register. In Swahili. But that was in 1990. They may have that technology now.

    Cheers!

    1 person likes this

  11. This is not an an issue, but rather an FYI to those like me, that didn't know Sysmac simulation actually simulates writing to an SD card by creating a file in your local PC. I was curious as to how my write to SD card logic worked without any errors. So while in simulation mode and without an SD card installed on my PC, I did a search on my computer for my filename.

    IT FOUND IT!!!

    Now I can see all of my file composition errors.

    YaaaaaaY. Happy days.

     

    File gets created in a folder in root (C:\) drive's OMRON folder under several sub folders. See the full path below.

    627ed44c4ed27_SIMSDWRITE.png.d446967fab1

    3 people like this

  12. On 5/11/2022 at 5:28 PM, BE said:

    Open the Global Variables tab, the go to Project-Online Edit-Start. Same as you would for any other parts of your program.

    From memory, once you are in online edit in Global Variable, you can only add variables, they cannot be deleted.

    Thanks.

    I normally Right-Click on left side of the ladder window to get in to on-line edit/transfer mode. Figured it would be the same for Global Variables page. I figured wrong.


  13. Thank you.

    I am currently doing something similar to that using a variable with a data type of "Date_AND_TIME". I was trying to avoid doing it this way and was looking to see if there was a way to do it in PLC's hardware configuration. This was for a high speed data logging application and didn't want to waste time composing the date time format at each log interval. 

    Thanks again

    Cheers.