[?] 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 » Wed Sep 12, 2007 11:08 am

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 » Thu Sep 13, 2007 3:31 pm

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 » Fri Sep 14, 2007 9:55 am

I need to acces to the CPU registers

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

Post by frankw » Sat Sep 15, 2007 1:34 am

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