![](https://csdnimg.cn/release/download_crawler_static/15824131/bg10.jpg)
DCC标准块说明
SIMOTION/SINAMICS 功能手册, 2012年2月版, 6SL3097-4AQ00-0RP2
11
3.48 SH 移位功能块(WORD型)...........................................................161
3.49 SH_DW 移位功能块(DWORD型).......................................................163
3.50 TRK 校正/存储元件(REAL型).......................................................165
3.51 TRK_D 校正/存储元件(DOUBLE INTEGER型)...........................................167
3.52 XOR 逻辑XOR运算(BOOL型).........................................................169
3.53 XOR_W 逻辑XOR运算(WORD型).......................................................170
4 Conversion................................................................................. 173
4.1 BY_B 转换器状态字节转换为8个二进制变量............................................ 173
4.2 BY_W 状态字节到状态字的转换器.....................................................176
4.3 B_BY 8个二进制变量到状态字节的转换器.............................................. 178
4.4 B_DW 32个二进制变量到状态双字的转换器............................................. 180
4.5 B_W 16个二进制变量到状态字的转换器................................................ 183
4.6 DW_B 状态双字到32个二进制变量的转换器............................................. 186
4.7 DW_R 接受位串为真值.............................................................. 189
4.8 DW_W 状态双字到状态字的转换器.....................................................190
4.9 D_I DOUBLE INTEGER到INTEGER的转换器.............................................. 191
4.10 D_R DOUBLE INTEGER到REAL的转换器................................................. 192
4.11 D_SI DOUBLE INTEGER到SHORT INTEGER的转换器....................................... 193
4.12 D_UI DOUBLE INTEGER到UNSIGNED INTEGER的转换器.....................................194
4.13 D_US DOUBLE INTEGER到UNSIGNED SHORT INTEGER的转换器...............................195
4.14 I_D INTEGER 到DOUBLE_INTEGER的转换器..............................................196
4.15 I_R INTEGER到REAL的转换器.........................................................197
4.16 I_SI INTEGER到SHORT INTEGER的转换器.............................................. 198
4.17 I_UD INTEGER到UNSIGNED DOUBLE INTEGER的转换器.....................................199
4.18 I_US INTEGER到UNSIGNED SHORT INTEGER的转换器......................................200
4.19 LR_R LONG REAL到REAL的转换器..................................................... 201
4.20 N2_R 转换16位定点格式(N2)为REAL.................................................202
4.21 N4_R 转换32位定点格式(N4)为REAL.................................................203
4.22 R_D REAL到DOUBLE INTEGER的转换器................................................. 204
4.23 R_DW 以DWORD进行的位串传递........................................................205
4.24 R_I REAL到INTEGER的转换器.........................................................206
4.25 R_LR REAL到LONG REAL的转换器..................................................... 207
4.26 R_N2 转换REAL为16位定点格式(N2).................................................208
4.27 R_N4 转换REAL为32位定点格式(N4).................................................209
4.28 R_SI REAL到SHORT INTEGER的转换器................................................. 210
4.29 R_UD REAL到UNSIGNED DOUBLE INTEGER的转换器....................................... 211
4.30 R_UI REAL到UNSIGNED INTEGER的转换器.............................................. 212
4.31 R_US REAL到UNSIGNED SHORT INTEGER的转换器........................................ 213
4.32 SI_D SHORT INTEGER 到DOUBLE_INTEGER的转换器...................................... 214
4.33 SI_I SHORT INTEGER 到INTEGER的转换器............................................. 215
4.34 SI_R SHORT INTEGER到REAL的转换器................................................. 216
4.35 SI_UD SHORT INTEGER到UNSIGNED DOUBLE INTEGER的转换器..............................217
4.36 SI_UI SHORT INTEGER到UNSIGNED INTEGER的转换器.....................................218
4.37 UD_I UNSIGNED DOUBLE INTEGER到INTEGER的转换器.....................................219