Jetter AG
115
JVM-507B
Automatic copying of controller data
Example of a command file
New functions are to be added to an installed JVM-507B. To this end, the
following modifications are required:
Operating system update
New application program
New values for some of the registers
You copy the required files to a USB flash drive and create a command file for
the Autostart function.
The USB flash drive contains the following files:
The file
autostart.bat
The new OS
A .da file containing the new register values
A file
start.ini
and a .es3 file containing the new application program
@echo off
if not exist \app\autostart.exe goto end
if exist \app\update.ini goto end
if exist \app\usb_update_process_marker goto dm
echo \data\update\jvm_ce0_1.00.0.04.os >\app\update.ini
md \data\update
copy \%1\jvm_ce0_1.00.0.04.os \data\update\jvm_ce0_1.00.0.04.os
echo >\app\usb_update_process_marker
md \app\progtest
copy \%1\progtest\progtest.es3 \app\progtest\progtest.es3
copy \%1\register.da \app\register.da
del \System\reset.exe
goto end
:dm
del \app\usb_update_process_marker
:end
Task
Solution
USB flash drive -
Content
Command file