Step7 STL Pointer Question

M_N

Member
Join Date
Oct 2009
Location
WLKP
Posts
7
Can you help me with "generating" pointers?

I have INT variable and I want to create pointer based on variable's value.

For example
var=30 => pointer=P#30.0
var=75 => pointer=P#75.0
etc.
 
Last edited:

Similar Topics

Hi, I mostly program in LAD, because I think electrically. Calculations in STL, but real simple, I don't do complex things in STL. But, many...
Replies
5
Views
7,565
Hi guys! I was wondering why I've seen some guys put a lot of NOP in their STL code. For example: CALL FC4 NOP 0 What is the purpose of this...
Replies
12
Views
3,647
I am checking codes for transferring a double word in an array based on an index. STL codes are mostly ended with DBD[AR1, P#0,0] or D[AR1...
Replies
1
Views
2,317
O m0.0 O m0.1 A m0.2 = m0.3 Is the m0.2 "and'd" only with the m0.1 or is it "and'd" with m0.1 and m0.2 (which are or'd)? -{}-----|--()...
Replies
3
Views
1,706
The process of converting LAD to STL is upon me. The Bit Logic Instruction: A( And with Nesting Open, saves the RLO and OR bits and a Function...
Replies
3
Views
2,689
Back
Top Bottom