Productivity Open P1AM Arduino Modbus TCP Client to Click PLC

Описание к видео Productivity Open P1AM Arduino Modbus TCP Client to Click PLC

We will now connect our Productivity Open P1AM Arduino to a Click PLC. Using Modbus TCP the Arduino will be the Client (Master) and the Click will be the Server (Slave). We will explain how to connect our P1AM-ETH Industrial Arduino Ethernet Shield to the Click PLC. The protocol will be Modbus TCP on an Ethernet communication network. Modbus is a master-slave type of communication. Masters will always send the commands to read or write to the slaves on the network. The slaves will respond if the communication is directed at them. Since this is an Ethernet network our master is known as a client and the slave as a server.
The P1AM Example from Automation Direct on GitHub will be used. It will be modified to write to holding registers and coils in the Click PLC. The temperature from the thermocouple input unit on the P1AM will be written to the Click PLC. Inputs from the simulator input card on our Arduino P1AM will be written to the Click PLC outputs directly. The Click PLC will also be programmed with a heartbeat circuit. This will detect if communications have been severed and will reset the outputs after 5 seconds. Let's get started with our Arduino P1AM Modbus client to Click Modbus server.

More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity...

00:00 Arduino P1AM Modbus client to Click server
00:38 Click Modbus server configuration
01:55 Click Modbus addresses
04:05 Arduino P1AM Modbus client program
13:34 Click communication heartbeat program
18:00 Arduino Click Modbus communication testing

Here are previous posts in this Productivity Open Arduino Compatible Industrial Controller Series. A full list can be obtained at the following location:
https://accautomation.ca/series/produ...
Industrial Controller Hardware
https://accautomation.ca/productivity...
Installing the Software
https://accautomation.ca/productivity...
   • Productivity Open Arduino - Installin...  
First Program
https://accautomation.ca/productivity...
   • Productivity Open P1AM Industrial Ard...  
Program Structure
https://accautomation.ca/productivity...
   • Productivity Open P1AM Industrial Ard...  
Serial Monitor COM
https://accautomation.ca/productivity...
   • Productivity Open P1AM Industrial Ard...  
Program Control
https://accautomation.ca/productivity...
   • Productivity Open P1AM Industrial Ard...  
Operators
https://accautomation.ca/productivity...
   • Productivity Open P1AM Industrial Ard...  
GPIO Inputs and Outputs
https://accautomation.ca/productivity...
   • P1AM Industrial Arduino GPIO Inputs a...  
Time Instructions
https://accautomation.ca/productivity...
   • Productivity Open P1AM Arduino Time I...  
P1000 Expansion Analog Combination Module
https://accautomation.ca/productivity...
   • P1AM Industrial Arduino P1000 Expansi...  
PP1000 Expansion Digital Inputs and Outputs Part 1
https://accautomation.ca/productivity...
   • Productivity Open P1AM Industrial Ard...  
P1000 Expansion Digital Inputs and Outputs Part 2
https://accautomation.ca/productivity...
   • Productivity Open P1AM Industrial Ard...  
Watchdog Timer
https://accautomation.ca/productivity...
   • Productivity Open P1AM Industrial Ard...  
PID Control
https://accautomation.ca/productivity...
   • Productivity Open P1AM Industrial Ard...  
Arduino Modbus TCP to C-More EA9
https://accautomation.ca/p1am-arduino...
   • Productivity P1AM Arduino Modbus TCP ...  
Arduino Ethernet Shield Web Server
https://accautomation.ca/productivity...
   • Productivity Open P1AM Arduino Ethern...  

There are several reasons why we are using the Productivity Open Arduino Compatible Industrial Controller. Here are just a few.
CE and UL certified
Designed to be MKRZero compatible
Industrial shields available - Ethernet and general-purpose IO
15 Productivity 1000 PLC modules can be added - Customize your system
Use your Arduino programs in the industrial environment
Micro USB port - Power the CPU only and programming
Micro SD card slot
Programmable toggle switch
CPU LED light
Free software - Arduino IDE
Productivity blocks - Program Development Time Saver

The Productivity Open Arduino Compatible Industrial Controller currently has all of these features built into the P1AM-100 CPU.

https://www.accautomation.ca

Комментарии

Информация по комментариям в разработке