
9. EasyPort USB command interpreter
144
© Festo Didactic GmbH & Co. KG „ 721876
144
In addition to the commands for reading and writing digital signals,
there are additional commands for controlling the performance of an
EasyPort USB module.
These include the command for
setting the event mode
:
MT<n>=xx
where <n> is the module address and xx is the hexadecimal
time value (xx = 00...FF [ms]).
If the event mode has been activated, the EasyPort USB module
automatically notifies the PC of modified digital input data. The
minimum time within which the PC is notified of an input change is
adjustable.
Modify
command
Resource
Module
address
Examples and comments
M
(modify)
T
(timer)
1
...
4
MT2=01
Activate the event mode for the EasyPort USB module with
address 2 with a time value of 1 ms.
Description: if a digital input signal at EasyPort USB
module 2 is changed, the PC is automatically notified of
the entire input word after 10 ms.
MT2=00
The event mode for EasyPort USB module 2 is exited. From
now on, input signals are only sent to the PC on request.
Summary of Contents for EasyPort USB D16A
Page 1: ...721876 DEENESFR EasyPort USB Manual CD ROM included ...
Page 339: ......
Page 340: ......