MCP Directory
ServersClientsBlog

xASO - App Store Optimization

AI-powered App Store Optimization platform for mobile apps

Go to xASO
MCP Directory

Model Context Protocol Directory

MKSF LTD
Suite 8805 5 Brayford Square
London, E1 0SG

MCP Directory

  • About
  • Blog
  • Documentation
  • Contact

Menu

  • Servers
  • Clients

© 2025 model-context-protocol.com

The Model Context Protocol (MCP) is an open standard for AI model communication.
Powered by Mert KoseogluSoftware Forge
  1. Home
  2. Clients
  3. go-mcprotocol

go-mcprotocol

GitHub

go-mcprotocol is a Go library and tool for accessing Programmable Logic Controllers (PLCs) using the MELSEC Communication Protocol, enabling register data collection and local file dumping. go-mcprotocol is a Go

46
18

go-mcprotocol

go-mcprotocol is a Go library and tool designed for accessing Programmable Logic Controllers (PLCs) using the MELSEC Communication Protocol (MC Protocol).

Project Status

Work In Progress

Usage for Library

The library allows reading PLC registers, as demonstrated in the provided Go code snippet. It showcases initializing a 3EClient, reading from a specified register (e.g., "D" register at offset 100, reading 3 registers), and parsing the binary response. A health check function is also available to verify the connection to the PLC.

Usage Tool

The plcmirror tool collects register values from a PLC using the MC Protocol and dumps them to local CSV files. Each line in the CSV contains a timestamp and a Base64 encoded MC Protocol response. Example usage involves specifying the PLC host, port, target register, offset, number of registers to read, and output directory. Options include host, port, device register, offset, number of points, output directory, and mirroring interval.

License

Apache 2

Repository

FU
future-architect

future-architect/go-mcprotocol

Created

October 11, 2019

Updated

March 28, 2025

Language

Go

Category

Developer Tools