3/29/2016 2:51 PM | |
Joined: 12/8/2014 Last visit: 11/8/2022 Posts: 1 Rating:
|
Hello Friends, I am working on S5 to S7 conversion project and I am facing issue with SFC20 block move instruction during PLC code conversion. I would like to know how this instruction is getting executed in S5 PLC with some sample program for my understanding. Means how we define its starting address in S5 with different types and how to define its data length of data to be transferred. It would be very nice some explanation with some sample examples or some reference manual which will help me to understand the instruction very well with different data types and data sources and destinations. Here is some sample code. L FW 190 SLW 1 +F L KF +55 +F L KH EEFB TNB 22 Converted S7 PLC code is:- L MW 190 SLW 1 +I L 55 +I L W#16#EEFB //CALL SFC 20 ( // SRCBLK := P#????? BYTE 22, // RET_VAL := conv_ret_val, // DSTBLK := P#????? BYTE 22 // ); // *** Error in Line 4422 (FB 159): CALL SFC20 generated. Please complete parameter list. *** Please guide me how to remove this error. Thanks and Regards, Pawan Giri. ------------------------------------------------------------------------------------------ |
Last edited by: Min_Moderator at: 3/30/2016 9:20:19 AMNew subject after splitting |
|
4/9/2016 1:53 PM | |
Joined: 11/21/2007 Last visit: 8/12/2024 Posts: 2325 Rating:
|
Hello From S5 to S7 Converter Manual Section 9.4 of this manual gives you the basic concept of converting Block Move Commends from S5 to S7. |
There is no such thing as the last bug in a program |
|
This contribution was helpful to
4 thankful Users |
Follow us on