Simatic data fetcher in Ruby with EventMachine
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.rvmrc
Gemfile
README.md

README.md

Simatic Runner

Simple Simatic data fetcher in Ruby with EventMachine over ISO-TSAP

Usage

Reading bit 15 from Data Block 5 (2 bytes size): $ bin/bit 127.0.0.1 102 5 2 15

Reading first int8 from Data Block 5 (1 byte size): $ bin/int8 127.0.0.1 102 5 1 1

Reading tenth int8 with reverse bitorder from Data Block 5 (10 bytes size): $ bin/int8 127.0.0.1 102 5 10 1 reverse

Reading first int16 with reverse bitorder from Data Block 5 (10 bytes size): $ bin/int16 127.0.0.1 102 5 10 1 2 reverse