
Go-McProtocol
Implementación del cliente del protocolo MC (Protocolo de comunicación MelSec) para Golang para Golang
15
Github Watches
18
Github Forks
45
Github Stars
go-mcprotocol
go-mcprotocol is a library for PLC (Programmable Logic Controller) access
Project Status
Work In Progress
Usage for Library
You can read plc register bellow codes.
client, _ := mcp.New3EClient(opts.Host, opts.Port, mcp.NewLocalStation())
read, _ := client.Read("D", 100, 3)
registerBinary, _ := mcp.NewParser().Do(read)
fmt.Println(string(registerBinary.Payload))
Health Check
if err := client.HealthCheck(); err != nil {
log.Fatalf("failed health check for plc: %v", err)
}
Usage Tool
Output file format
Format is CSV. Items are timestamp and Base64 encoded MC Protocol response.
2019-10-07T07:08:00.3623052Z,0AAA//8DAAwAAAAAAAAAAAAAAAAA
2019-10-07T07:08:00.8622182Z,0AAA//8DAAwAAAAAAAAAAAAAAAAA
2019-10-07T07:08:01.3616205Z,0AAA//8DAAwAAAAAAAAAAAAAAAAA
...
Usage for tool
Collect the register valuesof PLC by MC Protocol(MELSEC Communication Protocol). This tools is gather plc register data and dump local files.
Examples
$ plcmirror -H <Your PLC Host> -P <Your PLC Port> --device D --offset 100 --num 10 --dir /var/log/plcmirror
Options
> plcmirror -help
Usage:
plcmirror [OPTIONS]
Application Options:
/H, /host: PLC hostname
/P, /port: Melsec communication protocol port number
/D, /device: Register name like D that is mirror target
/O, /offset: PLC register offset addr that is mirror target
/N, /num: number of device points
/dir: file output path (default: .)
/I, /interval: mirroring interval [milli sec] (default: 500)
Help Options:
/? Show this help message
/h, /help Show this help message
License
Apache 2
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.
Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo
Reviews

user_jDgAKaoh
As a devoted user of go-mcprotocol, I can confidently say that this tool has revolutionized my experience with MC protocols. It's highly efficient and seamlessly integrates with my existing systems. The user-friendly documentation provided by future-architect ensures I can get started without any hassle. Highly recommend this for anyone looking to optimize their MC protocol operations!