STEP 5 , Pointer to DB Block

belph

Member
Join Date
Jan 2014
Location
Prague
Posts
27
I would need advice in design which we are currently making in Step 5.
Control system is based on Control modules which have defined structure.
However customer requested only one DB due to parametrization with HMI.
If there is only one DB all control modules have to be stored there.
In ladder logic We need to find a way how to use some pointer for adressing Control modules in that DB. Like Control module CM01 Adress 200 and CM02 adress 300.
So far we are not able to do it and could be better if someone has used this idea already. It would really save us some time.

Has anyone experienced same problem and is willing to share the way out?

Thanks,
 
CPU414-2DP is used. As I wrote before standard is defined in LAD, it would not matter if there is way of offsetting values in STL and use it in LAD.
Hmi visualization is WinCC Comfort V13. Also we did not find out how to do dynamic parametrization.
Any comment or hint appreciated :) !
 
Rusty on Step 5 but if I remember right, there is no ladder way to do indirect addressing.

Instructions such as the DO instruction which is for simple offsetting of addresses, can only be done in a Function Block, in Step 5 FB's could only be programmed in statement list.

Same as LIR and TIR and TNB and TNW for block transfers.

You could jump to a FB from a laddrer program and pass parameters for a block transfer or indirect address
 
Unfortunately I came across a lot of companies that stated "must be in ladder" when I worked a lot on Step 5, usually by engineers who were quite ignorant on how Step 5 worked and fed by fear of statement list.
 

Similar Topics

Hi all, I'm looking for a steer using a pointer. The code is working in a fashion but i'm not setting the bit i require. The code looks at...
Replies
25
Views
5,026
Hello, Is it possible to perform operation like pointer on function. Regardless of value inside pointer or what ever variable I want to call...
Replies
2
Views
1,491
Hello Folks! I'm still trying to get the hang of using STL and Pointers in Step 7 (V5.5). For background, I'm writing a sample application...
Replies
7
Views
3,279
Hi guys, I am just starting to write some STL and thanks to this forum I got the solution to what i was trying to achieve. The question i have...
Replies
23
Views
9,139
Hello everybody How we can use pointer for Timers and counters,so that we could change Timer or counter address in the program?
Replies
7
Views
2,262
Back
Top Bottom