Manual
2 USB Flash Drives
30-36 WindO/I-NV2 User’s Manual
Notes on comments
To add comments to the USB Autorun definition file, use a semicolon (;).
All text after the semicolon (;) and up to the line feed will be treated as a non-executable comments.
Restrictions
• The maximum number of characters per line is 512 single-byte characters including line feed codes.
All the text on the line will be ignored if there are more than 512 single-byte characters on the line.
• Each item must be described as a single line. If a line feed occurs before the end of the description, all characters
after the line feed are ignored.
• The maximum size of the USB Autorun definition file (hgauto.ini) is 512 KB. The file cannot be used if it exceeds
this limit.
• Only line feed codes of the format generally supported by Windows (CR+LF) are supported. If any other format is
used, the USB Autorun definition file (hgauto.ini) will fail to run properly.
Sample definition file and explanation
Sample definition
; sample hgauto.ini
(1)
[AUTORUN]
item = 5 ; number of items
button_command = Enable ; enable individual command buttons
button_runall = Enable : enable the "Run All" button.
language =English ; use English
(2)
[COMMAND_1]
command = PRO_DOWNLOAD ; download the project file
src_path = "B:
\HG3G_DEMO_1.ZNV"
; source path
title = "Production line A - replace display program" ; button label
(3)
[COMMAND_2]
command = FILE_COPY ; copy a file
src_path = "B:
\Error.wav"
; source path
dst_path = "A:
\HGDATA01\SOUND"
; destination path
title = "Replace sound data" ; button label
(4)
[COMMAND_3]
command = LDR_DOWNLOAD ; download PLC program file
src_path = "B:
\LDRDATA\LDR_PROGRAM.ZLD"
; source path
dst_port = COM1 ; destination port number
dst_net_no = 0 ; destination station number
title = "Production line A - replace PLC program" ; button label
(5)
[COMMAND_4]
command = PRO_UPLOAD ; upload a project file
dst_path = "B:
\Uploaded_Project"
; destination path
title = "Copy display program to USB flash drive" ; button label
(6)
[COMMAND_5]
command = LDR_UPLOAD ; Upload a PLC program file
dst_path = "B:
\Uploaded_Program"
; destnation path
src_port = COM1 ; source port number
src_net_no = 0 ; source station number
title = "Copy PLC program to USB flash drive" ; button label
(7)
[COMMENT]
comment = " Press the command to execute." ; Message shown at bottom of screen.