罗克韦尔AB PLC ControlLogix基础培训教材 下载本文

字符串处理指令

字符串比较(见前述比较指令部分:等于EQU、不等于NEQ、大于GRT、大于等于GEQ、小于LES、小于等于LEQ、表达式比较CMP)

STOD - String to DINT conversion (ACI) DTOS - DINT to String conversion (AIC) STOR - String to Real conversion RTOS - Real to String conversion CONCAT - String concatenate (ACN) MID - String middle extract (AEX) FIND - String search (ASC) DELETE - String delete INSERT - String Insert

LEFT、RIGHT、MID、LOWER、UPPER、REPEAT

ASCII串口操作指令

ACL – ASCII Clear Receive and/or Send Buffer ACB – ASCII Number of characters in buffer ABL – ASCII Test for Buffer Line AHL – ASCII Handshake Line ARD – ASCII Read ARL – ASCII Read Line AWA – ASCII Write with append AWT – ASCII Write

此外还有超过30条专用伺服控制指令

2.4 功能块图编程与过程控制

简单算术指令 ? Add ? Subtract Multiply ?

? Divide Square ?

? Negation ? Absolute Value

其中36条常用逻辑指令:

高级算术指令 ? Modulo Divide ? Truncate

? X to Power of Y ? Logarithm ? Natural Log

三角函数指令 ? Sine ? Arcsine ? Cosine ? Arccosine ? Tangent ? Arctangent

定时/计数指令 ? Timer On /w Reset ? Timer Off w/Reset

Retentive Timer On w/Reset ?

? Count Up/Down w/Reset

位指令

? One Shot Rising ? One Shot Falling

比较指令 Equal ?? Greater Than or Equal ? Greater Than ? Less Than or Equal ? Less Than Not Equal ?

? Masked Equal Limit ?

过滤器指令 High-Pass Filter ? ? Low-Pass Filter ? Notch Filter Second-Order ? Lead-Lag ? Derivative 转换指令

? Radians ? Degrees

? BCD To Decimal ? Decimal to BCD

还有42条用于过程控制和传动的指令:

统计指令 ? Moving Average ? Moving Standard Deviation ? Minimum Capture ? Maximum Capture 过程指令 ? Alarm ? Enhanced PID ? Ramp/Soak ? Scale ? Position Proportional ? Split Range Time Proportional ? Lead-Lag ? Function Generator ? Totalizer ? Deadtime ? Discrete 2-State Device ? Discrete 3-State Device 选择/限制指令 ? Select ? Enhanced Select ? Selected Summer ? Selectable Negate ? Multiplexer ? H/L Limit ? Rate Limiter

逻辑指令 ? Boolean And ? Boolean Or ? Boolean Exclusive Or ? Boolean NOT ? D Flip Flop ? JK Flip Flop ? Set Dominant ? Reset Dominant 传动指令 ? Pulse Multiplier ? S-Curve ? PI ? Integrator ? Second-Order Controller ? Up/Down Accumulator