PPO1 type telegram

jonas

Member
Join Date
Nov 2004
Posts
2
I would like to comunicate with PPO1 (4 words for PKW, 2 for PZD).
Can I use SFC14 and SFC15 for the communication?
I have MM420 and a S7 315-DP. The logical address is 256.

If I read the manual, it says just maximum 4 continous bytes using load instructions that access the I/O or the process image input table. Or can I still use SFC14/15 to Ttransmitt/Recieve 4 words?
 
Hello Jonas;
I would like to comunicate with PPO1 (4 words for PKW, 2 for PZD).

For the 2 PZD (process data), meaning the control word and the speed setpoint you do not (can not, must not) use SFC14/15. Since each PZD word is complete by itself, you just MOVE (Load/Transfer) the correct value to the required address:

Speed Setpoint: a hex value of 4000 (100% max. parametered speed) moved to PQW258 (since the base address is 256)
Control word: a hex value of 047E, then 047F to PQW256 to start the motor and ramp up to the speed setpoint selected. Then write 447F to the same address for a rotation change, 447E or 047E to stop the drive, etc... The MM420 manual will show you the bit per bit definition of the control word.

For the PKW (parameter words), you must send the 4 words as one unit (consistency total)top the drive; this means 8 bytes of data at one shot, more than the 4 byte limitation you mention. This is where you need SFC15. You must setup a DB or M zone with 4 words containing the adequate data to read/write specific parameter information: check the MM420 manuals to check out the details. Just as an example, setting up 4 contiguous words with the following hex values:

2002 // first nibble indicates read(1) or write(2);
//lowest nibbles: parameter number
0000 // not used for this parameter but must be present
0000 // not used for this parameter but must be present
000A // a value of 10 is written to the parameter selected

and sending them to PQW260 top PQW267 through SFC15 will write 10 seconds to the acceleratrion ramptime parameter (No. 2).

Hope this helps,
Daniel Chartier
 

Similar Topics

Hi, I'm using PPO1 to communicate with MM440. I only need to read and modify MM440 parameters, so i sucssesfully use PKW mechanism. I don't have...
Replies
1
Views
1,304
I cannot add SLC500 analog input tag (I: 8.3) to EZSeries Touch Panel Editor (V 5.3). I used all the listed tag datatype but it all says "Invalid...
Replies
10
Views
258
Hello, I am learning to create shapes and VB Scripts in HMIWeb Display Builder. I wanted to change color of my rounded rectangle by script. I...
Replies
0
Views
109
I have an AB micro820 analog inputs takes word datatype to scale my input to 0-100% , i need to know the word datatype range does anyone knows...
Replies
3
Views
153
Back
Top Bottom