# Load a Program Through an Ethernet/IP PLC

Perform the following steps to change the program running on the vision sensor through an RSLogix PLC:

On the vision sensor UI:

1. Enable Inputs and EtherNet/IP on the Communications tab of the Settings menu

On the PLC:

1. Use the applicable Command ID in the command block to initiate the program change.

   The ID is an integer between 0x0-0x14 in hexadecimal, or 0-20 in decimal value.

2. Set the Execute Command bit in the command block by triggering Bit 4 of Byte 0.

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

1. Clear the Execute Command bit.

Note: For the description of input and output assemblies, see Ethernet/IP Input Assembly - Instance 13 and EtherNet/IP Output Assembly - Instance 22.