Modbus Rtu to Pusher server
Modbus RTU to Pusher server
Contents
- Introduction.
- Componentes and configuration.
- Install.
- Video.
- Download.
Introduction.
With this application installed on Raspberry, you can read all variables of your Modbus Plc master from anywhere. The application sends the data to Pusher each 5 sec.You don't need to configure your router.
Componentes and configuration.
Informations Raspberry piOperating System: Raspbian GNU/Linux 9 (stretch)
Kernel: Linux 4.14.98-v7+
Architecture: arm
Informations Linux Machine
Operating System: Linux Mint 19.1
Kernel: Linux 4.15.0-51-generic
Architecture: x86-64
Install
Packages to install:sudo apt-get install libssl-dev
sudo apt-get install libcurl4-openssl-dev
Application:
- Go to https://dashboard.pusher.com/accounts/sign_up to create a free account.
- Configure your channel App as shown in the video
- Connect your Plc to the Raspberry using USB cable RS485.
- Communication parameters: /dev/ttyUSB0, 19200,8,N,1.
- Use the Modbus request 0x10 (write multiple registers) to write 5 values at the address 1000, the Raspberry is the slave with the station number 10 (you can change it in setting.dat).
- Copy the folder ModbusRtuPusher in your raspberry.
- Go to the folder ModbusRtuPusher.
- Open the file setting.dat and configure each parameter
- Run the command: sudo ./ModbusPusher
- Go to https://dashboard.pusher.com/accounts/sign_in to enter in your Pusher account
- Select Channels apps .
- Select your app
- Go to Debug console to see the data
- If all works, you can see something as

Comments
Post a Comment