Toshiba ME00070B Manual page 15

Tms7 series
Table of Contents

Advertisement

NOTE:
If no TMS7 starter is configured to the specific
slave address, no response will be received by the
host. The host software timeout should be set to a
minimum of 250 ms.
CAUTION
NOTE:
Slave address must be two digit, addresses less
than 10 must have a leading zero (0).
CAUTION
Master command to slave.
ASCII STX
[command]
or
02h
[c1]h [c2]h [c3]h
[command] = 3 byte ASCII command (or request) selected from
the tables below.
LRC = Longitudinal Redundancy Check.
Slave response if Command and LRC correct
ASCII ACK
or
06h
Slave response if Command and LRC incorrect
ASCII NAK
or
15h
Slave response of Read request correct and LRC correct.
ASCII STX
[data]
ETX
or
02h
[d3]h [d2]h [d1]h [d0]h [LRC1]h [LRC2]h
03h
Slave response if Read request or LRC invalid.
ASCII NAK
or
15h
Each command, status or data request is a 3 byte string as
detailed below. Invalid command/request strings cause the
TMS7 to respond with a NAK (15h).
Command ASCII
Comment
Start
B10
Initiates a start.
Stop
B12
Initiates a stop
Reset
B14
Resets a trip state
Coast to
B16
Initiates an immediate removal of
stop
voltage from the motor. Any soft
settings are ignored.
Status
ASCII
Comment
Read
Status
C10
Requests the configuration status of the
TMS7.
Status_1
C12
Requests the operational status of the
TMS7.
Trip
C14
Requests the trip status of the TMS7.
Version
C16
RS485 protocol version number.
Trip Code
C18
255 =
0 =
1 =
2 =
3 =
4 =
5 =
TMS7 SERIES
LRC
ETX
[LRC1]h [LRC2]h
03h
LRC
No trip
Shorted SCR
Reserved
Motor Thermal model trip
Motor thermistor
Current imbalance trip
Supply frequency trip
Status
ASCII
Read
Data Read ASCII
Current
D10
Temp
D12
Each command string sent to and from the TMS7 includes a
check sum. The form used is the Longitudinal Redundancy
Check (LRC) in ASCII hex. This is an 8-bit binary number
represented and transmitted as two ASCII hexadecimal
characters.
To calculate LRC:
1.
Sum all ASCII bytes
2.
Mod 256
3.
2's complement
4.
ASCII convert
For example Command String (Start);
ASCII
STX
or
02h
ASCII
Hex
STX
02h
B
42h
1
31h
0
30h
A5h
A5h
5Ah
01h
5Bh
ASCII 5
B
or
35h
42h
The complete command string becomes
ASCII STX
B
or
02h
42h
To verify a received message containing an LRC;
1.
Convert the last two bytes of message from ASCII to
binary.
2.
Left shift 2
to last byte 4 bits.
nd
3.
Add this result to the last byte to get the binary LRC.
4.
Add up all the bytes of the message, except the last two.
5.
Add the binary LRC.
6.
The least significant byte should be zero.
For example:
ASCII
STX
ETX
ME00070B
CONTROL CIRCUITS
Comment
6 =
Phase rotation trip
7 =
Stall trip
8 =
Power circuit fault
9 =
Undercurrent trip
10 =
Starter heatsink
overtemperature
11 =
Invalid motor connection
Comment
Requests motor current. The data is 4
byte decimal ASCII. Minimum value
0000, Maximum value 9999 Amps.
Requests the calculated value of the
motor thermal model as a % of Motor
Thermal Capacity. The data is 4 byte
decimal ASCII. Minimum value 0000%.
Trip point 0105%.
B
1
42h
31h
Binary
0000 0010
0100 0010
0011 0001
0011 0000
1010 0101 SUM (1)
1010 0101 MOD 256 (2)
0101 1010 1's COMPLEMENT
0101 1011 + 1 =
0101 1011 2's COMPLEMENT (3)
ASCII CONVERT (4)
LRC CHECKSUM
1
0
5
B
31h
30h
35h
42h
B
1
0
5
0
30h
ETX
03h
B
15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents