Advantech ADAM-6217 User Manual

Advantech ADAM-6217 User Manual

Adam-6200 series intelligent ethernet i/o module
Table of Contents

Advertisement

User Manual
Adam-6200 Series
Intelligent Ethernet I/O Module

Advertisement

Table of Contents
loading

Summary of Contents for Advantech ADAM-6217

  • Page 1 User Manual ADAM-6200 Series Intelligent Ethernet I/O Module...
  • Page 2 No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. How- ever, Advantech Co., Ltd.
  • Page 3: Declaration Of Conformity

    This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
  • Page 4: Safety Instructions

    The sound pressure level at the operator's position according to IEC 704-1:1982 is no more than 70 dB (A). DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein.
  • Page 5: Table Of Contents

    Front Name Plate ..................11 1.10 Package Information ................11 Chapter Product Specifications......13 General Specification ................14 Analog Input Module (ADAM-6217) ............15 2.2.1 Application Wiring ............... 15 2.2.2 Pin Assignment: ................16 2.2.3 Switch Setting ................16 Analog Output Module (ADAM-6224) ............. 17 2.3.1...
  • Page 6: Table Of Contents

    I/O Modbus Mapping Table .... 123 I/O Modbus Mapping Table..............124 A.1.1 Modbus Function Code Introduction......... 124 A.1.2 ADAM-6217 8-ch Isolated Analog Input Module....... 124 A.1.3 ADAM-6224 4-ch Isolated Analog Output Module....129 A.1.4 ADAM-6250 15-ch Digital Input/Output Module......131 A.1.5 ADAM-6251 16-ch Digital Input Module ........
  • Page 7: Chapter 1 Product Overview

    Chapter Product Overview...
  • Page 8: Introduction

    The ADAM-6200 series is a new ADAM Ethernet I/O family and includes analog I/O, digital I/O and relay modules. Not limited to equipment with robust I/O functions, Advantech gets Ethernet switch involved in hardware design to make user easily deploy ADAM module with daisy chain connection and the connection is protected by auto-bypass when power outage occurs.Users are also able to monitor and control...
  • Page 9: Feature Highlights

    Note! Auto-bypass protection To prevent this critical issue from happening, Advantech especially refined the hardware design of ADAM-6200 so that it can rapidly recover the network connection in about 2.5 seconds, and endure for 4 days after module power outage.
  • Page 10  Group Configuration In certain application scenarios, it’s necessary to set multiple modules with the same settings because these modules are doing the same tasks on different sites. Users have to set configurations of module one after another before on-site deployment. After the modules are installed and the system is running, it will still require repetitive effort to carry out firmware updates.
  • Page 11: Integrated Automation Application With It Technologies

    1.2.2 Integrated automation application with IT technologies  Remote Monitoring and Control with Smart Phone/Pad Previously, due to different communication modes and data formats, it wasn’t easy to implement automation control and monitor in an IT-based infrastructure. Users need to build up a data converter to transform I/O data stream from SCADA system to IT database/management system.
  • Page 12: Adam-6200 Series Family

    ADAM-6200 Series Family Category Model Description ADAM-6217 8-ch Isolated Analog Input Modbus TCP Module Analog I/O ADAM-6224 4-ch Isolated Analog Output Modbus TCP Module ADAM-6250 15-ch Isolated Digital I/O Modbus TCP Module Digital I/O ADAM-6251 16-ch Isolated Digital Input Modbus TCP Module...
  • Page 13: Mechanical Design And Dimensions

    Mechanical Design and Dimensions Front View Bottom View Side View Top View ADAM-6200 User Manual...
  • Page 14: Switch

    Switch It’s non-functional now, but reserved for future use. LED Definition Color Indication Behavior 0.5 second ON Module is normally at work. 0.5 second OFF Green (Status) Status/Com Always 10 sec When user enable LOCATE function. Yellow Blink When TX/RX data in transmission. (Com) Ethernet is connected.
  • Page 15: Certification And Safety Standard

    Certification and Safety Standard  – FCC 47 CFR PART 15 (Class A) – IC ICES-003  – EN 55011 / 55022 (Class A) – EN 61000-6-4 – EN 61000-3-2 – EN 61000-3-3 – EN 55024 – EN 61000-6-2 – IEC 61000-4-2 –...
  • Page 16: Product Label

    Product Label ADAM-6200 User Manual...
  • Page 17: Front Name Plate

    Front Name Plate 1.10 Package Information The package of ADAM-6200 series module will contain the following items. Please check and feel free to contact us if any part missing or damaged after pur- chasing ADAM-6200 product.  ADAM-6200 module (assembled with DIN Rail) ...
  • Page 18 ADAM-6200 User Manual...
  • Page 19: Chapter 2 Product Specifications

    Chapter Product Specifications...
  • Page 20: General Specification

    110 x 60 x 27 mm Built-in TVS/ESD protection Power Reversal protection Protection Over Voltage protection: +/- 35 V Isolation protection: 2500 V ADAM-6217: 3.5W @24 V ADAM-6224: 6.0W @24 V ADAM-6250: 3.0W @24 V ADAM-6251: 2.7W @24 V Power consumption ADAM-6256: 3.2W @24 V ADAM-6260: 4.5W @24 V...
  • Page 21: Analog Input Module (Adam-6217)

    Analog Input Module (ADAM-6217) Analog Input Description Channel 8 (Differential) Voltage Input Range ±150 mV, ±500 mV, ±1 V, ±5 V, ±10 V Current Input Range ±20 mA, 0 ~ 20 mA, 4 ~ 20 mA > 10 MΩ (Voltage) Input Impedance 120 Ω...
  • Page 22: Pin Assignment

    2.2.2 Pin Assignment: 2.2.3 Switch Setting ADAM-6200 User Manual...
  • Page 23: Analog Output Module (Adam-6224)

    Analog Output Module (ADAM-6224) Analog Output Description Channel Voltage Output Range ±5 V, ±10 V, 0~5 V, 0~10 V Current Output Range 0 ~ 20 mA, 4 ~ 20 mA Voltage: Min. 2kΩ Driving Load Current: Max. 500 Ω Output Impedance 2.1 Ω...
  • Page 24 2.3.2 Pin Assignment Digital Input/Output Modules (ADAM-6250/6251/ 6256) Digital Input Description ADAM-6250: 8 Channel ADAM-6251: 16 Logic 0: Open Dry Contact Logic 1: Closed to DGND Logic 0: 0 ~ 3 V or 0 ~ -3 V Wet Contact Logic 1: 10 ~ 30 V or -10 ~ -30 V Input Impedance 5.2 kΩ...
  • Page 25: Application Wiring

    2.4.1 Application Wiring Isolated Digital Input (6250/6251)  Dry Contact Wet Contact ADAM-6200 User Manual...
  • Page 26  Isolated Digital Output ADAM-6250 ADAM-6200 User Manual...
  • Page 27 ADAM-6256 2.4.2 Pin Assignment  ADAM-6250 ADAM-6200 User Manual...
  • Page 28  ADAM-6251  ADAM-6256 ADAM-6200 User Manual...
  • Page 29: Switch Setting

    2.4.3 Switch Setting ADAM-6250  ADAM-6251  ADAM-6200 User Manual...
  • Page 30: Relay Output Modules (Adam-6260/6266)

    Relay Output Modules (ADAM-6260/6266) Relay Output Description ADAM-6260: 5 Form C and 1 Form A Channel ADAM-6266: 4 Form C 250 V @ 5A Contact Rating 30 V @ 5 A 400 V Max. Switching Voltage 300 V Max. Breaking Capacity 1250 VA 360 operations/hour with load Frequency of Operation...
  • Page 31 2.5.1 Application Wiring Isolated Digital Input  Dry Contact Wet Contact ADAM-6200 User Manual...
  • Page 32  Isolated Relay Output 2.5.2 Pin Assignment ADAM-6260  ADAM-6200 User Manual...
  • Page 33  ADAM-6266 2.5.3 Switch Setting ADAM-6200 User Manual...
  • Page 34 ADAM-6200 User Manual...
  • Page 35: Chapter 3 Hardware Installation

    Chapter Hardware Installation...
  • Page 36: Interface Introduction

    Interface Introduction ADAM-6200 User Manual...
  • Page 37: Mounting

    Mounting ADAM-6200 modules are designed as compact units and are allowed to be installed in the field site under the following methods. 3.2.1 Panel Mounting Each ADAM-6200 Module is packed with a plastic panel mounting bracket. User can refer the bracket dimension and assembling figure to configure an optimal placement in a panel or cabinet.
  • Page 38: Din-Rail Mounting

    3.2.2 DIN-Rail Mounting The ADAM-6200 module can also be fixed to the cabinet by using mounting rails. You need to assemble the DIN rail adapter to ADAM-6200 module with flathead screwdriver as below. When the module is mounted on a rail, you may also consider using end brackets at each end of the rail to keep the module from sliding horizontally along the rail.
  • Page 39: Wiring & Connections

    Wiring & Connections This section introduces basic information on wiring the power supply, I/O units, and Ethernet connection. 3.3.1 Power Supply Wiring The system of ADAM-6200 is designed for a standard industrial unregulated 24 V power supply. For further application, it can also accept +10 to +30 V of power input, 200mV peak to peak of power ripple, and the immediate ripple voltage should be maintained between +10 and +30 V...
  • Page 40: Daisy Chain Connection

    3.3.3 Daisy Chain Connection In early stage of industrial automation field, most users used to deploy their automa- tion environment as serial communication RS-422/RS-485 interface. The typical con- nection mode with RS-422/RS-485 is field connection. That presents each device can be connected one after one in one line. Since each ADAM-6200 module has already built in Ethernet switch, user can easily connect each ADAM-6200 module with standard Ethernet cable as following roughly diagram shows.
  • Page 41 Note! The average latency from one module to another: 15 - 20 μs: Typically, the maximum cabling distance of each 100BASE-TX net- work segment is 100 meters. Based on this limitation, the maxi- mum total connection length of daisy chain wiring should also be 100m when auto-bypass protection active.
  • Page 42 ADAM-6200 User Manual...
  • Page 43: System Configuration

    Chapter System Configuration...
  • Page 44: Adam.net Utility (Software)

    ADAM module via Ethernet or Wireless connection. You can find ADAM.NET utility and user manual from ADAM product CD. To keep you informed with latest update, you also can check it from the following download link on Advantech website. http://support.advantech.com.tw/Support/DownloadSRDetail.aspx?SR_ID=1- 2AKUDB ...
  • Page 45: Configure Adam-6200 With Adam.net Utility

    Configure ADAM-6200 with ADAM.NET Utility After you've finished the connection between ADAM-6200 module and Host PC, you can use ADAM.NET utility to configure. Install ADAM.NET Utility in your computer. (After successfully installation, there will be a shortcut generated on the screen) Double click the shortcut icon, and then you will see the main operation window as below.
  • Page 46: Operation Framework

    Click Search Module icon in Toolbar. You will see all online modules in the left Module Tree screen and an unconfigured new module, whose default password is 00000000, will appear on the Others section as below. Now you can define the network mode of the module in the beginning.
  • Page 47 4.3.1.1 Menu a. File  Open Favorite Group You can import the favorite configuration group file (.XML) from your computer.  Save Favorite Group You can save the favorite group configuration group as XML file to your com- puter.  Auto-Initial Group If you want to have the same favorite group configuration when you exit ADAM.NET utility and launch it again, you need to check this option.
  • Page 48 Case 1. If you want to upgrade your module's firmware. Select Firmware. Select I/O module Click Browse button to import the firmware file from your computer. Choose which module you're going to change its setting and enter password. Click Apply button to activate it, and then you will see the operating progress on the Status area.
  • Page 49 Case 2. If you want to duplicate your module's configuration to others. (Before launching it, you need to export the configuration file to your computer in advance) Select Configuration. Select I/O module Click Browse button to import the configuration file from your computer. Choose which module you're going to change its setting and enter password.
  • Page 50  Terminal for Command Testing ADAM-6200 series module support ASCII command and Modbus/TCP as com- munication protocol, so you can launch the terminal to directly communicate with ADAM-6200 series module by these two protocols. ADAM-6200 User Manual...
  • Page 51 Double click the address can modify the value of coil or register:  Print Screen You can save current ADAM.NET Utility screen into an image file by this option. ADAM-6200 User Manual...
  • Page 52  Monitor Stream/Event Data This function will indicate real-time I/O data status of one module on your preset host computers/servers. (The Host IP address and data update schedule can be configured in the Stream tab of Status display area.)  Monitor Peer-to-Peer (Event Trigger) This function will indicate the Peer-to-Peer status and historical message when it enabled.
  • Page 53 Help  Check Up-to-Date on the Web It will automatically connect to support and download page of Advantech web- site when it enabled. You can find and download the latest version of ADAM util- ity there. About Adam.NET Utility ...
  • Page 54 4.3.1.2 Toolbar There are 8 graphical icons for common used options of Menu on the toolbar. Definition (from left to right) Open favorite group Save favorite group Search Modules Add Devices to Group Terminal for Command Testing Group Configuration Monitor Data Stream/Event Print Screen 4.3.1.3 Module Tree Screen...
  • Page 55 4.3.1.4 Main Operation Screen Main Operation Screen located on the right side of utility includes I/O status display and function setting. You can select different items in Module Tree Screen, and then Main Operation Screen will change dependently. You can do all configurations and test in this area.
  • Page 56: General Configuration

    4.3.2 General Configuration 4.3.2.1 Information It indicates basic information of ADAM-6200 module. Firmware Version Indicates the current Firmware version of ADAM-6200 module. Device Name Means model name of ADAM-6200 module. You also can rename it for recognition if required. Device Description You can add comments on this module for recognition.
  • Page 57 4.3.2.2 Network You can set up required network connection on this page. Network Setting You can select the Connection mode as DHCP or Static IP and configure the MAC address, IP address, Subnet address, Default gateway and Host Idle (timeout). Port Setting You can set up the network port for DataStream and P2P/GCL function.
  • Page 58 4.3.2.3 Stream ADAM-6200 modules can actively send its data to multiple hosts periodically. It is called Data Stream. In this tab, you can define IP address of the hosts receiving the data transferred by ADAM-6200 modules, as well as the period how often ADAM- 6200 modules will send data to the hosts.
  • Page 59 4.3.2.4 Administration The administration page includes Password, reset, and restart function. Password You can enter the password on this page to keep the module from losing unknown control. Note! The default password is 00000000 Reset to factory default The system configuration of ADAM-6200 module will be clear and restored to factory default when it enabled.
  • Page 60 It presents the configuration file of module in Utility. Note! To keep your module system up-to-date, please find the latest firm- ware version on Advantech's website. Which Web browser supports HTML 5: IE 9, Chrome, Firefox. Please do not remove the power of your module when group con- figuration function is processing.
  • Page 61 4.3.2.6 Peer to Peer / Event It will be described in following sections. 4.3.2.7 Access Control For avoiding from unauthorized access, you can manage which host PC or device has been permitted to remotely control ADAM-6200 module by IP or MAC Address. Select which type you're going to configure.
  • Page 62 4.3.2.8 User-defined Modbus Address In order to provide user with more flexible and scalable in deploying ADAM module, ADAM-6200 module remove the limitation of Modbus address setting and make it configurable as user's actual need. Basically, there're two kinds of Modbus address section (0X and 4X) for you to configure each function item.
  • Page 63: I/O Configuration

    4.3.3 I/O Configuration After the introduction of ADAM-6200 general configuration in previous section, you're realized how to operate with several key functions in your application. Furthermore, you will learn the way to set up all I/O channel configuration in details such as chan- nel range, calibration and alarm.
  • Page 64 4.3.3.1 ADAM-6217 Analog Input Channel Overview  Locate It can help user search ADAM module with light sign. (Status LED will be on for 10 sec when it enabled.) Hide Setting Panel The details of channel setting will be hidden when you check on the Hide Setting Panel checkbox.
  • Page 65 Input Range You can select input channel and its voltage/current range and click Apply button to take effect. Calibration It's for sure that each module is well calibrated when it's in manufacturing process. However, in certain applications, user may need to redo the calibration with their device.
  • Page 66 Channel Information – Overview It presents which channel is enabled and its current input value. – Average setting You can decide which channel will be selected to perform average calcula- tion and it will show on right side – Modbus (Present) You can see current analog input value in decimal, hexadecimal, engineer unit, and description for all related Modbus address.
  • Page 67 Alarm Setting When the analog input value is higher than the high alarm value, or lower than the low alarm value, the alarm condition will be valid. Then the alarm status register will be pulled to logic high and alarm status LED will be lit up on the main screen of util- ity.
  • Page 68 4.3.3.2 ADAM-6224 Digital Input Channel Overview  Locate It can help user search ADAM module with light sign. (Status LED will be on for 10 sec when it enabled.) Hide Setting Panel The details of channel setting will be hidden when you check on the Hide Setting Panel checkbox.
  • Page 69 Invert signal It will invert the logic state of input signal. In another words, when no signal pulse come into DI channel, the DI status will be logic high ("1") DI status LED When DI channel is activated, it will light up. Digital filter It contains minimum high signal width and minimum low signal width (1-65535) for fil- tering the noise.
  • Page 70 Calibration It's for sure that each module is well calibrated when it's in manufacturing process. However, in certain applications, user may need to redo the calibration with their device. If you want to enable this, please go to Setup menu and click Allow Calibra- tion first.
  • Page 71 Trim Span - It's used to help user calibrate the high limit of output range by entering the value. Step 1. Click the Trim Span button after enabled Allow Calibration. Step 2. The output signal will be delivered as the highest level, for example, if you select +/- 10V range, you will get around 10V.
  • Page 72 4.3.3.3 ADAM-6250 Digital Input Channel Overview  Locate It can help user search ADAM module with light sign. (Status LED will be on for 10 sec when it enabled.) Channel Setting You can see value of all digital input channels by related LED display in this tab. Besides, you also can control values of all digital output channels by related button.
  • Page 73 Advanced channel setting DI configuration In ADAM-6250 advanced channel setting, you can configure the details of input sig- nal such as enable/disable invert signal, digital filter based on different DI mode and meanwhile, you also can check DI status of each channel. There are five kinds of DI mode including DI, Counter, Low to High Latch, High to Low Latch, and Frequency.
  • Page 74 Counter mode When you choose Counter mode, one counter will count the pulse number of the dig- ital signal from the selected channel, and then record the count number in the regis- ter. At the bottom of the screen as below, present count value of the selected channel is displayed by the Counter value text box.
  • Page 75 Low to High Latch mode When you choose Low to High Latch mode, once the digital input channel detects logic level changes from low to high, the logic status will be keep as logic high. The logic status will remain the logic high, until you clear latch manually. Then the logic status will back to logic low.
  • Page 76 High to Low Latch mode When you choose High to Low Latch mode, once the digital input channel detects logic level changes from high to low, the logic status will be keep as logic High. The logic status will remain the logic High, until you clear latch manually. Then the logic status will back to logic Low.
  • Page 77 Frequency mode When you choose Frequency mode, ADAM-6200 digital module will calculate the fre- quency value of the digital input signal from the selected channel and the frequency value will be displayed by the Frequency value text box. DO configuration In ADAM-6250 advanced channel setting, you can configure the details of output sig- nal such as signal width, frequency, duty cycle based on different DO mode and meanwhile, you also can check DO status of each channel.
  • Page 78 DO mode When you choose DO mode, you can control the digital output value of the selected channel by the DO button. The current digital output value will be shown by the DO status LED display. ADAM-6200 User Manual...
  • Page 79 Pulse Output mode The pulse output is the same as PWR. After you choose the Pulse output mode, the selected digital output channel can generate continuous pulse train or finite pulses. Signal width - It contains Low signal width and High signal width (unit: 0.1ms) for configuration Output frequency -It will automatically indicate by the setting of Low/High signal width.
  • Page 80 Low to high delay It means there will be certain time delay when the output value changes from logic low to logic high as below. You can define how much Delay time of a pulse as your need, and also control DO status by clicking DO button. ADAM-6200 User Manual...
  • Page 81 High to low delay It means there will be certain time delay when the output value changes from logic high to logic low as below. You can define how much Delay time of a pulse as your need, and also control DO status by clicking DO button. ADAM-6200 User Manual...
  • Page 82 4.3.3.4 ADAM-6251 Digital Input Channel Overview  Locate It can help user search ADAM module with light sign. (Status LED will be on for 10 sec when it enabled.) Channel Setting You can see value of all digital input channels by related LED display in this tab. Besides, you also can control values of all digital output channels by related button.
  • Page 83 4.3.3.5 ADAM-6256 Digital Output Channel Overview  Locate It can help user search ADAM module with light sign. (Status LED will be on for 10 sec when it enabled.) Channel Setting You can see value of all digital output channels by related LED display in this tab. Besides, you also can control values of all digital output channels by related button.
  • Page 84 4.3.3.6 ADAM-6260 Digital Output Channel Overview  Locate It can help user search ADAM module with light sign. (Status LED will be on for 10 sec when it enabled.) Channel Setting You can see value of all digital output channels by related LED display in this tab. Besides, you also can control values of all digital output channels by related button.
  • Page 85 4.3.3.7 ADAM-6266 Digital Output Channel Overview  Locate It can help user search ADAM module with light sign. (Status LED will be on for 10 sec when it enabled.) Channel Setting You can see value of all digital input channels by related LED display in this tab. Besides, you also can control values of all digital output channels by related button.
  • Page 86: Peer To Peer

    4.3.4 Peer to Peer When you want to send a signal from one module to another module, Peer-to-Peer is a perfect solution. With Peer-to-Peer function enabled, ADAM-6200 modules can actively update its input value to other devices such as PC or another ADAM-6200 module.
  • Page 87 1. Period Time Function: The value of the input channel will be updated to the target devices with the defined period. 2. Period Time Function + C.O.S (Change of Status) Function The value of the input channel will still be updated to the target devices with the defined period.
  • Page 88 Basic Mode Configuration The Status Display of basic mode is shown above. You can define the target device by entering its IP address into the Destination text box in the Basic (One to One) area. You can choose these two methods by click the Deviation Enable check box (for AI modules) or Enable Change of State check box (for digital modules).
  • Page 89 4.3.4.2 Advanced Mode In advanced mode, there will be multiple target devices to receive the data trans- ferred from one ADAM-6200 module (Module A). You can define different target devices (by different IP address) to each channel of module A. For example, you can define the input channel 1 of Module A is mapping to the output channel 3 of Module B, while input channel 2 of Module A is mapping to the output channel 4 of Module C.
  • Page 90 Advanced Mode Configuration When you choose the advanced mode, the Main Operation screen area is shown as above. With advanced mode, each channel on the source ADAM-6200 module can be mapping to channel on different target devices. You can configure the mapping relation using the two block areas Source and Destination in the Advanced (One to Multi) area.
  • Page 91 Choose the channel which provides the setting for other channels by the Channel combo box at the top of the dialog window. Then select channels which you want to copy setting to by clicking the Channel checkbox in the Copy to area. Using as an example, setting of channel 0 will copy to channel 1, 2, and 3.
  • Page 92 With GCL enabled, a computer (or a controller) can be removed from the con- trol system since the ADAM-6200 modules can play as controller by them- selves. The configuration environment for GCL in ADAM.NET Utility is completely graphical, making it very easy and intuitive to complete the logic rule configuration. After com- pleting the logic rule configuration and download, engineers can see the real-time execution situation and input value in ADAM.NET Utility on line.
  • Page 93 4.3.5.2 Configuration Environment As previously mentioned, when you try to spread one of ADAM-6200 module, you will be allowed to check the channel setting and GCL function by entering correct pass- word in the Module Tree screen. Note! You can configure all GCL related setting by clicking the GCL Configura- tion item list.
  • Page 94 The top icon definition in GCL Menu: Icon Function Description This icon shows current GCL status. The status repre- sented in the Icon cell is the Disable, Programming and Running mode (From top to button) Current Status Note: You cannot enable Peer-to-Peer/Data Stream function and GCL function at the same time.
  • Page 95 4.3.5.3 Basic Logic rule programming  Input Condition stage The Input Condition stage is a logic condition decision for the input data. The decision result will be logic True or False, sending to the Logic stage for logic operation. Take analog input mode as example, you can define the condition as if the analog input value is greater than a specific value (the limit).
  • Page 96 Mode Description Condition No Operation No operation Local AI channel value >, =, < Local DI channel value True, False DI_Counter Local counter input channel value >, =, < DI_Frequency Local frequency input channel value >, =, < Timer Local internal Timer value >, =, <...
  • Page 97 Local Analog Input Channel (AI) After you choose AI as input mode, select the channel by the Channel combo box. In the Operation area, you can define the input condition operation. Select the analog input type by the Type combo box. There are two input types you can choose for analog input: If you select Channel Value, the current value of the selected analog input channel is used as input for condition.
  • Page 98 ADAM-6200 analog input module features Scaling function to convert the voltage (or current) value to the engineer unit value. For example, that's say the condition is if the pressure value is more than or equal to 2.5 kg/cm2. Without scaling function, you need to convert the pressure value (2.5 kg/cm2) to the current value (8 mA).
  • Page 99 Internal Flag (AuxFlag) There are 16 internal flags on one ADAM-6200 module. The data type of internal flag is digital, meaning its value is either logic True or logic False. You can read the inter- nal flag value and use it as input condition. After you choose AuxFlag as input mode, select appropriate internal flag by the Index combo box.
  • Page 100  Logic Stage When you click the Logic stage icon, you should see a dialog window as below. For each logic rule, there will be at most three input conditions passing logic True or False values to the Logic stage here. You can choose four logic operations by the Type combo box: AND, OR, NAND, NOR.
  • Page 101  Execution Stage When you click the Execution stage icon, you should see a dialog window as below. There are two possible execution setting you can choose by the Type combo box in the Operation area: Execution Period (Execution_Period) and Send to Next Rule (SendToNextRule).
  • Page 102 Send to Next Rule (SendToNextRule) You can combine different logic rules into one single rule, which can help building more complex logic architecture. There are two methods to combine different logic rules: one way is using Send to Next Rule function here, another way is using Inter- nal Flag.
  • Page 103  Output Stage When you click the Output stage icon, you will see a pop-up window as below. There are three outputs for one logic rule. The logic result value from the Execution stage will be passed to the three outputs. And the three outputs will have different action depend on the logic result value.
  • Page 104 After you decide the target device, then you can choose the output action by the Operation Type combo box. The default setting is No Operation, meaning there is no output action. You can choose analog output (AO), digital output (DO), counter chan- nel setting (DI_counter), pulse output (DO_Pulse), local timer (Timer), local or remote internal flag (AuxFlag), remote message output (RemoteMessage) and local internal counter setting (Counter) as the output action.
  • Page 105 Counter Channel Setting (DI_Counter) Below are the steps to configure counter channel setting: Choose correct model name by the Target module combo box in the Operation area. If the Destination is Local, you don't need to choose the model name. Define what action (start the counter by Start, or stop the counter by Stop, or reset the counter by Reset) will be taken for the true action (When the logic result value passed from Execution stage is logic True) by the True Action...
  • Page 106 Local or Remote Internal Flag (AuxFlag) You can assign the logic result value from the Execution stage, to local or remote internal flag. Select the appropriate internal flag by the Index combo box. Define what value you want to assign to the internal flag for the true action (When the logic result value passed from Execution stage is logic True) by the True Action combo box.
  • Page 107 The following table will show the logic true and false of output actions. True action False action (the logic result value Output Action (the logic result value from the from the Execution stage is Execution stage is logic False) logic True) Change the analog output value Keep current status Output True value Output False value...
  • Page 108 Here, we take one simple example to describe the logic cascade. We use two analog input channels (channel 0 and channel 1) of ADAM-6217 to measure signal from sensors. As long as either of the two input channel read voltage between 3 ~ 5 Volt, digital channel 0 should generate logic high value.
  • Page 109 Rule 1. Rule 2. ADAM-6200 User Manual...
  • Page 110 Rule 3. We use the logic rule 1 to check if AI channel 0 value of the ADAM-6217 is within 3 ~ 5 Volt. Logic rule 2 is used to check if AI channel 1 value is within 3 ~ 5 Volt. The comparison result of logic rule 1 and 2 is assigned to internal flag 0 and 1.
  • Page 111 Distributed Logic Cascade Logic Cascade function is not limited on one single module. Since you can define the internal flag on another module, the logic cascade structure can be across different modules. Take the previous application as example, now you can define the logic rule 1, 2, 3 are running on module A, B and C.
  • Page 112 Rule 2. Rule 3. Using Local or Distributed Logic Cascade architecture, there will be no limitation for input numbers of logic rules. And you can build any logic architecture to meet your application requirement. ADAM-6200 User Manual...
  • Page 113 Feedback When you choose the same internal flag for the input condition and output of one sin- gle logic rule, the logic rule has logic feedback ability. See as below. In this example, one input condition and one output are dedicated to the same internal flag 0 (AuxFlag 0).
  • Page 114 Note! When you use Internal Flags (AuxFlag) as the inputs of GCL logic rules, you can dynamically change the flag values in the online monitoring win- dow of ADAM.NET Utility. Simply double click the input icons repre- sented the internal flag, and you can see the flag values change from True to False, or from False to True.
  • Page 115 Typical Applications with GCL  In order to shorten GCL configuration time, Advantech has provided several example project files for some typical applications. You can find these example project files on the CD with the ADAM module. Simply load these example project files by clicking the Project Content button of GCL Menu bar.
  • Page 116 Now, we can use GCL logic to achieve the same control operation. Two logic rules are used. The complete logic architecture is shown as below. After you load the example project file, you can find that it uses rule 1 and rule 2. One output of rule 1 and one input of rule 2 are assigned to the same internal flag: Flag 0.
  • Page 117 In the example project, DI 0 is used as a trigger to start the sequential control action. Therefore, when DI 0 turn to logic high (at the moment T0), DO 0 will also change to logic high immediately. Then, DO1 ~ DO5 will sequentially be activated to logic high after a specific time interval.
  • Page 118 You can simply implement one AND logic operator to achieve this control system. However, since one logic rule only has three inputs, we need to use Logic Cascade function to have 12 inputs. There are two ways to achieve Logic Cascade: Select SendtoNextRule in Execution Stage of one logic rule.
  • Page 119 in logic rule 2, so DO 0 will change every 0.5 second. The GCL logic rule architecture is shown as below: 6. Rising Edge For Rising Edge application, the DO status will be activated to logic high, when DI value is changed from logic low to logic high (it is so-called rising edge). But the DO value won't continuously remain logic high.
  • Page 120 You can see that DO 0 will only be triggered when rising edge of DI 0 occurs. In the example project we provide, the DO status will remain logic high for 1 second. Then it will back to logic low. When PLC is used for this kind of application, the ladder dia- gram will be likely as below: When you use GCL to achieve rising edge application, 3 logic rules, 1 Internal Timer (Timer 0) and 1 Internal Flag (Flag 0) are needed.
  • Page 121 7. Falling Edge For Falling Edge application, the DO value will be activated to logic high, when DI value is changing from logic high to logic low (it is so-called falling edge). But the DO value won't continuously remain logic high. Instead, after a specific period (in the example project, it is 1 second), the DO value will back to logic low.
  • Page 122 When you use GCL to achieve falling edge application, 3 logic rules, 1 Internal Timer (Timer 0) and 1 Internal Flag (Flag 0) are needed. For example, with logic rule 3, DO 0 value is controlled by DI 0 and Flag 0. Flag 0 value is logic False at beginning. When falling edge occurs (DI value changes from logic high to logic low), DO will be activated (logic rule 3 are satisfied), and Timer 0 starts to count time (logic rule 1 are satisfied).
  • Page 123 In order to implement this kind of application, 9 logic rules, 1 Internal Counter (Coun- ter 0) and 1 Internal Flag (Flag 0) are used. In the example project we provide, logic rule 1 and 8 are used to create the time base. By logic rule 8, Flag 0 value will change every 0.5 second.
  • Page 124 9. DI Event Trigger (Only Occurs Once) We can simply use GCL to perform Event trigger. For this kind of application, a DI channel is used to trigger some action. So, the input condition of GCL logic rule will be if the DI value is logic True, and output of the rule can be some desired action, such as sending remote message.
  • Page 125: Remotely Monitoring And Control Via Web Server

    4.3.6 Remotely Monitoring and Control via Web Server As mentioned in feature highlight section, this new feature will bring obvious benefit to user in maintenance anywhere over the Ethernet in the local field. Now the follow- ing paragraph will show how to build up this circumstance and use it. This feature not only works on PC or laptop, it can also work on portable devices, like smart phone or pad.
  • Page 126 Enter the account and password. Note! The default setting of account is "root", and password is "00000000" ADAM-6200 User Manual...
  • Page 127 Click Login button, you will see the operation page. In this page, you will not only to monitor I/O status (trend log), but also simply enable output setting below. For example, if you check on DO 0, 2, 3, and 5, then click “Apply Output”, you will see the bulb is lit on and trend log is also changed.
  • Page 128 ADAM-6200 User Manual...
  • Page 129 Appendix I/O Modbus Mapping Table...
  • Page 130: I/O Modbus Mapping Table

    Diagnostic testing of the communication port Force Multiple Coils Write multiple data to force coil ON/OFF Preset Multiple Registers Write multiple data in 16-bit integer format A.1.2 ADAM-6217 8-ch Isolated Analog Input Module Address (0X): Address (0X) Channel Description Attribute...
  • Page 131 00121 Read 00122 Read 00123 Read 00124 Read Open-Circuit Flag (Burnout) 00125 Read 00126 Read 00127 Read 00128 Read 00131 Read 00132 Read 00133 Read 00134 Read 00135 Read High Alarm Flag 00136 Read 00137 Read 00138 Read Average 00139 Read Ch0 - 7 00141...
  • Page 132 Address (4X): Address (4X) Channel Description Attribute 40001 Read 40002 Read 40003 Read 40004 Read 40005 Read AI Value 40006 Read 40007 Read 40008 Read Average 40009 Read Ch0 - 7 40011 Read 40012 Read 40013 Read 40014 Read 40015 Read Historical Max.
  • Page 133 40031~40032 Read 40033~40034 Read 40035~40036 Read 40037~40038 Read 40039~40040 Read AI Floating Value (IEEE754) 40041~40042 Read 40043~40044 Read 40045~40046 Read Average 40047~40048 Read 40051~40052 Read 40053~40054 Read 40055~40056 Read 40057~40058 Read 40059~40060 Read Historical Max. AI Floating Value (IEEE754) 40061~40062 Read 40063~40064 Read...
  • Page 134 40221 AI Channel Enable 40305 0 - 15 GCL Internal Flag Value Note: Users can configure the High alarm value in the ADAM.NET utility. When AI value is higher than the High alarm, this bit will be 1. Users can configure the Low alarm value in the ADAM.NET utility. When AI value is lower than the Low alarm, this bit will be 1.
  • Page 135: A.1.3 Adam-6224 4-Ch Isolated Analog Output Module

    A.1.3 ADAM-6224 4-ch Isolated Analog Output Module Address (0X): Address (0X) Channel Description Attribute 00001 Read 00002 Read DI Value 00003 Read 00004 Read 00301 Write 00302 Write 00303 Write 00304 Write Clear GCL Counter 00305 Write 00306 Write 00307 Write 00308 Write...
  • Page 136 40401 40402 Startup Value 40403 40404 Note: The value definition of DI Event Status Description Unreliable DI value (UART Timeout) Safety Value triggered Startup Value triggered The value definition of AO Status First register Description Fail to provide AO Value No Output Current) Zero/Span Calibration Error Second register...
  • Page 137: A.1.4 Adam-6250 15-Ch Digital Input/Output Module

    Type Code Table Input Range Type Code (HEX) 0 ~ 20 mA 0x0182 4 ~ 20 mA 0x0180 0 ~ 10 V 0x0148 0 ~ 5 V 0x0147 +/- 10 V 0x0143 +/- 5 V 0x0142 A.1.4 ADAM-6250 15-ch Digital Input/Output Module Address (0X): Address (0X) Channel...
  • Page 138 00049 00050 00051 00052 Clear Overflow 00053 00054 00055 00056 00057 00058 00059 00060 DI Latch Status (1) 00061 00062 00063 00064 00301 Write 00302 Write 00303 Write 00304 Write Clear GCL Counter 00305 Write 00306 Write 00307 Write 00308 Write Address (4X): Address (4X)
  • Page 139 40031 – 40032 40033 – 40034 40035 – 40036 40037 – 40038 Pulse Output High Level Width 40039 – 40040 40041 – 40042 40043 – 40044 40045 – 40046 40047 – 40048 40049 – 40050 40051 – 40052 Set Absolute Pulse 40053 –...
  • Page 140: A.1.5 Adam-6251 16-Ch Digital Input Module

    A.1.5 ADAM-6251 16-ch Digital Input Module Address (0X): Address (0X) Channel Description Attribute 00001 Read 00002 Read 00003 Read 00004 Read 00005 Read 00006 Read 00007 Read 00008 Read DI Value 00009 Read 00010 Read 00011 Read 00012 Read 00013 Read 00014 Read...
  • Page 141 00049 Write 00050 Write 00051 Write 00052 Write 00053 Write 00054 Write 00055 Write 00056 Write Clear Counter (1) 00057 Write 00058 Write 00059 Write 00060 Write 00061 Write 00062 Write 00063 Write 00064 Write 00065 00066 00067 00068 00069 00070 00071 00072...
  • Page 142 00081 00082 00083 00084 00085 00086 00087 00088 DI Latch Status 00089 00090 00091 00092 00093 00094 00095 00096 00301 Write 00302 Write 00303 Write 00304 Write Clear GCL Counter 00305 Write 00306 Write 00307 Write 00308 Write Address (4X): Address (4X) Channel Description...
  • Page 143: A.1.6 Adam-6256 16-Ch Digital Output Module

    A.1.6 ADAM-6256 16-ch Digital Output Module Address (0X): Address (0X) Channel Description Attribute 00017 00018 00019 00020 00021 00022 00023 00024 DO Value 00025 00026 00027 00028 00029 00030 00031 00032 00301 Write 00302 Write 00303 Write 00304 Write Clear GCL Counter 00305 Write 00306...
  • Page 144 40033 – 40034 40035 – 40036 40037 – 40038 40039 – 40040 40041 – 40042 40043 – 40044 40045 – 40046 40047 – 40048 Pulse Output High Level Width 40049 – 40050 40051 – 40052 40053 – 40054 40055 – 40056 40057 –...
  • Page 145 40097 – 40098 40099 – 40100 40101 – 40102 40103 – 40104 40105 – 40106 40107 – 40108 40109 – 40110 40111 – 40112 Set Incremental Pulse 40113 – 40114 40115 – 40116 40117 – 40118 40119 – 40120 40121 – 40122 40123 –...
  • Page 146: A.1.7 Adam-6260 6-Ch Relay Output Module

    A.1.7 ADAM-6260 6-ch Relay Output Module Address (0X): Address (0X) Channel Description Attribute 00017 00018 00019 DO Value 00020 00021 00022 00301 Write 00302 Write 00303 Write 00304 Write Clear GCL Counter 00305 Write 00306 Write 00307 Write 00308 Write Address (4X): Address (4X) Channel...
  • Page 147: A.1.8 Adam-6266 4-Ch Relay Output Module With 4-Ch Di

    40037 – 40038 40039 – 40040 40041 – 40042 Set Incremental Pulse 40043 – 40044 40045 – 40046 40047 – 40048 40303 DO Value 40305 0 - 15 GCL Internal Flag Value A.1.8 ADAM-6266 4-ch Relay Output Module with 4-ch DI Address (0X): Address (0X) Channel...
  • Page 148 00301 Write 00302 Write 00303 Write 00304 Write Clear GCL Counter 00305 Write 00306 Write 00307 Write 00308 Write Address (4X): Address (4X) Channel Description Attribute 40001 – 40002 Read 40003 – 40004 Read Counter/Frequency Value 40005 – 40006 Read 40007 –...
  • Page 149 ADAM-6200 User Manual...
  • Page 150 ADAM-6200 User Manual...
  • Page 151: Commands

    Appendix ADAM-6200 ASCII Commands...
  • Page 152: Ascii Commands For Adam-6200 Modules

    ASCII Commands for ADAM-6200 modules For users do not familiar to Modbus protocol, Advantech offers a function library as a protocol translator, integrating ASCII command into Modbus/TCP structure. There- fore, users familiar to ASCII command can access ADAM-6200 module easily. Before explaining the structure of ASCII command packed with Modbus/TCP format.
  • Page 153 $aaM Name Read Module Name Description Returns the module name from a specified module. Syntax $aaM(cr) $ is a delimiter character. aa (range 00-FF) means the 2-character hexadecimal slave address of the ADAM-6200 module you want to request. (Always 01) M is the Module Name command.
  • Page 154 $aaF Name Read Firmware Version Description Returns the firmware version from a specified module. Syntax $aaF(cr) $ is a delimiter character. aa (range 00-FF) means the 2-character hexadecimal slave address of the ADAM-6200 module you want to request. (Always 01) F is the Firmware Version command.
  • Page 155 #aaVdbbbbdddddddd Name Write Value(s) to GCL Internal Flags (Auxiliary Flags) Description This command sets a single or all GCL internal flag(s) on the specific ADAM-6200 module. Syntax #aaVdbbbbdddddddd(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave net- work address of the ADAM-6200 module.
  • Page 156 $aaVd Name Read GCL Internal Flags' (Auxiliary Flags) Values Description This command reads all GCL internal flags' values from the specific ADAM-6200 module. Syntax $aaVd(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave net- work address of the ADAM-6200 module. (Always 01) Vd is the GCL Internal Flag command.
  • Page 157: B.1.2 Analog Input Command Set

    B.1.2 Analog Input Command Set Function Description Command Example Read analog Return the input value Cmd: #aan(cr) Send: #010(cr) input from Chan- from the specified ana- Ret:>+nnnn.nnn(cr) Receive: nel N log input channel or >–nnnn.nnn(cr) >+0000.000(cr) Cmd: #aa(cr) Ret:>(data) (data) Send: #010(cr) Returns the input data (data) (data) (data)
  • Page 158 #aan Name Read Analog Input from Channel N Description Returns the input data from a specified analog input channel in a spec- ified module. Syntax #aan(cr) # is a delimiter character. aa (range 00-FF) means the 2-character hexadecimal slave address of the ADAM-6200 module you want to request.
  • Page 159 $aa1 Name Auto Calibration Description Calibrate the analog input range of module Syntax $aa1(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal Modbus address of the ADAM-6200 module which is to be calibrated. (Always 1 represents the zero calibration command. (cr) is the terminating character, carriage return (0Dh) Response !aa(cr) if the command is valid.
  • Page 160 $aa6 Name Read Channel Enable/Disable Status Description Asks a specified module to return the Enable/Disable status of all ana- log input channels Syntax $aa6(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module you want to request. (Always 01) 6 is the read channels status command.
  • Page 161 $aa5mm Name Set Channel Enable/Disable Status Description Set Enable/Disable status for all analog input channels Syntax $aa5mm(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module. (Always 01) 5 identifies the enable/disable channels command. mm (range 00-FF) are two hexadecimal characters.
  • Page 162 #aaMH Name Read Maximum Value Description Read the maximum values from all analog input channels in a speci- fied analog module Syntax #aaMH(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module to be read.(Always 01) MH represents the read maximum value command.
  • Page 163 #aaMHn Name Read Maximum Value from channel N Description Read the maximum value from a specific channel in a specified module Syntax #aaMHn(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module to be read. (Always 01) MH represents the read maximum value command.
  • Page 164 #aaML Name Read Minimum Value Description Read the minimum values from all analog input channels in a specified module Syntax #aaML(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module to be read.(Always 01) ML represents the read minimum value command.
  • Page 165 #aaMLn Name Read Minimum Value from channel N Description Read the minimum value from a specific analog input channel in a specified module Syntax #aaMLn(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module to be read. (Always 01) ML stands for the read minimum value command.
  • Page 166: B.1.3 Analog Input Range Code

    B.1.3 Analog Input Range code Range Code +/- 10V 0x0143 +/- 5 V 0x0142 +/- 1 V 0x0140 +/- 500 mV 0x0104 +/- 150 mV 0x0103 +/- 20 mA 0x0181 0 ~ 20 mA 0x0182 4 ~ 20 mA 0x0180 Example The command asks the specific module at address 01h to send ana- log input range code value from analog input channel 3.
  • Page 167 $aaCjAhs Name Set Alarm Mode Description Sets the High/Low alarm of the specified input channel in the addressed ADAM-6200 module to either Latching or Momentary mode. Syntax $aaCjAhs(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave net- work address of an ADAM-6200 module.
  • Page 168 $aaCjAh Name Read Alarm Mode Description Returns the alarm mode for the specified channel in the specified ADAM-6200 module. Syntax $aaCjAh(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of an ADAM-6200 module. (Always 01) Cj identifies the desired channel j (j : 0 to 7).
  • Page 169 $aaCjAhEs Name Enable/Disable Alarm Description Enables/Disables the High/Low alarm of the specified input channel in the addressed ADAM-6200 module Syntax $aaCjAhEs(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of an ADAM-6200 module. (Always 01) Cj identifies the desired channel j (j : 0 to 7).
  • Page 170 $aaCjCh Name Clear Latch Alarm Description Sets the High/Low alarm to OFF (no alarm) for the specified input channel in the addressed ADAM-6200 module Syntax $aaCjCh(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave net- work address of an ADAM-6200 module.
  • Page 171 $aaCjAhCCn Name Set Alarm Connection Description Connects the High/Low alarm of the specified input channel to inter- lock the specified digital output in the addressed ADAM-6200 module Syntax $aaCjAhCCn(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of an ADAM-6200 module.(Always 01) Cj identifies the desired analog input channel j (j : 0 to 7).
  • Page 172 $aaCjRhC Name Read Alarm Connection Description Returns the High/Low alarm limit output connection of a specified input channel in the addressed module Syntax $aaCjRhC(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of an ADAM-6200 module. (Always 01) Cj identifies the desired analog input channel j (j : 0 to 7).
  • Page 173 $aaCjAhU Name Set Alarm Limit Description Sets the High/Low alarm limit value for the specified input channel of a specified ADAM-6200 module. Syntax $aaCjAhU(data)(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of an ADAM-6200 module.(Always 01) Cj identifies the desired analog input channel j (j : 0 to 7).
  • Page 174 $aaCjRhU Name Read Alarm Limit Description Returns the High/Low alarm limit value for the specified input channel in the addressed ADAM-6200 module Syntax $aaCjRhU(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of an ADAM-6200 module.(Always 01) Cj identifies the desired analog input channel j (j : 0 to 7).
  • Page 175: B.1.5 Analog Output Command Set

    $aaCjS Name Read Alarm Status Description Reads whether an alarm occurred to the specified input channel in the specified ADAM-6200 module Syntax $aaCjS(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of an ADAM-6200 module. (Always 01) Cj identifies the desired analog input channel j (j : 0 to 7).
  • Page 176 $aaDScc Name Read AO Startup Value from One Channel Description Returns the startup value from a specified analog output channel in a specified module. Syntax $aaDScc(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module you want to request. (Always 01) DS represents the analog output channel startup command.
  • Page 177 #aaDSccnnnn Name Set AO Startup Value to One Channel Description Set the startup value to a specified analog output channel in a speci- fied module. Syntax $aaDSccnnnn(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module you want to request.
  • Page 178 #aaBCccnnnn Name Write AO Value to One Channel Description Write output value to a specified analog output channel in a specified module. Syntax #aaBCccnnnn(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module you want to request. (Always 01) cc (range 00-01) represents the specific channel you want to write out- put value.
  • Page 179 $aaBEcc Name Read Analog Output Range Code from Channel N Description Returns the range code from a specified analog output channel in a specified module. Syntax $aaBEcc(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module you want to request.
  • Page 180: B.1.6 Analog Output Range Code

    B.1.6 Analog Output Range code Range Code +/- 10V 0x0143 +/- 5 V 0x0142 0 ~ 10V 0x0148 0 ~ 5V 0x0147 0 ~ 20 mA: 0x0182 4 ~ 20 mA: 0x0180 Example The command asks the specific module at address 01h to send ana- log output range code value from analog input channel 3.
  • Page 181 $aa6 Name Read Channel Status Description This command requests that the specified ADAM-6200 module return the status of its digital input channels Syntax $aa6(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave net- work address of the ADAM-6200 module. (Always 01) 6 is the Digital Data In command.
  • Page 182 #aa00(data) Name Write all digital output channels Description This command sets all digital output channels to the specific ADAM- 6200 module. Syntax #aa00(data)(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave net- work address of the ADAM-6200 module. (Always 01) 00 means to set all channel(s).
  • Page 183 #aa1c(data) Name Write a single digital output channel Description This command sets a single DO channels to the specific ADAM-6200 module. Syntax #aa1c(data)(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave net- work address of the ADAM-6200 module. (Always 01) c is used to indicate which channel(s) you want to set.
  • Page 184 $aaJCFFFFssmm Name Read DI Channel Counter Value Description Returns the counter value from specified DI channels in a specified module. Syntax $aaJCFFFFssmm(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal slave address of the ADAM-6200 module you want to request. (Always 01) JCFFFF is the Digital Input Channel Counter Value command.
  • Page 185: Rest For Adam-6200

    Appendix REST for ADAM-6200...
  • Page 186 Analog Input C.2.1.1 GET /analoginput/(all|{id})/value The content‐type will be ‘application/x‐www‐form‐urlencoded’. {id} : is the AI channel ID starting from 0 Examples: Use the following URI to get the AI‐0 value. Request http://10.0.0.1/analoginput/0/value Use the following URI to get the all AI values. http://10.0.0.1/analoginput/all/value The content-type will be ‘text/xml’ If result is OK, the content will look like below <?xml version="1.0" ?> <ADAM-6217 status=”OK”> <AI> <ID>0</ID> < VALUE>FFFF</VALUE> Response </AI> </ADAM-6217> If result is failed , the content will look like below <?xml version="1.0" ?> <ADAM‐6217 status=”{error}”> </ADAM-6217> {error} : The error message. If the {id} is out of range, the response will return HTTP status code 501  Remarks (Not implemented)
  • Page 187 C.2.1.2 GET /analoginput/(all|{id})/range The content‐type will be ‘application/x‐www‐form‐urlencoded’. {id} : is the AI channel ID starting from 0 Examples: Use the following URI to get the AI‐0 range information. Request http://10.0.0.1/analoginput/0/range Use the following URI to get the all AI range information. http://10.0.0.1/analoginput/all/range The content-type will be ‘text/xml’ If result is OK, the content will look like below <?xml version="1.0" ?> <ADAM-6217 status=”OK”> <AI> <ID>0</ID>     <RANGE>7</RANGE>     <NAME>4~20 mA</NAME> <MAX>20</MAX> Response <MIN>4</MIN> <UNIT>mA</UNIT> </AI> </ADAM-6217> If result is failed , the content will look like below <?xml version="1.0" ?> <ADAM‐6217 status=”{error}”> </ADAM-6217> {error} : The error message. If the {id} is out of range, the response will return HTTP status code 501 ...
  • Page 188: C.2.2 Analog Output

    C.2.2 Analog Output C.2.2.1 GET /analogoutput/(all|{id})/value The content‐type will be ‘application/x‐www‐form‐urlencoded’. {id} : is the AO channel ID starting from 0 Examples: Use the following URI to get the AO‐0 value. Request http://10.0.0.1/analogoutput/0/value Use the following URI to get the all AO values. http://10.0.0.1/analogoutput/all/value The content-type will be ‘text/xml’ If result is OK, the content will look like below <?xml version="1.0" ?> <ADAM-6224 status=”OK”> <AO> <ID>0</ID> <VALUE>0FFF</VALUE> Response </AO> </ADAM-6224> If result is failed , the content will look like below <?xml version="1.0" ?> <ADAM‐6224 status=”{error}”> </ADAM-6224> {error} : The error message. If the {id} is out of range, the response will return HTTP status code 501  Remarks (Not implemented) C.2.2.2 POST /analogoutput/all/value...
  • Page 189 C.2.2.3 GET /analogoutput/(all|{id})/range The content‐type will be ‘application/x‐www‐form‐urlencoded’. {id} : is the AO channel ID starting from 0 Examples: Use the following URI to get the AO‐0 range information. Request http://10.0.0.1/analogoutput/0/range Use the following URI to get the all AO range information. http://10.0.0.1/analogoutput/all/range The content-type will be ‘text/xml’ If result is OK, the content will look like below <?xml version="1.0" ?> <ADAM-6224 status=”OK”> <AO> <ID>0</ID>     <RANGE>7</RANGE>     <NAME>4~20 mA</NAME> <MAX>20</MAX> Response <MIN>4</MIN> <UNIT>mA</UNIT> </AO> </ADAM-6224> If result is failed , the content will look like below <?xml version="1.0" ?> <ADAM‐6224 status=”{error}”> </ADAM-6224> {error} : The error message. If the {id} is out of range, the response will return HTTP status code 501  Remarks (Not implemented) ADAM-6200 User Manual...
  • Page 190 C.2.2.4 GET /analogoutput/(all|{id})/range The content‐type will be ‘application/x‐www‐form‐urlencoded’. {id} : is the AO channel ID starting from 0 Examples: Use the following URI to get the AO‐0 range information. Request http://10.0.0.1/analogoutput/0/range Use the following URI to get the all AO range information. http://10.0.0.1/analogoutput/all/range The content-type will be ‘text/xml’ If result is OK, the content will look like below <?xml version="1.0" ?> <ADAM-6224 status=”OK”> <AO> <ID>0</ID>     <RANGE>7</RANGE>     <NAME>4~20 mA</NAME> <MAX>20</MAX> Response <MIN>4</MIN> <UNIT>mA</UNIT> </AO> </ADAM-6224> If result is failed , the content will look like below <?xml version="1.0" ?> <ADAM‐6224 status=”{error}”> </ADAM-6224> {error} : The error message. If the {id} is out of range, the response will return HTTP status code 501  Remarks (Not implemented) ADAM-6200 User Manual...
  • Page 191: C.2.3 Digital Input

    C.2.3 Digital Input C.2.3.1 GET /digitalinput/(all|{id})/value The content‐type will be ‘application/x‐www‐form‐urlencoded’. {id} : is the DI channel ID starting from 0 Examples: Use the following URI to get the DI‐0 value. Request http://10.0.0.1/digitalinput/0/value Use the following URI to get the all DI values. http://10.0.0.1/digitalinput/all/value The content-type will be ‘text/xml’ If result is OK, the content will look like below <?xml version="1.0" ?> <ADAM-6250 status=”OK”> <DI> <ID>0</ID>     <VALUE>0</VALUE> Response </DI> </ADAM-6250> If result is failed , the content will look like below <?xml version="1.0" ?> <ADAM‐6250 status=”{error}”> </ADAM-6250> {error} : The error message. If the {id} is out of range, the response will return HTTP status code 501  Remarks (Not implemented) ADAM-6200 User Manual...
  • Page 192: C.2.4 Digital Output

    C.2.4 Digital Output C.2.4.1 GET /digitaloutput/(all|{id})/value The content‐type will be ‘application/x‐www‐form‐urlencoded’. {id} : is the DO channel ID starting from 0 Examples: Use the following URI to get the DO‐0 value. Request http://10.0.0.1/digitaloutput/0/value Use the following URI to get the all DO values. http://10.0.0.1/digitaloutput/all/value The content-type will be ‘text/xml’ If result is OK, the content will look like below <?xml version="1.0" ?> <ADAM-6250 status=”OK”> <DO> <ID>0</ID> <VALUE>1</VALUE> Response </DO> </ADAM-6250> If result is failed , the content will look like below <?xml version="1.0" ?> <ADAM‐6250 status=”{error}”> </ADAM-6250> {error} : The error message. If the {id} is out of range, the response will return HTTP status code 501 (Not  Remarks implemented) C.2.4.2 POST /digitaloutput/all/value...

This manual is also suitable for:

Adam-6224Adam-6260Adam-6250Adam-6266Adam-6251Adam-6256

Table of Contents