Mitsubishi Electric FR-D720-0.2K-G Instruction Manual page 197

S-pm geared motor drive unit fr-d700-g series
Table of Contents

Advertisement

Communication operation and setting
(4) Data definitions
1) Control code
Signal
ASCII Code
STX
ETX
ENQ
ACK
LF
CR
NAK
2) Drive unit station number
Specify the station number of the drive unit which communicates with the computer.
3) Instruction code
Specify the processing request, for example, operation or monitoring, given by the computer to the drive unit. Hence, the
drive unit can be run and monitored in various ways by specifying the instruction code as appropriate. (Refer to page 54.)
4) Data
Indicates the data such as speed and parameters transferred to and from the drive unit. The definitions and ranges of
set data are determined in accordance with the instruction codes. (Refer to page 54.)
5) Waiting time
Specify the waiting time between the receipt of data at the drive unit from the computer and the transmission of reply
data. Set the waiting time in accordance with the response time of the computer between 0 and 150ms in 10ms
increments. (example: 1 = 10ms, 2 = 20ms).
When Pr.123 (waiting time setting)≠ "9999", the Pr.123 setting is applied to waiting time. Create a communication request
data without "waiting time" in the data format. (The number of characters decreases by 1.)
Computer
Drive unit
Drive unit
Computer
REMARKS
 The data check time changes depending on the instruction code. (Refer to page 195.)
6) Sum check code
The sum check code is 2-digit ASCII (hexadecimal) representing the lower 1 byte (8 bits) of the sum of the target data
converted in ASCII character code.
(Example 1)
Computer
ASCII Code
When the Pr. 123 Waiting time setting
data without "waiting time" in the data format. (The number of characters decreases by 1.)
(Example 2)
Drive unit
ASCII Code
194
H02
Start of Text (Start of data)
H03
End of Text (End of data)
H05
Enquiry (Communication request)
H06
Acknowledge (No data error detected)
H0A
Line Feed
H0D
Carriage Return
H15
Negative Acknowledge (Data error detected)
Station
ENQ
Drive unit
number
0
1
H05
H30 H31
H30+H31+H45+H31+H31+H30+H37+H41+H44
=H1F4
Sum
=
Station
STX
Computer
number
0
1
H02
H30 H31
H30+H31+H31+H37+H37+H30
= H130
Sum
Description
Drive unit data processing time
= Waiting time ∗1 + Data check time ∗2
∗1 When Pr.123 = "9999": Setting value
When Pr.123 ≠ "9999": Pr.123 setting
∗2 About 10 to 30ms, which depends on the instruction code
Instruction
Data
code
E
1
1
0
7
A
H45 H31
H31
H30 H37 H41 H44 H46 H34
"9999", create the communication request
Sum
ETX
check
Data read
code
1
7
7
0
3
H31 H37
H37
H30 H03 H33 H30
via communication 10ms
Sum
check
code
D
F
4
Binary code
0
Binary code

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents