Sign in to follow this  
Followers 0
dave

Block Move to Peripheral Addresses?

3 posts in this topic

Hi All, Using Step7 S7-300 series with devices on Profibus. I have a station on the Profibus network which has 80 output bytes. I have data to send to it in a data block, organised as a contiguous block of 80 bytes to match. What's most efficient way of transferring data from DB to PQB please? Normally I would use SFC20 to move blocks of data but I don't think you can do this with PQB, or can you? I realiase I can use 20 individual MOVE instructions (DB10.DBD0 --> PQD400 as an example 1 of 20) but that seems a bit clumsy. Thanks!

Share this post


Link to post
Share on other sites
SFC20 may help you. Check chapter 3 in attachement SFC_e.pdf

Share this post


Link to post
Share on other sites
Hi dave. You say "PQB" so I guess you are using a CPU with an integrated DP port. In that case you should use SFC14 and SFC15 to transfer the data. If on the other hand you are using a CP342-5, then you must use the blocks FC1 and FC2 (DP_SEND and DP_RECV) from the standard library to transfer the data.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0