Excel (Gen1.3)
6 min
You can set up the Excel driver to read values in an Excel file.
Before You Begin
Make sure you do the following:
- Have an Excel file located on your hard drive.
- Ensure the FTP service is running. See Manage FTP and System Services for more information.
- Install the WinSCP FTP client on your computer.
- Add an FTP user. See Add an FTP User for more information.
Set Up Excel Driver
Setting up the Excel driver includes the following tasks:
- Step 1: Set Up FTP Client
- Step 2: Add Excel Driver
- Step 3: Add a Tag For a Single Cell in Excel
- Step 4: Add a Tag for Range of Cells in Excel
- Step 5: Create Flow for Single Cell in Excel
- Step 6: Create Flow for Range of Cells in Excel
Step 1: Set Up FTP Client
To set up the FTP client:
- Open the WinSCP FTP client. The FTP Login dialog box appears.

FTP Login dialog box
- For File Protocol, select FTP.
- Configure the following parameters.
- Host name: Enter the Manufacturing Connect Edge URL.
- User name: Enter the FTP username you created when you Add an FTP User.
- Password: Paste the password you copied when you Add an FTP User.
- Click Login. The WinSCP window appears.
- Open the DeviceHub folder in the right pane.
- From the left pane, drag the Excel file to the open DeviceHub folder. The Excel file uploads to the folder.
Step 2: Add Excel Driver
To add the Excel driver:
- In Manufacturing Connect Edge, navigate to DeviceHub > Devices.
- Click Add New Device. The Connect Device dialog box appears.

Add new device icon
- In the Device Type drop-down list, select Excel.
- In the Driver Name drop-down list, select Excel (Gen1.3).
- In the Name field, enter a name for the device.
- In the Path field, enter the path for the Excel file that you just previously uploaded.
- Click Add Device. The Excel device appears in the Devices pane.
Step 3: Add a Tag For a Single Cell in Excel
The Excel device is disconnected until you add a tag.
To add a tag for single cell:
- In Manufacturing Connect Edge, navigate to DeviceHub > Tags.
- Click the Add New Tag and select Add One.
- Select the Excel device.
- Configure the following parameters.
- Value Type: Select single.
- Polling Interval: Enter a value.
- Tag Name: Enter a tag name.
- Name: Select R.
- Start Cell: Enter a value. For example, A1.
- End Cell: To configure the tag for only one cell, enter the same value as the Start Cell.
- Sheet: Enter the Excel file sheet name from which the cell data is used. The sheet name must be exactly the same as the sheet name in the Excel file.
- Click Add Tag. The tag is added to the tags pane.
- Click the Copy icon for the tag in the RAW Topic column.
Step 4: Add a Tag for Range of Cells in Excel
To add a tag for a range of cells:
- In Manufacturing Connect Edge, navigate to DeviceHub > Tags.
- Click the Add New Tag and select Add One.
- Select the Excel device.
- Configure the following parameters.
- Value Type: Select range.
- Polling Interval: Enter a value.
- Tag Name: Enter a tag name.
- Name: Select R.
- Start Cell: Enter the starting cell to read data.
- End Cell: Enter the ending cell to read data.
- Sheet: Enter the Excel file sheet name from which the cell data is used. The sheet name must be exactly the same as the sheet name in the Excel file.
- Click Add Tag. The tag is added to the tags pane.
- Click the Copy icon for the tag in the RAW Topic column.
Step 5: Create Flow
To create a flow:
- In Manufacturing Connect Edge, navigate to the Flows Manager and create a new flow. See Create a Flow to learn more.
- Drag the DataHub Subscribe and Debug nodes to the canvas and wire them together.
- Double-click the DataHub Subscribe node
- In the Topic field, paste the RAW Topic value from either "Step 3: Add a Tag For a Single Cell in Excel" or "Step 4: Add a Tag for Range of Cells in Excel".
- If needed, configure the Datahub Subscribe connection. See the "Step 3: Configure Connector Nodes" section in Create a Flow to learn more.
- Click Deploy.
- Click the Debug icon. See the "Additional Options" section in Manage the Flow Canvas to learn more.
- Review the debug messages and confirm they correspond to the values in the Excel file.