9. EasyPort USB command interpreter
9.8
Commands for
high-speed counters
Command
Response
MC<n>.<m>=1
C<n>.<m>=1
MC<n>.<m>=0
C<n>.<m>=0
Activating and deactivating the high-speed counter
158
158
The two high-speed counters 0 and 1 at the EasyPort USB can be
addressed with two commands. The command MC is used to activate
and deactivate the counter, and the command DC reads out the current
counter value.
The following are evaluated as counter pulses:
Input bit 0 from port 1 for counter 0
Input bit 0 from port 2 for counter 1
Description
Activate high-speed counter
High-speed counter number <m> (<m> =0, 1) is activated for the
EasyPort USB module with address <n> (<n> = 1...4).
Example
MC1.0=1
Counter 0 is started for the EasyPort USB module with address 1.
Deactivate high-speed counter
High-speed counter number <m> (<m> =0, 1) is deactivated for
the EasyPort USB module with address <n> (<n> = 1...4).
© Festo Didactic GmbH & Co. KG „ 721876