Kuhnke Electronics Instruction Manual
Kuhnke Electronics Instruction Manual Kuhnke Electronics Instruction Manual
Function Libraries configuration to it, the project must not contain module PLC_PRG. (If it is a part of the project it will not be run if a task configuration is defined.) PLC_PRG is a module free-wheeling through 800µs time slices. At the end of the time slice, processing of PLC_PRG is interrupted to give way to the handling of other registered processes. When the task manager reactivates PLC_PRG it will pick up the thread at the point where it was interrupted. Once the last PLC_PRG command has been executed the actions linked to PLC_PRG, i.e. refreshing the process chart, CANopen ∗ , communication etc., will be taken only to start the task afresh afterwards. A long PLC_PRG runtime is an extra burden to communication: - To program non-time-critical sections, use a thread instead (see page 71) ∗ Controllers featuring a CANopen interface only 62 E 700 GB
4.3.3.2 The Task Configurator 4.3.3.3 Task Properties 4.3.3.3.1 Name 4.3.3.3.2 Priority (0-31) Function Libraries The Task Configurator is one of the objects on the Resources tab of the Object Organizer. The Task Editor window has two panes. The pane on the left displays a tree view of the tasks. The first line has 'Task Configuration' in it which is followed by a 'System Events' entry and the separate task items represented by their task name. The relevant program run commands are appended underneath every task item. The right-hand pane consists of a Properties dialog showing the parameters of the item selected on the lefthand pane. Use the dialog to define the tasks, program run commands or system events as appropriate. The configuration options available in the Properties dialogs depend on the target system; they are set by a XML-type description file referenced by the Target file. In case the default definitions contained in the description file have been expanded by tailored definitions, the latter are available for configuration purposes via an extra 'Parameters' tab sheet on the right-hand dialog side. This is the name under which the task appears in the configuration browser where it can be changed by clicking on it or by pressing the spacebar to open a text box. The priority is a numeral between 0 and 31, 0 the highest priority, 31 the lowest. 63
- Page 11 and 12: 1.2 Variants Introduction Compact c
- Page 13 and 14: Advantages of Decentralisation Intr
- Page 15 and 16: 1.5 Network Examples 1.5.1 PROFIBUS
- Page 17 and 18: 2 Reliability, Safety 2.1 Intended
- Page 19 and 20: 2.4.3 Note Reliability, Safety This
- Page 21 and 22: 2.5.1 Project Planning and Installa
- Page 23 and 24: 2.6 Electromagnetic Compatibility 2
- Page 25 and 26: 2.6.6.2 Contamination Reliability,
- Page 27 and 28: 3 Hardware 3.1 System Description H
- Page 29 and 30: Hardware Extensions Ventura Remote
- Page 31 and 32: 3.3 Power Supply 3.3.1 Earth left s
- Page 33 and 34: 3.3.3 Power Supply Hardware Voltage
- Page 35 and 36: 3.4 Inputs and Outputs 3.4.1 Digita
- Page 37 and 38: 3.4.2 Digital Combi I/Os Hardware V
- Page 39 and 40: 3.4.3 Analogue Inputs Hardware Vent
- Page 41 and 42: 3.5 A, B, Ref Counter Hardware Vent
- Page 43 and 44: 3.6.2 PROFIBUS Hardware Ventura Rem
- Page 45 and 46: 3.7 Expansion Modules Ventura Remot
- Page 47 and 48: 3.8.2 Mode Selector mode selector H
- Page 49 and 50: 3.8.3.1 RUN 3.8.3.2 Stop 3.8.3.3 Ex
- Page 51 and 52: 3.9 Status and Failure Indication "
- Page 53 and 54: Installation 4 PLC Functions of Ven
- Page 55 and 56: 4.2 Writing CoDeSys Programs Online
- Page 57 and 58: 4.2.2 CAN: Online CAN Function Libr
- Page 59 and 60: 4.3.1 Operating System Function Lib
- Page 61: 4.3.3 Task Configuration 4.3.3.1 PL
- Page 65 and 66: 4.3.4 PLC Configuration Function Li
- Page 67 and 68: Function Libraries DI16/DO16". Repe
- Page 69 and 70: 4.3.6 The Flash File System Functio
- Page 71 and 72: 4.4.1 Installing a Thread Function
- Page 73 and 74: Thread usage Function Libraries A t
- Page 75 and 76: 4.4.2 Installing / Uninstalling a T
- Page 77 and 78: To uninstall a timer task: Function
- Page 79 and 80: 4.4.3 Enabling / Disabling the Outp
- Page 81 and 82: 4.4.5 Direct Write of Local Outputs
- Page 83 and 84: FUNCTION INSTALL_ERROR_IRQ : BOOL V
- Page 85 and 86: Function Libraries INSTALL_INPUT_IR
- Page 87 and 88: 4.4.8 Installing a REF IRQ Module F
- Page 89 and 90: 4.4.10 Setting up the Watchdog Func
- Page 91 and 92: 4.5 Library MMC.LIB Function Librar
- Page 93 and 94: 4.5.2 Registering with the File Sys
- Page 95 and 96: 4.5.4 Copying Files Function Librar
- Page 97 and 98: 4.5.6 Determining the Free MMC Spac
- Page 99 and 100: 4.5.8 Moving a File Function Librar
- Page 101 and 102: 4.5.9 Opening a File Function Libra
- Page 103 and 104: 4.5.10 Reading from a File Function
- Page 105 and 106: 4.5.12 Setting the Edit Bookmark of
- Page 107 and 108: 4.5.14 Initialising the File System
- Page 109 and 110: Function Libraries FUNCTION_BLOCK M
- Page 111 and 112: � Use 'start' to repeatedly run t
4.3.3.2 The Task Configurator<br />
4.3.3.3 Task Properties<br />
4.3.3.3.1 Name<br />
4.3.3.3.2 Priority (0-31)<br />
Function Libraries<br />
The Task Configurator is one of the objects on the<br />
Resources tab of the Object Organizer. The Task Editor<br />
window has two panes.<br />
The pane on the left displays a tree view of the tasks. The<br />
first line has 'Task Configuration' in it which is followed by<br />
a 'System Events' entry and the separate task items<br />
represented by their task name. The relevant program run<br />
commands are appended underneath every task item.<br />
The right-hand pane consists of a Properties dialog<br />
showing the parameters of the item selected on the lefthand<br />
pane. Use the dialog to define the tasks, program<br />
run commands or system events as appropriate. The<br />
configuration options available in the Properties dialogs<br />
depend on the target system; they are set by a XML-type<br />
description file referenced by the Target file. In case the<br />
default definitions contained in the description file have<br />
been expanded by tailored definitions, the latter are<br />
available for configuration purposes via an extra<br />
'Parameters' tab sheet on the right-hand dialog side.<br />
This is the name under which the task appears in the<br />
configuration browser where it can be changed by clicking<br />
on it or by pressing the spacebar to open a text box.<br />
The priority is a numeral between 0 and 31, 0 the highest<br />
priority, 31 the lowest.<br />
63