help me problem with pointer stl s7-300

slentnight

Member
Join Date
Jan 2015
Location
moscow
Posts
7
i write code STL and simulate but result Q2.7 not set , i dont know why :unsure: , help me plz thanks

LAR1 P#Q2.7
S [AR1,P#0.0]

or

LAR P#2.7
S Q[AR1,P#0.0]


1.png
 
Last edited:
Hello ,
the set command is missing.

Code:
      LAR1  P#Q 2.7
      SET   
      S      [AR1,P#0.0]

Or you can select the input and output directly form code:
Code:
      L     P#0.0
      L     DW#16#81000000
      OD    
      LAR1  
      L     P#0.0
      L     DW#16#82000017
      OD    
      LAR2  

      A      [AR1,P#0.0]  I0.0
      =      [AR2,P#0.0]  Q2.7
 
Last edited:

Similar Topics

This is the problem, I need to solve it using a ladder diagram: Write a table of inputs and outputs and propose a control solution for a screw...
Replies
22
Views
3,891
Hey all, I am having an issue concerning the Modicon System Responsible for the operation of our Generator System. (Particularly Dresser-Rand...
Replies
5
Views
2,493
Replies
49
Views
10,596
please help i didn't solve this problem with rslogix. I counted but i am not using timer. How i will fix this situation? Please anyone solve this...
Replies
18
Views
4,875
Good day to every body I am trying to replace old touché screen [omron nt20s-st121-v1] To new one [[omron nt20s-st121b-v3] they look identical and...
Replies
2
Views
1,971
Back
Top Bottom