DS5P系列伺服驱动器用户手册(SC5 12 20251230 1.3.1)-2026.3.6.pdf - 第171页
DS5P 系列伺服驱 动器用户手册 7 参数读写功 能 161 允许的属性、 参数个数、子 索引组合: Attribute No. of elements Subindex Related data V alue (single para meter) 0 0 The value(reco mmend ed) 1 0 The value(for compatib ility , do not use for request) V alu…

DS5P 系列伺服驱动器用户手册 7 参数读写功能
160
address
1
st
Parameter
value(s)
(only for request
”Change
parameter”)
Format
No. of values
4+6×i
Values
…
i
th
Parameter values
…
4+6×i+…+(Format_n×Qty_n)
请求头:
Request reference
宿主的请求/响应对的唯一标识。宿主可以为每次请求改变标识号。
Request ID
两种 ID:请求 ID,值改变 ID。
值改变请可以改变值保存到易失或非易失 RAM 中。
Axis-No./DO-ID
在基本模式访问-本地下,不相关。在基本模式访问-全局下,Axis-No./DO-ID 用于多轴下的轴号
设置。
No. of parameters
请求的参数号
请求地址:
Attribute 属性:
(1)值,(2)参数描述,(3)文本描述。
Number of elements
元素个数
Parameter number (PNU)
参数号,值范围(1-65535)
Subindex
子索引,值范围(0-65534)
请求值:
Format
数据格式,类型。
Number of values
请求值个数。
values
参数值。

DS5P 系列伺服驱动器用户手册 7 参数读写功能
161
允许的属性、参数个数、子索引组合:
Attribute
No. of
elements
Subindex
Related data
Value (single parameter)
0
0
The value(recommended)
1
0
The value(for compatibility, do not use for
request)
Value (array parameter)
0
0
One value, under subindex 0
1
0 - m
One value, under subindex
2 - n
a
0 - m
Several values, starting with subindex
Value (string parameter)
0
0
The entire string (if the response exceedes the
block size, the string is cut at the end to match
the block size)
1
0 - m
One character, under subindex
2 - n
a
0 - m
Several characters, starting with subindex
Description
0
(irrelevant)
0
The entire description
1
1 - 12
One description element
Text (from text array)
1
0 - m
One text(16bytes), under subindex
2 - n
0 - m
Several texts, starting with subindex
a
If the number of elements available in the device does not match with the number of elements
which are requested or shall be changed, an error shall be output.
在西门子 PLC 中可以通过 FB287 功能块 Sina-Para-S 进行非周期读写。
此功能实现 PLC 和 DS5P 驱动器的非周期数据交互功能,主要是伺服读写访问操作。目前只支持
单参数操作。
1)对于 DS5P,SINA_PARA_S 中的 AxisNO 默认从 1 开始,不管后面带了多少个伺服从站,AxisNO
全部设为 1,轴区分通过 hardWare 端口区分。

DS5P 系列伺服驱动器用户手册 7 参数读写功能
162
2)功能块输入参数 Parameter_No 设置如下:上位机 Parameter_NO(16 进制表示)设置地址为
0x1000-0x1FFF,功能码计算出十六进制数后加 1000,其中,bit8—bit11 表示:功能码组号(16
进制)。bit0-bit7 表示功能码组内偏置。如:0x1000 表示 P0-00。0x1302 表示 P3-02。0x150C
表示 P5-12。0x2000 表示 U0-00。0x3000 表示 F0-00。
3)valueWriter1 为 16 位数据写入区,valueWriter2 为 32 位数据写入区,ValueRead1 为 16 位数据
读取区,ValueRead2 为 32 位数据读取区。当伺服参数的数据范围在 16 位数据范围内,则应
当在 valueWriter1 中赋值。当伺服参数的数据范围在 16 位数据范围外,则应当在 valueWriter2
中赋值。