SA0119:Nesne yönelimli özelliklerPermalink

‎EXTENDS‎ ve ‎IMPLEMENTS‎ ile fonksiyon bloğu bildirimleri veya özellik ve arayüz bildirimleri gibi nesne yönelimli özelliklerin kullanımını algılar. Bu kural, diğer IEC 61131-3 uyumlu sistemlere taşınması amaçlanan kod yazarken kullanışlıdır.

Gerekçe: Tüm sistemler nesne yönelimli programlamayı desteklemez. Kod, nesne yönelimi olmadan daha kolay taşınabilir.

Önemliymiş: Düşük

Örnek

//Function block extended by another and implementing an interface:
FUNCTION_BLOCK POU EXTENDS CTD IMPLEMENTS ITF		//SA0119
...

// Declaration parts of property methods assigned to a function block:
POU.Prop.Get		//SA0119
POU.Prop.Set		//SA0119

--> SA0119: Object-oriented features not allowed