Monday, May 18, 2015

What Is A Programmable Logic Controller (PLC)?

What Is A Programmable Logic Controller (PLC)?

 

 What Is A PLC?

A PROGRAMMABLE LOGIC CONTROLLER (PLC) is an industrial computer control system that continuously monitors the state of input devices and makes decisions based upon a custom program to control the state of output devices.
Almost any production line, machine function, or process can be greatly enhanced using this type of control system. However, the biggest benefit in using a PLC is the ability to change and replicate the operation or process while collecting and communicating vital information.
Another advantage of a PLC system is that it is modular. That is, you can mix and match the types of Input and Output devices to best suit your application.

 History of PLCs

The first Programmable Logic Controllers were designed and developed by Modicon as a relay re-placer for GM and Landis.
  • These controllers eliminated the need for rewiring and adding additional hardware for each new configuration of logic.
  • The new system drastically increased the functionality of the controls while reducing the cabinet space that housed the logic.
  • The first PLC, model 084, was invented by Dick Morley in 1969
  • The first commercial successful PLC, the 184, was introduced in 1973 and was designed by Michael Greenberg.

     

 What Is Inside A PLC?

inside of a plc
The Central Processing Unit, the CPU, contains an internal program that tells the PLC how to perform the following functions:
  • Execute the Control Instructions contained in the User's Programs. This program is stored in "nonvolatile" memory, meaning that the program will not be lost if power is removed
  • Communicate with other devices, which can include I/O Devices, Programming Devices, Networks, and even other PLCs.
  • Perform Housekeeping activities such as Communications, Internal Diagnostics, etc.

 How Does A PLC Operate?

There are four basic steps in the operation of all PLCs; Input Scan, Program Scan, Output Scan, and Housekeeping. These steps continually take place in a repeating loop.
Four Steps In The PLC Operations
1.) Input Scan
  • Detects the state of all input devices that are connected to the PLC
2.) Program Scan
  • Executes the user created program logic
3.) Output Scan
  • Energizes or de-energize all output devices that are connected to the PLC.
4.) Housekeeping
  • This step includes communications with programming terminals,
    internal diagnostics, etc...
programmable logic controller operation
These steps are continually
processed in a loop.

 What Programming Language Is Used To Program A PLC?

While Ladder Logic is the most commonly used PLC programming language, it is not the only one. The following table lists of some of languages that are used to program a PLC.
Ladder Diagram (LD) Traditional ladder logic is graphical programming language. Initially programmed with simple contacts that simulated the opening and closing of relays, Ladder Logic programming has been expanded to include such functions as counters, timers, shift registers, and math operations.
Function Block Diagram (FBD) - A graphical language for depicting signal and data flows through re-usable function blocks. FBD is very useful for expressing the interconnection of control system algorithms and logic.
Structured Text (ST) – A high level text language that encourages structured programming. It has a language structure (syntax) that strongly resembles PASCAL and supports a wide range of standard functions and operators. For example;
If Speed1 > 100.0 then
    Flow_Rate: = 50.0 + Offset_A1;
Else
    Flow_Rate: = 100.0; Steam: = ON
End_If;
Instruction List (IL): A low level “assembler like” language that is based on similar instructions list languages found in a wide range of today’s PLCs.
LD
MPC
LD
ST
RESET:
ST
 R1
RESET
PRESS_1
MAX_PRESS
LD    0
A_X43
 
Sequential Function Chart (SFC) A method of programming complex control systems at a more highly structured level. A SFC program is an overview of the control system, in which the basic building blocks are entire program files. Each program file is created using one of the other types of programming languages. The SFC approach coordinates large, complicated programming tasks into smaller, more manageable tasks.

 What Are Input/Output Devices?

INPUTS
OUTPUTS
– Switches and Pushbuttons
– Sensing Devices
 • Limit Switches
• Photoelectric Sensors
• Proximity Sensors
photoelectric sensors
– Valves
– Motor Starters
– Solenoids
– Acuators
valves
– Conditon Sensors
– Encoders
 • Pressure Switches
• Level Switches
• Temperature Switches
• Vacuum Switches
• Float Switches
amci duracoder
– Horns and Alarms
– Stack lights
– Control Relays
– Counter/Totalizer 
– Pumps 
– Printers
– Fans
stack lights

 What Do I Need To Consider When Choosing A PLC?

There are many PLC systems on the market today. Other than cost, you must consider the following when deciding which one will best suit the needs of your application.
  • Will the system be powered by AC or DC voltage?
  • Does the PLC have enough memory to run my user program?
  • Does the system run fast enough to meet my application’s requirements?
  • What type of software is used to program the PLC?
  • Will the PLC be able to manage the number of inputs and outputs that my application requires?
  • If required by your application, can the PLC handle analog inputs and outputs, or maybe a combination of both analog and discrete inputs and outputs?
  • How am I going to communicate with my PLC?
  • Do I need network connectivity and can it be added to my PLC?
  • Will the system be located in one place or spread out over a large area?

 PLC Acronyms

The following table shows a list of commonly used Acronyms that you see when researching or using your PLC.
    ASCIIAmerican Standard Code for Information Interchange
    BCDBinary Coded Decimal
    CSACanadian Standards Association
    DIODistributed I/O
    EIAElectronic Industries Association
    EMIElectroMagnetic Interference
    HMIHuman Machine Interface
    IECInternational Electrotechnical Commission
    IEEEInstitute of Electrical and Electronic Engineers
    I/OInput(s) and/or Output(s)
    ISOInternational Standards Organization
    LLLadder Logic
    LSBLeast Significant Bit
    MMIMan Machine Interface
    MODICONMOdular DIgital CONtoller
    MSBMost Significant Bit
    PIDProportional Integral Derivative (feedback control)
    RFRadio Frequency
    RIORemote I/O
    RTURemote Terminal Unit
    SCADASupervisory Control And Data Acquisition
    TCP/IPTransmission Control Protocol / Internet Protocol
     
portions of this tutorial contributed by www.modicon.com and www.searcheng.co.uk
A small number of U.S. based tech companies design, manufacture and sell PLC modules. Advanced Micro Controls Inc (AMCI) is such a company, specializing in Position Sensing interfaces and Motion Control modules.
The company's products are listed below for your reference:
AMCI PLC Modules Index: Allen-Bradley | GE Fanuc | Schneider (please scroll to view)
 
Allen-Bradley:
ControlLogix PLC
CompactLogixPLC
MicroLogix 1500 PLC
POINT I/O
 
SLC500 PLC
PLC-5 PLC
  
  
 
GE Fanuc:
GE Fanuc 90-30 Series PLC
GE Fanuc 90-70 Series PLC
  
amci modules for ge fanuc 90-30 plc
   Resolver Interface
   SSI/LDT Interface
amci modules for ge fanuc 90-70 plcs
   Resolver Interface
   SSI/LDT Interface
   PLS Controllers
  
 
Schneider Automation:
Modicon
Quantum PLC
Square D
SY/MAX PLC
  
amci modules for ge fanuc 90-30 plc
   Resolver Interface
amci modules for square d sy/max plc
   Resolver Interface
 

How to Install Samba Server on Ubuntu

What is samba?
Samba is an easy way to share files over Linux And Windows environment. Samba is presented by samba.org and is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients.
Installing Samba.
lets update first the repositories.
open a terminal and type the following :
sudo apt-get update
now install samba
sudo apt-get install samba
now lets edit the configuration file of samba, but before that lets backup the initial configuration file.
cd /etc/samba/
sudo mv smb.conf backsmb.conf
Setup public folder:
First we will create the configuration for a share folder accessible from everyone without any user need it


sudo nano smb.conf
for that add the following to this file:
#
[global]
workgroup = Workgroup
server string = My Samba Share %v
security = user
map to guest = bad user
dns proxy = no
#
[ShareFolder]
comment = This is a folder accessible from everyone
path = /sharefolder
browsable = yes
guest ok = yes
read only = no
create mask = 0755
next we need to create the directory that will host the share folder and change the user permissions
sudo mkdir /sharefolder
sudo chown -R nobody:nogroup /sharefolder/
sudo chmod 755 /sharefolder/
now lets restart the samba server
sudo /etc/init.d/smbd restart
Normally at that point you should be able to access this share folder from Linux or Windows without any user credentials
Setup Private Folder:
Next lets create a private folder only for Unix users
lets first create the a user named smbuser:
sudo useradd smbuser
lets create a password for smbuser that will be used for accessing the samba share
sudo smbpasswd -a smbuser
now the directory for that user:
sudo mkdir /smbuserdir
sudo chown -R smbuser /smbuserdir/
sudo chmod 755 /smbuserdir/
edit the samba config again:
sudo nano /etc/samba/smb.conf
add the following:
#
[smbuserdir]
comment = This is a folder accessible from smbuser
path = /smbuserdir
browsable = yes
guest ok = no
read only = no
create mask = 0755
now restart samba deamon
sudo /etc/init.d/smbd restart
In order to access the share folder you need to use for username: “smbuser” and for password the password you create when you add the user.
Have Fun!

 This is a copy paste of a post on a site. This is not designed or made by me.

Saturday, May 16, 2015

BAT Tutorial begining











This is a copy paste of a tutorial that posted by someone else i can't remember thanx to him.

Very Basic Batch Tutorial


NOTE!: Whenever something is in quotation marks ("example"), do not include the quotation marks (if you see that you must just type: example)
 

Step 1: So, what is Batch
For those who don't know, a Batch file is a text file containing a series of commands to be executed by Command Prompt (CMD). When a batch file is run, CMD reads the file and executes its commands.

To open your CMD, click START > RUN > type "CMD" > OK
(some of you may need to type "CMD.EXE")
(or you can click START > ALL PROGRAMS > ACCESSORIES > COMMAND PROMPT).
Step 2: Now what?
These are some VERY basic commands you need to know:
(please try out some of these commands in your CMD).

@echo off - This gets rid of that "c:\documents...etc"

echo - This displays a message, (e.g "echo hello" = "hello") because if you type "hello" into CMD it will interpret "hello" as the command

cls - Clears the CMD of all text.

color - Changes the color (type "help color" for a list of colors).

goto - Goes to a particular word in your text (you will learn more later)

pause - Pauses the command prompt and displays the message: "Press any key to continue..."

and there are a few more we will learn about later.




Step 3: But what if I want to run a lot of commands.


That is where BATCH comes in.

Try copying this into your notepad (NOT Microsoft Word) and save as BatchFile.bat
Notepad is in accessories
NB: You must save it as .BAT or it won't work.
P.S (copy BETWEEN the stars, don't include them)
***********************************************************
echo If you type echo before a sentence it displays it as a message!.
echo Wow, thats pretty cool!
***********************************************************
copy that into notepad and save as .bat
Double-click on the .bat file...cool hey!
NOPE. It went too fast...try adding a pause at the end, like this:
***********************************************************
echo If you type echo before a sentence it displays it as a message!.
echo Wow, thats pretty cool!
PAUSE
**************************************************************
There it worked, but its quite hard to read with all those file paths in the way...
thats why we add an "@echo off" to the top;
like this:
***************************************************************
@echo off
echo If you type echo before a sentence it displays it as a message!.
echo Wow, thats pretty cool!
PAUSE
*******************************************************
There! that worked perfectly, you have now written your first batch file!









Step 4: The GOTO command


Now we will learn how to use the GOTO command.

The GOTO command jumps to a certain part of your text.
Example:
if you type "goto fish"
then it will goto the place that you have typed in ":fish"
NB: you must always have a colon (:), before a word that is going to be GOTO'ed

Example:
you know the drill, copy into notepad and save as a .bat file.
(do not copy the stars)
**************************************************
@echo off
:fish
echo This is only one message being repeated over and over; Press Ctrl+C to stop
goto fish
**************************************************
*Note: Ctrl+C is the universal way of stopping a batch file

What happened was that every time it typed "Press Ctrl...etc"
the GOTO command made it go to the top.
Pretty nifty eh?


Step 5: The START command
The START command starts something.
Not much to explain here.

For example:
open your CMD and type:
"start www.instructables.com"
This opens your default explorer and goes to the Instructables site.
OR
"start itunes"
OR
You can also open files or folders:
"start desktop\foldername

**NOTE: To access a file\folder which has spaces in the name, put quotation marks (" ") around it.
e.g start "C:\desktop\folder name"


Not So Basic Batch Tutorial

In the previous tutorial we learned the core essentials of writing batch files.

If you have no clue what batch is, but want to learn it, refer to the "
Very Basic Batch Tutorial".

In this tutorial you will learn more advanced commands and how to use them to create an application.
 
Step 1: Variables Step (1/3)
Variables are things that are subject change.
When we create a variable, we are creating something that we want the computer to remember for us, something that we can use later on in a program;
we give the computer the value that we want to store and we give it a label to store it under.

we can create integers and strings using variables.

To create a variable you need to learn the SET command.

The SET command is what creates variables;

SET name=value

Type the following into your CMD:
SET name=hello

'name' is the name of the variable, and 'hello' is what the variable is storing

so now every time you type "echo name" it should say "hello" yes?
NO

if you want to display a variable you must put percentage (%) signs around it.

So therefore if you type "echo %test%" and it should say "hello" yes?
YES
Step 2: Variables Step (2/3)


So now surely we can do maths?

we type
set num=1
This creates a variable called "num" with a value of 1 attached to it.

then
set num=%num%+1
(this means that we take "num" (aka 1) and make it num+1 (aka 1+1))

then
echo %num%
it should give us 2, right?

let's try it:
type the following in notepad and save as MathAttempt.bat
(do not include the stars (*))


@echo off
set v=1
set v=%v%+1
echo %v%
pause


it should say 2, yes?
NOPE.
it says 1+1

because the computer interprets your command as:


you: "so num=1, right?"
pc: "right"
you: "so what is num plus one?"
pc: num+1 = 1+1


so the computer interprets your command literally.









Step 3: Variables Step (3/3)


So how do we get the computer to think mathematically?
Simple, we add an /a before the variable name

For example:

we type
"set /a num=1"

then
"set /a num=%num%+1"

then
"echo %num%"

then we should get 2, right?
let's try it
Type this into notepad....blah blah blah, you know the drill.
***************************************************
@echo off
set /a num=1
set /a num=%num%+1
echo %num%
pause
****************************************************
there! it added 1+1!
this is how the computer sees it:
_
you: so num=1, right?
pc: right
you: so what is num plus one?
pc: num+1 = 1+1 = 2


Voila!

So now lets make a counting program!
we will use the goto command that we learned about in the Very Basic Batch Tutorial.

*********************************************************
@echo off
set /a num=1
:top
set /a num=%num%+1
echo %num%
goto top
**********************************************************
The computer is adding 1, then going to the top and adding 1 again etc.





Step 4: Parameters Step (1/2)

So now that we can use variables what if we have a choice of options, like:
press 1 to say Hello.
press 2 to say Goodbye.

We use the "IF" command, for example:

Type this in your CMD:
if 1==1 echo See it works!
(==) means "is equal to", you could also type "EQU")
We got a message saying "See it works!"

Now type this:
if 1==2 echo It Works!
We didn't see anything because 1 does not equal 2

If we want to wait for the user to put something in we add a /p and leave the part after the variable empty.

Like this:
set /p variablename=

That means that the computer will wait for you to put in something.

so we type:
**************************************
@echo off
set v1=hi!!
set v2=bye!!
echo Press 1 to say HI!
echo Press 2 to say BYE!
set /p you=
if %you%==1 echo %v1%
if %you%==2 echo %v2%
pause
**************************************
This is telling the computer that if we type 1, it must echo HI!, and if we say 2 it must echo BYE!!


Step 5: Parameters Step (2/2)


So now we know that if we want to choose a variable we type:
set /p variablename=

and if we want to set a variable, we type:
set /a variablename=value

So now why not make a little program that counts to and from 2000?
We will use SET, IF and GOTO in this program (and obviously echo)
*************************************
@echo off
set /a num=0

:top
set /a num=%num%+1
echo %num%
if %num%==2000 goto goback
goto top

:goback
set /a num=%num%-1
echo %num%
if %num%==0 goto top
goto goback
**************************************
So now, whenever it reaches 2000, the IF command makes it GOTO the second part which makes it count down, then when it reaches 0, it will GOTO the first part which makes it count up...etc etc etc




Some Cool Batch Applications

This is my first instructable so no complaining!
I'd like to thank neodudeman for his instructables, they helped a lot.

In this instructable i will show you some pretty nifty applications with batch commands.

If you have any problems or changes to request just send me an e-mail at jbell@live.co.za
Leave any feedback in the comment section below.
 

Step 1: Batch Calculator


This is...well... a calculator.
just copy and paste into NOTEPAD and save as calculator.bat
the filename is not important but the extension MUST be saved as " .bat "

@echo off
title Batch Calculator by seJma
color 1f
:top
echo --------------------------------------------------------------
echo Welcome to Batch Calculator by seJma
echo --------------------------------------------------------------
echo.
set /p sum=
set /a ans=%sum%
echo.
echo = %ans%
echo --------------------------------------------------------------
pause
cls
echo Previous Answer: %ans%
goto top
pause
exit

Step 2: Folder Protector


This is pretty cool as it requests a password for a folder.
Once you copy it into notepad you must insert your own password and designated folder directory into the designated areas!
NB: THERE ARE TWO PLACES IN WHICH YOU MUST ENTER INFO!!!

@echo off
title Folder Password v1.5
color 0a
set /a tries=3
set password=***ENTER YOUR PASSWORD HERE***
:top
echo.
echo ----------------------------------------------
echo.
echo Folder Password
echo.
echo ----------------------------------------------
echo You have %tries% attempts left.
echo Enter password
echo ----------------------------------------------
set /p pass=
if %pass%==%password% (
goto correct
)
set /a tries=%tries -1
if %tries%==0 (
goto penalty
)
cls
goto top
:penalty
echo Sorry, too many incorrect passwords, initiating shutdown.
start shutdown -s -f -t 35 -c "SHUTDOWN INITIATED"
pause
exit
:correct
cls
echo ----------------------------------------------
echo Password Accepted!
echo.
echo Opening Folder...
echo ----------------------------------------------
explorer ***ENTER FOLDER PATH HERE***
pause

*NOTE: This is not an advanced piece of software, it does not hide or block the destination folder or anything like that so don't get your hopes up.
**Yes, it can now open files with spaces, just use a backslash (\) when typing your filepath.










Step 3: Guessing Game


This is a game in which the computer generates a random number, and you must try to guess it.

@echo off
color 0e
title Guessing Game by seJma
set /a guessnum=0
set /a answer=%RANDOM%
set variable1=surf33
echo -------------------------------------------------
echo Welcome to the Guessing Game!
echo.
echo Try and Guess my Number!
echo -------------------------------------------------
echo.
:top
echo.
set /p guess=
echo.
if %guess% GTR %answer% ECHO Lower!
if %guess% LSS %answer% ECHO Higher!
if %guess%==%answer% GOTO EQUAL
set /a guessnum=%guessnum% +1
if %guess%==%variable1% ECHO Found the backdoor hey?, the answer is: %answer%
goto top
:equal
echo Congratulations, You guessed right!!!
echo.
echo It took you %guessnum% guesses.
echo.
pause


*Note: For the backdoor, type "surf33"


Step 4: Site Selector


This is an application that lets you select from a list of sites.
Feel free to add some of your own sites.

@echo off
color 2f
title Site Selector by seJma
:top
echo ***************************************************************
echo.
echo Site Selector
echo.
echo ***************************************************************
echo.
echo Key: [1] Google - Search Engine
echo [2] Hotmail - Mail Server
echo [3] Yahoo - Search Engine/Mail Server
echo [4] Facebook - Social Networking
echo [5] Myspace - Social Networking
echo [6] CNN - News
echo [7] Weather - Weather
echo [8] WikiHow - A How-To Website
echo [9] Instructables - A How-To Website
echo [10] YouTube - Online Videos
echo [11] Answers - Online Encyclopedia
echo [12] Wikipedia - Online Encyclopedia
echo.
echo [e] Exit
echo.
echo ***************************************************************
echo Enter the number of the website which you would like to go to:
echo.
set /p udefine=
echo.
echo ***************************************************************
if %udefine%==1 start www.google.com
if %udefine%==2 start www.hotmail.com
if %udefine%==3 start www.yahoo.com
if %udefine%==4 start www.facebook.com
if %udefine%==5 start www.myspace.com
if %udefine%==6 start www.cnn.com
if %udefine%==7 start www.weather.com
if %udefine%==7 start www.wikihow.com
if %udefine%==9 start www.instructables.com
if %udefine%==10 start www.youtube.com
if %udefine%==11 start www.answers.com
if %udefine%==12 start www.wikipedia.com
if %udefine%==e goto exit

cls
echo ***************************************************************
echo.
echo Thank You for using Site Selector by seJma
echo.
echo ***************************************************************
echo Type [e] to exit or [b] to go back and select another site.
echo.
set /p udefine=
echo.
echo ***************************************************************
if %udefine%==b goto top
if %udefine%==e goto exit
:exit
cls
echo ***************************************************************
echo.
echo Thank You for using Site Selector by SEjMA
echo.
echo ***************************************************************
pause
exit


Step 5:


This is a fake virus that I designed, it looks pretty convincing if you put it in someone's startup folder.
NB: this batch starts a "60 second till shutdown" script when its done. to abort shutdown click START>RUN:shutdown -a
NB: this does not do anything harmful or destructive to your computer.

***NEW: I've added an extra command that disables themes to make it look more realistic.


@echo off
color 47
net stop themes >nul
title DEEP VIRAL INFECTION!
echo VIRAL INFECTION!!!
echo VIRAL INFECTION!!!
echo VIRAL INFECTION!!!
echo ERROR!!!
echo -
echo virus - TROJAN_DEMOLISHER code #45643676
echo -
echo FIREWALL - FAILED
echo -
echo ANTI-VIRUS - FAILED
echo -
echo IP ADDRESS BREACHED!
echo -
echo VIRUS ATTAINING: ****-****-****-8894
echo -

pause
cls
echo -
echo SCANNING INFECTED AREAS...
echo -

pause

set /a num=0
:repeat1
set /a num=%num% +1
echo %num%
if %num%==100 goto end
goto repeat1
:end
cls
echo -
echo 86.5 PERCENT OF MEMORY INFECTED
echo -
echo INFECTION FATAL!
echo -
echo DELETION OF ENTIRE CONTENTS OF LOCAL DISK C: REQUIRED
echo -

pause
cls
echo -
echo DELETING HARD-DRIVE C:
echo -
dir /s

pause
cls
echo -
echo CONTENTS OF HARD-DRIVE C: ERASED
echo -

pause
cls
echo -
echo SCANNING...
echo -

set /a num1=0
:repeat2
set /a num1=%num1% +1
echo %num1%
if %num1%==100 goto end1
goto repeat2
:end1
cls
echo -
echo 0.00 PERCENT OF HARD-DRIVE INFECTED
echo -
pause

echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR
echo ERROR

pause
cls
title SYSTEM FAILURE
color 17
echo ERROR!
echo -
echo VISUAL MEMORY LOST!
echo -
echo RAM LOST!
echo -
echo CORE PROCESSOR FAILING...
echo -
echo TOTAL SYSTEM CRASH IMMINENT!
echo -
echo -

pause
cls
echo -
echo -
echo -
echo SHUTDOWN COMPUTER NOW TO AVOID RISK OF FIRE!
echo -
echo -
echo -

pause
cls
echo -
echo -
echo -
echo SEEK PROFESSIONAL HELP IMMEDIATLY TO PREVENT FURTHER DAMAGE!
echo -
echo -
echo -
pause
start shutdown -s -t 60 -c "SYSTEM FAILURE<SHUTTING DOWN TO AVOID FURTHER DAMAGE!"


**NB: Type "shutdown -a" in your Run box to abort a system shutdown
***Type "net start themes" to in your Run box to get the themes service working






How to create a No-IP DDNS.

Go to https://www.noip.com

Click on the Sign-up button. Then have to do the normal Sign-up procedure. Give the email and remember the password you gave.

Go to your email and activate the account.



Login to your No-IP account.. click Sign-in up corner. Enter your User name or Email, give the password, login.

Go to Hosts / Redirects tab



Click on Add host.

In the host name text box type your desired host name (if it has been registered you will not able to get it.)

Click on Add Host button

Then you will redirects to Manage Hosts. There will you see your host name with your IP.

Now how we bind this host name to a particular machine to remote connect for certain applications as you required. To do that you need to download No-IP client software.
To download the client software go to https://www.noip.com again and click on Download button on the top. Click on download now and download the software.

After install the client software it will launch and ask for user name and Password. Give your Username / Email and password.

Then it will open up the DUC menu. Click on Edit Host, and in the manage existing hosts tick on your host name. Click save.

If every thing ok tick marks will appears for all.

Now you did it.