Raspberry Pi - I
Using a raspberry pi 3 or later, you will also make use of Node-Red flow diagrams and the modbus protocol to talk with either a simulator or real equipment. Node Red & Modbus TCP/IP will be learnt from scratch to a working example.
Please Note: You will need to purchase a raspberry pi 3B+ or later, or, setup a virtual machine with the Raspbian OS.
- a) Installing Node-Red
- b) Starting Node_red
- c) Adding MODBUS TCP
- d) Creating Flows for Modbus (1:50)
- e) Modbus Server Flow (6:28)
- f) FC 1 - Read Coil Status (Output #0xxxx) (14:47)
- g) FC 2 - Read Input Status (#1xxxx) (10:37)
- h) FC 3 - Read Holding Registers (Output #4xxxx) (12:49)
- i) FC 4 - Read Input Registers (#3xxxx) (9:11)
- j) FC 5 - Force Coil (7:09)
- k) FC 6 - Preset Single Register (10:35)
- l) FC 15 Force Multiple Coils (15:17)
- m) FC 16 Preset Multiple Registers (21:49)
- n) Adding a dashboard (4:47)
- o) Testing with our MODBUS SERVER Flow (4:54)
Hi, I’m your trainer for this course.
I started with MODBUS comms using RS232 in the late 1980's and interfaced many devices to DCS, PLC and other peripherals. Later this was extended over radio communications and ethernet and I designed and developed a PicAxe M20 which had MODBUS internal for serial communications with 1 AI, 1 AO, 1 DI and 1 DO.
This has now moved me into doing things with the Raspberry Pi and I hope you learn and love what can be done with it.