DEIF AGC on Profibus with S7

orense

Member
Join Date
Apr 2006
Location
Norway
Posts
196
Hello,

I'm currently running a Siemens 300 plc as a Profibus Master.
There is a Deif AGC connected as a Slave, and I am reading out data from it.

There is an Active Energy Counter (kWh) parameter in the Deif, which is split into two Words, and they are HI and LOW.

I am trying to read this into a DB in the Siemens machine, but am having problems with the HI and LOW. The values do not make sense.

Has anybody read out this type of data from Deif units before, and can tell me what the HI/LOW means?

I load them out like this:

example:

L PIW314
T DB12.DBW26

Thanks! :rolleyes:
 
Exact type number of the Deif device ?
Surely there must be a manual for the thing.

A guess is that the two words are actually a double integer (DINT).
Maybe the bytes are swapped.
Maybe it is an unsigned DINT.
Maybe it is an unsigned DINT with the bytes swapped.
Hard to tell with no more info.

Post the contens of the 4 bytes as HEX values.
 
Thanks guys,

I fiddled around with the bytes, and they were swapped.
The I got the same value as I could see on the device, and it matched.
Putting all of them into a vat table, and looking for those that changed, showed how they are placed in the DB...

:D
 

Similar Topics

Hi, I was noticing that Profibus connectors have 2 ports on them that can house 2 separate cables. Can I use 2 cables with Profibus signals...
Replies
4
Views
174
Hello, I am in possession of a WAGO PFC 200 750-8216 which I was successfully able to set up as a Modbus RTU Master to a slave device using...
Replies
0
Views
72
I am trying to implement a profibus network and am a newbie in the automation and communication industry. what are the components required for the...
Replies
1
Views
98
Hi, I am using TIA Portal V18. I have imported a (v5.7) SIMATIC manager project via device proxy. I have created a HMI project (TP700) in TIA...
Replies
2
Views
303
Hi Folks, I am new to the S7-300 and the whole Profibus communication. And I just wonder that can you connect a S7-300 module to a Beckhoff Bus...
Replies
1
Views
313
Back
Top Bottom