Function description
Operating Manual PSSu K F INC
1001688-EN-09
19
4.2.5.4
Set counter status
The "Set counter status" function sets the counter to any value. The value is stated in the
user program. The module transfers the value and continues counting from this counter
status.
PIO
PII
Legend:
}
PIO: Process image of outputs, I/O datum: OutputData.SetCounter
}
PII: Process image of inputs, I/O datum: InputData.SetCounterDone
Key to timing diagram:
Section
Function
Procedure for PSSu in system environ-
ment B
a
Enter counter status
In the user program, assign the default
counter status to OutputData.NewCounter-
Value
b
Transfer counter status
In the user program, set OutputData.Set-
Counter
c
Acknowledge transfer
The module sets InputData.SetCounter-
Done; InputData.Underflow and Input-
Data.Overflow are reset
d
Finish transfer
In the user program, reset OutputData.Set-
Counter
e
Ready for new function
The module resets InputData.SetCounter-
Done
4.2.5.5
Multiple evaluation
The module can evaluate the counter pulses once, twice or four times. Multiple evaluation
increases the number of measuring steps and reduces the output frequency of the incre-
mental encoder.
Multiple evaluation is only possible in incremental encoder operating mode.
}
Single evaluation
option:
Each rising edge at channel A increases the counter status.
}
Double evaluation
option:
Each rising and each falling edge at channel A increases the counter status.
}
Quadruple evaluation
option:
Each rising and each falling edge at channel A and channel B increases the counter
status.