Command List (Non-procedure)

This section explains the input format for each command used in the serial normal method.
Commands are input with ASCII code.Both lowercase and uppercase letters can be used.
Scene control command
Command
Abbreviation
Function
References
SCENE
S
Acquires the current scene No.
Switches scene No. currently being used
SCNGROUP
SG
Acquires the scene group No currently in use.
Switch the scene group No.
Measurement control/Measurement value acquisition commands
Command
Abbreviation
Function
References
MEASURE
M
Perform measurement once
Start continuous measurement
Complete continuous measurement
SCRSWITCH
OFF
Switches the ADJUST window/RUN window
UNITDATA
UD
Acquires the parameters and/or measurement values of specified processing units
Sets the parameters of specified processing units
Settings acquisition/change command
Command
Abbreviation
Function
References
DATE
OFF
Acquires the current date and time
Sets the date/time
DISPCOND
OFF
Acquires the current image display status
Changes the image display state
SYSDATA
OFF
Acquires settings related to image logging
Changes settings related to image logging
VERGET
OFF
Acquires system version information
Backup/Restore commands
Command
Abbreviation
Function
References
BKDLOAD
OFF
Loads System + Scene group 0 data
BKDSAVE
OFF
Saves System + Scene Group 0 data in a file
DATASAVE
OFF
Saves System + Scene group data in the controller's memory
IMGSAVE
OFF
Saves the image data
SCNLOAD
OFF
Loads the Scene data
SCNSAVE
OFF
Saves the Scene data
SGRLOAD
OFF
Loads the scene group data
SGRSAVE
OFF
Saves the scene group data
SYSLOAD
OFF
Loads system data
SYSSAVE
OFF
Saves system data
Utility commands
Command
Abbreviation
Function
References
CLRMEAS
OFF
Clears all of the measurement values of the current scenes
RESET
OFF
Restart the controller

BKDLOAD

Reads system + scene group 0 data.
<Command format>
Command format - BKDLOAD
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
System + scene group data
File name
Specifies the name of the file to be read with a definite path (ex.: \USBDisk\abc.bkd).
Only files that are under the following systems and have a "BKD" extension can be read.
- RAMDisk
- USBDisk
Important
  • Do not turn off power to the controller until there is a response.
(Example)
When "LABEL1.BKD" in the "IMG01" folder of the USB memory to which the drive name "USBDisk2" is assigned is loaded to the controller
<Command>
Command example - BKDLOAD
<Response>
Response example - OK

BKDSAVE

The system + scene group 0 data currently being used by the controller is saved to a file.
<Command format>
Command format - BKDSAVE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
File name of system + scene group data
Specifies the save destination and file name during saving with a definite path (ex.: \USBDisk\abc.bkd).
Save destinations include directories under the following systems.Be sure to attach a "BKD" extension to the file name.
- RAMDisk
- USBDisk
Important
  • Do not turn off power to the controller until there is a response.
(Example)
When the currently used system + scene group 0 data is saved as "LABEL1.BKD" in the "IMG01" folder in the USB memory to which the drive name "USBDisk2" is assigned
<Command>
Command example - BKDSAVE
<Response>
Response example - OK

CLRMEAS

Clears all of the measurement values of the current scene.
<Command format>
Command format - CLRMEAS
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Window display status after clearing>
Judgement result
Unmeasured (0)
Value
0
Character string
Null character

DATASAVE

Saves system data and scene group data to the internal flash memory in the controller.
<Command format>
Command format - DATASAVE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
Note
  • If DATASAVE command is executed when using scene groups 1 to 31, system data is saved on the controller's flash memory and scene group data is saved to the USB memory. If there is no USB memory plugged in, ER is returned.
  • Do not turn off power to the controller until there is a response.

DATE

Acquiring date and time
Acquires the date and time from the internal calendar timer in the controller.
<Command format>
Command format - DATE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Year/Month/Date/Hour/Minute/Second
The acquired date and time are output as a response.
Year: 4 digits
Month: 2 digits
Date: 2 digits
Hour: 2 digits
Minute: 2 digits
Second: 2 digits
(Example)
When the current date and time is 08/30/2007, 12:30:00
<Command>
Command example - DATE
<Response>
Response example
Setting date and time
Changes the date and time of the internal calendar timer in the controller.
<Command format>
Command format - DATE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Year/Month/Date/Hour/Minute/Second
Set the date and time.
Year: 4 digits
Month: 2 digits
Date: 2 digits
Hour: 2 digits
Minute: 2 digits
Second: 2 digits
Note
  • <Hour: 2 digits>, <Minute: 2 digits>, and <Second: 2 digits> can be omitted during setting.Settings cannot be updated when these are omitted, however, and the previous time will be kept unchanged.
    Allowable omission patterns include "omitting <second> only", "omitting <minute> and <second>", omitting <hour>, <minute>, and <second>". Patterns that cannot be used include "omitting <hour> only" and "omitting <minute> only".
(Example)
When changing the date and time to 8/30/2007, 12:30:00
<Command>
Command example - DATE
<Response>
Response example - OK

DISPCOND

Acquiring the current image display status
Acquires the currently displayed image mode.
<Command format>
Command format - DISPCOND
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
View State
0: Through
1: Freeze or Freeze and Last NG together
2: Last NG
(Example)
When the current image mode is "Through"
<Command>
Command example - DISPCOND
<Response>
Response example - OK
Changing current image display status
Changes the currently displayed image mode.
<Command format>
Command format - DISPCOND
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Display image mode No.
0: Changes the image modes of all the windows to "Through"
1: Changes the image modes of all the windows to "Freeze"
2: Changes the image modes of all the windows to "Last NG"
(Example)
When changing the current image mode to "Last NG"
<Command>
Command example - DISPCOND
<Response>
Response example - OK

IMGSAVE

Saves image data.
<Command format>
Command format - IMGSAVE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Image data No.
Specifies the No. of the image data to be saved (0 to max. number of logging images (I_MAX)).
The maximum number of logging images can be a number with a maximum of 3 digits.The number of images will vary depending on the controller used and the camera connected.
About Number of Logging Images
Save destination
Specifies the save destination and file name during saving with a definite path (ex.: \USBDisk\abc.IFZ).
Save destinations include directories under the following systems.Be sure to attach an "IFZ" extension to the file name.
- RAMDisk
- USBDisk
Important
  • If the specified file name already exists, this existing file will be overwritten
  • Do not turn off power to the controller until there is a response.
(Example)
When the image data of image data No. 3 is saved with the file name "LABEL1.IFZ" in the "IMG01" folder in the USB memory to which the drive name "USBDisk2" is assigned
<Command>
Response example - IMGSAVE
<Response>
Response example - OK

MEASURE or M

Executing measurement
Executes measurement one time.
<Command format>
Command format - MEASURE or M
<Response format>
When processing is performed normally
Normal
Normal (Fxxx series)
Response format - OK
Response format - OK
When processing is not performed normally
Response format - ER
Note
<Parameters explanation>
Measurement result
When "Data Output" is set in the flow, the measurement results are output.
When "Data Output" is not set, the measurement results are not output.
Output Format (Non-procedure)
Starts continuous measurement
Starts continuous measurement.
<Command format>
Command format - MEASURE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Measurement result
The measurement results from the number of times continuous measurement is performed are output as a response.
Output Format (Non-procedure)
Completes continuous measurement
Continuous measurement ends.
<Command format>
Command format - MEASURE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
Note

RESET

Restart the controller.
<Command format>
Command format - RESET
<Response format>
OFF

SCENE or S

Acquires scene No.
Acquires the current scene No.
<Command format>
Command format - SCENE or S
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Scene No.
The acquired scene No. (currently used scene No.) is output as a response (0 to 31).
(Example)
When scene 0 is being used
<Command>
Command example - SCENE
<Response>
Response example - OK
Scene switch No.
Switches the scene No. to be used.
<Command format>
Command format - SCENE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Scene No.
Specifies the scene No. after switching (0 to 31).
(Example)
When switching to scene 2
<Command>
Command example - SCENE
<Response>
Response example - OK

SCNGROUP or SG

Acquires scene group No.
Acquires the current scene group No.
<Command format>
Command format - SCNGROUP or SG
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Scene group No.
The acquired scene group No. (currently used scene group No.) is output as a response (0 to 31).
(Example)
When scene group 0 is being used
<Command>
Command example - SCNGROUP
<Response>
Response example - OK
Switch the scene group No.
Switches the scene group No. to be used.
<Command format>
Command format - SCNGROUP
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Scene group No.
Specifies the scene group No. after switching (0 to 31).
(Example)
When switching to scene group 2
<Command>
Command example - SCNGROUP
<Response>
Response example - OK
Important

SCNLOAD

Reads scene data.
<Command format>
Command format - SCNLOAD
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Scene No.
Specifies the scene No. to be read (0 to 31)
File name of scene data
Specifies the name of the file to be read with a definite path.
Only files that are under the following systems and have an "SCN" extension can be read.
- USBDisk
- RAMDisk
Important
  • If the specified file name already exists, this existing file will be overwritten
  • Do not turn off power to the controller until there is a response.
(Example)
When "LABEL.SCN" in the "IMG01" folder of the USB memory to which the drive name "USBDisk2" is assigned is loaded to the controller as scene 2.
<Command>
Command example - SCNLOAD
<Response>
Response example - OK

SCNSAVE

Saves scene data.
<Command format>
Command format - SCNSAVE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Scene No.
Specifies the scene No. to save (0 to 31).
Save destination
Specifies the save destination and file name during saving with a definite path.
Save destinations include directories under the following systems.Be sure to attach an "SCN" extension to the file name.
- USBDisk
- RAMDisk
Important
  • If the specified file name already exists, this existing file will be overwritten
  • Do not turn off power to the controller until there is a response.
(Example)
When scene data of scene No. 3 is saved with the file name "LABEL.SCN" in the "SCN01" folder in the USB memory to which the drive name "USBDisk2" is assigned
<Command>
Command example - SCNSAVE
<Response>
Response example - OK

SCRSWITCH

Switches the ADJUST window/RUN window
The currently displayed window switches to the ADJUST window or RUN window.
- If the current window is the RUN window, it switches to the ADJUST window.
- If the current window is the ADJUST window, it switches to the RUN window.
<Command format>
Command format - SCRSWITCH
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER

SGRLOAD

Reads scene group data.
<Command format>
Command format - SGRLOAD
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Scene group No.
Specifies the scene group No. to be read (0 to 31)
File name of scene group data
Specifies the name of the file to be read with a definite path.
Only files that are under the following systems and have an "SGP" extension can be read.
- USBDisk
- RAMDisk
Important
  • Do not turn off power to the controller until there is a response.
(Example)
When "LABEL.SGP" in the "IMG01" folder of the USB memory to which the drive name "USBDisk2" is assigned is loaded to scene group 3
<Command>
Command example - SGRLOAD
<Response>
Response example - OK
Note

SGRSAVE

Saves scene group data.
<Command format>
Command format - SGRSAVE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Scene group No.
Specifies the scene group No. to save (0 to 31).
Save destination
Specifies the save destination and file name during saving with a definite path.
Save destinations include directories under the following systems.Be sure to attach an "SGP" extension to the file name.
- USBDisk
- RAMDisk
Important
  • If the specified file name already exists, this existing file will be overwritten
  • Do not turn off power to the controller until there is a response.
(Example)
When data stored in scene group 3 is saved with the file name "LABEL.SGP" in the "IMG01" folder in the USB memory to which the drive name "USBDisk2" is assigned
<Command>
Command example - SGRSAVE
<Response>
Response example - OK

SYSDATA

Acquires settings related to image logging
Acquires settings related to current image logging.
<Command format>
Command format - SYSDATA
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Setting data
Identifier 1
Set value
Image Logging
imageLogging
  • 0: None
  • 1: Only NG
  • 2: All
Folder name of image logging save destination
imageLoggingDirectory
Save destination folder name (one-byte alphanumeric character)
Prefix for image logging file name
imageLoggingHeader
Prefix for image logging file name (one-byte alphanumeric characters)
Data Logging
dataLogging
  • 0: None
  • 1: Only NG
  • 2: All
Name of destination folder for saving data logging
dataLoggingDirectory
Save destination folder name (one-byte alphanumeric character)
(Example)
When the image logging setting is acquired when the setting for acquiring the current image logging save condition is 1 (save only for NG error)
<Command>
Command example - SYSDATA
<Response>
Response example - OK
The current image logging save condition is "1: Only NG".
Changes settings related to image logging
Changes setting related to current image logging.
<Command format>
Command format - SYSDATA
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Setting data
Identifier 1
Set value
Image Logging
imageLogging
  • 0: None
  • 1: Only NG
  • 2: All
Folder name of image logging save destination
imageLoggingDirectory
Save destination folder name (one-byte alphanumeric character)
Prefix for image logging file name
imageLoggingHeader
Prefix for image logging file name (one-byte alphanumeric characters)
Data Logging
dataLogging
  • 0: None
  • 1: Only NG
  • 2: All
Name of destination folder for saving data logging
dataLoggingDirectory
Save destination folder name (one-byte alphanumeric character)
(Example 1)
When creating settings so that image logging is only performed during NG errors
<Command>
Command example - SYSDATA
<Response>
Response example - OK
(Example 2)
When the RAMDisk is set as the image logging save destination
<Command>
Command example - SYSDATA
<Response>
Response example - OK

SYSLOAD

Reads system data.
<Command format>
Command format - SYSLOAD
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
File name of system data
Specifies the name of the file to be read with a definite path.
Only files that are under the following systems and have an "INI" extension can be read.
- USBDisk
- RAMDisk
Important
  • Do not turn off power to the controller until there is a response.
(Example)
When "LABEL.INI" in the "IMG01" folder of the USB memory to which the drive name "USBDisk2" is assigned is loaded
<Command>
Command example - SYSLOAD
<Response>
Response example - OK

SYSSAVE

Saves system data.
<Command format>
Command format - SYSSAVE
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Save destination
Specifies the save destination and file name during saving with a definite path.
Save destinations include directories under the following systems.Be sure to attach an "INI" extension to the file name.
- USBDisk
- RAMDisk
Important
  • If the specified file name already exists, this existing file will be overwritten
  • Do not turn off power to the controller until there is a response.
(Example)
When data stored in scene group 3 is saved with the file name "LABEL.INI" in the "IMG01" folder in the USB memory to which the drive name "USBDisk2" is assigned
<Command>
Command example - SYSSAVE
<Response>
Response example - OK

UNITDATA or UD

Acquiring processing unit parameters and measurement values
The set parameters and measurement values for the processing units set in the scene currently being used are acquired.
<Command format>
Command format - UNITDATA or UD
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Processing unit No.
Specifies the processing unit No. (0 to 9999).
External reference table No.
Varies depending on the specified processing unit processing items.For details, see the "External Reference Table" of the processing items registered in the processing unit.
External Reference Tables
Measurement
The acquired measurement value is output as a response.
(Example)
When the judgement result of [Search] set as the 6th processing unit (processing unit number "5") is acquired (external reference table value is "0")
<Command>
Command example - UNITDATA
<Response>
Response example - OK
Changing processing unit parameters
The set parameters for the processing units set in the scene currently being used are changed.
<Command format>
Command format - UNITDATA
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Processing unit No.
Specifies the processing unit No. (0 to 9999).
External reference table No.
Varies depending on the specified processing unit processing items.For details, see the "External Reference Table" of the processing items registered in the processing unit.
External Reference Tables
Setting data
Set the settings data parameters.
(Example)
When "Skipping angle" (external reference table value "124") in [Search] set as the 6th processing unit (processing unit number "5") is changed to "10"
<Command>
Command example - UNITDATA
<Response>
Response example - OK
(Example)
When "Verification string" (external reference table value "139") in [Character Inspection] set as the 6th processing unit (processing unit number "5") is changed to "ABC"
<Command>
Command example - UNITDATA
<Response>
Response example - OK

VERGET

Acquires the controller version information.
<Command format>
Command format - VERGET
<Response format>
When processing is performed normally
Response format - OK
When processing is not performed normally
Response format - ER
<Parameters explanation>
Version information
  • Type of controller
  • Software version
(Example)
When the controller type is "FZ3-XXX", the software version is "2.00", and the date is "Sept. 25th, 2008"
<Command>
Command example - VERGET
<Response>
Response example - OK