Manual
5–6 Interpret Module Status and Input Data
Publication
17716.5.99 - December 1995
Example
reading data from the CFM module
In this example, the CFM module:
•
has a constant input frequency of 729Hz fed to all channels
•
has input channels configured as follows:
CH 0 CH 1 CH 2 & 3
Operating Mode
Totalizer Nonresettable Totalizer Highresolution Frequency
Minimum Frequency Sampling Time 50ms 250ms 10ms
Highest Allowable Frequency 25000 10000 50000
Acceleration Alarm Value 3500
Acceleration Calculation Time 10 (every 10 frequency samples)
Rollover Value 360000
Frequency Scaler Multiplier
Divisor
6
36
Frequency in 10ths 0.1Hz
Bandwidth Limit 1/sample time
Sampling Termination time or 200 counts
The
following data table is a printout from the PLC5 processor program example (page
3-4
). This printout shows the BTW words
(160) and BTR words (101141), in binary
, used to communicate with the CFM module.
1771CFM
Sample PLC5 Program
24 May 1993 Page 1
Data T
able Report
PLC5/20 File CFMSAMPL
Data T
able File N22:0
Address 0 1 2 3 4 5 6 7 8 9
N22:0 0 8192 0 0 801 10 50 0 25000 3500
N22:10 1572 0 0 36 0 0 250 0 10000 0
N22:20 0 0 0 0 0 -4096 10 200 12500 0
N22:30 0 0 0 0 0 0 0 0 0 0
N22:40 0 0 0 0 0 0 0 0 0 0
N22:50 0 0 0 0 0 0 0 0 0 0
N22:60 0 0 0 0 0 0 0 0 0 0
N22:70 0 0 0 0 0 0 0 0 0 0
N22:80 0 0 0 0 0 0 0 0 0 0
N22:90 0 0 0 0 0 0 0 0 0 0
N22:100 0 8192 0 801 4 0 969 0 123 26
N22:110 2789 0 0 0 0 2392 0 730 62 2853
N22:120 0 0 0 0 477 0 7289 0 0 0
N22:130 0 0 0 0 0 0 0 0 0 0
N22:140 0 0 0 0 0 0 0 0 0 0
T
roubleshoot
the CFM Module
6
What's Next