Quick start
This guide explains the individual steps required to set up access by means of TwinCAT I/O to inputs/outputs that are provided by an appropriate I/O card.
- A created solution with TwinCAT 3 project.
- 1. Configure the hardware in the I/O area.
When the target system is in Config mode, select the "Scan" mechanism: - 2. Add a TwinCAT Task With Image via right click on System->Tasks:
- The task contains a map for inputs and outputs.
- 3. Set the Create Symbol on the task so that symbolic access is possible:
- 4. Create a symbol with Add New Item by right-clicking on Inputs or Outputs. To do this, select the appropriate type. Additionally, you can assign a name.
- 5. Open the symbol that you have created by double-clicking and link a variable to the I/O with "Linked To...":
- Start the system. The variables can be accessed by ADS.
- The required symbol information can be read off from the symbols.
- The "Target Browser" (from Scope -> Target Browser) can be used.
- To do this you must configure the respective port for the display via the Server Settings Dialog in the target browser, depending on the ADS port used for the task.