8400 StateLine C | Reference manual
I/O terminals
Digital terminals
268 L Firmware ≤ 11.00 - DMS 8.0 EN - 10/2011
6.1.2.1 Output of the encoder position of the DI1/DI2 frequency input
This function extension is available from version 06.00.00!
The LS_DigitalInput
system block has been extended by the integrator function for
providing the encoder position.
The integrator can take max. ±32000 encoder revolutions.
The starting position can be loaded via inputs.
The internal function can be set via parameters.
In addition to the encoder position, the "Overflow occurred/distance processed" status
signal is provided.
Inputs
Outputs
Identifier
DIS code | data type
Information/possible settings
bPosIn12_Load
BOOL
Load angle integrator with starting value and reset status signal
TRUE Angle integrator is loaded with the value at dnPosIn12_Set_p and
bPosIn12_State is reset to FALSE.
dnPosIn12_Set_p
DINT
Starting value for angle integrator
Identifier
DIS code | data type
Value/meaning
dnPosIn12_p
DINT
Angle output signal
• 65536 [incr.] ≡ 1 encoder revolution
• Overflow is possible (display via bPosIn12_State)
bPosIn12_State
BOOL
Status signal "Overflow occurred/distance processed"
• Status signal can be reset via bPosIn12_Load.
TRUE Overflow has occurred or distance is processed.