Man_G Posted Monday at 01:57 PM Report Posted Monday at 01:57 PM Hi. I would like to know how to control my motor using NB HMI and the Sysmac Studio on NX1P2 PLC. I have already established communication between the NX1P2 and NB HMI and the simulation works. My goal is to use the HMI to activate the motor connected to the NX1P2 PLC which has a program linked to NB HMI. In short, how does an HMI link physical I/O. I would appreciate any working suggestion or guidance.
Solution Parky Posted Monday at 06:16 PM Solution Report Posted Monday at 06:16 PM Normally, you would not use the physical I/O to control the motor but use internal bits to control the motor output Like the attached, Cannot remember the memory map (internal bits/words) but the only physical I/O will be the output to drive the motor (assuming this is a simple direct on-line motor wired not communicating to a VFD. Use internal bits for buttons on HMI but you could use the physical output in the PLC & display its status using that bit. Your post is a liitle lacking information but below is a simple start stop logic using HMI buttons linked to internal bits as energise when pressed
Crossbow Posted Monday at 08:57 PM Report Posted Monday at 08:57 PM Yeah, for sure no answer will be solid if you don't provide more info. How is the motor connected to the PLC? What are you trying to control? On/off, speed control? If you are trying to turn on a PLC output, make sure you put a variable on the appropriate output in the I/O Map screen and then turn on that output with your PLC program or HMI buttons.
Man_G Posted 14 hours ago Author Report Posted 14 hours ago Apologies for not being clear and offering details to assist my query. Anyway, I've decided to rephrase the question to a simply program that could offer definite answers. I've attached some screenshots of my simplified program. My intention is to link the physical I/O to the NB HMI and the PLC, just as it will be the case for a SCADA system. Simply put , the field activation of either input push buttons and the subsequent response of the LED should be reflected on both the PLC program and the NB HMI. I trust that any simplification of how this task accomplished will speedup my understanding of how HMIs work in OMRON.
Man_G Posted 13 hours ago Author Report Posted 13 hours ago Let me start by acknowledging MrPLC's answer which has enlightened me. Thank you. I managed to get the output for external LED to light up, however on the NB HMI the output did not switches on . The remaining question now is how to get the LED on NB HMI to respond concurrently with the physical LED. What I've noticed is that the instant I assigned LED to I/O Bit 03, the Global Variable changed from %W100.00 to BuiltInIO://cpu/#0/Output_Bit_03. Any suggestion or tested solution will be greatly appreciated.
Crossbow Posted 11 hours ago Report Posted 11 hours ago You can't have both a physical output and an address in the AT column, it's one or the other. In your program, turn on 2 outputs, one for the physical and one to share with the NB.
Parky Posted 10 hours ago Report Posted 10 hours ago Here. this assumes your physical stop button is N/C type so it can be started/Stopped from the I/O or from the HMI
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now