dave Posted February 7, 2010 Report Posted February 7, 2010 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!
slcman Posted February 8, 2010 Report Posted February 8, 2010 SFC20 may help you. Check chapter 3 in attachement SFC_e.pdf
JesperMP Posted February 16, 2010 Report Posted February 16, 2010 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now