发布于 2011-04-27 13:14:43
253楼
谢谢凡大侠!但是还有些疑问如下:
The difference in the transfer procedure begins at a user data length of 241 bytes. From this length on you must no longer use the FCs "(FC5) - PLC_Send" and "(FC6) - PLC_RECV". Here you have to use the FCs "(FC50) - PLC_LSEND" and "(FC60) - PLC_LRECV". These FCs check the length of the data to be sent. If it is longer than 240 bytes, FC initializes the CP. Then the CP handles the transfer of the data. This transfer uses PUT and GET jobs instead of reading/writing the data record.
上面的内容大致是说,当通讯字节时大于240字节时,不能使用FC5/FC6,只能使用FC50/FC60。(这点能理解,但为什么S7400的FC5,FC6不能传送大于240字节的数据,而S7300的可以?)当使用FC50/FC60时,FC会初始化CP,由CP控制数据传送(难道采用FC5,FC6就不是由CP控制数据传送?如何理解这句话?)这个传送使用PUT/GET功能代替读写数据记录(如何理解这个PUT/GET?)。
您说的SFC58/SFC59读写数据记录的周期取决于CPU的扫描周期。S7300,S7400都是采用SFC58/SFC59与CP进行数据交换?读写周期都同步于CPU的周期就是同步SFC调用?
S7通讯的端点为什么是CPU?是不是就是因为需要CPU进行应答和确认啊?