Configuration For "Name" please enter a name for this alarm definition. This name has to be OPC conform, no special characters allowed. Sample: The TwinCAT-PLC runtime-system 1 has a PLC variable "temperatur". Definition of devicename with "Plc1" will publish the PLC variable via OPC as "Plc1tTemperatur" later for OPC-Clients. After applying with "OK" you see the next dialog with settings of the new device "Plc1" For option "AutoCfg" select option "8 Link and filter to generic TwinCAT symbol file" For option "AutoCfgFile" click to "Search-buton" and navigate to e.g.
"C:\TwinCAT\Boot\CurrentPLC_1.tpy" If you work on a small PLC project and all PLC variables should be available for OPC you can select option "AutoCfg" "7 Link to generic TwinCAT symbol file" In this case all PLC variables are imported, the filter comment in the PLC Control is ignored. Following settings have to be checked: Requirements TS6120 21 Version: 1.2.0 Type Req./Opt. Description Name Req Name for device like "PLC1". OPC-Client browse this name Description Optional AutoCfg Optional 1 : Include sym-file of TwinCAT-PLC defined under 2 : Include sym-file of TwinCAT-BCxxxx-project defined under 7 : Include tpy-file of TwinCAT28-project defined under 8 :
Include tpy-file of TwinCAT28-project defined under , but import only symbols with symbol-property "OPC=1" AutoCfgSymFile Optional full path and name of symbol-file to be included like " C:\Test\demo.sym" or " \\User1\Test\demo.sym" or "C:\TwinCAT\Boot\CurrentPLC 1.tpy" _ AdsPort Req Number of ADS-PortID, like 801 for first PLC-runtime system 811 for first PLC-runtime system 821 for first PLC-runtime system 831 for first PLC-runtime system 800 for PLC-runtime system on BC AdsNetId Optional specific ADS-NetId, like "174.12.15.45.1.1" If not specified or like "0.0.0.0.0.0", the OPC-Server will always communicate to AdsNetId of local ADS-router.
AdsTimeout Optional ADS timeout in ms for this ADS device. If ADS device will not replay within this time, the OPC-Server will set the requested variables to "BAD QUALITY"