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. Keep on Reading!
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.
The 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. Keep on Reading!
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.
We 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. Keep on Reading!
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)
We 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! Keep on Reading!
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.
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. Keep on Reading!
We will now look at the data logging capability using our Click plus PLC.
Data logging is the collection of data over time. This is usually used for data analysis at a later time. The amount of data (System Information) stored and the frequency of the storage will depend on your specific application.
The hardware used to store the data is usually called a data logger. Using the information from our last post, the MQTT information collected (Temperature in Atlanta and Click Analog) will now be logged in two different ways. A micro SD card on the Click Plus will be used to store the data every minute in a CSV (Comma Separated Value) file. Node-RED will also be used to store the same data in a SQL database. Let’s get started on how to use these data loggers. Keep on Reading!