plc

3
hapter - Open Control IEC 61131-1 Overview IEC 61131-2 Requirements and Test Procedures IEC 61131-3 Data types and programming IEC 61131-4 User Guidelines IEC 61131-5 Communications IEC 61131-7 Fuzzy control

Upload: moddy-cavallindo

Post on 31-Jan-2016

217 views

Category:

Documents


0 download

DESCRIPTION

EN

TRANSCRIPT

Page 1: PLC

Chapter - Open Control

IEC 61131-1 OverviewIEC 61131-2 Requirements and Test ProceduresIEC 61131-3 Data types and programmingIEC 61131-4 User GuidelinesIEC 61131-5 CommunicationsIEC 61131-7 Fuzzy control

Page 2: PLC

•IL (Instruction List) - This is effectively mnemonic programming

•ST (Structured Text) - A BASIC like programming language

•LD (Ladder Diagram) - Relay logic diagram based programming

•FBD (Function Block Diagram) - A graphical dataflow programming method

•SFC (Sequential Function Charts) - A graphical method for structuring programs

IEC 61131-3 Programming Languages

Page 3: PLC

Name

BOOLSINTINTDINTLINTUSINTUINTUDINTULINTREALLREALTIMEDATETIME_OF_DAY, TODDATE_AND_TIME, DTSTRINGBYTEWORDDWORDLWORD

Type

booleanshort integerintegerdouble integerlong integerunsigned short integerunsigned integerunsigned double integerunsigned long integerreal numberslong realsdurationdatetimedate and timestring8 bits16 bits32 bits64 bits

Bits

1816326481632643264not fixednot fixednot fixednot fixedvariable8163264

Range

0 to 1-128 to 127-32768 to 32767-2.1e-9 to 2.1e9-9.2e19 to 9.2e190 to 2550 to 655360 to 4.3e90 to 1.8e20

not fixednot fixednot fixednot fixedvariableNANANANA

IEC 61131-3 Data Types