Proactive service for modbusd written in Golang. Maintainer: Taka Wang
1.7K
Proactive service library for modbusd
I do continuous integration and deploy docker images after git push by self-hosted drone.io server, circleci service, codecov service and dockerhub service.
Why environment variable? Refer to the 12 factors
docker-compose build --pull
docker-compose up
wget https://github.com/zeromq/zeromq3-x/releases/download/v3.2.5/zeromq-3.2.5.tar.gz
tar xvzf zeromq-3.2.5.tar.gz
cd zeromq-3.2.5
./configure
make
sudo make install
sudo ldconfig
# install glide
curl https://glide.sh/get | sh
# install dependencies
glide up
# build
cd tcp-srv
go build -o psmbtcp-srv
BytesToUInt16s in big endian order - (1/4)BytesToUInt16s in little endian order - (2/4)BytesToInt16s in big endian order - (3/4)BytesToInt16s in little endian order - (4/4)BytesToUInt32s in (ABCD) Big Endian order - (1/4)BytesToUInt32s in (DCBA) Little Endian order - (2/4)BytesToUInt32s in (BADC) Mid-Big Endian order - (3/4)BytesToUInt32s in (CDAB) Mid-Little Endian order - (4/4)BytesToInt32s in (ABCD) Big Endian order - (1/4)BytesToInt32s in (DCBA) Little Endian order - (2/4)BytesToInt32s in (BADC) Mid-Big Endian order - (3/4)BytesToInt32s in (CDAB) Mid-Little Endian order - (4/4)BytesToFloat32s in (ABCD) Big Endian order - (1/4)BytesToFloat32s in (DCBA) Little Endian order - (2/4)BytesToFloat32s in (BADC) Mid-Big Endian order - (3/4)BytesToFloat32s in (CDAB) Mid-Little Endian order - (4/4)BitStringToUInt8s testBitStringToUInt8s test - left commaBitStringToUInt8s test - right commaBitStringToUInt8s test - left, right commaRegistersToBytes testBytesToHexString testDecimalStringToRegisters testDecimalStringToRegisters test - left commaDecimalStringToRegisters test - right commaDecimalStringToRegisters test - left, right commaHexStringToRegisters testHexStringToRegisters test - wrong lengthLinearScalingRegisters testLinearScalingRegisters test - (0,0,0,0)LinearScalingRegisters test - reversembtcp.once.read request testmbtcp.once.read response testmbtcp.timeout.read request testmbtcp.timeout.read response testmbtcp.timeout.update request testmbtcp.timeout.update response testmbtcp.once.write request testmbtcp.once.write response testread request testsingle read response testmultiple read response testsingle write request testmultiple write request testset timeout request testget timeout response testMIT
Content type
Image
Digest
Size
10.7 MB
Last updated
about 10 years ago
docker pull edgepro/psmb-srv