PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke
PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke
4.9.1. Data consistency secured by OS_CRIT Kuhnke controller such as PC Control 645-12M have an operating system with multi-tasking capability. Tasks such as processing the user program or PROFIBUS communication are acyclically arranged. Task changes are timer controlled, i.e. they do not relate to the processing step of the preceding task. This may lead to the PROFIBUS task updating the process image between two user program commands. Consequently, the external operands read after the next user program command are more up-to-date than the data read previously. This may cause problems if the different bits of information are functionally related, because misinterpretations cannot be excluded in this case. Just imagine a 24-bit analogue value supplied by a positioning slave that is to be read by two commands, and then there is a task change right between the two reading processes. The interpretation of the analogue value might deliver an entirely wrong result. KUBES module OS_CRIT remedies this situation by influencing the operating system to prevent task changes within limited user program sections. OS_CRIT is delivered with the KUBES program package. A constant value is specified as its starting parameter. Example Prevent task change (constant = 1) JPK OS_CRIT , _____ 1 -|_____|- LD BI01a00. ; low word =D BM00.00 LD BI01a02. ; high word =D BM00.02 Allow task change (constant = 0) JPK OS_CRIT , _____ 0 -|_____|- 4 - 46
PC Control 645-12M on PROFIBUS PROFIBUS data is consistent between the two load commands. In our example, the "low word" and "high word" values are therefore ensured to be updated by PROFIBUS at the same time. OS_CRIT only secures the consistency of I/O data that has been marked as consistent in the DP slave's GSD file. OS_CRIT directly influences the operating system. You are therefore requested to obey the following rules: 1. Always start OS_CRIT in pairs (first using constant 1, then constant 0). 2. Keep the program section between the two module start commands as small as possible. 3. The program section delimited by OS_CRIT must not contain a call for another module. This call command would terminate data consistency by re-enabling task changes. 4 - 47
- Page 33 and 34: Hardware 3.8.2. How to avoid addres
- Page 35 and 36: Hardware -- Activate the "Memory" o
- Page 37 and 38: Hardware To reserve a memory range
- Page 39 and 40: i n 0 2 4LV o g 0 2 4LV o Sa t da t
- Page 41 and 42: PC Control 645-12M used as PLC 4.1.
- Page 43 and 44: PC Control 645-12M used as PLC -- S
- Page 45 and 46: PC Control 645-12M used as PLC The
- Page 47 and 48: 4.2. Going online with KUBES PC Con
- Page 49 and 50: PC Control 645-12M used as PLC 4.2.
- Page 51 and 52: 4.3. Memory settings PC Control 645
- Page 53 and 54: 4.4. PLC working method PC Control
- Page 55 and 56: 4.5.1.1. Short description of local
- Page 57 and 58: 4.5.2. External operands as process
- Page 59 and 60: PC Control 645-12M used as PLC 4.5.
- Page 61 and 62: 4.5.3.1. Status of PROFIBUS master
- Page 63 and 64: 4.5.3.2. PEaxx.yy: DP slave status
- Page 65 and 66: 4.6. Summary of commands PC Control
- Page 67 and 68: PC Control 645-12M used as PLC 4.6.
- Page 69 and 70: PC Control 645-12M used as PLC 4.6.
- Page 71 and 72: PC Control 645-12M used as PLC 4.6.
- Page 73 and 74: 4.6.4. Shift and rotation commands
- Page 75 and 76: PC Control 645-12M used as PLC 4.6.
- Page 77 and 78: PC Control 645-12M used as PLC 4.6.
- Page 79 and 80: 4.7. Types of operands PC Control 6
- Page 81 and 82: PC Control 645-12M used as PLC 4.8.
- Page 83: PC Control 645-12M on PROFIBUS 4.9.
- Page 87 and 88: PC Control 645-12M on PROFIBUS 4.9.
- Page 89 and 90: 4.9.2.3.1. Choosing a station and g
- Page 91 and 92: 4.9.2.4. Service 7: activate/deacti
- Page 93 and 94: 4.9.2.6. Service 6: synchronise DP
- Page 95 and 96: PC Control 645-12M on PROFIBUS 4.9.
- Page 97 and 98: PC Control 645-12M on PROFIBUS ====
- Page 99 and 100: PC Control 645-12M on PROFIBUS ====
- Page 101 and 102: PC Control 645-12M on PROFIBUS ====
- Page 103 and 104: PC Control 645-12M on PROFIBUS ====
- Page 105 and 106: PC Control 645-12M on PROFIBUS ====
- Page 107 and 108: PC Control 645-12M used as PLC 4.10
- Page 109 and 110: 4.10.2. Undervoltage (supply, failu
- Page 111 and 112: PC Control 645-12M used as PLC 4.10
- Page 113 and 114: 4.10.5. Hierarchy error (failure #9
- Page 115 and 116: A. Specifications Specifications A.
- Page 117 and 118: Specifications A.2. Order specifica
- Page 119 and 120: PROFIBUS hardware installation B. P
- Page 121 and 122: PROFIBUS hardware installation B.1.
- Page 123 and 124: PROFIBUS hardware installation B.2.
- Page 125 and 126: PROFIBUS hardware installation B.2.
- Page 127 and 128: PROFIBUS hardware installation Acti
- Page 129 and 130: Index A accumulator 3-9 functional
- Page 131 and 132: Index memory range 3-4 in DOS and W
<strong>PC</strong> <strong>Control</strong> <strong>645</strong>-<strong>12M</strong> on PROFIBUS<br />
PROFIBUS data is consistent between the two load commands.<br />
In our example, the "low word" and "high word"<br />
values are therefore ensured to be updated by PROFIBUS<br />
at the same time.<br />
OS_CRIT only secures the consistency of I/O data that has<br />
been marked as consistent in the DP slave's GSD file.<br />
OS_CRIT directly influences the operating system. You are<br />
therefore requested to obey the following rules:<br />
1. Always start OS_CRIT in pairs (first using constant 1,<br />
then constant 0).<br />
2. Keep the program section between the two module start<br />
commands as small as possible.<br />
3. The program section delimited by OS_CRIT must not<br />
contain a call for another module. This call command<br />
would terminate data consistency by re-enabling task<br />
changes.<br />
4 - 47