Jump to content

Block Move to Peripheral Addresses?


Recommended Posts

Posted
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!

Posted
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.

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
×
×
  • Create New...