[?] Indirect adressing in SCL

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
jmpuigcat
Posts: 2
Joined: Wed Sep 12, 2007 10:57 am
Location: Spain

[?] Indirect adressing in SCL

Post by jmpuigcat »

How can I access to the CPU registers in SCL?

I need to make an indirect adressing with LAR1 register, it is possible?

Thank
frankw
Posts: 103
Joined: Tue Mar 06, 2007 5:59 am
Location: China

Post by frankw »

In my experience, the SCL compler can use the AR for STRUCT ARRAY...data type automaticly. I do not known what you want to do.
jmpuigcat
Posts: 2
Joined: Wed Sep 12, 2007 10:57 am
Location: Spain

Post by jmpuigcat »

I need to acces to the CPU registers
frankw
Posts: 103
Joined: Tue Mar 06, 2007 5:59 am
Location: China

Post by frankw »

It is the right way: a FC in STL, call it in SCL.