Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual Kuhnke Electronics Instruction Manual

17.02.2013 Views

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

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!