P1AM Industrial Arduino P1000 Expansion Analog
We will now look at the P1AM Arduino expansion analog modules. This analog expansion is part of the P1000 cards that the P1AM Arduino can use as its inputs and outputs.
More information can be obtained on our website. This includes all of the links mentioned in this
video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-p1000-expansion-analog-combination-module
The productivity open P1AM I/O interface chip-set supports the full suite of Productivity 1000 I/O expansion modules. These modules are industry-approved and proven in the industrial environment.
Modern industrial signal levels for digital and analog inputs and outputs are used. P1000 modules available to you include the following:
• Discrete
• Analog
• Temperature
• Relay
• High-speed Input
• PWM
We will be wiring and programming our P1-4ADL2DAL-1 combination analog input and output module that came with the P1AM-START1 Productivity Open starter kit with Ethernet. Let's get started.
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/productivity-open-arduino-compatible-industrial-controller
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 MZero 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
33
views
Raspberry Pi 4 Serial Port Programming
Node-RED will be used on the Raspberry Pi 4 to communicate Modbus RTU to a Solo process temperature controller and Click PLC using twisted pair RS485. This will be done on the same serial network so the devices will be daisy-chained together on the two wires.
We will be reading the PV (present value) and SV (set value) of the Solo temperature controller and then writing these values into the Click PLC. An SV value will then be read from the Click PLC and if it has changed, the value will be written to the SV of the Solo controller. Let’s get started.
More information can be obtained at our website. This includes all of the links mentioned in this video.
https://accautomation.ca/raspberry-pi-serial-port-programming/
There are several reasons why we are using Node-RED. Here are just a few.
- Built on top of the most dependable programming language JavaScript.
- JavaScript is flexible and easy to work with on web browsers, server-side, IoT, IIoT projects, and more.
- Visual flow type interface making programming easy.
- Node will allow JavaScript code to run directly on a computer.
- Node-RED is a free, open-source logic engine.
- Connect to PLC, PAC, Temperature Controllers, Process Controllers using standard protocols.
- Save and read from databases
- Easily make the Internet of Things (IoT, IIoT) industrial solutions.
Node-RED provides the ability for you to quickly create custom control solutions.
https://accautomation.ca/
28
views
Raspberry Pi Setting Static IP Address
There are two ways to set a static IP address for our Raspberry Pi 4 Model B.
The first is to use the C (Media Access Control) address value and set the IP address using your router software.
The C address can be found by using the ifconfig in terminal mode and pressing enter. Here is a video on this procedure.
https://youtu.be/tz0XaHKdaNI
The second method to set the IP address is to use the DHCP client daemon (dhcpcd).
sudo service dhcpcd status
This command will show you if the dhcpcd is running. If not then use the following commands to start and run the service at startup.
sudo service dhcpcd start
sudo systemctl enable dhcpcd
Edit the DHCP Client Daemon by using the following command:
sudo nano /etc/dhcpcd.conf
Add the following lines to the configuration file.
interface eth0
static ip_address=192.168.1.134/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
Note: /24 represents the mask of 255.255.255.0
Save the changes with ‘Ctrl + O’ and then press the enter key.
Close the configuration file with ‘Ctrl + X’.
Restart to adopt the newly assigned static IP address in the network: sudo reboot
Here is a link to using terminal mode on the Raspberry Pi.
https://www.raspberrypi.org/documentation/usage/terminal/
https://amzn.to/2Q9auRV
The starter kits come with everything that you will need to get started using your raspberry pi.
- Raspberry Pi 4 Model B 4GB RAM with 1.5GHz 64-bit Quad-core CPU
- USB-C Power Adapter Specially Designed for Raspberry Pi 4 B 4 GB RAM
- Set of 3 Premium Copper Heat Sinks Assures Excellent Thermal Delivery
- 32GB Class 10 MicroSD Card Preloaded with NOOBS
- LABISTS Premium Black Case (High Gloss) for Pi 4B
- LABISTS Mini Silent Fan
- Two Micro HDMI to HDMI Cables
- One LABISTS Screwdriver
- USB Card Reader Dongle
- LABISTS Raspberry Pi Quick-Start Guide
This low-cost small computer plugs into a computer monitor. A keyboard and a mouse can be attached via USB ports.
The Raspberry Pi has quickly become a fixture in the industrial environment when utilizing the internet of things. (IoT)
We will be utilizing this computer to poll and log information from our PLCs using Modbus and MQTT protocols.
Node-RED will be the IoT enabling software that will allow us to utilize this hardware.
https://accautomation.ca/series/node-red-iot-enabling-software/
Purchase Raspberry Pi 4 Starter Kit
Amazon U
https://amzn.to/3y1AAXZ
Amazon Canada
https://amzn.to/33ubjb1
Raspberry Pi 4 Specifications:
System-on-a-chip: Broadcom BCM2711
CPU: Quad-core 1.5GHz Arm Cortex-A72 based processor
GPU: VideoCore VI
Memory: 1/2/4GB LPDDR4 RAM
Connectivity: 802.11ac Wi-Fi / Bluetooth 5.0, Gigabit Ethernet
Video and sound: 2 x micro-HDMI ports supporting 4K@60Hz displays via HDMI 2.0, MIPI DSI display port, MIPI CSI camera port, 4 pole stereo output, and composite video port
Ports: 2 x USB 3.0, 2 x USB 2.0
Power: 5V/3A via USB-C, 5V via GPIO header
Expandability: 40-pin GPIO header
#shorts
ACC Automation
https://accautomation.ca/
122
views
Raspberry Pi Finding MAC Address
The C (Media Access Control) Address on the Raspberry Pi can easily be found using the terminal.
Type ifconfig at the prompt and hit enter.
eth0 is the wired ethernet port on the Raspberry Pi. The C address is located beside the 'ether' subject.
wlan0 is the WiFi ethernet on the Raspberry Pi. The C address is located beside the 'ether' subject.
Example:
pi@raspberrypi:~ $ ifconfig
eth0: flags=4099<UP,OADCAST,MULTICAST> mtu 1500
ether dc:a6:32:92:72:80 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,NNG> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 547 bytes 47978 (46.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 547 bytes 47978 (46.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,OADCAST,NNG,MULTICAST> mtu 1500
inet 192.168.1.133 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::fdd:f60c:eb79:e10c prefixlen 64 scopeid 0x20<link>
ether dc:a6:32:92:72:81 txqueuelen 1000 (Ethernet)
RX packets 13951 bytes 1493111 (1.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16864 bytes 13550791 (12.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Here is a link to using terminal mode on the Raspberry Pi.
https://www.raspberrypi.org/documentation/usage/terminal/
https://amzn.to/2Q9auRV
The starter kits come with everything that you will need to get started using your raspberry pi.
- Raspberry Pi 4 Model B 4GB RAM with 1.5GHz 64-bit Quad-core CPU
- USB-C Power Adapter Specially Designed for Raspberry Pi 4 B 4 GB RAM
- Set of 3 Premium Copper Heat Sinks Assures Excellent Thermal Delivery
- 32GB Class 10 MicroSD Card Preloaded with NOOBS
- LABISTS Premium Black Case (High Gloss) for Pi 4B
- LABISTS Mini Silent Fan
- Two Micro HDMI to HDMI Cables
- One LABISTS Screwdriver
- USB Card Reader Dongle
- LABISTS Raspberry Pi Quick-Start Guide
This low-cost small computer plugs into a computer monitor. A keyboard and a mouse can be attached via USB ports.
The Raspberry Pi has quickly become a fixture in the industrial environment when utilizing the internet of things. (IoT)
We will be utilizing this computer to poll and log information from our PLCs using Modbus and MQTT protocols.
Node-RED will be the IoT enabling software that will allow us to utilize this hardware.
https://accautomation.ca/series/node-red-iot-enabling-software/
Purchase Raspberry Pi 4 Starter Kit
Amazon U
https://amzn.to/3y1AAXZ
Amazon Canada
https://amzn.to/33ubjb1
Raspberry Pi 4 Specifications:
System-on-a-chip: Broadcom BCM2711
CPU: Quad-core 1.5GHz Arm Cortex-A72 based processor
GPU: VideoCore VI
Memory: 1/2/4GB LPDDR4 RAM
Connectivity: 802.11ac Wi-Fi / Bluetooth 5.0, Gigabit Ethernet
Video and sound: 2 x micro-HDMI ports supporting 4K@60Hz displays via HDMI 2.0, MIPI DSI display port, MIPI CSI camera port, 4 pole stereo output, and composite video port
Ports: 2 x USB 3.0, 2 x USB 2.0
Power: 5V/3A via USB-C, 5V via GPIO header
Expandability: 40-pin GPIO header
#shorts
ACC Automation
https://accautomation.ca/
179
views
Install Node-RED on Raspberry Pi 4
We will now be installing Node-RED on a Raspberry Pi 4 single-board computer. A static IP address will also be given for both the WiFi and Ethernet connections.
The Raspberry Pi has quickly become a fixture in the industrial environment when utilizing the internet of things. (IoT) We will be utilizing this low-cost computer to poll and log information from our PLCs using Modbus and MQTT protocols. Node-RED will be the IoT enabling software that will allow us to utilize this hardware.
https://accautomation.ca/series/node-red-iot-enabling-software/
Let’s get started with installing Node-RED and setting up a fixed IP address on our Raspberry Pi 4 computer.
More information can be obtained at our website. This includes all of the links mentioned in this video.
https://accautomation.ca/install-node-red-on-raspberry-pi-4/
There are several reasons why we are using Node-RED. Here are just a few.
- Built on top of the most dependable programming language JavaScript.
- JavaScript is flexible and easy to work with on web browsers, server-side, IoT, IIoT projects, and more.
- Visual flow type interface making programming easy.
- Node will allow JavaScript code to run directly on a computer.
- Node-RED is a free, open-source logic engine.
- Connect to PLC, PAC, Temperature Controllers, Process Controllers using standard protocols.
- Save and read from databases
- Easily make the Internet of Things (IoT, IIoT) industrial solutions.
Node-RED provides the ability for you to quickly create custom control solutions.
https://accautomation.ca/
37
views
Raspberry Pi 4 Remote Access
Remote access is easily set up on our Raspberry Pi4 single board computer. Open the applications menu on the raspberry pie and select Raspberry Pi Configuration under preferences.
Under the system tab, we will disable the auto-login. This will give some extra security to this computer. Select the interfaces tab.
Enable SSH. Secure SHell protocol is a network cryptic communication protocol for operating network services securely over an unsecured network. PuTTY is an SSH client that is widely used for this type of remote communication.
Enable C. Virtual Network Computing will allow you to use programs like RealC to connect remotely and give you a graphical user interface.
PuTTY Download
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
RealC Viewer Download
https://www.realvnc.com/en/connect/download/viewer/
Here are other remote access options and information for the Raspberry Pi.
https://www.raspberrypi.org/documentation/remote-access/
https://amzn.to/2Q9auRV
The starter kits come with everything that you will need to get started using your raspberry pi.
- Raspberry Pi 4 Model B 4GB RAM with 1.5GHz 64-bit Quad-core CPU
- USB-C Power Adapter Specially Designed for Raspberry Pi 4 B 4 GB RAM
- Set of 3 Premium Copper Heat Sinks Assures Excellent Thermal Delivery
- 32GB Class 10 MicroSD Card Preloaded with NOOBS
- LABISTS Premium Black Case (High Gloss) for Pi 4B
- LABISTS Mini Silent Fan
- Two Micro HDMI to HDMI Cables
- One LABISTS Screwdriver
- USB Card Reader Dongle
- LABISTS Raspberry Pi Quick-Start Guide
This low-cost small computer plugs into a computer monitor. A keyboard and a mouse can be attached via USB ports.
The Raspberry Pi has quickly become a fixture in the industrial environment when utilizing the internet of things. (IoT)
We will be utilizing this computer to poll and log information from our PLCs using Modbus and MQTT protocols.
Node-RED will be the IoT enabling software that will allow us to utilize this hardware.
https://accautomation.ca/series/node-red-iot-enabling-software/
Purchase Raspberry Pi 4 Starter Kit
Amazon U
https://amzn.to/3y1AAXZ
Amazon Canada
https://amzn.to/33ubjb1
Raspberry Pi 4 Specifications:
System-on-a-chip: Broadcom BCM2711
CPU: Quad-core 1.5GHz Arm Cortex-A72 based processor
GPU: VideoCore VI
Memory: 1/2/4GB LPDDR4 RAM
Connectivity: 802.11ac Wi-Fi / Bluetooth 5.0, Gigabit Ethernet
Video and sound: 2 x micro-HDMI ports supporting 4K@60Hz displays via HDMI 2.0, MIPI DSI display port, MIPI CSI camera port, 4 pole stereo output, and composite video port
Ports: 2 x USB 3.0, 2 x USB 2.0
Power: 5V/3A via USB-C, 5V via GPIO header
Expandability: 40-pin GPIO header
#shorts
ACC Automation
https://accautomation.ca/
166
views
Raspberry Pi 4 First Power UP
A Raspberry Pi4 is a single board computer. We will be powering up our Labists Raspberry Pi 4 Model B Starter Kit for the first time.
The welcome software will walk you through setting up the Raspberry Pi for the first time. This includes the country, language, keyboard, wifi, and software update.
This may take a while to load the software updates, so please be patient.
https://amzn.to/2Q9auRV
The starter kits come with everything that you will need to get started using your raspberry pi.
- Raspberry Pi 4 Model B 4GB RAM with 1.5GHz 64-bit Quad-core CPU
- USB-C Power Adapter Specially Designed for Raspberry Pi 4 B 4 GB RAM
- Set of 3 Premium Copper Heat Sinks Assures Excellent Thermal Delivery
- 32GB Class 10 MicroSD Card Preloaded with NOOBS
- LABISTS Premium Black Case (High Gloss) for Pi 4B
- LABISTS Mini Silent Fan
- Two Micro HDMI to HDMI Cables
- One LABISTS Screwdriver
- USB Card Reader Dongle
- LABISTS Raspberry Pi Quick-Start Guide
This low-cost small computer plugs into a computer monitor. A keyboard and a mouse can be attached via USB ports.
The Raspberry Pi has quickly become a fixture in the industrial environment when utilizing the internet of things. (IoT)
We will be utilizing this computer to poll and log information from our PLCs using Modbus and MQTT protocols.
Node-RED will be the IoT enabling software that will allow us to utilize this hardware.
https://accautomation.ca/series/node-red-iot-enabling-software/
Purchase Raspberry Pi 4 Starter Kit
Amazon U
https://amzn.to/3y1AAXZ
Amazon Canada
https://amzn.to/33ubjb1
Raspberry Pi 4 Specifications:
System-on-a-chip: Broadcom BCM2711
CPU: Quad-core 1.5GHz Arm Cortex-A72 based processor
GPU: VideoCore VI
Memory: 1/2/4GB LPDDR4 RAM
Connectivity: 802.11ac Wi-Fi / Bluetooth 5.0, Gigabit Ethernet
Video and sound: 2 x micro-HDMI ports supporting 4K@60Hz displays via HDMI 2.0, MIPI DSI display port, MIPI CSI camera port, 4 pole stereo output, and composite video port
Ports: 2 x USB 3.0, 2 x USB 2.0
Power: 5V/3A via USB-C, 5V via GPIO header
Expandability: 40-pin GPIO header
#shorts
ACC Automation
https://accautomation.ca/
84
views
Raspberry Pi 4 Kit Assembly
A Raspberry Pi4 is a single board computer. We will be assembling our Labists Raspberry Pi 4 Model B Starter Kit.
https://amzn.to/2Q9auRV
The starter kits come with everything that you will need to get started using your raspberry pi.
- Raspberry Pi 4 Model B 4GB RAM with 1.5GHz 64-bit Quad-core CPU
- USB-C Power Adapter Specially Designed for Raspberry Pi 4 B 4 GB RAM
- Set of 3 Premium Copper Heat Sinks Assures Excellent Thermal Delivery
- 32GB Class 10 MicroSD Card Preloaded with NOOBS
- LABISTS Premium Black Case (High Gloss) for Pi 4B
- LABISTS Mini Silent Fan
- Two Micro HDMI to HDMI Cables
- One LABISTS Screwdriver
- USB Card Reader Dongle
- LABISTS Raspberry Pi Quick-Start Guide
This low-cost small computer plugs into a computer monitor. A keyboard and a mouse can be attached via USB ports.
The Raspberry Pi has quickly become a fixture in the industrial environment when utilizing the internet of things. (IoT)
We will be utilizing this computer to poll and log information from our PLCs using Modbus and MQTT protocols.
Node-RED will be the IoT enabling software that will allow us to utilize this hardware.
https://accautomation.ca/series/node-red-iot-enabling-software/
Purchase Raspberry Pi 4 Starter Kit
Amazon U
https://amzn.to/3y1AAXZ
Amazon Canada
https://amzn.to/33ubjb1
Raspberry Pi 4 Specifications:
System-on-a-chip: Broadcom BCM2711
CPU: Quad-core 1.5GHz Arm Cortex-A72 based processor
GPU: VideoCore VI
Memory: 1/2/4GB LPDDR4 RAM
Connectivity: 802.11ac Wi-Fi / Bluetooth 5.0, Gigabit Ethernet
Video and sound: 2 x micro-HDMI ports supporting 4K@60Hz displays via HDMI 2.0, MIPI DSI display port, MIPI CSI camera port, 4 pole stereo output, and composite video port
Ports: 2 x USB 3.0, 2 x USB 2.0
Power: 5V/3A via USB-C, 5V via GPIO header
Expandability: 40-pin GPIO header
#shorts
ACC Automation
https://accautomation.ca/
329
views
Raspberry Pi4 Unboxing Starter Kit
A Raspberry Pi4 is a single board computer. We will be unboxing our Labists Raspberry Pi 4 Model B Starter Kit.
The starter kits come with everything that you will need to get started using your raspberry pi.
- Raspberry Pi 4 Model B 4GB RAM with 1.5GHz 64-bit Quad-core CPU
- USB-C Power Adapter Specially Designed for Raspberry Pi 4 B 4 GB RAM
- Set of 3 Premium Copper Heat Sinks Assures Excellent Thermal Delivery
- 32GB Class 10 MicroSD Card Preloaded with NOOBS
- LABISTS Premium Black Case (High Gloss) for Pi 4B
- LABISTS Mini Silent Fan
- Two Micro HDMI to HDMI Cables
- One LABISTS Screwdriver
- USB Card Reader Dongle
- LABISTS Raspberry Pi Quick-Start Guide
This low-cost small computer plugs into a computer monitor. A keyboard and a mouse can be attached via USB ports.
The Raspberry Pi has quickly become a fixture in the industrial environment when utilizing the internet of things. (IoT)
We will be utilizing this computer to poll and log information from our PLCs using Modbus and MQTT protocols.
Node-RED will be the IoT enabling software that will allow us to utilize this hardware.
https://accautomation.ca/series/node-red-iot-enabling-software/
Purchase Raspberry Pi 4 Starter Kit
Amazon U
https://amzn.to/3y1AAXZ
Amazon Canada
https://amzn.to/33ubjb1
Raspberry Pi 4 Specifications:
System-on-a-chip: Broadcom BCM2711
CPU: Quad-core 1.5GHz Arm Cortex-A72 based processor
GPU: VideoCore VI
Memory: 1/2/4GB LPDDR4 RAM
Connectivity: 802.11ac Wi-Fi / Bluetooth 5.0, Gigabit Ethernet
Video and sound: 2 x micro-HDMI ports supporting 4K@60Hz displays via HDMI 2.0, MIPI DSI display port, MIPI CSI camera port, 4 pole stereo output, and composite video port
Ports: 2 x USB 3.0, 2 x USB 2.0
Power: 5V/3A via USB-C, 5V via GPIO header
Expandability: 40-pin GPIO header
#shorts
ACC Automation
https://accautomation.ca/
69
views
Productivity Open P1AM Arduino Time Instructions
Time instructions in our productivity blocks programming (Arduino sketches) consist of runtime (ms), runtime (us), delay ms, and delay microseconds us.
We will be looking at each of these instructions that are available for our program using productivity blocks. Delay instructions in our sketches should be used with caution. They will pause our program for the delayed time, not allowing other parts of the program to function. We will be looking at this and the method to do the exact same delay functions without pausing your program. A sample program will be discussed to demonstrate the time functions in our program. Let's get started.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-time-instructions
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 MZero 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
14
views
Productivity Open P1AM Industrial Arduino Math Instructions
Math instructions in your P1AM Arduino sketches (programs) consist of arithmetic operations, compound operators, absolute, power, square root, sin, cos, tan, random, map and constrain. P1AM Arduino math will be demonstrated using productivity blocks.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-math-instructions
These instructions will be generally used with other instructions in your sketch.
We will be looking at each of these instructions that are available using productivity blocks. A sample program will be discussed that will involve some of these math instructions. Let's get started.
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/productivity-open-arduino-compatible-industrial-controller
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 MZero 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
40
views
P1AM Industrial Arduino GPIO Inputs and Outputs
The Arduino P1AM-GPIO is an industrial-rated shield providing inputs and outputs for the P1AM-100 Arduino system. It provides a connection from most of the P1AM-100 GPIO pins to the front 18 position terminal block connector.
We will be looking at the wiring and programming of this input and output industrial-rated shield that mounts on the left side of the P1AM-100 CPU Arduino unit. Analog points will be wired to a potentiometer and LED (light-emitting diode) for demonstration of the voltage range that we can input and output. Digital points will be wired for discrete input and output using a pushbutton switch and LED. PWM (pulse width modulation) will also be used to control the brightness of a LED connected to a digital output. Let's get started.
More information can be obtained on our website. This includes all of the links mentioned in this
video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-gpio-inputs-and-outputs
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 MZero 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
39
views
Productivity Open P1AM Industrial Arduino Operators
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!
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-operators
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 MZero 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
18
views
Productivity Open P1AM Industrial Arduino Program Control
Arduino programs (sketches) can be written in thousands of different ways. The best Arduino program control will be determined by the purpose of your program and what you are trying to accomplish. To simplify the logic we will be looking at program control that can be achieved using productivity blocks.
Program control will look at subroutines (sometimes referred to as methods or functions), conditional statements, and looping statements. These three items can be combined to reduce your code length, make your program easier to read, and in turn easier to troubleshoot. We will be looking at each of these instructions that are available using productivity blocks. A sample program will then be discussed that will contain some program control as a demonstration. Let's get started.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-program-control/
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 MZero 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
34
views
Productivity Open P1AM Industrial Arduino Serial Monitor COM
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 adding 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 and 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.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-serial-monitor-com
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 MZero 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
65
views
Productivity Open P1AM Industrial Arduino Program Structure
We will now look at the P1AM industrial Arduino program structure. 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.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-program-structure
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
22
views
Productivity Open P1AM Arduino Variables Data Types
We will look at Arduino variables data types that can be used with our P1AM unit.
Data types in the C++ language are used to determine the variable or function applied for the given type. The type will determine the size of the storage (bits), and the method to interpret the information.
Microprocessors can only understand binary (on / off) numbering systems. The interpretation of these binary numbers will allow us to have several different data types. We will be reviewing the different data types that we can use in our sketches (programs) for our P1AM-100 Arduino industrial controller. Only the variables data types available in ProductivityBlocks will be discussed, but references will be made for all data types that can be used. We will then look at a program that will list some integer and string variables. This will then be displayed on the serial monitor of the Arduino IDE. Let's get started.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-variables-data-types
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 MZero 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
57
views
Productivity Open P1AM Industrial Arduino First Program
We will now look at our first program for the Arduino P1AM. The P1AM-100 industrial controller is programmed with the Arduino IDE (Integrated Development Environment). We installed the Arduino IDE, P1AM-100 library, and ProductivityBlocks. Using this software we will be setting it up to program our P1AM Arduino industrial controller.
The Boards Manager will be used to set up our P1AM-100 Arduino board. We will then ensure that our device driver has been installed so we can communicate to the Productivity Open Controller. Using ProductivityBlocks, we will call up one of the sample programs, verify and upload the program to the P1AM-100. This program will blink the CPU LED light on and off. Let’s get started.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-first-program
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 MZero 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
57
views
Productivity Open P1AM Industrial Arduino Installing the Software
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.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-arduino-compatible-industrial-controller-installing-the-software
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/productivity-open-arduino-compatible-industrial-controller
Industrial Controller Hardware
https://accautomation.ca/productivity-open-arduino-compatible-industrial-controller-hardware
- Starter Kit Unboxing Video
https://youtu.be/y6T8fWKWan8
- Powering Up Video
https://youtu.be/PHnLJa6X1d0
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 MZero 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
100
views
Productivity Open P1AM Industrial Arduino Powering Up
Productivity Open is an industrial-rated Arduino compatible platform controller. This rugged open-sourced CPU mimics the MZero Arduino. You can add standard MZero 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.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-arduino-compatible-industrial-controller-hardware
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 MZero 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
85
views
Productivity Open P1AM Industrial Arduino Starter Kit Unboxing
Productivity Open is an industrial-rated Arduino compatible platform controller. This rugged open-sourced CPU mimics the MZero Arduino. You can add standard MZero 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.
More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/productivity-open-arduino-compatible-industrial-controller-hardware
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 MZero 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
134
views