When connected to a running X20CP3686x, it says it's offline

I have setup the ethernet connection of the PLC, then transferred the software via a CF card to the X20CP3686X. When I go to Online/Settings it appears, but when I click connect, in the bottom right corner it says the PLC is Offline and I can’t interact with it, even though is it on and running. What might be the reason? Am I not understanding something?

I have bad experiences with the connection to a target that I just found in the list. What usually works is to make this a local connection by Drag&Dropping it from the browse window to the left side, then pressing “Connect” there.
On older studio versions there is also the column “Source Ina node” which you can try setting to some random value between 1 and 255, e.g. 100 and then connecting again.

Hope any of that helps
Best regards

1 Like

Another thing you could try is restarting the PVI Manager. Look for the PVI Manager icon in your Windows taskbar. Right-click on this and click Exit PVI Manager. Then, start the PVI Manager from your Windows start menu.

1 Like

I tried both connecting directly and draggin/dropping and then connecting from there, nothing changes. The IP address of the PLC appears in the botto left corner, but it still says offline. The PLC is on and running as confirmed by the LEDs on the front.
I’m confused because it seems a straghtforward thing, maybe there’s something I’m not understanding?
I can both see and ping the IP address and get a response


image

May I ask which IP address your PC uses ?

At the moment, I have setup the ethernet port at 192.168.123.10

I can ping the PLC from the command line

1 Like

And I see “Source INA node number” being “1” which I also told you to try change :wink:

Yes, sorry I forgot to mention I’ve tried to change it to many random numbers, then disconnect and connect again, but nothings changes :frowning:

INA is no longer used and obsolete - so this number is irrelevant
You can see “ANSL=1” which is correct as ANSL is the way our PLCs use to communicate nowadays

To add more infos to the mistery: I’ve restarted the PLC, but before doing so I’ve taken out the CF card and switched (with the analog rotating switch) to Onboard software. Now the PLC does not appear anymore, but I can still ping it in the command line :thinking:




also here is a proof that PLC is running normally, no CF card in the picture

After discovering this, I’ve made some tests: if I switch to the Onboard software the X20CP3686X does not appear anymore, while if I switch it to CF card it appears. I’m suspecting there is a difference between the software installed and the one in the card, but if the card is installed should’t it be the same?

I’m Using AS 4.10 and AR 4.91

Hii,

if the PLC can be found depends on project settings: if SNMP is disabled in the ethernet interface settings, the PLC can’t be browsed online.
So yes, I assume that the setting in the project installed in the internal memory could be different from the setting used in the CF card project.

This setting called “SNMP parameters → activate SNMP” can be found in the ethernet interface configuration.

Best regards!

1 Like

Hi again,

have you created the project used on the CF card in your own / from scratch?
I’m asking, because also some settings about the online communication protocol can be changed in the project:

  • the protocol can be switch off completely
  • the protocol TCP port can be changed
  • the protocol TCP port could be blocked by the AR firewall
  • the protocol can be secured by using TLS
    … every of those options can / will change the behavior, if and how to come online.

So if you haven’t created the project by yourself, you should have to have a look into the project sources if some settings aren’t set to default by checking the setting " CPU properties → Online parameters"

If the’re no settings different to the default settings, maybe the PLC load is too high (the online communication utilizes the PLCs idle time)?
Can you please try to open the System Diagnostics Manager (SDM) and check the CPU load?

Best regards!

Hi Alexander, thanks a lot for the suggestions!

Yes the project is not mine and I didn’t know about these settings; I will noow try them, but first I have some questions.

I think I misunderstood how the software upload works in the PLC. I’ve understood that the PLC has an internal memory where the software can be uploaded, or I can use the CF card. I thought that the software inside the PLC was copied from the CF card inserted (naive misunderstanging), but actually the two are separated in general am I right? If I’m right now, then my question is how exactly do I upload software inside the PLC, and not with the CF card. My doubt comes from the fact that I tried to create a simpler project and transfer it in the CF card, then once the card in inserted and the PLC switched to CF it connects and says RUN, but if I switch to the Onboard software (where apparently the other project not created by me is loaded) I cannot connect anymore (probably because of those settings you mentioned). Someone uploaded that project in the PLC with wrong settings and I would like to change it so I can make some tests and have a better understanding

Hi,

Yes, you’re right. Internal and CF flash are two separated memories, there’s no interaction between them. You can choose which memory to use by the mode switch, but only exclusive usage is possible (you can’t use both at the same time).

This should possible by preparing a USB Stick with the suitable project using AS (please see here, scenario 2c), plug the stick into the PLC and switch the PLC to BOOT mode by using the Boot/Reset button (please see here in the help, and some more information in the solution of this thread).

Another option could be switching the PLC to BOOT mode and do an installation online - please see this thread for a perfect description how to do it:

Hope that helps a bit.
Best regards!