Вы находитесь на странице: 1из 37

Startup of Controllers

Startup of Controllers
Agenda
Agenda
Introduction
Programming under DOS - ADAM-5510M Startup
Programming under CE - ADAM-6501 Startup
SoftLogic Programming - ADAM-5510KW Startup
ADAM Controller Introduction
ADAM 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
Agenda
Agenda
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
Programming Port Wiring
Programming Port Wiring
Compile example
Compile example
Install Adam.NET Utility Resource Package
There are Libraries & examples
Use Borland C++ for DOS to compiler
Host PC File Area ADAM-5510 TCP File Area
ADAM-5510 TCP Consol Mode
Basic Utility Operation-Transferfile
Basic Utility Operation-Transferfile
Step 2: Press Refresh button to display the files in driver D of ADAM-5510 TCP
Basic Utility Operation-Transfer file
Basic Utility Operation-Transfer file
Step 3: Press Copy file to ADAM to transfer files from host to the controller
Basic Utility Operation-Transferfile
Basic Utility Operation-Transferfile
Press ADAM Configuration button to setup the IO modules of the controller
Basic Utility Operation-Transferfile
Basic Utility Operation-Transferfile
Press ADAM-5510/TCP Configuration to setup the IP address of the controller
Basic Utility Operation-Transferfile
Basic Utility Operation-Transferfile
Agenda
Agenda
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
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
Use uScope tool
to connect to
ADAM-6501
Ethernet
Connect to ADAM-6501
Connect to ADAM-6501
Connect to ADAM-6501
Connect to ADAM-6501
Click the Show Listbottom
Connect to ADAM-6501
Connect to ADAM-6501
Programming under ADAM-6501
Programming under ADAM-6501
Use Microsoft Visual Studio .NET 2003/2005
Use ADAM .NET Class Library
There are some VB and VC#examples
Programming under ADAM-6501
Programming under ADAM-6501
For example :
Open Adam40XXDIO project
Build solution
Copy execution & all DLL files in \bin\Debug folder to ADAM-
6051
Agenda
Agenda
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
ADAM5510 KW COM Configure
ADAM5510 KW COM Configure
COM1: RS-232, DB-9 connector
COM2: RS-485, Terminal Block
COM3 :Debug/Programming port (for system
maintenance only), RS-232 interface, DB-9 connector
COM4: RS-232/485 selectable,DB-9 connector
Modbus/RTU Master via COM4
Modbus/RTU Master via COM4
COM4/RS-485
Modbus/RTU Slave
Modbus/RTU Slave
Modbus/RTU Master
Modbus/RTU Master via COM4
Modbus/RTU Master via COM4
COM4/RS-485
Modbus/RTU Master
ADAM4K Modbus Remote I/O Modules
KW-series DIP Switch
KW-series DIP Switch
DIP 1-5: Device ID setting
DIP 6: COM1, COM2 Protocol switch
DIP 7,8: Baud Rate Setting
How to configure On Boad I/O
How 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
Host Connecting to KW Using COM1/RS-232
Host 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
SoftLogic - MULTIPROG KW
SoftLogic - MULTIPROG KW
Any
Programmer
Ladder
FBD
ST
IEC-61131
Hybrid Control
Applications
KW SoftLogic KW SoftLogic
Programming Tool Programming Tool
SFC
IL
Advantages Advantages
- - Robust & High Computing Performance Robust & High Computing Performance
- IEC-61131-3 Standard Programming Standard Programming
Languages Languages
- - Floating Point Calculation Capability Floating Point Calculation Capability
- - VGA Port Available VGA Port Available
- - Expandable Remote I/O Expandable Remote I/O
- - Motion Module Available Motion Module Available
ADAM ADAM- -5550 5550
Controller Controller
Creating a new project using template
Creating a new project using template
Click on the 'New Project' icon:
The 'New Project' dialog appears.
Select Advantech ADAM-5510 Template
Creating a new project using template
Creating a new project using template
The newly generated project
POU Untitled' in the subtree 'Logical
POUs'
The configuration, resource and task
in the subtree 'Physical Hardware'.
Resource the setting
Resource the setting
In our example, the
simulation has been activated
Right click 'Resource'
Select Settings
Activate 'Simulation 1',
Click OK
Additional features- Using the I/O configuration
Additional features- Using the I/O configuration
Declare the I/O
modules,
Logical addresses of
a module (start and
end address)
Device declarations
driver name or
memory address
Double click
IO_Configuration
Select the driver
Click Properties
Additional features- Using the I/O configuration
Additional 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.
Insert a first LD network
Insert 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
Insert a first LD network
Insert a first LD network
Click on the 'Contact
network' icon to insert the
LD network
Compiling the example- Making' the project
Compiling 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
Downloading the project to the I/O simulation
Downloading 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.
Downloading the project to the I/O simulation
Downloading 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.
Thanks~~~~

Вам также может понравиться