194
Communication operation and setting
(4) Data definitions
1) Control code
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.
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.
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.)
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.
Signal
ASCII Code
Description
STX
H02
Start of Text (Start of data)
ETX
H03
End of Text (End of data)
ENQ
H05
Enquiry (Communication request)
ACK
H06
Acknowledge (No data error detected)
LF
H0A
Line Feed
CR
H0D
Carriage Return
NAK
H15
Negative Acknowledge (Data error detected)
REMARKS
The data check time changes depending on the instruction code.
Computer
Drive unit
Drive unit
Computer
Drive unit data processing time
= Waiting time
∗1
+ Data check time
∗2
∗1
When
Pr.123
= "9999": Setting value
via communication 10ms
When
Pr.123
≠ "9999":
Pr.123
setting
∗2
About 10 to 30ms, which depends on the instruction code
(Example 1)
Computer Drive unit
ENQ
*W
aiting
time
1
Instruction
code
Station
number
0
1
Data
E
1
0
7
A
D
F
4
H05
H30 H31
H31
H45 H31
H30 H37 H41 H44 H46 H34
(Example 2)
STX
Station
number
0
1
1
7
0
3
0
H02
H30 H31
H37
H31 H37
H30 H03 H33 H30
H30+H31+H31+H37+H37+H30
= H130
ETX
7
Drive unit Computer
ASCII Code
ASCII Code
Sum
check
code
Sum
check
code
Binary code
Binary code
Sum
When the
Pr. 123 Waiting time setting
"9999", create the communication request
data without "waiting time" in the data format. (The number of characters decreases by 1.)
Sum
Data read
=
∗
H30+H31+H45+H31+H31+H30+H37+H41+H44
=H1F4
Содержание FR-D720-0.2K-G
Страница 45: ...34 MEMO ...
Страница 293: ...290 MEMO ...
Страница 294: ...291 APPENDIX This chapter provides the APPENDIX of this product Always read the instructions before using the equipment ...