L-LOGICAD – IEC 61131-3 Programming · LOYTEC electronics GmbH ©2011 Page 3 Overview IEC 61131-3...

Preview:

Citation preview

L-LOGICAD – IEC 61131-3 Programming

19th October 2011, 15:50

LOYTEC electronics GmbHChristoph Zens

Page 2LOYTEC electronics GmbH ©2011

Presenter

Christoph ZensResearch & DevelopmentWith LOYTEC since 2001Product manager for L-VISResponsible for IEC 61131 integration

Page 3LOYTEC electronics GmbH ©2011

Overview

IEC 61131-3 Programming

Introduction Key featuresI/O data accessCEA-709 supportBACnet supportLOYTEC librariesOffline simulationOnline test

Page 4LOYTEC electronics GmbH ©2011

What is IEC 61131 ?

International standard for programmable logic controllers (PLC)PLC programming languages (part 3)

Ladder diagram (LD)Function block diagram (FBD)Structured text (ST)Sequential function chart (SFC)

Cycle-based program executionFetch inputs → execute → write outputsWait for next cycle and repeat

Page 5LOYTEC electronics GmbH ©2011

L-LOGICAD Key Features

Program runs on L-INX devicesEasy access to all L-INX data pointsFunctions to support event-driven logicFunctions to detect network problemsLibrary for CEA-709 data conversionLibraries for building automationOffline simulation and online testInstant reload of changed logic

Page 6LOYTEC electronics GmbH ©2011

I/O Data Access

Automatic setup of I/O variablesCreate L-INX data point configurationExpose data points to L-LOGICAD

I/O support functionsUpdate notify function for incoming updatesForce update function for outgoing updatesMonitor value status (invalid, offline, …)Set value status (invalid, override, ...)

Support arrays and structured data types

Page 7LOYTEC electronics GmbH ©2011

CEA-709 Support

CEA-709 support library including:All standard types and enumerationsFunctions to access structured NVsFunctions to convert between standard

enumerations and BOOL signalsSupport for LONMARK® Resource Files

Export to structured text (ST)Import into a new library in L-LOGICADUNVT types and structures are available

Page 8LOYTEC electronics GmbH ©2011

BACnet Support

No structured data types, therefore no special support library required Mapping from BACnet to IEC 61131

Analog objects → REALBinary objects → BOOLMultistate objects→ ENUM

Withdraw values from objectsSet value state to invalid using the provided

I/O support function

Page 9LOYTEC electronics GmbH ©2011

LOYTEC Libraries

Library for room automationControllers for HVAC, light, and sun blindsSupport functions (occupancy, alarms, ...)

Library for HVACSupports a wide range of HVAC systems Independent of network technologyUses a plant switch to control subsystemsSubsystems connect to the plant switchVisualization templates for LWEB / LVISComplete demo systems for quick start

LOYTEC electronics GmbH ©2011

AHU Demo Setup

Page 10

Global Connection

KNX IP

ZigBee

OPC XML/DA

Modbus

M-Bus

CEA-709

BACnet/IP

Page 11LOYTEC electronics GmbH ©2011

Demo Application

Starting a new L-LOGICAD projectProject componentsInterface to L-INX devicesUsing data points from the L-INXOffline simulation

Testing and debugging a live systemOnline test connection to a L-INX deviceBreakpoints and single steppingMonitoring variables

Thank you for your attention!

LOYTEC electronics GmbHChristoph ZensBlumengasse 351170 Vienna, Austria

Phone: +43 (1) 4020805-0Fax +43 (1) 4020805-99Email: czens@loytec.comWeb: www.loytec.com

Recommended