8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
1/37
Startup of ControllersStartup of Controllers
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
2/37
AgendaAgenda
Introduction
Programming under DOS - ADAM-5510M Startup
Programming under CE - ADAM-6501 Startup SoftLogic Programming - ADAM-5510KW Startup
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
3/37
ADAM Controller IntroductionADAM Controller Introduction
Adam-4501: DOS Serial Base; Turbo C/Boland C
Adam-6501: WinCE Ethernet base; eVC/VS2005
Adam-5500 series: Adam-5510M series: DOS, Turbo C/Boland C
Adam-5550: WINCE, eVC/VS2003/VS2005
Adam-5510/5550KW: Softlogic; KW Multiprog
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
4/37
AgendaAgenda
Programming under DOS - ADAM-5510M Startup
Programming Port Wiring
Compile example
Basic Utility Operation-Transferfile
Programming under CE - ADAM-6501 Startup
SoftLogic Programming - ADAM-5510KW Startup
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
5/37
Programming Port WiringProgramming Port Wiring
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
6/37
Compile exampleCompile example
Install Adam.NET Utility Resource Package
There are Libraries & examples
Use Borland C++ for DOS to compiler
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
7/37
Host PC File Area ADAM-5510 TCP File Area
ADAM-5510 TCP Consol Mode
Basic Utility Operation-TransferfileBasic Utility Operation-Transferfile
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
8/37
Step 2: Press Refresh button to display the files in driver D of ADAM-5510 TCP
Basic Utility Operation-Transfer fileBasic Utility Operation-Transfer file
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
9/37
Step 3: Press Copy f ile to ADAM to transfer files from host to the controller
Basic Utility Operation-TransferfileBasic Utility Operation-Transferfile
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
10/37
Press ADAM Configuration button to setup the IO modules of the controller
Basic Utility Operation-TransferfileBasic Utility Operation-Transferfile
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
11/37
Press ADAM-5510/TCP Configuration to setup the IP address of the controller
Basic Utility Operation-TransferfileBasic Utility Operation-Transferfile
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
12/37
AgendaAgenda
Programming under DOS - ADAM-5510M Startup
Programming under CE - ADAM-6501 Startup
ADAM-6501 spec.
Connect to ADAM-6051
Programming under ADAM-6501
SoftLogic Programming - ADAM-5510KW Startup
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
13/37
ADAM-6501 Spec.ADAM-6501 Spec.
CPU: XScale 400MHz
RAM: 32 MB flash memory, 64 MB SDRAM on board
Storage: 1 External CompactFlash Card Slot Serial Port: one RS-232, one RS-485 ports
Ethernet Port: One 10/100Base-T Ethernet
OS: Windows CE.NET Programmable tool: Embedded VC++/ VS2003 /VS2005
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
14/37
Use uScope tool
to connect to
ADAM-6501
Ethernet
Connect to ADAM-6501Connect to ADAM-6501
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
15/37
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
16/37
Connect to ADAM-6501Connect to ADAM-6501
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
17/37
Programming under ADAM-6501Programming under ADAM-6501
Use Microsoft Visual Studio .NET 2003/2005
Use ADAM .NET Class Library
There are some VB and VC# examples
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
18/37
Programming under ADAM-6501Programming under ADAM-6501
For example :
Open Adam40XXDIO project
Build solution
Copy execution & all DLL files in \bin\Debug folder to ADAM-6051
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
19/37
AgendaAgenda
Programming under DOS - ADAM-5510M Startup
Programming under CE - ADAM-6501 Startup
SoftLogic Programming - ADAM-5510KW Startup Configuration of ADAM-5510KW
Connect to ADAM-5510KW
Create a simple project for ADAM-5510KW
I/O configuration
Download project
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
20/37
ADAM5510 KW COM ConfigureADAM5510 KW COM Configure
COM1: RS-232, DB-9 connector
COM2: RS-485, Terminal Block
COM3 :Debug/Programming port (for systemmaintenance only), RS-232 interface, DB-9 connector
COM4: RS-232/485 selectable,DB-9 connector
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
21/37
Modbus/RTU Master via COM4Modbus/RTU Master via COM4
COM4/RS-485
Modbus/RTU Slave Modbus/RTU Slave
Modbus/RTU Master
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
22/37
Modbus/RTU Master via COM4Modbus/RTU Master via COM4
COM4/RS-485
Modbus/RTU Master
ADAM4K Modbus Remote I/O Modules
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
23/37
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
24/37
How to configure On Boad I/OHow to configure On Boad I/O
RS-232
Null Modem Cable
RS-232/COM1
Switch setting: 6,7, and 8 On
Use ADAM .NET Utility
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
25/37
Host Connecting to KW Using COM1/RS-232Host Connecting to KW Using COM1/RS-232
RS-232
Null Modem Cable
RS-232/COM1
Switch setting: 6,7, and 8 Off
Use KW MultiProg to connect
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
26/37
SoftLogic - MULTIPROG KWSoftLogic - MULTIPROG KW
Any
Programmer
Ladder
FBD
ST
IEC-61131
Hybrid Control
Applications
KW SoftLogicKW SoftLogic
Programming ToolProgramming Tool
SFC
IL
AdvantagesAdvantages-- Robust & High Computing PerformanceRobust & High Computing Performance
-
IEC-61131-3 Standard ProgrammingStandard ProgrammingLanguagesLanguages
-- Floating Point Calculation CapabilityFloating Point Calculation Capability
-- VGA Port AvailableVGA Port Available
-- Expandable Remote I/OExpandable Remote I/O
--Motion Module AvailableMotion Module Available
ADAMADAM--55505550
ControllerController
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
27/37
Creating a new project using templateCreating a new project using template
Click on the 'New Project' icon:
The 'New Project' dialog appears.
Select Advantech ADAM-5510 Template
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
28/37
Creating a new project using templateCreating a new project using template
The newly generated project
POU Untitled' in the subtree 'Logical
POUs'
The configuration, resource and taskin the subtree 'Physical Hardware'.
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
29/37
Resource the settingResource the setting
In our example, the
simulation has been activated
Right click 'Resource'
Select Settings
Activate 'Simulation 1',
Click OK
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
30/37
Additional features- Using the I/O configurationAdditional features- Using the I/O configuration
Declare the I/O
modules,
Logical addresses of
a module (start andend address)
Device declarations
driver name ormemory address
Double click
IO_Configuration
Select the driver
Click Properties
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
31/37
Additional features- Using the I/O configurationAdditional features- Using the I/O configuration
In the field 'Length'
enter 4
Board I/O Module:
If you connect to real I/O,
you have to select an
Module.
Click OK Compile and
download the project.
I fi LD k
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
32/37
Insert a first LD networkInsert a first LD network
Double the POU Untitled
Click with the left mouse button into the worksheet
to set an insertion mark at the position
I t fi t LD t kI t fi t LD t k
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
33/37
Insert a first LD networkInsert a first LD network
Click on the 'Contact
network' icon to insert the
LD network
C ili th l M ki ' th j tC ili th l M ki ' th j t
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
34/37
Compiling the example- Making' the projectCompiling the example- Making' the project
Click on the 'Make' icon in the toolbar:
Errors and warnings detected during
compilation
double clicking on an error/warning will
open the worksheet
Fix all errors and re-compile the project
D l di th j t t th I/O i l tiD l di th j t t th I/O i l ti
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
35/37
Downloading the project to the I/O simulationDownloading the project to the I/O simulation
Click on the 'Project Control
Dialog' icon to open the
resource control dialog
Press the 'Download' button.
Click Download button.
D l di th j t t th I/O i l tiD l di th j t t th I/O i l ti
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
36/37
Downloading the project to the I/O simulationDownloading the project to the I/O simulation
Click the Cold' icon to execute a
cold start
Click the Stop icon to stop
Click the Download icon to Reset.
8/11/2019 EATC I 0709B01 B 4 Startup of Controllers
37/37
Thanks~~~~
Top Related