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…

100%1 / 309
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对于 DS5PSINA_PARA_S 中的 AxisNO 默认 1 开始不管后面带了多少个伺服从站,AxisNO
全部设为 1,轴区分通过 hardWare 端口区分。
DS5P 系列伺服驱动器用户手册 7 参数读写功
162
2)功块输参数 Parameter_No 位机 Parameter_NO16 表示
0x1000-0x1FFF功能码计算出十六进制数后加 1000其中,bit8—bit11 表示:功能码组号16
进制)bit0-bit7 表示功能码组内偏置。0x1000 表示 P0-000x1302 表示 P3-020x150C
表示 P5-120x2000 表示 U0-000x3000 表示 F0-00
3valueWriter1 16 位数据写入区,valueWriter2 32 位数据写入区,ValueRead1 16 位数据
读取区,ValueRead2 32 位数读取区。当伺服参数的数据范围 16 位数据范内,则
当在 valueWriter1 中赋值。当伺服参数的数据范围 16 位数据范围外,则应当在 valueWriter2
中赋值。