Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
RoboPLC
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
黄新宇
RoboPLC
Commits
4ce4b196
提交
4ce4b196
authored
4月 14, 2024
作者:
Serhij S
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
changed repo link
上级
dababf76
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
17 行增加
和
17 行删除
+17
-17
Cargo.toml
Cargo.toml
+2
-2
README.md
README.md
+8
-8
Cargo.toml
roboplc-cli/Cargo.toml
+1
-1
Cargo.toml
roboplc-derive/Cargo.toml
+1
-1
controller.rs
src/controller.rs
+1
-1
eapi.rs
src/io/eapi.rs
+1
-1
mod.rs
src/io/modbus/mod.rs
+2
-2
raw_udp.rs
src/io/raw_udp.rs
+1
-1
没有找到文件。
Cargo.toml
浏览文件 @
4ce4b196
[package]
name
=
"roboplc"
version
=
"0.1.3
4
"
version
=
"0.1.3
5
"
edition
=
"2021"
authors
=
[
"Serhij S. <div@altertech.com>"
]
license
=
"Apache-2.0"
description
=
"Framework for PLCs and real-time micro-services"
repository
=
"https://github.com/
eva-ics
/roboplc"
repository
=
"https://github.com/
roboplc
/roboplc"
keywords
=
[
"realtime"
,
"robots"
,
"plc"
,
"industrial"
]
readme
=
"README.md"
autoexamples
=
false
...
...
README.md
浏览文件 @
4ce4b196
...
...
@@ -4,7 +4,7 @@
<a
href=
"https://docs.rs/roboplc"
><img
alt=
"docs.rs page"
src=
"https://docs.rs/roboplc/badge.svg"
></img></a>
</h2>
<img src="https://raw.githubusercontent.com/
eva-ics
/roboplc/main/roboplcline_.png"
<img src="https://raw.githubusercontent.com/
roboplc
/roboplc/main/roboplcline_.png"
width="200" />
[
RoboPLC
](
https://www.bohemia-automation.com/software/roboplc/
)
is an ultimate
...
...
@@ -23,7 +23,7 @@ Available at <https://info.bma.ai/en/actual/roboplc/index.html>
## Examples
Can be found at
<https://github.com/
eva-ics
/roboplc/tree/main/examples>
Can be found at
<https://github.com/
roboplc
/roboplc/tree/main/examples>
## DataBuffer
...
...
@@ -33,7 +33,7 @@ by a single consumer in bulk and submitted, e.g. into a local database or into
an external bus.
<img
src="https://raw.githubusercontent.com/
eva-ics
/roboplc/main/schemas/databuffer.png"
src="https://raw.githubusercontent.com/
roboplc
/roboplc/main/schemas/databuffer.png"
width="350" />
*
always has got a fixed capacity
...
...
@@ -53,7 +53,7 @@ architecture significantly clearer, lowers code support costs and brings
additional features.
<img
src="https://raw.githubusercontent.com/
eva-ics
/roboplc/main/schemas/hub.png"
src="https://raw.githubusercontent.com/
roboplc
/roboplc/main/schemas/hub.png"
width="550" />
*
classic pub/sub patterns with no data serialization overhead
...
...
@@ -105,7 +105,7 @@ launched threads.
functionality together.
<img
src="https://raw.githubusercontent.com/
eva-ics
/roboplc/main/schemas/controller.png"
src="https://raw.githubusercontent.com/
roboplc
/roboplc/main/schemas/controller.png"
width="550" />
## I/O
...
...
@@ -116,12 +116,12 @@ buses.
Currently supported:
*
Modbus (RTU/TCP) via
[
`io::modbus`
]
(
[Modbus
PLC
example](https://github.com/
eva-ics
/roboplc/blob/main/examples/plc-modbus.rs)),
example](https://github.com/
roboplc
/roboplc/blob/main/examples/plc-modbus.rs)),
requires
`modbus`
crate feature.
*
Raw UDP in/out via
[
`io::raw_udp`
]
(
[
Raw UDP in/out example
](
https://github.com/
eva-ics
/roboplc/blob/main/examples/raw-udp.rs
)
)
(
[
Raw UDP in/out example
](
https://github.com/
roboplc
/roboplc/blob/main/examples/raw-udp.rs
)
)
*
[
EVA ICS
](
https://www.eva-ics.com/
)
EAPI in/out via
[
`io::eapi`
]
(
[EVA
ICS
example](https://github.com/
eva-ics
/roboplc/blob/main/examples/eapi.rs)),
example](https://github.com/
roboplc
/roboplc/blob/main/examples/eapi.rs)),
requires
`eapi`
crate feature.
roboplc-cli/Cargo.toml
浏览文件 @
4ce4b196
...
...
@@ -5,7 +5,7 @@ edition = "2021"
authors
=
[
"Serhij S. <div@altertech.com>"
]
license
=
"Apache-2.0"
description
=
"RoboPLC command-line interface"
repository
=
"https://github.com/
eva-ics
/roboplc"
repository
=
"https://github.com/
roboplc
/roboplc"
keywords
=
[
"realtime"
,
"robots"
,
"plc"
,
"industrial"
]
readme
=
"README.md"
...
...
roboplc-derive/Cargo.toml
浏览文件 @
4ce4b196
...
...
@@ -5,7 +5,7 @@ edition = "2021"
authors
=
[
"Serhij S. <div@altertech.com>"
]
license
=
"Apache-2.0"
description
=
"Derive macros for RoboPLC"
repository
=
"https://github.com/
eva-ics
/roboplc"
repository
=
"https://github.com/
roboplc
/roboplc"
keywords
=
[
"realtime"
,
"robots"
,
"plc"
,
"industrial"
]
readme
=
"README.md"
...
...
src/controller.rs
浏览文件 @
4ce4b196
...
...
@@ -182,7 +182,7 @@ where
///
/// Workers that listen to hub messages may also receive a custom termination message and gracefully
/// shut themselves down. For such functionality a custom signal handler should be implemented
/// (See <https://github.com/
eva-ics
/roboplc/blob/main/examples/shutdown.rs>).
/// (See <https://github.com/
roboplc
/roboplc/blob/main/examples/shutdown.rs>).
///
/// The thread is automatically spawned with FIFO scheduling and the highest priority on CPU 0
/// or falled back to non-realtime.
...
...
src/io/eapi.rs
浏览文件 @
4ce4b196
//!
//! [EAPI communication example](https://github.com/
eva-ics
/roboplc/blob/main/examples/eapi.rs)
//! [EAPI communication example](https://github.com/
roboplc
/roboplc/blob/main/examples/eapi.rs)
use
binrw
::
BinWrite
;
use
busrt
::
rpc
::{
RpcError
,
RpcEvent
,
RpcHandlers
,
RpcResult
};
use
busrt
::{
async_trait
,
QoS
};
...
...
src/io/modbus/mod.rs
浏览文件 @
4ce4b196
...
...
@@ -2,8 +2,8 @@
//! Contains Modbus client/server implementations.
//!
//! Examples: [modbus
//! master(client)](https://github.com/
eva-ics
/roboplc/blob/main/examples/modbus-master.rs),
//! [modbus slave(server)](https://github.com/
eva-ics
/roboplc/blob/main/examples/modbus-slave.rs)
//! master(client)](https://github.com/
roboplc
/roboplc/blob/main/examples/modbus-master.rs),
//! [modbus slave(server)](https://github.com/
roboplc
/roboplc/blob/main/examples/modbus-slave.rs)
use
std
::
io
::
Cursor
;
use
crate
::
comm
::{
Client
,
Protocol
};
...
...
src/io/raw_udp.rs
浏览文件 @
4ce4b196
...
...
@@ -2,7 +2,7 @@
//! Can be used to communicate between processes on different machines or with various 3rd party
//! devices and software, such as Matlab, LabView, etc.
//!
//! [Raw UDP example](https://github.com/
eva-ics
/roboplc/blob/main/examples/raw-udp.rs)
//! [Raw UDP example](https://github.com/
roboplc
/roboplc/blob/main/examples/raw-udp.rs)
use
binrw
::{
BinRead
,
BinWrite
};
use
std
::{
io
::
Cursor
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论