This site uses cookies for functional purposes. To continue please read and agree to our Data Privacy.

By closing this message, you consent to our use of cookies on this device.

C# for PLCnext Technology - Implementation Roadmap

PLCnext Technology integrates programming in different programming language, so users should be able to program function blocks or programs in C# using their familiar Microsoft Visual Studio as the integrated development environment.
(Microsoft® and Visual Studio® are registered trademarks.)

For this Phoenix Contact provides a Visual Studio Extension for development, implementation and debugging of eCLR firmware libraries in C# on devices with PLCnext Technology.

Last Update:
November 2018

Outlook: Top 10 Features until end of 2019
Find in the list below our top features, planned to be implemented during 2019.

  1. C# adaptation of the PLCnext C++ Security API
  2. .NET Standard 1.0 - XML, RegEx,...
  3. System.IO.Compression & System.IO.BufferedStream

Overview to the Extension functionality

Supported Microsoft Visual Studio versions

v1.0 v2019.0
Microsoft Visual Studio 2015 supported supported
Microsoft Visual Studio 2017 supported

IEC 61131-3 Runtime Features

v1.0 v2019.0
Functions implemented implemented
Function blocks implemented implemented
Programs implemented

C# Features

The following is an overview of the supported C# functions. A detailed representation can be found in the PLCnext Technology User Manual.

Types

All built-in types except of decimal.

Type System

v1.0 v2019.0
Namespaces, Structs, Classes, Interfaces, Enums, Nested Types implemented implemented
Indexer, Properties, Operations implemented implemented
Events, Delegates, MultiCastDelegates implemented implemented
Arrays implemented implemented
Constructors, Static Constructors, Destructors (Finalizers) implemented implemented
Boxing, Unboxing, Static Casts implemented implemented

Polymorphy

v1.0 v2019.0
Virtual Mechanism (virtual, overwrite, abstract) implemented implemented
Dynamic Casts (as) implemented implemented

Modifiers and Keywords

v1.0 v2019.0
public, internal, protected, private implemented implemented
readonly, const, sealed, unsafe implemented implemented
params, ref, out implemented implemented
base, this implemented implemented
explicit, implicit, operator implemented implemented

Operators

v1.0 v2019.0
new, sizeof, typeof, as, is implemented implemented
All unary operators implemented implemented
All binary operators implemented implemented
Prefix, postfix and conditional operator implemented implemented
Cast and index operator implemented implemented

Control Structures and Statements

v1.0 v2019.0
if, else implemented implemented
switch, case, default (also on strings) implemented implemented
for, do, while, foreach, break, continue implemented implemented
goto, return implemented implemented
using, fixed implemented implemented
lock implemented implemented

Exceptions

v1.0 v2019.0
throw implemented implemented
try, catch, finally implemented implemented

Generics

v1.0 v2019.0
Classes with single or multiple generic arguments implemented implemented
Nested generic classes implemented implemented
Generic delegates implemented implemented

Debug Support

v1.0 v2019.0
Breakpoint handling implemented implemented
Evaluating instance values implemented implemented
Providing callstack information implemented

Supported base classes

For a list of all supported base classes, please refer to the PLCnext Technology User Manual

We have 135 guests and 2 members online