![Festo EasyPort USB D16A Скачать руководство пользователя страница 141](http://html.mh-extra.com/html/festo/easyport-usb-d16a/easyport-usb-d16a_manual_2283214141.webp)
9. EasyPort USB command interpreter
© Festo Didactic GmbH & Co. KG „ 721876
141
Command
Response
Description and example
DS
S=xx
Read out status word
The status word of an EasyPort USB module is returned as hexadecimal
value xx.
Meanings:
Bit 7 Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Display Up
Down
Out
In
Setup
Error
Bit 0 = 1
Output driver error
Bit 1 = 1
Module initialised
Bit 2 = 1
Input voltage range
-10...+10 V DC
Bit 2 = 0
Input voltage range
0...10 V DC
Bit 3 = 1
Output voltage range
-10...+10 V DC
Bit 3 = 0
Output voltage range
0...10 V DC
Bit 4 = 1
button pressed
Bit 5 = 1
button pressed
Bit 6 = 1
All display segments are activated.
Bit 6 = 0
The normal display is activated
Example
Command
Response
Description
DS
S = 12
A value of 12 hexadecimal or
18 decimal is returned.
This means: bit 1 = 1 and bit 4 = 1.
The EasyPort USB module is correctly
initialised, input and output voltage
have been set to 0...10 V, the
button is pressed and the
normal display is activated.
Initialisation and diagnostics (continued)
Содержание EasyPort USB D16A
Страница 1: ...721876 DEENESFR EasyPort USB Manual CD ROM included ...
Страница 339: ......
Страница 340: ......