在万博网页版登陆页派4B上布署Codesys 3.5.15.10 MC SL
最新发行的万博网页版登陆页派4B架构在Cortxt A72 * 2+A53 * 2,基于ARM V8指令集 ,具有4G内存 ,德国3S公司发行的CODESYS最新版本3.5.15.10目前可以完美支持 PLC CNC MOTION HMI ,二者结合,运行非常快,速度不逊于X86架构。以下是具体技术细节。
用CoDeSys作为编程软件,编写程序和开发人机交互界面。搭建一个简单的PLC环境,有助于对此软件进行相关的安全研究。
目前常见的PLC厂家有:SIEMENS、Rockwell、Schneider、Mitsubishi、Beckhoff、GE、Omron、台达......但常用的PLC编程语言都是相似的,比如LD、ST、FBD、CFC、IL、GRAPH等,CoDeSys支持LD、ST、IL、FBD、CFC等,用CoDeSys可以学习多种PLC编程语言,也可以向其他PLC编程软件切换,比如TwinCAT2和SoMachine就是基于CoDeSys开发的。用Raspberry Pi代替工业现场使用的PLC便于学习和各类研究等。
CODESYS Control for Raspberry Pi MC SL 包含一个用于所有raspberry pi的codesys控制应用程序,包括计算模块以及使用扩展模块和多个带有spi、i2c或1线通信接口的设备/分支的能力。
此产品可以通过Linux发行版raspbian上的codesys开发系统与附带的codesys部署工具插件一起安装。每次重新启动后,运行时系统将自动启动。
如果找不到有效的完整许可证,则在关闭前,codesys控件将在没有功能限制的情况下运行两小时。
性能介绍:
CODESYS Control for Raspberry Pi MC SLCODESYS Control for Raspberry Pi SL contains a multicore capable CODESYS Control runtime system for all Raspberry Pi models whose CPU has multiple cores, including compute modules (see http://www.raspberrypi.org/), as well as their possibility to use expansion hardware such as Raspberry PiFace Digital, Raspberry Pi Camera and various devices/boards with SPI, I2C or 1-wire interface.
BenefitsAfter the installation of the runtime environment, the Raspberry Pi can be programmed as PLC with the CODESYS Development System.
This product can be installed with the included CODESYS Deploy Tool plug-in via the CODESYS Development System on a Linux distribution Raspbian. After each restart the runtime system will be started automatically. If no valid full license can be found, CODESYS Control runs for two hours without functional limitations before shut down.
Detailed information can be found in the Online Help.
Interfaces
[*]CODESYS OPC UA Server, as full version for data exchange
[*]CANopen via EL6751 Gateway
The CODESYS device description does support the following components:
[*]Raspberry Pi Camera
[*]I2C interface, with SenseHat, SRF02, Adafruit PWM, MPU6050 Gyro, MPU9150 Gyro, AK8975 Compass
[*]SPI interface, with MCP3008, MCP23S17, PiFace Digital, PiFace Control Display
[*]One-wire interface, with DS20B18
[*]GPIO
Visualization
[*]CODESYS WebVisu, is included as full version in the delivery of the runtime package.
Fieldbus supportWith the delivery of the Runtime Package the following fieldbuses are supported:
[*]Modbus-TCP Master / Slave
[*]Modbus RTU Master / Slave
[*]EtherNet/IP Scanner / Adapter
[*]PROFINET Controller / Device
[*]EtherCAT Master
[*]CANopen Master / Slave
[*]J1939
Further products can be licensed for a fee:
[*]CODESYS SoftMotion SL
[*]CODESYS SoftMotion CNC+Robotics SL
[*]CODESYS KNX SL
[*]CODESYS BACnet SL
https://help.codesys.com/webapp/_rbp_f_project;product=CODESYS_Control_for_Raspberry_Pi_SL;version=3.5.15.0
示例程序如下:
The following sample projects are located in the installation directory (for example C:\\Users\\<name>\\CODESYS Control for Raspberry PI\\3.5.11.0\\Examples).
[*]WebVisu project engineering
[*]Project engineering of the camera module
[*]GPIO project engineering
[*]PiFace Digital project engineering
[*]I2C project engineering
[*]A/D converter MPC3008 project engineering
[*]Port expander MCP23S17 project engineering
[*]1-Wire project engineering
[*]Servo motor project engineering
[*]EtherCAT project engineering
[*]OPC UA project engineering
[*]Project Engineering with the Sense HAT
页:
[1]