AB Powerflex 400 Parameters

I think I have run into one more little snag...I am able to read all parameters over 250 with no problem now (reading from N151) but when I try to write, nothing happens. The control returns no error and acts as though it is correctly writing, but when I check the parameter, it is unchanged. All parameters under 250 (on register N150) get updated no problem, but when I try to write to N151, nothing happens!
 
Run a Serial Port Monitor session with the HHD analyzer, configured for a "Request View". This will show you the requests from the AS software and the responses from the 22-SCM-232. Capture and post a couple of these exchanges while reading a value below N150:251 and another one reading a value from N151:x.

I like the Export at HTML format that the HHD software can do, which shows the request and response data in red and blue. You could also ZIP and post the Session capture file (*.ms2).

Although I'm pretty good at decoding DF1 protocol, it would be best if you can accompany these captures with the address the software is reading at the time.
 
Here is the output, I read the following address (in order):

N150:249
N150:250
N151:70
N151:71

I made screen captures of both the output (which you see below) and the output from the test program I was using, if you would like to see those too.
Request: 8/28/2007 1:04:00 PM.79864 (+9.3132 seconds)



10 02 01 00 0F 00 AD 00 A2 02 96 89 F9 00 10 03 ......*.¢.–‰ù...
87 ‡



Answer: 8/28/2007 1:04:00 PM.80864 (+0.0100 seconds)



10 06 10 02 00 01 4F 00 AD 00 00 00 10 03 03 ......O.*......



Request: 8/28/2007 1:04:00 PM.82864 (+0.0000 seconds)



10 06 10 02 01 00 0F 00 AE 00 A2 02 96 89 FA 00 ........®.¢.–‰ú.
10 03 85 ..…



Answer: 8/28/2007 1:05:33 PM.82464 (+0.0100 seconds)



10 06 10 02 00 01 4F 00 AE 00 32 00 10 03 D0 ......O.®.2...Ð



Request: 8/28/2007 1:05:33 PM.85464 (+0.0000 seconds)



10 06 10 02 01 00 0F 00 AF 00 A2 02 97 89 46 00 ........¯.¢.—‰F.
10 03 37 ..7



Answer: 8/28/2007 1:07:27 PM.26564 (+0.0100 seconds)



10 06 10 02 00 01 4F 00 AF 00 79 05 10 03 83 ......O.¯.y...ƒ



Request: 8/28/2007 1:07:27 PM.28564 (+0.0000 seconds)



10 06 10 02 01 00 0F 00 B0 00 A2 02 97 89 47 00 ........°.¢.—‰G.
10 03 35 ..5



Answer: 8/28/2007 1:07:48 PM.13564 (+0.0000 seconds)



10 06 10 02 00 01 4F 00 B0 00 CD 12 10 03 21 ......O.°.Í...!



Request: 8/28/2007 1:07:48 PM.16564 (+0.0000 seconds)



10 06 ..
 
Excellent !

This data capture shows the Automated Solutions driver doing precisely what I expect it to do. It's using the well-defined DF1 function code 0xA2 to read SLC-500 addresses.

Read N150:249
10 02 01 00 0F 00 AD 00 A2 02 96 89 F9 00 10 03

10 02 Start of Transmission
01 Destination Node 01
00 Source Node 00
0F Command code 0x0F
00 Status
AD 00 Transaction Sequence Word
A2 DF1 Function 0xA2 = Protected Typed Logical Read with Three Address Fields
02 Data Size = 2 bytes
96 Data File Number = 0x96 = 150 (dec)
89 Data File Type = Integer
F9 Element Number = 0x0F = 249 (dec)
00 Sub-Element Number = 0x00
10 03 End of Transmission


Read N151:70
10 06 10 02 01 00 0F 00 AF 00 A2 02 97 89 46 00 10 03

10 06 Transmission Acknowledged
10 02 Start of Transmission
01 Destination Node 01
00 Source Node 00
0F Command Code 0x0F
00 Status
AF 00 Transaction Sequence Word
A2 DF1 Function 0xA2 = Protected Typed Logical Read with Three Address Fields
02 Data size = 2 bytes
97 Data File Number = 0x97 = 151
89 Data File Type = Integer
46 Element Number = 0x46 = 70 (dec)
00 Sub-Element Number = 0x00
10 03 End of Transmission



Can you capture the Automated Solutions driver attempting to read N150:321, which it evidently would not do properly before ?
 
Last edited:
Reading N150:321


Request: 8/28/2007 3:40:40 PM.39264 (+9172.6588 seconds)





10 02 01 00 0F 00 B1 00 A2 02 96 89 41 00 10 03 ......±.¢.–‰A...
3B ;





Answer: 8/28/2007 3:40:40 PM.40264 (+0.0100 seconds)





10 06 10 02 00 01 4F 00 B1 00 01 00 10 03 FE ......O.±.....þ





Request: 8/28/2007 3:40:40 PM.42264 (+0.0000 seconds)





10 06
 
Last edited:
And an N151 write...

Request: 8/28/2007 3:45:29 PM.66164 (+69.1981 seconds)

10 02 01 00 0F 00 75 00 AA 02 97 89 0A 00 58 02 ......u.ª.—‰..X. 10 03 4B ..K

Answer: 8/28/2007 3:45:29 PM.67164 (+0.0100 seconds)

10 06 10 02 00 01 4F F0 75 00 06 10 03 45 ......Oðu....E

Request: 8/28/2007 3:45:29 PM.70164 (+0.0000 seconds)

10 06 ..
 
It looks to me like the N151 write doesn't have a correct transmission terminator on the end of the string. Try an N150 write and see how it comes back.


Keith
 
This is what I get when I try and read N150:321 using PLC5 (which, I would assume, I should be able to, but using this control, I haven't been able to at all) - this is just me testing other stuff :)

Request: 8/28/2007 3:48:26 PM.48164 (+176.7807 seconds)

10 02 01 00 0F 00 76 00 01 00 00 01 00 00 24 4E ......v.......$N 31 35 30 3A 33 32 31 00 02 10 03 9E 150:321....ž

Answer: 8/28/2007 3:48:26 PM.51164 (+0.0300 seconds)

10 06 10 02 00 01 4F 10 10 76 00 10 03 2A ......O..v...*

Request: 8/28/2007 3:48:26 PM.51164 (+0.0000 seconds)

10 06 ..
 
Keith - Here is a write to N150

Request: 8/28/2007 3:50:05 PM.29564 (+8.5221 seconds)

10 02 01 00 0F 00 C1 00 AA 02 96 89 1F 00 C3 00 ......Á.ª.–‰..Ã. 10 03 82 ..‚

Answer: 8/28/2007 3:50:05 PM.30564 (+0.0100 seconds)

10 06 10 02 00 01 4F F0 C1 00 06 10 03 F9 ......OðÁ....ù

Request: 8/28/2007 3:50:05 PM.32564 (+0.0000 seconds)

10 06 ..
 

Similar Topics

PowerFlex 525 - can you access the parameters from a MicroLogix 1400 & CompactLogix Good Morning , I have a separate stand alone machine...
Replies
2
Views
3,338
What is a method to read parameters (Ex. b001 Output Freq and b003 Output Current) with a MicroLogix 1400? What does work is a 500CPU Read type...
Replies
1
Views
2,398
Hello I have a powerflex 400 of 25HP for a 60amp 25HP motor, the motor have a belt that move the clarifier of milk. It is a process that requires...
Replies
11
Views
4,184
Does anyone know what the RJ45 pinouts are for the DSI port on PowerFlex 400 drive? I want to connect a Modbus 485 master to it. Thx
Replies
6
Views
2,778
Gentlemen; Have a bit of an odd one - a customer has a PF400 running a vacuum pump motor. They said they changed the motor out 3 months ago, and...
Replies
30
Views
12,533
Back
Top Bottom