IC693ALG391CA 程序模块
1. MAIN:主程序。
根据PLC输入端子的命令执行通讯命令。
2. P0:初始化子程序。
初始化通讯接口;添加数据帧头、帧尾;初始化从机地址。
3. P1:变频器正转命令赋值,调用LRC校验子程序,将待发送的ASCII码字符串置入发送缓冲器。
4. P2:变频器反转命令赋值,调用LRC校验子程序,将待发送的ASCII码字符串置入发送缓冲器。
5. P3:变频器停机命令赋值,调用LRC校验子程序,将待发送的ASCII码字符串置入发送缓冲器。
IC693ALG442
IC693ALG442CA
IC693ALG442LT
IC693ALG442RR
IC693APU300
IC693APU300CA
IC693APU300LT
IC693APU300RR
IC693APU301
IC693APU301RR
IC693APU302
IC693APU302RR
IC693APU305
IC693APU305RR
IC693BEM320
IC693BEM320RR
IC693BEM321
IC693BEM321RR
IC693BEM331
IC693BEM331CA
IC693BEM331LT
IC693BEM331RR
IC693CBK001
IC693CBK002
IC693CBK003
IC693CBK004
IC693CBL300
IC693CBL301
IC693CBL302
IC693CBL303
IC693CBL304
IC693CBL305
IC693CBL311
IC693CBL312
IC693CBL313
IC693CBL316
IC693CBL319
IC693CBL324
IC693CBL325
IC693CBL327
IC693CBL328
IC693CBL329
IC693CBL330
IC693CBL331
IC693CBL332
IC693CBL333
IC693CBL334
IC693CHS391
IC693CHS391CA
IC693CHS391LT
IC693CHS391NB
IC693CHS391RR
IC693CHS392
IC693CHS392CA
IC693CHS392LT
IC693CHS392RR
IC693CHS393
IC693CHS393LT
IC693CHS393RR
IC693CHS397
IC693CHS397CA
IC693CHS397LT
IC693CHS397NB
IC693CHS397RR
PTQ-PDPMV1
140CPU11302 Quantum
140CPU11303 Quantum
140CPU31110 Quantum
140CPU43412A Quantum
140CPU43412U Quantum
140CPU53414B Quantum
140CPU65150 Quantum
140CPU65160 Quantum
140CPU67160 Quantum
140CPU65260 Quantum
Quantum Hot Standby 双机热备
140CHS11000 Quantum
140CHS21000 Quantum
140CHS32000 Quantum
140CHS41010 Quantum
140CHS41020 Quantum
140SHS94500 Quantum
Quantum Power Supply 电源模板
140CPS11100 Quantum
140CPS11100C Quantum
140CPS11420 Quantum
140CPS11420C Quantum
140CPS12420 Quantum
140CPS12420C Quantum
140CPS21100 Quantum
140CPS21100C Quantum
140CPS21400 Quantum
140CPS21400C Quantum
140CPS22400 Quantum
140CPS22400C Quantum
140CPS41400 Quantum
140CPS41400C Quantum
140CPS42400 Quantum
140CPS42400C Quantum
140CPS51100 Quantum
140CPS51100C Quantum
140CPS52400 Quantum
140CPS52400C Quantum
Quantum Digital Input Module 开关量输入模板
140DAI34000 Quantum
140DAI34000C Quantum
140DAI35300 Quantum
140DAI35300C Quantum
140DAI44000 Quantum
140DAI44000C Quantum
140DAI45300 Quantum
140DAI45300C Quantum
140DAI54000 Quantum
140DAI54000C Quantum
140DAI54300 Quantum
140DAI54300C Quantum
140DAI55300 Quantum
140DAI55300C Quantum
140DAI74000 Quantum
140DAI74000C Quantum
140DAI75300 Quantum
140DAI75300C Quantum
140DDI15310 Quantum
140DDI15310C Quantum
140DDI35300 Quantum
140DDI35300C Quantum
140DDI35310 Quantum
140DDI35310C Quantum
140DDI36400 Quantum
140DDI36400C Quantum
140DDI67300 Quantum
140DDI67300C Quantum
140DDI84100 Quantum
140DDI84100C Quantum
140DDI85300 Quantum
140DDI85300C Quantum
140DII33000 Quantum
140DII33000C Quantum
140DSI35300 Quantum
140DSI35300C Quantum
Quantum Digital Output Module 开关量输出模板
140DAO84000 Quantum
140DAO84000C Quantum
140DAO84010 Quantum
140DAO84010C Quantum
140DAO84210 Quantum
140DAO84210C Quantum
140DAO84220 Quantum
140DAO84220C Quantum
140DAO85300 Quantum
140DAO85300C Quantum
140DDO15310 Quantum
140DDO15310C Quantum
140DDO35300 Quantum
140DDO35300C Quantum
140DDO35301 Quantum
140DDO35301C Quantum
140DDO35310 Quantum
140DDO35310C Quantum
140DDO36400 Quantum
140DDO84300 Quantum
140DDO84300C Quantum
140DDO88500 Quantum
140DDO88500C Quantum
140DIO33000 Quantum
140DIO33000C Quantum
140DRA84000 Quantum
140DRA84000C Quantum
140DRC83000 Quantum
140DRC83000C Quantum
140DVO85300 Quantum
140DVO85300C Quantum
Quantum Digital Mixed Module 开关量混合模板
140DAM59000 Quantum
140DAM59000C Quantum
140DDM39000 Quantum
140DDM39000C Quantum
140DDM69000 Quantum
140DDM69000C Quantum
Quantum Analog Input Module 模拟量输入模板
140ACI03000 Quantum
140ACI03000C Quantum
140ACI04000 Quantum
140ACI04000C Quantum
140AII33000 Quantum
140AII33000C Quantum
140AII33010 Quantum
140AII33010C Quantum
140ARI03010 Quantum
140ARI03010C Quantum
140ATI03000 Quantum
140ATI03000C Quantum
140AVI03000 Quantum
140AVI03000C Quantum
Quantum Analog Output Module 模拟量输出模板
140ACO02000 Quantum
140ACO02000C Quantum
140ACO13000 Quantum
140ACO13000C Quantum
140AIO33000 Quantum
140AIO33000C Quantum
140AVO02000 Quantum
140AVO02000C Quantum
Quantum Analog Mixed Module 模拟量混合模板
140AMM09000 Quantum
140AMM09000C Quantum
Quantum Intelligent Module 智能模板
140EHC20200 Quantum
140EHC10500 Quantum
140EHC10500C Quantum
140EHC20200C Quantum
140HLI34000 Quantum
140HLI34000C Quantum
140ERT85410 Quantum
416NHM21234 Quantum
416NHM30030A Quantum
416NHM30032A Quantum
Quantum Backplane 背板
140XBP00200 Quantum
140XBP00200C Quantum
140XBP00300 Quantum
140XBP00300C Quantum
140XBP00400 Quantum
140XBP00400C Quantum
140XBP00600 Quantum
140XBP00600C Quantum
140XBP01000 Quantum
140XBP01000C Quantum
140XBP01600 Quantum
140XBP01600C Quantum
140XBE10000 Quantum
140XBE10000C Quantum
140XCA71703 Quantum
140XCA71706 Quantum
140XCA71709 Quantum
Quantum Remote I/O (S908-Coax.) 远程I/O系统
140CRP93100 Quantum
140CRP93200 Quantum
140CRA93100 Quantum
140CRA93200 Quantum
140CRA93100C Quantum
140CRA93101 Quantum
Quantum Distributed I/O (Modbus Plus) 分布式I/O
140CRA21110 Quantum
140CRA21110C Quantum
140CRA21120 Quantum
140CRA21120C Quantum
140CRA21210 Quantum
140CRA21210C Quantum
140CRA21220 Quantum
140CRA21220C Quantum
Quantum Communication Module 网络通讯模板
140NOE77101 Quantum
140NOE77101C Quantum
140NOE77111 Quantum
140NOE77111C Quantum
140NOM21100 Quantum
140NOM21100C Quantum
140NOM21200 Quantum
140NOM21200C Quantum
140NOM25200 Quantum
140NOM25200C Quantum
140NWM10000 Quantum
140EIA92100 Quantum
140EIA92100C Quantum
140NOA62200 Quantum
140ESI06210 Quantum
140ESI06210C Quantum
140NOC77100 Quantum
Quantum Cablefast Connection Cablefast 预接线系统
140CFA04000 Quantum
140CFB03200 Quantum
140CFC03200 Quantum
140CFD03200 Quantum
140CFE03200 Quantum
140CFG01600 Quantum
140CFH00800 Quantum
140CFI00800 Quantum
140CFJ00400 Quantum
140CFK00400 Quantum
140CFU00600 Quantum
140CFU08000 Quantum
140CFU40000 Quantum
140CFX00110 Quantum
140CFX00210 Quantum
140XCA10206 Quantum
140XCA10215 Quantum
140XTS00203 Quantum
140XTS00206 Quantum
140XTS00209 Quantum
140XTS00212 Quantum
140XTS01203 Quantum
140XTS01206 Quantum
140XTS01209 Quantum
140XTS01212 Quantum
140XTS10206 Quantum
140XTS10215 Quantum
Quantum Terminal Block and Accecories 端子连接器及附件
140XCP20000 Quantum
140XCP40100 Quantum
140XCP40200 Quantum
140XCP50000 Quantum
140XCP51000 Quantum
140XCP60000 Quantum
140XCP90000 Quantum
140XCP90000C Quantum
140XSM00200 Quantum
140XSM01000 Quantum
140XTS00100 Quantum
140XTS00200 Quantum
140XTS00500 Quantum
140XTS33200 Quantum
990XCP98000 Quantum
990XTS00300 Quantum
Safety Quantum系统
140CPU65160S Quantum
140CPU67160S Quantum
140SAI94000S Quantum
140SDI95300S Quantum
140SDO95300S Quantum
BMEP581020
BMEP582020
BMEP582040
BMEP583020
BMEP584020
BMEP584040
BMEP585040
BMEP586040
BMEH582040
BMEH584040
BMEH586040
6. P4:写变频器参数命令赋值,调用LRC校验子程序,将待发送的ASCII码字符串置入发送缓冲器。
7. P5:读变频器参数命令赋值,调用LRC校验子程序,将待发送的ASCII码字符串置入发送缓冲器。
8. P6:LRC校验子程序。
计算待发送字符串的LRC校验值,并将十六进制字符串转化为ASCII码。
9. P7:接收字符串校验子程序。根据接收字符串的特性,将接收到的ACSII码转化为十六进制,并进行LRC校验;比较计算所得的校验值与接受到的校验值。
10. P8:根据命令,选择接收和发送字符串的长度。
四、程序功能
X000=1:正转运行(写0x0187到控制寄命令字存器0x3200),点亮Y000;
X001=1:反转运行(写0x018F到控制命令字寄存器0x3200),点亮X001;
X002=1:停机(写0x0186到控制命令字寄存器0x3200),指示灯熄灭;
X003=1:改写单个参数(如设定频率,功能码地址可选),掉电后不保存;
X004=1:读参数(如设定频率、状态字等,功能码的地址和个数可选)。
若校验有误,则Y007亮,校验正确后该灯熄灭。
IC693ALG391CA
IC693ALG391CA