buhnen
Member
Hi to everybody,
This thread's title can't be more explicit about the present topic. I've been up until now programming with RS-Logix. Here the indexing is an easy task which can be entirely accomplished by LADDER but now, when it's time to move back to Siemens (my initial introduction to PLC's was through the LAD STEP7) I'm feeling quite lost as I have no other choice than learning STL and I don't know yet some basic ABC's which allow me to build "words and sentences" by myself.
I've been reading some Siemens technical documentation, plus have spent a considerable time at reading/trying to decipher some posted code in this forum and still I haven't got myself on the right track of how to focus this subject.
Basiclly, what I'm trying to understand is the concept of registers AR1 AR2 , area cross pointer, internal pointer...who is who and what does each stand for?
The application I have in mind is the very typical one, let's say number of motors, 20 i.ex, with an instanced set each of boolean, int, dint ...variables (input/output). The aim is to control all of them with using loops, by means of indirect adressing and indexing.
As I'm lacking a general knowlegde on how the S7 internal memory areas are structured, I can't reach to see/understand the connection between what I need to do and the most suitable option within the different possibilities of indirect adressing.
Could someone experienced please provide me with any general guidelines to proceed?
Thanks in advance.
This thread's title can't be more explicit about the present topic. I've been up until now programming with RS-Logix. Here the indexing is an easy task which can be entirely accomplished by LADDER but now, when it's time to move back to Siemens (my initial introduction to PLC's was through the LAD STEP7) I'm feeling quite lost as I have no other choice than learning STL and I don't know yet some basic ABC's which allow me to build "words and sentences" by myself.
I've been reading some Siemens technical documentation, plus have spent a considerable time at reading/trying to decipher some posted code in this forum and still I haven't got myself on the right track of how to focus this subject.
Basiclly, what I'm trying to understand is the concept of registers AR1 AR2 , area cross pointer, internal pointer...who is who and what does each stand for?
The application I have in mind is the very typical one, let's say number of motors, 20 i.ex, with an instanced set each of boolean, int, dint ...variables (input/output). The aim is to control all of them with using loops, by means of indirect adressing and indexing.
As I'm lacking a general knowlegde on how the S7 internal memory areas are structured, I can't reach to see/understand the connection between what I need to do and the most suitable option within the different possibilities of indirect adressing.
Could someone experienced please provide me with any general guidelines to proceed?
Thanks in advance.