Knowledge Base If one of the components mentioned here is used, then one of the encoder function blocks provided will usually be applied. The interfaces of these function blocks are not guaranteed and should therefore not be called directly by the application. It is better to set the encoder type according to the constants in E_TcMcEncoderType [ } 75] under nEnc_Type in ST_TcHydAxParam [ } 93] , and to use a function block of type MC_AxRtEncoder_BkPlcMc [ } 135] . This then automatically calls the correct type of sub-function-block for the type concerned. All encoder function blocks use the parameters fEnc_IncWeighting and fEnc_IncInterpolation as increment assessment.
fEnc_ZeroShift is also used as a zero shift for absolute displacement sensors. Incremental sensors usually require a reference travel using a MC_Home_BkPlcMc [ } 57] function block, during which fEnc_RefShift in ST_TcHydAxRtData [ } 99] is determined. This value then does the job of the zero shift. It goes without saying that in special cases the zero shift can also be defined with an MC_SetPosition_BkPlcMc [ } 39] function block. The referenced status of the axis should be defined with MC_SetReferenceFlag_BkPlcMc [ } 40] ().
If it is not possible to determine the actual position with function blocks from the library for technical reasons, this task can be handled by application function blocks, and the result can be entered in fActPos, and fActVelo can be entered in ST_TcHydAxRtData [ } 99] , if required. For the sake of uniformity use should again be made here of the fEnc_IncWeighting, fEnc_IncInterpolation and fEnc_ZeroShift or fEnc_RefShift parameters. PLC Library Hydraulics 224 Version:
1.4 I/O component Signal Encoder Type KL2521 Pulse Train iTcMc EncoderKL2521 [} 147] _ KL2531 Stepper motor, direct (encoder emulated through pulse counter) iTcMc EncoderKL2531 [} 148] _ KL2541 Stepper motor, direct (with encoder or encoder emulates through pulse counter) iTcMc EncoderKL2541 [} 148] _ KL2542 DC motor, direct with encoder iTcMc EncoderKL2542 [} 149] _ KL3001 -10V .. 10V iTcMc EncoderKL3002 [} 149] _ KL3002 -10V .. 10V iTcMc EncoderKL3002 [} 149] _ KL3011 0mA .. 20mA iTcMc EncoderKL3042 [} 149] _ KL3012 0mA .. 20mA iTcMc EncoderKL3042 [} 149] _ KL3021 4mA .. 20mA iTcMc EncoderKL3042 [} 149] _ KL3022 4mA .. 20mA iTcMc EncoderKL3042 [} 149] _ KL3041 0mA ..
20mA iTcMc EncoderKL3042 [} 149] _ KL3042 0mA .. 20mA iTcMc EncoderKL3042 [} 149] _ KL3044 0mA .. 20mA iTcMc EncoderKL3042 [} 149] _ KL3051 4mA .. 20mA iTcMc EncoderKL3042 [} 149] _ KL3052 4mA .. 20mA iTcMc EncoderKL3042 [} 149] _ KL3054 4mA .. 20mA iTcMc EncoderKL3042 [} 149] _ KL3061 0V .. 10V iTcMc EncoderKL3062 [} 150] _ KL3062 0V .. 10V iTcMc EncoderKL3062 [} 150] _ KL3064 0V .. 10V iTcMc EncoderKL3062 [} 150] _ KL3162 0V .. 10V iTcMc EncoderKL3162 [} 150] _ KL5001 SSI iTcMc EncoderKL5001 [} 150] _ KL5101 A/B increments, RS422="TTL" iTcMc EncoderKL5101 [} 150] _ KL5111 A/B increments, RS422="HTL" iTcMc EncoderKL5111 [} 151] _ M2510 -10V ..
10V iTcMc EncoderM2510 [} 151] _ M3100 A/B increments, RS422="TTL" iTcMc EncoderM3120 [} 151] _ M3120 A/B increments, RS422="TTL" iTcMc EncoderM3120 [} 151] _