2 USB Autorun Function
31-32 WindO/I-NV4 User’s Manual
Explanation
(1) This definition file displays five command execution buttons on the menu screen displayed by the USB Autorun
function. It also enables the Run All button. All button labels and messages are displayed in English.
(2) Downloading a ZNV Project File from a USB flash drive to the MICRO/I.
(3) Copying a sound file from a USB flash drive to an SD memory card.
(4) Downloading a ZLD Project File from the USB flash drive to the PLC connected to the MICRO/I.
(5) Uploading a project to a USB flash drive.
[AUTORUN]
Defines the number of commands to use and details about the menu
screen.
item = 5 Specifies that five commands will be used.
button_command = Enable
Enables execution buttons for each command from [COMMAND_1]
to [COMMAND_5].
button_runall = Enable Enables the Run All button.
language = English Displays all button labels and messages in English.
[COMMAND_1]
Defines the command assigned to execution button [COMMAND_1].
This is the first command that executes when Run All is pressed.
command = PRO_DOWNLOAD Executes “Download a project (ZNV Project File)”.
src_path = "B:
\HG3G_DEMO_1.ZNV"
Downloads the ZNV Project File “HG3G_DEMO_1.ZNV” saved on the
USB flash drive (B:) to the MICRO/I.
reset_keep_device = Enable Initializes the keep devices.
title = "Production line A - replace MICRO/I
program"
Displays the text “Production line A - replace MICRO/I program” as
the button label.
[COMMAND_2]
Defines the command assigned to execution button [COMMAND_2].
This is the second command that executes when Run All is
pressed.
command = FILE_COPY Executes “File Copy”.
src_path = "B:
\Error.wav"
Copies the sound file “Error.wav”, saved on the root directory of the
USB flash drive (B:), to the “SOUND” folder under “HGDATA01” on
the SD memory card (A:) inserted in the MICRO/I.
dst_path = "A:
\HGDATA01\SOUND"
title = "Replace sound data" Displays the text “Replace sound data” as the button label.
[COMMAND_3]
Defines the command assigned to execution button [COMMAND_3].
This is the third command that executes when Run All is pressed.
command = LDR_DOWNLOAD Executes “Download a PLC program (ZLD Project File)”.
src_path = "B:
\LDRDATA\LDR_PROGRAM.ZLD"
Downloads the ZLD Project File “LDR_PROGRAM.ZLD” stored in the
“LDRDATA” folder of the USB flash drive (B:) to the PLC (slave
number 0) connected to the MICRO/I's COM1 port.
dst_port = COM1
dst_net_no = 0
title = "Production line A - replace PLC program"
Displays the text “Production line A - replace PLC program” as the
button label.
[COMMAND_4]
Defines the command assigned to execution button [COMMAND_4].
This is the fourth command that executes when Run All is pressed.
command = PRO_UPLOAD Executes “Upload a project”.
dst_path = "B:
\Uploaded_Project"
Uploads the project used to operate the MICRO/I and saves it as the
ZNV Project File in the folder “Uploaded_Project” on the USB flash
drive (B:).
title = "Copy MICRO/I program to USB flash
drive"
Displays the text “Copy MICRO/I program to USB flash drive” as the
button label.