GET STARTED

A Short Page Title Tagline

HARDWARE CONFIGURATION

POWER SUPPLY CONNECTOR

Plexus32 version 1.0 is equipped with a M12 4 pin connector for power supply.
In the box you can find the connector. To start using Plexus, assemble the power supply connector with a cable is necessary.

  • The pin number 1 is the (+), for 24VDC supply.
  • The pin number 4 is the (-), for the GND.
  • The pins number 2 and number 3 are both not connected.


Electrical specification : 24VDC (+/- 10%), 3A

Plexus Easy Automation Plexus Easy Automation

M8 CONNECTOR CABLE

Plexus is equipped with 32 universal IP67 M8 connectors, which let you connect any I/O (Digital and Analog). You are provided with 1 M8 cable to get you started. You can use any universal M8 3 pin cables, or purchase a set from this website.

  • Pin 1 provides 22.5 VDC, 150 mA to your Input/Output (BROWN CABLE)
  • Pin 2 is the ground (BLACK CABLE)
  • Pin 3 is the signal, no matter if you need an input, output, digital or analog (BLUE CABLE)


See below for connection details.

Plexus Easy Automation

M8 CONNECTORS

Plexus is equipped with 32 identical 3-poles M8 connectors.
With this special feature, you can connect any
Digital I/O or Analog I/O.


m8 Connector




DIGITAL INPUT SPECS:
  • Rated Input Voltage for logic 1: 2.5V DC to 24V DC
  • Rated Input Voltage for logic 0: 0V DC to 0.8V DC
  • Input resistance: 6kΩ
m8 Connector
m8 Connector

DIGITAL OUTPUT SPECS:
  • Rated load Voltage: 20.4V DC to 28.8V DC
  • Output Voltage: 22.5V DC
  • Rated load current (max): 100 mA
m8 Connector

ANALOG INPUT SPECS:
  • Voltage Input range: 0V DC to 10V DC
  • Voltage Input resistance: 6kΩ
  • Current Input range: 0mA / 4mA to 20mA
  • Current Input resistance: 120Ω
m8 Connector
m8 Connector

ANALOG OUTPUT SPECS:
  • Voltage Output range: 0V DC to 10V DC
  • Current Output range: 0mA / 4mA to 20mA
  • Rated load current (max): 100 mA
m8 Connector

DEVICE CONFIGURATION

DEVICE HOME PAGE

  • After connecting to Plexus via ethernet , open your browser and insert the IP address on the url bar (default IP address: http://192.168.1.2 ) .
    Tip: Your network configuration and your computer must be set as 192.168.1.xxx in order to establish a connection.

  • On the main page, you can change the IP address of the device. After changing the IP address, enter the new IP in the url bar in order to see the page again.
    Tip: Make sure that you give a unique IP address to the plexus,devices and computers connected to the network to avoid IP address conflicts.

  • UDP settings: if you are using PlexusLAB, you can disregard this step. If you are writing your own app, this function will activate UDP protocol. Plexus will repeatedly send UDP packets to the IP address you enter here.

Plexus Easy Automation

CHANNELS CONFIGURATION

At this step, you can tell your Plexus how to interpreter signals of each I/O.

  • STATUS COLUMN: In this column, you can see the value of your I/O in real time. The number is automatically scaled according to the set range.

  • TYPE COLUMN: Select which type of I/O you want that specific channel to be. After selecting the configuration, click on save to confirm your changes. TIP: PlexusLAB will automatically respond to your changes.

  • RANGE COLUMN: This range is only for in-page testing purposes. For example, if you have a thermocouple that outputs a signal ranging from 0 to 100°C, set the minimum to 0 and the maximum to 100. Tip: this configuration will not effect PlexusLAB settings.

  • SET COLUMN: If you set your channel as an output, here you can send out a signal; just enter the value and click on SET.

Plexus Easy Automation

INTERNAL LOGIC

Plexus is fully controlled by the server (PlexusLAB), and for security reason has some simple internal logic that will immediately react to changes in one of your channels, without waiting for PlexusLAB to send commands.

Example:
You have a proximity sensor (on channel 1), and you want a motor (output on channel 2) to stop if the proximity channel is 1.

  • First, select a channel from the dropdown list (the proximity), and click “add channel”.
  • A new line will appear: select “Equal to” from the ”Condition" column, then enter 1 on the “Set Value” column.
  • Lastly, select channel 2 (must be an output) from the "Controlled Channel" list and set the value that will assume if the condition is verified on the “Controlled value” column (in this example enter 0). Click Save to run the logic.


TIP: it is good practice to make sure that the logic that you write here matches the logic in PlexusLAB.

Plexus Easy Automation

SAFE NETWORK

Plexus channels can be set to safe values if we lose the network connection and we are not able to manage our automation system anymore.
SafeNET feature is based on a continuous message sent from the plexus to the server, if the message sending is missed after some attempts the selected channels will be set to the chosen safe values.
Example:
You have a motor (output on channel 4) to stop if the network connection is lost.

  • First, insert your server IP address and the communication port.
    If the port is 0 SafeNET will work with ping, otherwise it'll work with UDP
    If you use UDP make sure to run a script in your server which response at every Plexus call, with ping this is not necessary.
  • Second, select a channel from the dropdown list (the motor), and click “add channel”.
  • A new line will appear: enter 0 on the “Set Value” column and click "Save"
  • Lastly, turn ON the Network Check in the top dropdown menu and click "Save"


TIP: SafeNET will run until you'll turn it off.

Plexus Easy Automation

SOFTWARE CONFIGURATION (PlexusLAB)

PlexusLAB Requirements

To run PlexusLAB, you need to install Ubuntu on your computer. PlexusLAB supports Ubuntu Desktop 13.04/13.10/14.04/14.10/15.04*
Tip 1: *IMPORTANT! if you are running Ubuntu 15.04 you need to Re-enable Upstart in your system, see how here
Tip 2: Ubuntu is really secure. To ensure high security on your system, choose a strong password when asked, during installation. For best performance, do not choose the "Encrypt my disk" option!
Tip 3: Choose the best for you! PlexusLAB is available in two versions, PHP and HHVM! If you want to speed up your system HHVM is the solution but you need an hardware with a good MCU and RAM performance!
Tip 4: Take a look at the the PlexusLAB documentation page here.
Download Ubuntu here
If you need help to install Ubuntu please check out this video tutorial : Install Ubuntu on youtube

Install PlexusLAB PHP version

1) Open your terminal and type:
sudo apt-get install curl
(insert your PC password if requested)


2) In your terminal type:
bash <(curl http://plexus-automation.com/downloads/install.sh)
IMPORTANT: make sure to always answer "Y" when requested, in order to correctly install all the packages for PlexusLAB.
(Insert your PC password if requested. This operation might take a few minutes. Please follow the instruction on the screen and enter a strong password for MySql, when asked)


3) Open your browser (Google Chrome strongly suggested) at this url:
http://localhost/plx or http://localhost


4) Enjoy PlexusLAB!

Install PlexusLAB HHVM version

1) Open your terminal and type:
sudo apt-get install curl
(insert your PC password if requested)


2) In your terminal type:
  • Ubuntu 14.04: bash <(curl http://plexus-automation.com/downloads/install_hhvm_14_04.sh)
  • Ubuntu 14.10: bash <(curl http://plexus-automation.com/downloads/install_hhvm_14_10.sh)
  • Ubuntu 15.04: bash <(curl http://plexus-automation.com/downloads/install_hhvm_15_04.sh)
IMPORTANT: make sure to always answer "Y" when requested, in order to correctly install all the packages for PlexusLAB.
(Insert your PC password if requested. This operation might take a few minutes. Please follow the instruction on the screen and enter a strong password for MySql, when asked)


3) Open your browser (Google Chrome strongly suggested) at this url:
http://localhost/plx or http://localhost


4) Enjoy PlexusLAB!

Update PlexusLAB PHP version

1) Open your terminal and type:
bash <(curl http://plexus-automation.com/downloads/update.sh)
IMPORTANT: make sure to always answer "Y" when requested, in order to correctly install all the packages for PlexusLAB.
(insert your PC password if requested)


2) Open your browser (Google Chrome strongly suggested) at this url:
http://localhost/plx or http://localhost


3) Enjoy PlexusLAB!

Update PlexusLAB HHVM version

1) Open your terminal and type:
  • Ubuntu 14.04: bash <(curl http://plexus-automation.com/downloads/update_hhvm_14_04.sh)
  • Ubuntu 14.10: bash <(curl http://plexus-automation.com/downloads/update_hhvm_14_10.sh)
  • Ubuntu 15.04: bash <(curl http://plexus-automation.com/downloads/update_hhvm_15_04.sh)
IMPORTANT: make sure to always answer "Y" when requested, in order to correctly install all the packages for PlexusLAB.
(Insert your PC password if requested. This operation might take a few minutes. Please follow the instruction on the screen and enter a strong password for MySql, when asked)


2) Open your browser (Google Chrome strongly suggested) at this url:
http://localhost/plx or http://localhost


3) Enjoy PlexusLAB!

Uninstall PlexusLAB

1) Open your terminal and type:
bash <(curl http://plexus-automation.com/downloads/uninstall.sh)
(insert your PC password if requested)


2) Stop enjoying PlexusLAB :-(

PlexusLAB Tips

  • Stop the process from terminal:
    Open your terminal and type: sudo /var/www/html/plx/system/upstart/stop
    (insert your PC password if requested)

  • Restart the process from terminal:
    Open your terminal and type: sudo /var/www/html/plx/system/upstart/restart
    (insert your PC password if requested)

  • Give a 777 file permission to plx folder:
    Open your terminal and type: sudo chmod -R 777 /var/www/html/plx
    (insert your PC password if requested)

  • Install PhpMyAdmin:
    1) Open your terminal and type: sudo apt-get install phpmyadmin
    (insert your PC password if requested)
    2) Follow the installation instruction and then type: sudo sed -i '$a Include /etc/phpmyadmin/apache.conf' /etc/apache2/apache2.conf
    (insert your PC password if it's required)
    3) Restart apache2 typing: sudo service apache2 restart
    (insert your PC password if requested)
    4) Open your browser at this url:
    http://localhost/phpmyadmin