mengyu520
级别: 略有小成
精华主题: 0
发帖数量: 85 个
工控威望: 231 点
下载积分: 861 分
在线时间: 30(小时)
注册时间: 2009-08-10
最后登录: 2024-11-03
查看mengyu520的 主题 / 回贴
楼主  发表于: 2010-02-05 16:32
图片:
其中一段,谁能给我解释一下啊????
hsiung
Just do as you want.
级别: 家园常客
精华主题: 1 篇
发帖数量: 505 个
工控威望: 928 点
下载积分: 8490 分
在线时间: 85(小时)
注册时间: 2008-09-04
最后登录: 2024-11-17
查看hsiung的 主题 / 回贴
1楼  发表于: 2010-02-05 21:35
Reading Consistent Data of a DP Standard Slave//PROFINET IO Device with SFC 14 "DPRD_DAT"
Description

With SFC 14 "DPRD_DAT" (read consistent data of a DP standard slave), you read the consistent data of a DP standard slave/PROFINET IO device.

To find the maximum length that applies for S7-300 CPUs, refer to the manuals, Automation System S7-300, Hardware and Installation, ET?00S Interface Submodule, IM151-7 CPU, or Base Submodule BM147CPU. For S7-400 CPUs refer to the manual Automation System S7-400 CPU Data. If no error occurred during the data transfer, the data that have been read are entered in the destination area identified by RECORD.

The destination area must have the same length as configured for the selected module with STEP 7.

If you read from a DP standard slave with a modular design or with several DP identifiers, you can only access the data of one module/DP identifier per SFC 14 call specifying the configured start address.
Evaluate your time,
Controll your life.
hsiung
Just do as you want.
级别: 家园常客
精华主题: 1 篇
发帖数量: 505 个
工控威望: 928 点
下载积分: 8490 分
在线时间: 85(小时)
注册时间: 2008-09-04
最后登录: 2024-11-17
查看hsiung的 主题 / 回贴
2楼  发表于: 2010-02-05 21:36
Writing Consistent Data to a DP Standard Slave/PROFINET IO Device with SFC 15 "DPWR_DAT"
Description

With SFC 15 "DPWR_DAT" (write consistent data to a DP standard slave), you transfer the data in RECORD consistently to the addressed DP standard slave/PROFINET IO device and, if required, to the process image (namely if you have configured the respective address area of the DP standard slave as consistency range in a process image). To find the maximum length of the data to be transferred for S7-300 CPUs, refer to the manuals, Automation System S7-300, Hardware and Installation, ET?00S Interface Submodule, IM151-7 CPU, or Base Submodule BM147CPU. For S7-400 CPUs refer to the manual Automation System S7-400 CPU Data. The data is transferred synchronously, in other words, on completion of the SFC, the write job is also completed.

The source area must have the same length as you configured for the selected module with STEP 7.

If the DP standard slave has a modular design, you can only access one module of the DP slave.
Evaluate your time,
Controll your life.
hsiung
Just do as you want.
级别: 家园常客
精华主题: 1 篇
发帖数量: 505 个
工控威望: 928 点
下载积分: 8490 分
在线时间: 85(小时)
注册时间: 2008-09-04
最后登录: 2024-11-17
查看hsiung的 主题 / 回贴
3楼  发表于: 2010-02-05 21:37
看样子你的程序是上传得来的?或者是供货商根本就不想让你看源程序?
Evaluate your time,
Controll your life.