Load File
Loads the specified job from flash memory on the In-Sight vision system, RAM Disk or SD Card, making it the active job.
- The In-Sight vision system must be Offline.
- To load a job file stored in the RAMDisk folder, the syntax is: LFRAMDisk/[Filename]. For example, to load the file "Product.job" stored in the vision system's RAMDisk folder, issue the following command: "LFRAMDisk/Product.job".
- To load a job file stored in the SD Card folder, the syntax is LFSDCARD/[Filename]. For example, to read the file "Product.job" stored in the vision system's SD Card folder, issue the following command: "LFSDCARD/Product.job".
- The Job Server Settings dialog can be used to configure an FTP server that will host In-Sight job files for the In-Sight vision system, which allows another device, such as a PLC or robot controller via the LF and TF Native Mode commands, to change jobs without specifying a location.
Load File Inputs
Syntax: LF[Filename]
Input |
Description |
---|---|
Filename |
The name of the job. The command will execute with or without the .JOB extension. |
Load File Outputs
Returns a status code. The status codes are:
Status Codes | Description |
---|---|
1 |
The command was executed successfully. |
0 |
Unrecognized command. |
-1 |
The filename is missing. |
-2 |
The job failed to load, the vision system is Online, or the file was not found. |
-4 |
The vision system is out of memory. |
-6 |
User does not have Full Access to execute the command. For more information, see User Access Settings Dialog. |
Load File Example
To load "Product" as the active job on the In-Sight vision system, issue the following command: LFProduct.job
The In-Sight sensor responds with 1, indicating that the job was successfully loaded and made active.