9. EasyPort USB command interpreter
Command
Response
MME=4
ME=4
Data format of
transmitted data:
yxx<CR>
MS1=01<CR>
S1=01<CR>
MME=4<CR>
ME=4<CR>
2xx<CR>
2xx<CR>
...
Activating the measuring mode for analogue input channels
© Festo Didactic GmbH & Co. KG „ 721876
Description
Activate the measuring mode
Measured values at the activated analogue input channel are
automatically and cyclically read out from the EasyPort USB.
The time period for read-out is 5 ms.
Data format xx is a binary format consisting of 2 bytes.
y is the identifier for the previously activated input channel.
y=2: analogue input channel 0
y=4: analogue input channel 1
y=6: analogue input channel 2
y=8: analogue input channel 3
Example: read out input channel 0
Activate analogue input channel 0 at the EasyPort USB
module with address 1.
Activate the measuring mode
The EasyPort USB reads out the measured values from
analogue input channel 0.
Volts is selected as the default unit of measurement for the display of
analogue measured values on the LCD.
Other physical quantities are frequently required for measuring and
control procedures. A separate physical unit of measurement can
therefore be assigned to each analogue channel. When an analogue
channel is selected for display on the LCD, the associated physical unit
of measurement that has been assigned at the PC is displayed.
153