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>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
BKDSAVE
The system + scene group 0 data currently being used by the controller is saved to a file.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
CLRMEAS
Clears all of the measurement values of the current scene.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response format>
When processing is performed normally
When processing is not performed normally
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>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
Setting date and time
Changes the date and time of the internal calendar timer in the controller.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
DISPCOND
Acquiring the current image display status
Acquires the currently displayed image mode.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
Changing current image display status
Changes the currently displayed image mode.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
IMGSAVE
Saves image data.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
MEASURE or M
Executing measurement
Executes measurement one time.
<Command format>
<Response format>
When processing is performed normally
Normal | Normal (Fxxx series) |
---|
| |
When processing is not performed normally
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>
<Response format>
When processing is performed normally
When processing is not performed normally
<Parameters explanation>
Completes continuous measurement
Continuous measurement ends.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
Note - To output measurement results, insert a [Data Output] processing unit in the scene.
When the scene does not have a [Data Output] processing unit, only a command response is output.
Output Format (Non-procedure)
RESET
Restart the controller.
<Command format>
<Response format>
OFF
SCENE or S
Acquires scene No.
Acquires the current scene No.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
Scene switch No.
Switches the scene No. to be used.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<Parameters explanation>
Scene No. | Specifies the scene No. after switching (0 to 31). |
(Example)
When switching to scene 2
<Command>
<Response>
SCNGROUP or SG
Acquires scene group No.
Acquires the current scene group No.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
Switch the scene group No.
Switches the scene group No. to be used.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<Parameters explanation>
Scene group No. | Specifies the scene group No. after switching (0 to 31). |
(Example)
When switching to scene group 2
<Command>
<Response>
Important
- During parallel continuous measurement and when the STEP signal is input continuously, do not perform switching of the scene group. When this is performed, set "Unchecked" in "Save scene group on switch scene" in either of the settings items below.
SCNLOAD
Reads scene data.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
SCNSAVE
Saves scene data.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
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>
<Response format>
When processing is performed normally
When processing is not performed normally
SGRLOAD
Reads scene group data.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
Note SGRSAVE
Saves scene group data.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
SYSDATA
Acquires settings related to image logging
Acquires settings related to current image logging.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<Parameters explanation>
Setting data | Identifier 1 | Set value |
---|
Image Logging | imageLogging | |
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 | |
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>
<Response>
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>
<Response format>
When processing is performed normally
When processing is not performed normally
<Parameters explanation>
Setting data | Identifier 1 | Set value |
---|
Image Logging | imageLogging | |
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 | |
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>
<Response>
(Example 2)
When the RAMDisk is set as the image logging save destination
<Command>
<Response>
SYSLOAD
Reads system data.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
SYSSAVE
Saves system data.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
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>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
Changing processing unit parameters
The set parameters for the processing units set in the scene currently being used are changed.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>
(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>
<Response>
VERGET
Acquires the controller version information.
<Command format>
<Response format>
When processing is performed normally
When processing is not performed normally
<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>
<Response>