
9. EasyPort USB command interpreter
158
© Festo Didactic GmbH & Co. KG „ 721876
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
Command
Response
Description
MC<n>.<m>=1
C<n>.<m>=1
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.
MC<n>.<m>=0
C<n>.<m>=0
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).
Activating and deactivating the high-speed counter
9.8
Commands for
high-speed counters
Summary of Contents for EasyPort USB D16A
Page 1: ...721876 DEENESFR EasyPort USB Manual CD ROM included ...
Page 339: ......
Page 340: ......