You are here: GSI Wiki>Z6 Web>ProgrammableLogicController (2008-11-04, UweThiemer)Edit Attach
<- Z6 home

TwinCAT PLC Control

Configuration

The "PLC Control" handling you can read in BECKHOFF Information System.

software structure

PLC Control1 In picture 1 you can see the project " Z6_Steuerung.pro ". On the left side are listed all software parts. The prefix (letters + underline) is used for a better structuring. a_MAIN calls all other programs.
Programs are written in ST (Structured Text) or in the graphical language FUP (FUnction Plan).

inputs, outputs, global variables

PLC2 Picture 2 shows the definition for all global variables and in-/outputs. You find it in the tabulator "resources". The name of in-/outputs will be imported in the SystemManager over the XML-file Z6_Steuerung.tpy.

define target system

PLC Target Under menu item "Online" you find a entry "Auswahl des Zielsystems" (change target). This opens a window where you can change the target system.

compile project

PLC compile Under menu item "Projekt" you find a entry "Alles Übersetzen" (compile all). The results (compile informations, error messages) are shown in the message window (green framed).
-- UweThiemer - 03 Nov 2008
Topic revision: r3 - 2008-11-04, UweThiemer - This page was cached on 2021-08-03 - 20:46.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Imprint (german) | Privacy Policy (german)