45
Startup of Remote I/O Modules Startup of Remote I/O Modules

Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Startup of Remote I/O ModulesStartup of Remote I/O Modules

Page 2: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

AgendaAgenda

ADAM-4000/5000 Configuration and UtilityADAM-6000/5000TCP Configuration and UtilityCommunication ProtocolsBasic Trouble Shooting

Page 3: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

ADAM-4000/5000 Configuration and Utility– Initial Mode– Utility Operation

ADAM-6000/5000TCP Configuration and UtilityASCII Command / Modbus RTU / Modbus TCPBasic Trouble ShootingHands-on for Installation & Wiring

Page 4: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Utility ConfigurationUtility Configuration

Adam.Net UtiltiyIn RS-485, the address of every module must be unique

Page 5: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Initial ModeInitial Mode

Why Using Initial ModeHow to Set InitialSome Modes can onlybe configured under Initial mode

Page 6: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Utility with Initial ModeUtility with Initial Mode– Just only one module can be set to initial mode– Start sign means ID= 0

Page 7: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Hand-On PracticeHand-On Practice

Objective : Utility Operation– Step1 : Set Module in Initial Module– Step2 : Use Utility to Search Module– Step3 : Change Baud rate, Address, and Protocol Setting– Step4 : Get I/O data

Time : 5 Mins

Page 8: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Utility with Trend and Data Logging Utility with Trend and Data Logging

Trend View Data Logg

Page 9: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Hands-On PracticeHands-On Practice

Objective : DI/O data & show AI/O data– Step1 : Show trend– Step2 : Change the setting– Step3 : Data Log Operation

Time : 5 Mins

Page 10: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

ADAM-4000/5000 Configuration and UtilityADAM-6000/5000TCP Configuration and Utility

– Search module– Network Setting– Add Remote Devices– Firmware Update– Access Control– Adam-6K series New Functions

Communication ProtocolsBasic Trouble Shooting - ModscanHands-on for Installation & Wiring

Page 11: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Utility OperationUtility Operation

UDP Broadcast to search modulesWorks in the same sub-net Default IP: 10.0.0.1Network settingDefault Password

Page 12: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Firmware UpdateFirmware Update

Firmware Update

Page 13: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Access ControlAccess Control

Use IP or MAC address to control connected devices– Permit one device with IP:172.18.2.90 to access

Page 14: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Utility Operation-Set AO ValueUtility Operation-Set AO Value

Page 15: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Utility Operation-Read AI ValueUtility Operation-Read AI Value

Page 16: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Advance I/O functionsAdvance I/O functions

Using Utility to change the modesDI : Latch, Frequency, CounterDO : Delay, Pulse OutputAI : Max/Min/Ave

Page 17: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Adam-6K series New FunctionsAdam-6K series New Functions

Shorten Developing timeReduce software learning curveCut down budget

Advantech ProvidingP2P function and GCL Control

Page 18: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

What is Adam Peer to PeerWhat is Adam Peer to Peer

Instead of Master (Client)Actively update Input status to Output statusDI channel to DO channel; AI channel to AOOnly for Digital modules

Page 19: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Passive Way – Continuously PollingPassive Way – Continuously Polling

Page 20: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Actively update Input status to Output statusActively update Input status to Output status

Page 21: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Adam-6K P2P in Adam.NET UtilityAdam-6K P2P in Adam.NET Utility

Page 22: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

ADAM-6K P2P ModesADAM-6K P2P ModesBasic mode: one module every DI mapping to another module DO

Advanced mode: DI/O mapping to multi module DO

Channel 1

Channel 2

…..

Channel n

Channel 1

Channel 2

…..

Channel n

Channel 3Channel 1

Channel 2

…..

Channel n

Channel 6

Channel 1

Page 23: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

What is GCLWhat is GCL

Graphic Condition LogicUDP protocol control Graphically Pre-set Logic RuleLogic Rule directly installs in IO modules

Page 24: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

With Controller ProgrammingWith Controller ProgrammingADAM 6017_S1C00_I GE

7.0

LE

3.0

ADAM 6066_C001_O

ADAM 6066_C002_O

TO N_1

Tim e#10s

ADAM 6066_C000_O

CTU_1

3

ADAM 6066_C003_O

ADAM 6050_C000_I NO T

TO N

CTU

IN

PT

Q

ET

CU

RESET

PV

Q

CV

ADAM 6017_S1C00_I GE

7.0

LE

3.0

ADAM 6066_C001_O

ADAM 6066_C002_O

TO N_1

Tim e#10s

ADAM 6066_C000_O

CTU_1

3

ADAM 6066_C003_O

ADAM 6050_C000_I NO T

TO N

CTU

IN

PT

Q

ET

CU

RESET

PV

Q

CV

With GCL ControlWith GCL Control

Page 25: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

What is GCLWhat is GCL

UDP protocol control Graphically Pre-set Logic RuleLogic Rule directly installs in IO modulesIncluding 4 parts:

Page 26: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

GCL FeaturesGCL Features

No Controller neededNo Additional SoftwareSimple Utility configurationSecured by IP or Mac address controlOnline MonitorOne module includes 16 rules Rules in one module can be cascaded Rules can be expanded over modules

Page 27: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Control the OutputControl the Output

Output can be Local or Remote moduleOne module can have 16 logic rules

TCP/IP Port: 1025

Page 28: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Logic Rule CascadeLogic Rule CascadeAt most 16 rules cascade in one modules

+Send to Next Rule

Rule 1

OutputRule 1

Rule 2

Output

Page 29: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0
Page 30: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

ADAM-4000/5000 Configuration and UtilityADAM-6000/5000/TCP Configuration and UtilityCommunication Protocols

– ASCII commands for Serial Modules– ASCII commands for Ethernet Modules– Introduction to Modbus Protocol

Basic Trouble Shooting - Modscan

Page 31: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

ASCII commands for Serial ModulesASCII commands for Serial Modules

Follow Advantech ASCII Commands

Page 32: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Hand-On Practice? (make sure if there is adam-5000)Hand-On Practice? (make sure if there is adam-5000)

Objective : Send ASCII Commands– Step1 : Use utility to send– Step2 : Get module name & firmware version– Step3 : #AAN to read AI data from ADAM-4017– Step4 : #AASiCj(data) AO in ADAM-5024 ( #02S1C115.000 )– Step5 : $AASi6 read DI from ADAM-5051– Step6 : #AASi1N01 Set DO-N On In ADAM-5056

Time : 10 Mins

Page 33: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

ASCII commands for Ethernet ModulesASCII commands for Ethernet Modules

User could send the ASCII commands through TCP or UDP

Page 34: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Introduction to Modbus ProtocolIntroduction to Modbus Protocol

Modbus RTU– For Advantech Serial Remote I/O modules– Standard Modbus Protocol, not Advantech protocol

Modbus TCP– For Advantech Ethernet Remote I/O modules

Page 35: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Introduction to Modbus ProtocolIntroduction to Modbus Protocol

Data format– ID, Function call, Data, Check Sum

Types of Data– Coils; bit; Digital input output– Register; Word; 2 Bytes; 16 bits

Data address Modbus address Description

0X; 1X 00001...10000* Coils (outputs)

3X 10001...20000* Inputs

4X 40001...50000* Holding registers

* Maximum value is device dependent

Page 36: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Modbus Address of Adam serial modulesModbus Address of Adam serial modules

Page 37: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Modbus Address of Adam Ethernet modulesModbus Address of Adam Ethernet modules

Page 38: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

ADAM-4000/5000 Configuration and UtilityADAM-6000/5000TCP Configuration and UtilityCommunication ProtocolsAppendix – Intro of Modscan

– Get Data From ModScan tool

Page 39: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Quick StartupQuick Startup

Deciding the Connection method

Page 40: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Connection Setting – IP for Ethernet – Port setting for Serial

Page 41: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Example of Adam Analog Input - Adam-6017

Page 42: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Depending on device modbus address– Device ID is 1 for Adam-6K series– Setup function code- 03 holding register– Setup Address and Length

Page 43: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Example of Adam Digital – Adam-6050

Page 44: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Function code: 01Address (for Adam-6k series) – DI starts from 01– DO starts from 17

Page 45: Startup of Remote I/O Modulesadvdownload.advantech.com/productfile/Downloadfile1/EI-6WG01/e… · Channel 1 Channel 2 ….. Channel n Channel 6 ... CV ADAM6017_S1C00_I GE 7.0 LE 3.0

Thanks~~~~