TIA Ways to read/write peripheral module registers.

Ok, previous time I used online-translater to ask simple question about tool purchasing.
Now, looking at the question complexity I'm afraid that "translater" isn't able to handle with such a task. That's all.
 
Still not shure what you want?

As far as I understand you want to read data from the DP Module in your 1515.

Normal you add your device per GSD into the Hardware Config and there your adress is set.

But you did not write wich Module you want to read/write Data from.
 
Zuletzt bearbeitet:
Zuviel Werbung?
-> Hier kostenlos registrieren
Finally someone who seems has a clue...

It is already done. It has addresses in the project, say 12 input words/12 output words.
And now I'm looking for ways to read/write entire ranges.
So my question is how would you read/write entire address ranges?


Do you want to know mlfb number of mentioned module? it doesn't have that. Why? I don't know. Probably it is OEM.
 
Zuletzt bearbeitet:
Do you want to read those 12 byte IO data?
Then just adress it correctly and it will work - you can also create an UDT that "structures" the IO data in some way.
If your device adress starts at I/O 100 you can use:
I100.0 - I 111.7
or IW100 - IW110
or ID100 - ID108
If you want to read more data from the device ("registers"), there is probably a way to do this, but this is device specific: Maybe you have to write a command in some part of the output data range, an adress in another, and you will receive the desired data in the input data range.
 
If you tell us wich Module/Device you have then we meaybe can help you but you have to share more Information that we can help
 
Zurück
Oben