Categories
Click Click PLUS Communication Modbus RTU Modbus TCP PLC PLC Learning WiFi

Click to Click PLC Communication – Remote IO

We will connect two Click PLUS PLCs and communicate in three different ways. Using the send and receive commands, we will set up one PLC to be the master (client) and communicate with the slave (server). WiFi, Ethernet, and Serial communication will share common memory areas between the Click PLCs.
Click to Click PLC CommunicationThe send and receive commands have been covered before in our Click PLC Series, but we will look further at the timing of the communication. Detecting and correcting communication errors will be discussed and implemented. We will also create a heartbeat for the remote Click slave (server) PLC. This will allow the remote controller to determine if communications have stopped with the Click master (client). Wiring a pushbutton and some ladder logic code will allow us to time the throughput of each of the communication methods. Let’s get started.

Categories
Click Click PLUS Communication EasyPLC Machine Simulator Modbus TCP PLC PLC Learning

Click PLC – EasyPLC PLC Mixer Programming

The Machine Simulator (MS) is part of the EasyPLC software suite. It has many built-in machines that are used to show different programming techniques. The industrial mixer is one of these machines. When the start pushbutton is energized it will fill up a tank until the lower level sensor is detected. The mixer blades will then be turned on until the top sensor is detected. The tank is then drained past the low sensor and the process repeats for 3 cycle times. Once the sequence is complete, the tank is completely drained and ready to start again.
The Click PLC will be used to program this virtual 3D mixer machine. A DRUM instruction will be used in the PLC for the sequencing. Using the Click Plus PLC, we will connect to the mixing machine. This will be done using Modbus TCP (Ethernet) for communications. Using the five steps for program development we will show how this is programmed. Let’s get started.

Categories
Click Click PLUS Communication EasyPLC EasyPLC Machine Simulator Modbus TCP PLC PLC Learning

Click PLC Simple Conveyor EasyPLC

The Machine Simulator (MS) is part of the EasyPLC software suite. It has many built-in machines that can be programmed. A simple conveyor is one of these machines. This is usually the starting point for learning about the machine simulator. This conveyor example will use two digital inputs and two digital outputs. A pallet will move back and forth on the conveyor. When the pallet is detected on each end it will stop and reverse direction. If both motors are started at the same time, the motors will burn up. This will be demonstrated. The machine simulator will allow you as the programmer to make mistakes before trying your program in the physical world.
Click PLC Simple Conveyor EasyPLCThe Click PLC will be used to program this virtual machine. Using the Click Plus PLC, we will connect the simulator to the simple conveyor machine. This will be done using Modbus TCP (Ethernet) for communications. Using the five steps for program development we will show how this is programmed. Let’s get started.

Categories
Click Click PLUS PLC PLC Basics PLC Learning

Click PLC Retentive Data Memory Registers

The Click PLC retentive data memory registers are not included in the program file by default. All Click PLC CPUs are included. This option must be selected to include the C, CT, DS, DD, DH, DF, CTD, and TXT memory in the Click project file.
Click PLC Retentive Data Memory RegistersWe will be enabling the option to include the retentive data memory in the Click program file from the Click programming software. We will also be installing a battery and programming an expiry date. This will indicate when the battery will need to be replaced. Let’s get started.

Categories
Click Click PLUS Communication EasyPLC Machine Simulator Inputs Modbus RTU Modbus TCP Outputs PLC PLC Basics PLC Learning

Click PLC – Easy Transfer Line Programming

EasyPLC Software Suite is a complete PLC, HMI, and Machine Simulator Software package. This PLC learning package includes a Machine Simulator (MS). This virtual 3D world with real-time graphics and physical properties can communicate to several different programmable logic controllers. (PLC)
Click PLC – Easy Transfer Line ProgrammingWe will be developing a Click PLC program for a transfer line. This is just one of the prebuilt machines in the simulator to learn PLC programming. We will be developing the ladder logic, connecting via Modbus RTU, and testing our program. This will be done using the five steps to PLC program development. Let’s get started!

Categories
Click Click PLUS Communication Modbus RTU Modbus RTU PLC PLC Learning Solo Process Temperature Controller

Click PLC Serial Communication Timing

Many questions come from serial communications using the Click PLC. Most of these questions deal with communication timing when using multiple send and receive instructions. We will show you how to deal with serial communication timing in the Click PLC.
Receive and Send instructions will allow you to send and receive serial data to an external device. The communication method that you set up can be ASCII or Modbus. ASCII (American Standard Communication for Information Interchange) can be used to send to devices such as a printer. Receiving ASCII can be used for connecting barcode scanners to the PLC. The barcode will be read as an ASCII string in the PLC. Modbus serial communication (Modbus RTU) is a standard protocol used in many automation devices.
Click PLC Serial Communication Timing
We will demonstrate the Send and Receive instruction by communicating Modbus RTU to a Solo Temperature Controller. Parameters from the Solo process temperature controller will be read using multiple receive instructions. The send instruction will be used multiple times as well to set the Set Value (SV) and Limits of the SV value entered in the temperature controller. The set values will only be changed when required. Let’s get started.