This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

keyence-hostlink-emu

Super tiny emulator of Keyence HostLink protocol

Build

You need stack to build.

git clone https://github.com/nshimaza/keyence-hostlink-emu.git
cd keyence-hostlink-emu
stack build

Usage

.stack-work/install/x86_64-osx/lts-13.20/8.6.5/bin/keyence-uplink-emu-exe < sample-response.txt

The emulator listens TCP port 8501 and returns a line from stdin on receiving RD command or RDS command.

The emulator only recognizes RD command and RDS command. Any other commands result parse error.
On parse error, the emulator disconnects the session without recovering the parse error within the same TCP session.

Protocol specification can be found in manual for Keyence KV-7500 and EtherNet/IP modules.
Web site of Keyence is https://www.keyence.co.jp/.

View code on GitHub
  • Owner

  • Contributors

    +1Github contributor
  • Categories

  • Programming Languages

    Haskell
  • License

    Other

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.