Download Flex Network High-Speed Counter Unit User Manual

Transcript
Chapter 5 – Data Settings
„ Data Setting Procedures
Write
Read
1. Set WD register to a value.
2. Enter a Write command in the
CMD register.
1. Enter a Read command in the
CMD register.
Data is written to the High-speed Counter
unit.
Data is read from the High-speed Counter
unit to the RD register.
„ High Speed Counter Command Flow
‹ Data Write to Ring Counter Upper/Lower Limit Values
1)
Change to Setting Mode
(CTL bits 14, 15)
Status Check
(STA bits 14, 15)
Setting Mode
RUN Mode
2)
A
6) Reflected in Status
(STA)
Setting Mode
RUN Mode
3)
Ring counter Upper Limit or Lower
Input of Ring Counter Upper Limit
Limit WD
(Integer) or Lower Limit (Integer)
Since the upper limit and
lower limit cannot be input at the same time, you
will need to repeat certain
operations.
3: Counter 1 Lower limit
4: Counter2 Upper limit
5: Counter 2 Lower limit
6: Counter 2 Upper limit
4)
Ring Counter Upper limit/Lower limit
0 Clear
Command Send/CMD
A
5)
Command Complete Check/ Status
(bit 13)
Check new Ring Counter value/RD
Ring Counter
Value
Depending on
the driver used,
when the next
command is
issued, this will
turn OFF.
The Flex Network Driver contains the RESET signal. All setting and resetting of all other signals is performed via the user’s software.
Flex Network High-Speed Counter Unit User Manual
5–7