Rockwell-automation 2755-DM9, -DM9E High Speed Decoder Instrukcja Użytkownika Strona 102

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 101
Interface
Chapter 7
Host Commands Using the RS-232 or RS-422
7–10
Example:
Command: IM2#1
Response: =00LF
Comments: 2 = message length.
#1 = source identification message.
00 = “command complete” response code.
LF = end of message control code for Line Feed.
Command: MCn
Function: Reads the output counter.
Response: mmmmmm<end>=rr<end>
Comments: MC = Read output counter command.
n = output counter. This value must be from 1 through 8.
mmmmmm = output counter count. Maximum value of
999999.
<end> = end of message code.
rr = response code, refer to Table 7.B.
<end> = end of message code.
Example:
Command: MC3
Response: 000121LF=00LF
Comments: 000121 = Output #3 has been activated 121 times since the
last restart or reset.
LF = end of message code for Line Feed
00 = “command complete” response code
LF = end of message code for Line Feed
Command: MFabcdefgdddssshx
Function: Specifies the format of messages.
9. Read Output Counter
10. Set Message Format
Przeglądanie stron 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 166 167

Komentarze do niniejszej Instrukcji

Brak uwag