Rockwell-automation 2098-DSD-xxx Ultra3000 Host Commands for Serial In Instrukcja Użytkownika Strona 14

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 176
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 13
Publication 2098-RM003A-EN-P October 2001
1-2 Communications Protocol
The function field specifies what is to be done with the parameter,
and is defined as follows:
The data field provides any data necessary for the drive to implement
the command, and can have a variable number of characters. When
strings are used in the data field, two ASCII hex characters represent
the ASCII character. (For example, the # character is represented by
two characters, a 2 followed by a 3.) For some commands, the data
field is not used. Also, if the function code specifies to copy the
non-volatile value to the working value or vice versa, the data field is
absent.
The checksum field contains an ASCII hex version of the 8-bit
checksum of the Address, Parameter, Function, and Data fields. The
sum of the Address, Parameter, Function, Data, and Checksum field
should result in a value of zero. When computing the sum, the
characters of the Address, Parameter, Function, and Data fields are
summed with the 8-bit value represented by the characters of the
checksum field.
Drive Response Description
If the drive receives the hosts command with a communication error
(parity or checksum errors, for example), the drive does not respond.
The host should assume a communication error occurred if a response
from the drive does not occur within a time-out period. If the drive
receives the command without a communication error, the response is
in the same format as the host command.
The Address field contains the drive address, so the host can verify the
proper drive responded.
Function Action
0x0 Read working value.
0x1 Write working value.
0x2 Read non-volatile value.
0x3 Write non-volatile and working values.
0x4 Copy non-volatile value to working value.
0x5 Copy working value to non-volatile value.
0x6 Read default value.
0x7 Copy default value to non-volatile value and working values.
0x8 Read minimum value.
0x9 Read maximum value.
0xA Read Array Index Minimum.
0xB Read Array Index Maximum.
0xC - 0xF Reserved
Przeglądanie stron 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 175 176

Komentarze do niniejszej Instrukcji

Brak uwag