bmw_apprentice
Member
Hi All,
Long time gap between visits again, but this is the only place to come for PLC advice. So I am here.
I have come up against a problem I cant seem to solve in the Simemens range of PLCs.
I want to write an S7 GET function that will GET me any length of data I choose upone request. The GET is in a 1500 PLC (1516) and the source of the data is a 400 PLC. GETs are length limited and quite short (I need a fair bit of data). I am in no hurry so the data can be GOT in as many scans or time as required.
My idea was to write a simple manually looping function that GETs the data from the PLC automatically one max length after another by building a dynamic pointer up from component parts. I have done this in 400 PLCs before with great success. I, however, do not own this old code and also cant find a copy to *******ise.
In trying to write this new one I cant find a way to dynamically address the pointer of a 400 PLC address in a 1500 PLC and then plonk that data, dynamically, into the 1500 PLC.
I have a screenshot of my current super simple block that isnt looping at all, but simply trying to use the dynamic pointer as a one shot... it doesnt work.
Any ideas?
If have explained badly, please tell me.
Long time gap between visits again, but this is the only place to come for PLC advice. So I am here.
I have come up against a problem I cant seem to solve in the Simemens range of PLCs.
I want to write an S7 GET function that will GET me any length of data I choose upone request. The GET is in a 1500 PLC (1516) and the source of the data is a 400 PLC. GETs are length limited and quite short (I need a fair bit of data). I am in no hurry so the data can be GOT in as many scans or time as required.
My idea was to write a simple manually looping function that GETs the data from the PLC automatically one max length after another by building a dynamic pointer up from component parts. I have done this in 400 PLCs before with great success. I, however, do not own this old code and also cant find a copy to *******ise.
In trying to write this new one I cant find a way to dynamically address the pointer of a 400 PLC address in a 1500 PLC and then plonk that data, dynamically, into the 1500 PLC.
I have a screenshot of my current super simple block that isnt looping at all, but simply trying to use the dynamic pointer as a one shot... it doesnt work.
Any ideas?
If have explained badly, please tell me.
Last edited: