Sign in to follow this  
Followers 0

HMI graphics missing and PLC no response error

2 posts in this topic

Hi all, I'm hoping someone can help me successfully download a program from NB Designer to a HMI and get it to talk to the PLC. I am still a beginner, I've had some success with PLC programming but this is my first HMI. The HMI I have is a NB5Q-TW01B, and the PLC is a CP1L-EM40DR-D. I have followed the instructions on here: to connect them physically and to do the settings/IP addresses in NB Designer and CX Programmer. There are two PLCs in the article but I only have one. I've written a simple program with a switch on the HMI that should turn on one of the PLC outputs, and a lamp on the HMI that should turn on when one of the PLC inputs is on. Both the NB Designer and CX Programmer programs compile successfully and have been transferred to the devices.

The PLC and HMI are connected via Ethernet (as per the article) and I have set up the NB designer program to download via USB connection. When I download the program it appears to be successful (it says 'Download succeeded!' in NB Designer). However, my switch and lamp graphics do not appear on the HMI. I tried adding some random text and coloured shapes to the HMI screen, and those things do appear on the HMI while the switch and the lamp are still missing. There is a message that says '[2] PLC No Response: 00-02-3'. The LINK/ACT light on the PLC is flashing.

It seems as though I must missed something in the PLC-HMI connection, or when trying to link the button and lamp graphics to the PLC program. Could someone help me to identify where I might be going wrong? Some things I am unsure about are:

  • I'm not sure if the switch and lamp are missing BECAUSE of the PLC No Response error, or whether I have two separate issues here
  • I am using the Work Area for data between the HMI and PLC, simply because that's what I've seen used in YouTube videos. I've matched the addresses of my signals in CX-Programmer (e.g. address W0.00) with the switch on my HMI (selecting 'W_bit' in Area/Variable and '0.00' in Address). Is that the correct way to go about it? Are there any other settings I would need to change to make them talk to each other via these addresses?
  • During one attempt to download the program I ticked 'LOGO File', 'Clear Recipe', 'Clear Event History', 'Clear Data History', 'Clear ERW Data' and 'Clear FRW Data'. The program hadn't been working prior to this, so it was sort of a last ditch attempt to get some response from the HMI. Something did seem to happen, because the loading (logo?) screen on User Project Mode changed slightly after that. But I wonder if by clearing all that other data I might have created more of a problem for myself.

Thanks in advance for your help!

Share this post

Link to post
Share on other sites

Update: After a few more hours of fiddling around we got it to work! Not sure exactly what fixed it. Some of the things we did:

  • Ticked the 'Settings' box when transferring the CX-Programmer program to the PLC (We realised we hadn't done this originally)
  • Tried a different network switch and different IP addresses
  • Tried new ethernet cables
  • Went back to the original network switch
  • Tried starting a new NB Designer program and using all the default settings and IP addresses
  • Switched the node numbers (HMI became node 2 and PLC became node 1)
  • Tried a different HMI, same model but older (it worked!)
  • Switched back to the original HMI (it worked!)

Somehow after all of all those things it started working. I think ticking the settings box when transferring the PLC program was probably an important step, but it still didn't work immediately when we did that. I would also note that while the HMI node is '2' in NB Designer, on the HMI itself (in Systems Settings Mode) it is '0'. This doesn't really make sense to me, but it works. Just in case any other beginners are reading!

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0