Download User Manual - LUCKINSlive

Transcript
Application Examples
Solution
Setting Parameters
The counter parameters are set in these 5 steps:
1. setting the operating mode and activating the 20 kHz filter
2. configuring output 1 as a frequency output for the count frequency and disabling
the line break monitoring
3. configuring output 3 as a frequency output for the time base
4. sending the complete period id
5. setting the software enable
These steps are explained below.
Step 1: Setting the Operating Mode and Activating the 20 kHz Filter
Set the operating mode (=8) and the 20 kHz filter. This occurs in the output word
word 1.
Output word
Output Word
Entry
400 101
808 hex
400 102
0
400 103
0
400 104
0
400 105
0
400 106
0
400 107
0
400 108
0
Input word
Input Word
Return Value
300 101
220 hex
300 102
300 103
800 hex
300 104
300 105
300 106
300 107
300 108
130
33001466 06/2011