您好,欢迎访问一九零五行业门户网

西门子PLC STL编程指令中英文对照表(二)

26、add ( add 加 ) : 加注意
//add_i (_ i 表示整数)
add_di( di表示双字节整数)
add-r (r 表示实数)
它们都是加运算只是数的大小不同。
27、sub ( subtract 减去,减少) :减
28、mul ( multiply ) : 乘
29、div ( divide ) : 除
30、sqrt ( square root ) : 求平方根
31、ln ( napierian logarithm 自然对数 ) : 求自然对数
32、exp ( exponential 指数的 ) : 求指数
33、inc_b ( increment 增加 ) : 增1
//其中_b代表数据类型 还有w(字节)、dw双字后面几个都是这样的。34、dec_b ( decrement 减少 ) : 减1
35、wand_b ( word and 与命令 ) :逻辑与
36、wor_b ( word or 或命令) : 逻辑或
37、wxor_b ( word exclusive or 异或命令) :逻辑异或
38、inv_b ( inverse 相反 ) : 取反
39、mov _b ( move 移动 ) : 数据传送
40、blkmov_b ( block move 块移动) :数据块传送
41、swap ( swap 交换 ) : 字节交换
42、fill ( fill 填充 ) : 字填充
43、rol_b ( rotate left 循环 向左) :循环左移位
44、ror_b ( rotate right 循环 向右) : 循环右移位
45、shl_b ( shift right 移动向左) :左移动
46、shr_b ( shift right 移动向右 ) : 右移动
47、shrb ( shift buffer 移动缓存) :寄存器移位
48、stop ( stop 停止 ) : 暂停
49、end /mend ( end /mend ) : 条件/无条件结束
50、wdr ( watch dog reset ) : 看门狗复位
51、jmp ( jump 跳) :跳转
52、lbl ( label 位置 ) : 跳转标号
53、for ( for 循环 ) : 循环
54、next ( next 再下去) :循环结束
55、sbr ( subprogram regulating子程序控制 ) : 子程序调用
56、sbr_t ( subprogram regulating take ) : 带参数子程序调用
57、scr ( sequence control 顺序控制 ) : 步开始
58、scrt ( sequence control transfer 顺序控制转移 ) : 步转移
59、scre ( sequence control end 顺序控制结束 ) : 步结束
60、ad_t_tbl ( add data to table 添加数据到表格中) : 填数据表
61、fifo ( first in first out *先出 ) : *先出
62、lifo ( last in first out 后进先出 ) :后进先出
63、tbl_find ( table find 表格查找 ) : 表查找
64、bcd_i ( binary coded decimal _i 二进制编码的十进制 ) :bcd 码转整数
65、i_bcd ( i_ binary coded decimal ) :整数转bcd码
66、b_i ( bit to int ) :字节转整数
67、i_b ( int to bit ) :整数转字节
68、di_i ( double int to int ) :双整数转整数
69、i_di ( int to double int ) :整数转双整数
70、round ( round 取整 ) : 实数转双整数
71、trunc ( trunc 截取 ) :转换32位实数整数部分(舍去小数取整)
72、di_i (double int to int ) :双整数转实数
73、enco ( encode 编码) : 编码
74、deco ( decode 译码) :译码
75、seg ( segment decoder分断译码器 ) : 七段显示译码器
76、ath ( ascii码 turn hex ) : ascii码转16进制
77、hta ( hexadecimal to ascii) : 16进制转ascii码
78、ita ( // int to ascii) : 整数转ascii码
79、dta ( // double int to ascii ) : 双整转ascii码
80、rta ( // real to ascii) : 实数转ascii码
81、atch (//attach ) : 中断连接
82、dtch ( depatch ) : 中断分离
83、hdef ( high speed counter definition ) : 高速计数器定义
84、hsc ( high speed counter 高速计数器 ) :启动高速计数器
85、pls ( pulse 脉冲 ) :脉冲输出
86、read_ rtc ( read real time clock 读实时时钟 ) :读实时时钟
87、set_rtc ( set real time clock ) : 写实时时钟
88、xmt ( transmitter ) : 自由发送
89、rcv ( receive 接收 ) : 自由接收
90、netr ( net read 网络读 ) : 网络读
91、netw ( net write 网络写 ) : 网络写
92、get_addr ( get address 获取地址 ) : 获取口地址
93、set_addr ( set address 设置地址 ) : 设定口地址
94、pid ( proportional integral differential 比例、积分、微分 ) :比例积分微分调节器。
其它类似信息

推荐信息