Start The Program; Transfering An Application To The Thinkio-P - Kontron ThinkIO-P Manual

Hide thumbs Also See for ThinkIO-P:
Table of Contents

Advertisement

CoDeSys PLC
6.8

Start the Program

To start the program select Online and then click Run.
7.

Transfering an Application to the ThinkIO-P

One way to transfer a CoDeSys application program to the ThinkIO-P is to log in to the ThinkIO-P
from the host PC and transfer the application using the CoDeSys Development Environment.
This requires an Ethernet network connection.
Another way is the on-the-fly update of a CoDeSys boot project from an external non-bootable
CompactFlash card. First, on the host PC, create a CoDeSys boot project and transfer it to the
CompactFlash card to the directory "/data" in the "root" directory. The boot project files must
be renamed to: DEFAULT.CHK and DEFAULT.PRG.
Then, after ensuring that the ThinkIO-P is switched off, insert the CF card in the ThinkIO-P and
restart it. At boot time the ThinkIO-P detects the files "/data/DEFAULT.CHK" and
"/data/DEFAULT.PRG" on the external CompactFlash, and then "/data" will be recursively
copied to the onboard Flash memory "/data" directory (read/writable partition). After the
copying is finished, halt the system, turn power off, remove the external CompactFlash card,
and reboot the system.
A third way is to transfer the boot project using ftp into the "/data" directory on the ThinkIO-P.
After the transfer is finished, log in to the ThinkIO-P per telnet or directly from the console. Now
run the "sync" command and then reboot the system. This solution can be used only if enough
memory is available on the onboard flash.
Page 30
PROGRAMMING ASSISTANCE GUIDE
© 2007 Kontron Modular Computers GmbH
ThinkIO
- P
ID 29867.06, Rev. 01

Advertisement

Table of Contents
loading

Table of Contents