Jump to content

Craig McCanada

MrPLC Member
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Craig McCanada

  1. Sorry about that. The sensor is BSP0104, and the cordset is BCC030L. Link below. Sensor Link: chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://publications.balluff.com/pdfengine/pdf?type=pdb&id=268126&con=en Cordset Link: chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://publications.balluff.com/pdfengine/pdf?type=pdb&id=299010&con=en
  2. Hey everyone, I've been having problems with getting readings from my pressure sensor, to the NX-AD4204 Analog Input module. In my program I have the module added in, and I'm using 4-20mA input type. Can anyone help me figure out how my sensor would get wired to this module? Comparing the datasheet diagram, to the diagram on the side of the unit and what the actual inputs look like, nothing matches up. I've attached some pictures. I originally had my signal wire going to "A1" and then 0v going to "B2", but there was nothing. So the only way for me to get any signal is to go "A1" for signal, and "A2" for 0v. But i'm only getting an INTEGER of about 135, but should it not be reading into the thousands? If needed the sensor I'm using is Balluff BCC030L, with cordset Balluff BCC030L.
  3. So the variable "Open_Login_Page", is a global variable on the PLC. And I created that same variable on the HMI, then mapped it to PLC variable. So when that variable goes true in the sequence, it calls to open "Login_Screen". Which "Login_Screen" is the name of the page on the HMI.
  4. I could be wrong. But in the simulation, it's possible it cannot simulate global events that are triggered from the PLC program itself.
  5. Hi everyone, I'm using an Omron NX1P2 plc with their NA5 series HMI. I have a global variable that I've placed as an Output, and have created a global event in the HMI, which I linked the global variable to, to open the page. But when the output bit goes true, it doesn't open the page. I've tried using a Rising Edge trigger too and that didn't work either. Ps. This has only been tested in simulation, if that matters. Does anyone have an idea what I might be doing wrong? Thanks!
  6. Aah, I see now. So, I created a button labelled "LOG IN" and set the event as a "Click" and action as "Login()", so the Supervisor can change some parameters with his Level 5 access. And I created a "Log Out" button with the action set to "Logout()" for when he's done. Thanks for the help guys! Much Appreciated.
  7. Ok, I think this is what I need but just to use on certain buttons now on the main operating screen. But just to make sure I got this right.. If I program a button with access Level 5, and someone tries to enable that button, it'll have a pop-up window to type in a Username and Password? Then only people with level 5 access can access that page?
  8. Hi, I have a screen developed for supervisor access only but I would like to have an area to type in a password, and when the password is typed in correctly I'd like it to open a certain page. I'm not experienced with interactive text boxes or keypads etc. Is someone able to help me out determine what I need to do? Thanks
  9. Thank you DonNH, this is exactly what I was looking for!
  10. Can someone please help me figure out how to create a 12 hour long timer function in Sysmac? Or at least help me determine which timer function (in any) is best suited to create this long of a timer? Or will this require a counter instead? If so, does anyone have an examples on how to go about this? I'd like this timer to start it's function when powered up, and after the 12 hour timer is finished I will have it open a certain page on my HMI. Thanks!
  11. Good afternoon, I'm trying to add a custom image to the screen saver on the NA5 HMI, has anyone had experience with this? I can get to the screen saver setting on the device but there's only "Blank" screen as default, but I'd like to add my own image instead. Can anyone help? Thanks!
  12. If I have a mechanical push button (N.O.) in my application, would I have to display it in my PLC program? I have a push button that I'm planning on using to trigger a smart camera to run it's program, so I want to hook it up from my Output_Bit_00 (once it has been set) from the PLC to the cameras trigger wire.
  13. The printer supports serial, usb, wifi and ethernet. But I will be using Ethernet. PLC = Omron NX1P2 HMI = Omron NA5 Printer = Zebra ZD421T (desktop printer with ethernet module)
  14. I think I understand now, so say if I were to use Latch Example 1 I would create those set of rungs for each of the 12 momentary buttons?
  15. What do you mean by "Latch your Action Bit in the PLC"?
  16. So right now the 12 buttons on the HMI (beginning of the program) are Toggle Buttons, which i want to keep highlighted until the whole program has been completed successfully. Will those automatically reset at end of the cycle (in my program as it is) or no because they're Toggle Buttons?
  17. Eureka! The checkbox did work, I never would've thought of that. Thanks! And I'll delete the END function, i just assumed I needed it to end the program as that is the whole program there, it's not a big one at all. One last question, at the end of the process does the program automatically reset everything or would I have to add in a reset function of some type?
  18. I just looked at everything and it all checks out, and I only used that Output coil (HMI_CONTROL_STATUS) once. I've attached the program here, it's quite small. If you have time can you take a look? Thanks 12207_PLC-HMI_2023.10.24.smc2
  19. Thanks, I will look into that. And no, I took the structured text out as it would technically be redundant right?
  20. I can share it but first look at this picture and see what you think.
  21. That's the thing, the BitLamp0 doesn't turn green on its own when I ran it yesterday. By the sounds of it I may have some other issues in my program.. Ps. I'm very new to programming, I've only started about a month ago and have had zero experience in this field before. Lol
  22. Morning guys, I was running the program yesterday properly. I selected "Run with NA Simulator" while I had the NX activated. I just didn't send you a picture of the NA Simulation. But I think I made this all work, I created some Structured text and when I simulated it and moved the certain IO's to true the Lamp changed. I didn't think this would be needed but it seems to be ok.
  23. Good afternoon, I've done a bit of research in regards to running a Zebra printer via ethernet from an Omron PLC but there's not much info out there. Has anyone had much success printing barcodes to a Zebra printer from PLC via ethernet? I'm using an Omron NA5 (HMI) which I've designed to displays 12 different buttons indicating different barcodes, but I'm unsure how to link these buttons to the specific barcode files that I've created in Zebra Designer.. Would anyone know how I might be able to accomplish this?
×
×
  • Create New...