Kuhnke Electronics Instruction Manual
Kuhnke Electronics Instruction Manual Kuhnke Electronics Instruction Manual
Software To suppress this function, set the reference value to 0! Counter_enable (Zaehlerfreigabe) Globally enables or disables the A, B, Ref counter. 5.3.7.2.2 A, B, Ref Counter Variables Variable Address Value Comment INK_AV %ID3 WORD actual counter reading INK_PV %QD2 WORD preset counter reading ACK_PV %ID4 WORD counter preset, acknowledge. INK_RV %QD3 BOOL reference value ACK_RV %ID5 BOOL reference value, acknowledge. Proceed as follows to set a preset value / reference value for the incremental encoder in A, B, Ref mode: First of all, the user program enters the preset value or reference value into the output variables. The PLC acknowledges the value by returning the same value to the corresponding input variable. This enables the PLC program to check whether a value has been accepted and which value it is currently set to. A new preset value / reference value is entered whenever there is a difference between the output variable and the input variable. 148 E 700 GB
Software 5.4 Functions of the Basic Module's Inputs and Outputs 5.4.1 Functions of Inputs SDE_0...SDE_1 (SDE_3) The 16 (or 32) inputs of the basic module are normal inputs without any special function. 5.4.2 Functions of Outputs SDO_0... SD0_1 (SD0_3) The 16 (or 32) outputs of the basic module are normal outputs without any special function. A short-circuited output is not turned off by the PLC. Overload simply fuses out the outputs thermally. You are advised to provide means of preventing the output from turning back on after cooling down. The short-circuited output generates an interrupt request. To allocate program code to the interrupt request run function INSTALL_ERROR_IRQ (� 4.4.6) The module should contain the code to respond to the request, e.g. to turn off some major or all outputs using function ENADIS_OUTPUTS (� 4.4.3) 149
- 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
- Page 113 and 114: 4.6.4 Online Reset (cold) 4.6.5 Res
- Page 115 and 116: 4.7.2 Variables with Set Addresses
- Page 117 and 118: 4.8 Extraremanent Data 4.8.1 Remane
- Page 119 and 120: Remanent Data If an extraremanent m
- Page 121 and 122: TYPE Extrarema_02: STRUCT END_STRUC
- Page 123 and 124: Start_OK := CheckXREMDATA(Clear); I
- Page 125 and 126: 5 Software Software Read this secti
- Page 127 and 128: Internal combi I/Os %IX0.0-%IX0.3 a
- Page 129 and 130: Internal I/Os AI_x and AO_x I/O Var
- Page 131 and 132: Software If an "Input IRQ module" h
- Page 133 and 134: 5.3.3 Functions of Internal Outputs
- Page 135 and 136: Software Value Frequency Value Freq
- Page 137 and 138: 5.3.4 Short-circuited Output Softwa
- Page 139 and 140: 5.3.5 Internal Analogue Input Funct
- Page 141 and 142: 5.3.6 Internal Analogue Output Func
- Page 143 and 144: 5.3.7 Functions of Internal Counter
- Page 145 and 146: 5.3.7.1.2 Event Counter Variables V
- Page 147: Resolution of the rotary encoder: s
- Page 151 and 152: 5.7 Status Messages of Expansion Mo
- Page 153 and 154: 6 PROFIBUS-DP 6.1 Basic Information
- Page 155 and 156: 6.2 Master-Slave Communication PROF
- Page 157 and 158: 6.2.2 Receive Parameter Data (Prm_D
- Page 159 and 160: 6.2.2.2 Device-specific Bus Paramet
- Page 161 and 162: PROFIBUS replaces the term "byte" w
- Page 163 and 164: Octet 4: Diag.Master_Add PROFIBUS A
- Page 165 and 166: 6.2.4 Master-Slave Data Communicati
- Page 167 and 168: Example: VAR bIn_0: BYTE; bOut_0: B
- Page 169 and 170: 7 CANopen CANopen At this point, we
- Page 171 and 172: 7.1.1 CANopen Example CANopen A Ven
- Page 173 and 174: • Step3: Write and test CoDeSys p
- Page 175 and 176: PROGRAM PLC_PRG VAR CANMaster_Ok: B
- Page 177 and 178: 8 PLC Error Handling 8.1 "Failure"
- Page 179 and 180: Example VAR C690_Error: BYTE; END_V
- Page 181 and 182: 8.3.1 Short-circuited Output (Error
- Page 183 and 184: => - STOP: The program is stopped E
- Page 185 and 186: 9 Appendix 9.1 Technical Data 9.1.1
- Page 187 and 188: Appendix Max. current .............
- Page 189 and 190: 9.1.3 Communication Ports V.24 port
- Page 191 and 192: 9.2 Order Specifications 9.2.1 Cont
- Page 193 and 194: Appendix 9.3 Ventura Remote I/O Exp
- Page 195 and 196: 9.5 Sales & Service Appendix Please
- Page 197 and 198: 9.6 Index A, B, Ref counter 146 con
Software<br />
To suppress this function, set the reference value to 0!<br />
Counter_enable<br />
(Zaehlerfreigabe)<br />
Globally enables or disables the A, B, Ref counter.<br />
5.3.7.2.2 A, B, Ref Counter Variables<br />
Variable Address Value Comment<br />
INK_AV %ID3 WORD actual counter reading<br />
INK_PV %QD2 WORD preset counter reading<br />
ACK_PV %ID4 WORD counter preset, acknowledge.<br />
INK_RV %QD3 BOOL reference value<br />
ACK_RV %ID5 BOOL reference value, acknowledge.<br />
Proceed as follows to set a preset value / reference value<br />
for the incremental encoder in A, B, Ref mode:<br />
First of all, the user program enters the preset value or<br />
reference value into the output variables. The PLC<br />
acknowledges the value by returning the same value to<br />
the corresponding input variable. This enables the PLC<br />
program to check whether a value has been accepted and<br />
which value it is currently set to. A new preset value /<br />
reference value is entered whenever there is a difference<br />
between the output variable and the input variable.<br />
148 E 700 GB