111
Data bytes
写数据
到
0013H
Write
data to
the 0013
h
高位
high
bit
00H
CRC
低位
low
bit
B0H
低位
low
bit
64H
CRC
高位
high
bit
0DH
写数据
到
0014H
Write
data to
the 0014
h
高位
high
bit
01H
低位
low
bit
2CH
CRC
低位
low
bit
F3H
位有符号整数。
A signed integer.
注
2
:写单个寄存器,上位机需用
5.5ms
左右时间
,以等待驱动器完成内部数据存储器的
烧写;同理,写
N
个寄存器(
N<=8
),则上位机需要
5.5ms*N
等待时间,才能再发
送写命令。
Note 2: write a single register, PC must be about 5.5 ms, waiting for the driver to
complete the internal data storage of burning; By the same token, the register write N (N < = 8), the
upper machine needs 5.5 ms * N waiting time, to send the write command.
注
3
:读取
Dn-13
参数时,实际电压值
=
读取值
/100
。
Note 3: read the Dn - 13 parameters, the actual
voltage value = value read / 100.
7.3.5
校验码计算
Check code to calculate
1. LRC
校验
LRC England check
ASCII
模式采用
LRC
(
Longitudinal Redundancy Check
)校验码。
LRC
校验是计算
Address
、
CMD
、起始数据
地址及数据内容之总和,将总和结果以
256
为单位
,
取余数
(
若总和结果为
150H
,则只取
50H
)后,再计算
其补码,最后得到的结果为
LRC
校验码。
ASCII mode using LRC England (Longitudinal Redundancy Check)
Check code. LRC England calibration is to calculate the Address, CMD, initial data Address and the sum total
of the data content will be combined results in 256, modulo (if the sum of the results for 150 h, then only take 50
h), to calculate its complement, the final results for LRC England check code.
例:从站点
01 H
伺服驱动器的
0013
地址读取
2
个字(
word
)。
Example: 01 H servo drive from site 0013
address read 2 word (word)