Operators in your Arduino sketches (programs) consist of comparison blocks, concatenate strings, bitwise operators, string conversion, ‘not’ operator, and compound operators. These operations generally will be used with other instructions in your sketch. It is important to understand what instructions are available and what they are designed to accomplish.
We will be looking at each of these instructions that are available using productivity blocks. A sample sketch will be shown that will use some of these operators. The sketch will get a number between 1 and 100 from the built-in Arduino IDE (integrated development environment) serial monitor. It will print the number on the monitor if it is between 1 and 100, else it will print try again. Let’s get started! Continue Reading!
The Arduino integrated development environment (IDE) has a built-in pop-up serial monitor. The serial monitor can be used to receive and send serial data to our Arduino program. This can be a great feature to help us in debugging or controlling Arduino programs. (Sketches)
We will be modifying the blinking light program that we did previously and add a one to an integer every time the P1AM-100 arduino CPU switch is on. This will be then printed on the serial monitor.
Removing the blinking light, we will run our program again an see the difference in speed with the delay instructions removed. Productivity blocks will be used to program our industrial arduino controller.
We will then look at escape character codes that we can use with our industrial arduino. Since the built-in serial monitor will not interpret the escape codes, we will be using Putty as our serial monitor program. Let’s get started. Continue Reading!
The P1AM-100 industrial controller is programmed with the Arduino IDE (Integrated Development Environment). The arduino IDE will allow us to write sketches (programs). These sketches have basic common elements like setup and loop.
We will be looking at these elements in our first program in the Arduino IDE and ProductivityBlocks. We will be modifying our first program with the selector switch. When it is on we will flash the CPU LED light on and off. When it is off we will ensure that the CPU LED light is off. Let’s get started.
The P1AM-100 industrial controller is programmed with the Arduino IDE (Integrated Development Environment). The C++ programming environment is emerging in industrial automation. This software is open-sourced and available free of charge. It will run on Windows, Mac or Linux.
ProductivityBlocks is a graphical programming interface and add-on to the Arduino IDE. It helps you build your sketch program by dragging and dropping interlocking blocks. The associated C++ is automatically generated for you. This will help you to avoid syntax errors.
We will be installing the Arduino IDE, P1AM-100 library and Productivity Blocks. This will be done on a Windows 7 machine. Let’s get started. Continue Reading!
Productivity Open is an industrial rated Arduino compatible platform controller. This rugged open-sourced CPU mimics the MKRZero Arduino. You can add standard MKRZero shields (Add-on Boards), along with the Productivity 1000 PLC I/O.
The Productivity Open Arduino Compatible Industrial Controller is CE and UL certified. Approved industrial standards ensure that your panels operate equipment and systems in a wide range of industrial environments and enable the safe functioning of equipment.
Industrial electrical noise isolation has been incorporated in the design of the Productivity Open. Voltages up to 240VAC can now be used with up to 3A output ratings on your maker project.
We will be unboxing and powering up our Productivity Open Starter Kit complete with an Ethernet and general-purpose IO Shield. Our kit also comes with a Productivity 1000 Analog input/output module. Let’s get started. Continue Reading!