Advantech RS-100-RT Instrukcja Użytkownika Strona 241

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 398
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 240
Chapter 4 Command Set 4-157
4050, 4052, 4053, 4060, 4051, 4055, 4068
Chapter 4
4050, 4060, 4055, 4068
#AABB
Response >(cr) if the command was valid.
?AA(cr) if an invalid command has been issued.
There is no response if the module detects a syntax error or
communication error or if the specified address does not exists.
>
delimiter character
indicating
valid command was received.
?
delimiter character indicating the command was invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of the digital I/O module that is responding.
(cr) is the terminating character, carriage return (0Dh).
Examples command: #140005(cr)
response: >(cr)
An output byte with value 05h (00000101) is sent to the digital
I/O module at address 14h
(Either ADAM-4050 or ADAM-
4060).
Its channels 0 and 2 will be set to ON. Other channels are
set to OFF.
command:
#151201(cr)
response:
>(cr)
An output bit with value 1 is sent to channel 2 of a digital I/O
module at address 15h (Either ADAM-4050 or ADAM-4060).
Channel two of the digital I/O module is set to ON.
Przeglądanie stron 240
1 2 ... 236 237 238 239 240 241 242 243 244 245 246 ... 397 398

Komentarze do niniejszej Instrukcji

Brak uwag