# Load a Job Through an Ethernet/IP PLC

Perform the following steps to change the job running on the vision system through an RSLogix PLC.

1. If you are loading a new job, then first place the vision system to the Offline state by setting the Set Offline a bit high.

2. Use the applicable Command ID in the command block to initiate the job change.

   Name | Command ID (Hex) | Command ID (Dec)
   --- | --- | ---
   Load Job by Name | 0x4000 | 16384
   Load Job by ID | 0x0-0x3E7 | 0-999

3. If you perform the Load Job by Name action, then write the job name (without the *.jobx extension) into the User Data command block.

   Note: The job name needs to be null terminated (that is, a 0 must be added in the byte immediately following the job name).

4. Set the Execute Command bit.

5. Wait for the Command Completed or Command Failed bit to be set (Bit 6 or 5 of Byte 1, respectively).

6. Once either the Command Completed or Command Failed bit is detected, clear the Execute Command bit. Also, if you previously set the vision system to a Paused state, then clear the Set Offline bit as well to set the vision system OnlineOnline.