Data Transmission Format; Data Transmission Format Used In Ascii Mode - Toshiba Tosvert RS485 Instruction Manual

Rs485 communication function
Hide thumbs Also See for Tosvert RS485:
Table of Contents

Advertisement

4.1. Data transmission format

Note: The term "trip status" used in this manual includes retry waiting status and trip retention status.

4.1.1. Data transmission format used in ASCII mode

A communication number is used to specify a data item, all data is written in hexadecimal, and JIS-
X-0201 (ASCII (ANSI))-compliant transmission characters are used.
Computer → Inverter
 Omissible in one-to-one communication
(3.5bytes
"("
INV-NO
Blank)
(28H)
2 bytes
    Checksum area    
1. "(" (1 byte)
2. INV-NO (2 bytes) : Inverter number (Omissible in one-to-one communication) ... 00 (30H, 30H) to 99 (39H,
3. CMD (1 byte)
4. Communication No.(4 bytes)
5. Data (0 to 4 bytes): Write data (valid for the W and P commands only)
6. "&" (1 byte)
7. Sum (2 bytes)
8. ")" (1 byte)
9. CR (1 byte)
Details of commands and data
CMD (1 byte)
R (52H): RAM read command
W (57H): RAM/EEPROM write command
P (50H) RAM write command
For the W and P commands only   Omissible
CMD
Communication No.
1 byte
4 bytes
: Start code in ASCII mode
39h), *(2AH)
The command is executed only when the inverter number matches up with that specified
using a parameter.
(When * is specified in broadcast communication, the inverter number is assumed to match
if all numbers except * match. When * is specified instead of each digit (two-digit number),
all inverters connected are assumed to match.)
If the inverter number does not match or if the inverter number is of one digit, the data will
be judged invalid and no data will be returned.
: Command (For details, see the table below.)
: Communication number (See 11, "Parameter data.")
: Checksum discrimination code (omissible. When omitting this code, you also need to omit
the checksum.)
: Checksum (omissible)
Add the ASCII-coded value of the last two digits (4 bits/digit) of the sum of a series of bits
(ASCII codes) from the start code to the checksum discrimination code.
Ex.: (R0000&??) CR
28H+52H+30H+30H+30H+30H+26H=160H
The last two digits represent the checksum. = 60
When omitting the checksum, you also need to omit the checksum discrimination
code.
: Stop code (omissible)
: Carriage return code
DATA
"&"
0 to 4 bytes
(26H)
2 bytes
   Omissible
     
Write data (0 to 4 bytes) Hexadecimal number
No data
Write data (0 to FFFF)
Write data (0 to FFFF)
7
E6581315
SUM
")"
CR  
(3.5bytes
(29H)
(0DH)
Blank)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tosvert vf-as1 series

Table of Contents