Page 1 of 2

[TD700] remote reboot

Posted: 23/07/2015, 8:58
by user10683
Hi,

How to reboot IHM remotely ?

I update my PageLab application and now I have a black screen (I can still connect to IHM with vnc).

But I cannot connect with LogicLac or PageLab so how to reboot IHM ?

Thank you

Eric

Re: TD700 remote reboot

Posted: 23/07/2015, 9:27
by Pixsys tecnico 1
Hi,
try to delete LogicLab and PageLab project deleting via FTP the files "PLCcode0.bin" and "PLCcode1.bin" from the directory \NandFlash\LLEexeCE\

Also control that "Autostart" and "with PageLab" flags in TdControlPanel are checked".

Then try to connect with LogicLab and transfer again the project.

Re: TD700 remote reboot

Posted: 23/07/2015, 9:30
by user10683
But I forgot to open FTP port :(

All is checked in TDControlPanel.

So it is not possible to reboot physically the IHM remotely when PageLab and LogiLab are running ?

Re: TD700 remote reboot

Posted: 23/07/2015, 10:16
by Pixsys tecnico 1
You can reboot PageLab (not the Operating system) using the function "HMIRestart(0);" in a procedure.

In your case I think something block (or loop) the execution of the PageLab.
So you must rebbot the HMI phisically and select only "Autostart" fla on PLC tab in TdControlPanel.
In this way I think you can connect with logiclab and page lab and re-transfer the project.

Re: TD700 remote reboot

Posted: 23/07/2015, 13:41
by user10683
Is it possible to transfer code directly by FTP ?

The problem is that I see no .bin in my directories.
We are forced to pass by LogicLab and PageLab and code download ?

Re: TD700 remote reboot

Posted: 23/07/2015, 14:21
by Pixsys tecnico 1
If there isn't any .BIN in the directory Nandflash/LLExecCE, means that there isn't application installed.
If you connect to LogicLab, you will see "no code" on the right-down corner of the screen.

If you want to copy an application from a TD to another, you must copy the source "LLExecCE" directory to your PC, delete the file "LLExec.key" and paste the directory to the other TD.

Re: TD700 remote reboot

Posted: 23/07/2015, 14:55
by user10683
Sorry there were bin files in Nandflash/LLExecCE (one of 0k this is why the pagelab stay black).

What I mean is there is no other way to upload compiled code to IHM than using PageLab/LogicLab ?

We cannot compile local PageLab/LogicLab project and then send files with FTP ?
No bin are created on local PC ?

Re: TD700 remote reboot

Posted: 23/07/2015, 15:41
by Pixsys tecnico 1
No.

Delete the two files "PLCcode0.bin" and "PLCcode1.bin" and restart the TD (it will be empty, and show all black).

Then connect using LL and trasfer logic, PL and transfer graphic.

Re: TD700 remote reboot

Posted: 23/07/2015, 16:34
by user10683
Ok.

It's hard to reboot IHM when it is so far from us and not respondig with LogicLab :(

There is no way to reboot it via lan command ?

We are not always physically in front of IHM !

Re: TD700 remote reboot

Posted: 23/07/2015, 16:40
by Pixsys tecnico 1
In TdControlPanel there is a big button: Reboot HMI. Use it.

If you can't run TdControlPanel you must reboot HMI manually powering-off and on or using the hidden button near the forntal usb.

There isn't another way.

Re: TD700 remote reboot

Posted: 23/07/2015, 16:49
by user10683
Yes but how to run TdControlPanel when I have a black screen I can't return to desktop with VNC !
How to kill PageLab/LogicLab from VNC ?

Re: TD700 remote reboot

Posted: 23/07/2015, 17:14
by Pixsys tecnico 1
If you can acces via FTp to the TD, copy the file attached (extract it) in "/NandFlash" (before, I reccommend you to rename the old file).

In this way TD will start on desktop. So you can delete the files and restart LL and PL manually

Re: TD700 remote reboot

Posted: 23/07/2015, 17:16
by user10683
Perfect I will test that.

Thank you

Re: TD700 remote reboot

Posted: 23/07/2015, 17:20
by user10683
But I need to restart IHM ?

Re: TD700 remote reboot

Posted: 24/07/2015, 8:08
by Pixsys tecnico 1
The first time is required.

Re: TD700 remote reboot

Posted: 24/07/2015, 8:52
by user10683
In fact I think it will not answer to my question :(

Ok i will boot on the desktop but once I will run PageLab if something goes wrong (bad programming, ...) I will be blocked again ?

Re: TD700 remote reboot

Posted: 24/07/2015, 9:16
by Pixsys tecnico 1
Yes.
However it's very strange that PageLab blocks the runtime, normally it's the logiclab (due to a division by zero etc).

Re: TD700 remote reboot

Posted: 24/07/2015, 9:21
by user10683
The really strange think is that the transfer where 100% complete with no error and when I checked the file on the FTP it was at 0k !

Re: TD700 remote reboot

Posted: 24/07/2015, 9:39
by Pixsys tecnico 1
Yes, it's strange, so in this case:
-delete the file via FTP;
-close pagelab
-reopen, compile and retrasfer

Re: TD700 remote reboot

Posted: 24/07/2015, 9:50
by user10683
But just after transfer LogicLab won't connect anymore.

So if I delete files on FTP and reopen LogicLab and PageLab it would be OK if the problem reappears ?