在SoMachine 编程环境下,从SoMachine 软件平台的安装与注册开始逐步进行介绍,中间涉及了软件平台的常用设置选项以及其含义;针对不同项目之间不同控制器的程序转换也做了详尽的介绍与实现方法;以SoMachine 软件平台为基础,详细讲解了控制器的通讯连接、变量表的定义与应用、程序组织单元(POU)的定义与应用、物理地址的定义与应用等这些常规的基础知识,从最初的基础应用开始,慢慢引导进入项目的实际编程工作中去。
02SoMachine 软件平台的编程方法是基于IEC61131 标准的,使设计人员对机器控制的设计和编程不局限在一种编程方式,也不拘泥于只对逻辑状态进行编程。可以根据工艺要求而采用顺序流程图(SFC)的方式规划结构,采用结构文本(ST)的方式进行复杂工艺运算和调节计算,采用梯形图(LD)的方式处理各种逻辑和工艺过程,采用功能块图(FBD)的方式进行同一功能的反复调用和对通讯功能、轴控功能的搭建。
03在基础以及高级课程中,针对编程方面,详细介绍了各种编程语言的优势以及使用方法,基本编程指令的应用,功能块的定义与应用,结构体的定义与应用等;在实际应用方面,常用的读取与设置PLC 的时钟、串口的配置与各种应用,如何添加第三方设备以及常见故障处理、编程技巧、库文件及曲线记录功能的应用、网络以及总线通讯、高速计数与高速脉冲输出等也都一一做了详尽的讲解。
PC-E984-685
In the SoMachine programming environment, it introduces the installation and registration of SoMachine software platform step by step, and involves the common setting options of software platform and its meaning. The program conversion of different controllers between different projects is also introduced in detail. On the basis of SoMachine software platform, it explains in detail the communication connection of controller, the definition and application of variable table, the definition and application of program organization unit (POU), the definition and application of physical address and other general basic knowledge, starting from the initial basic application, slowly guide into the actual programming work of the project.
The programming method of 02SoMachine software platform is based on IEC61131 standard, so that the designer is not limited to a programming method for the design and programming of machine control, nor is it limited to programming only for the logical state. According to the process requirements, the sequential flow chart (SFC) is used to plan the structure, the structure text (ST) is used to carry out complex process calculation and adjustment calculation, the ladder diagram (LD) is used to deal with various logic and process processes, and the function block diagram (FBD) is used to repeatedly call the same function and build the communication function and shaft control function.
03 In the basic and advanced courses, in terms of programming, the advantages and usage of various programming languages, the application of basic programming instructions, the definition and application of function blocks, the definition and application of structures are introduced in detail. In practical applications, the commonly used read and set PLC clock, serial port configuration and various applications, how to add third-party devices and common fault handling, programming skills, library files and curve recording function of the application, network and bus communication, high-speed counting and high-speed pulse output are also explained in detail.