2 standard.lib-integrated iec operators, Drive plc developer studio – Lenze DDS v2.3 User Manual

Page 269

Advertising
background image

Drive PLC Developer Studio

IEC 61131-3 Operators

11-3

l

DDS EN 2.3

11.2

Standard.lib-integrated IEC operators

Operator ST

Operator IL

Mod.IL

Meaning

LEN(in)

LEN

String length of the operand

LEFT(str,size)

LEFT size

Left-hand start string (size) of string str

RIGHT(str,size)

RIGHT size

Right-hand start string (size) of string str

MID(str,size)

MID size

Segment of size from string str

CONCAT(’str1’,’str2’)

CONCAT ’str2’

Concatenation of two strings

INSERT(’str1’,’str2’,pos)

INSERT ’str2’,pos

Insert string str1 in string str2 at position pos

DELETE(’str1’,len,pos)

DELETE len,pos

Delete segment of length len, starting at position pos of str1

REPLACE(’str1’,’str2’,len,p
os)

REPLACE
’str2’,len,pos

Replace segment of length len, starting at position pos of str1
with str2

FIND(’str1’,’str2’)

FIND ’str2’

Find a segment str2 in str1

SR

SR

Set bistabile function block to dominant set

RS

RS

Reset bistable function block

SEMA

SEMA

FB: Software semaphore (interruptible)

R_TRIG

R_TRIG

FB: Rising edge detected

F_TRIG

F_TRIG

FB: Falling edge detected

CTU

CTU

FB: Up counter

CTD

CTD

FB: Down counter

CTUD

CTUD

FB: Up and down counter

TP

TP

FB: Pulse encoder

TON

TON

FB: On delay

TOF

TOF

FB: Off delay

RTC

RTC

FB: Runtime clock

For a detailed description refer associated libraries.

Show/Hide Bookmarks

Advertising