[?+] : programming S7-400 using CFC: OB85-86-87

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Post Reply
ciwa
Posts: 145
Joined: Fri Aug 25, 2006 3:50 pm
Location: Indonesia

[?+] : programming S7-400 using CFC: OB85-86-87

Post by ciwa » Mon Sep 12, 2011 10:41 am

Hi..
I'm trying to programming S7-400 using CFC, how to add interrupt OB85,86 & 87?
if add these OB in offline folder and download to the PLC, CFC always delete these OB when I compile the CFC.
"W: the empty OB87 in the beginning was deleted. it will be create again if it is included in the automation block installation."
I just want PLC not stop when missing profibus node.
Please advise.

Regards,

Ciwa

kaa1979
Posts: 42
Joined: Sat Mar 27, 2010 8:14 am

Re: [?] : programming S7-400 using CFC: OB85-86-87

Post by kaa1979 » Mon Sep 12, 2011 1:54 pm

Create empty FB or FC.
Right click on FB (FC) -> Object properties -> Attributes.
Add attribute 'S7_tasklist' and set value 'OB85, OB86, OB87'.
Add this FB (FC) into CFC chart.
When you compile CFC, compiler create this OB's.

ciwa
Posts: 145
Joined: Fri Aug 25, 2006 3:50 pm
Location: Indonesia

Re: [?] : programming S7-400 using CFC: OB85-86-87

Post by ciwa » Tue Sep 13, 2011 10:58 am

kaa1979 wrote:Create empty FB or FC.
Right click on FB (FC) -> Object properties -> Attributes.
Add attribute 'S7_tasklist' and set value 'OB85, OB86, OB87'.
Add this FB (FC) into CFC chart.
When you compile CFC, compiler create this OB's.
Thanks for your advise, it's work..

Post Reply