Infosys在阅读器中打开 / AI 翻译

EL6685 | Reference clock, high-precision, distributed clocks · 0 次阅读

Sample program TwinCAT 3

Sample program TwinCAT 3 1: Download

Preparation to start the sample program (tpzip file/ TwinCAT 3)

  • After clicking the Download button, save the zip file locally on your hard disk, and unzip the *.tpzip -archive file into a temporary working folder.
  • Create a new TwinCAT project as described in section:
    TwinCAT Quickstart, TwinCAT 3, Startup
  • Open the context menu of "PLC" within the "Solutionexplorer" and select "Add Existing Item..."
  • Sample program TwinCAT 3 2:
  • Select the beforehand unpacked .tpzip file (sample program).
  • This example requires a PLC control with a terminal EL2202-0100. You can use either an embedded PC that has the terminal placed on the right or an IPC with an EtherCAT link of an e.g. RJ-45 connector to the EK1100 coupler with the terminal (e.g. C6915 + EK1100 + EL2202-0100).
  • Within this example it’s not necessary to connect the terminals outputs (as there will be the DC operation mode used only). However the Sync Master needs a link to a variable. The external “bDummyOut” variable is designated for that, so it has to be linked with one of the both channels of the terminal.

Also see more hints in section:
Commissioning, TwinCAT Quickstart, TwinCAT 3, Startup.