[?]: PCS7 CTRL_PID SCL source

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Post Reply
ChiaraDivy
Posts: 10
Joined: Thu Nov 22, 2007 8:20 am
Location: Europe

[?]: PCS7 CTRL_PID SCL source

Post by ChiaraDivy » Wed Jan 23, 2008 4:26 pm

does anyone have STL source code of PCS7 CTRL_PID block?
just this one I am missing...
thanks

komatic
Posts: 79
Joined: Thu Mar 15, 2007 12:59 pm
Location: Ukraine
Contact:

Post by komatic » Thu Jan 24, 2008 7:49 am

STL or SCL?
its difrent thing...

ChiaraDivy
Posts: 10
Joined: Thu Nov 22, 2007 8:20 am
Location: Europe

PCS7 SCL source of CTRL_PID

Post by ChiaraDivy » Thu Jan 24, 2008 2:58 pm

sorry, it was a writing mistake...
standard PCS7 SCL source, like this:


FUNCTION_BLOCK FB565
TITLE = 'Meas.value monitoring block'
NAME:'MEAS_MON'
AUTHOR:'SSW'
FAMILY:'FM'
//
// Typical attributes
{
S7_tasklist:='OB100';
S7_m_c:='true';
S7_alarm_ui:='1'
}

VAR_INPUT
// ***** MEAS MON STANDARD VARIABLES *****
SAMPLE_T { S7_sampletime := 'true'; S7_visible := 'false' } : REAL := 1.0; // Sample Time [s]

etc.etc.

Coyote
Posts: 41
Joined: Wed Sep 06, 2006 10:07 am
Location: Slovenia

Post by Coyote » Fri Jan 25, 2008 12:36 pm

Why should one change the original code? It would make sense to get the source to port on a different platform. I have made this for standard pid blocks CONT_C and TCONT_S. All you need is to remove KNOW_HOW_PROTECT and to print entire block in STL. With a lot of patience you can write a SCL.

Post Reply