Advantech ADAM-5000/TCP Series Скачать руководство пользователя страница 151

Planning Your Application Program

 

Chapter 6

 

 

 

$aaSiAFFff

 

Name 

Set Data Format 

Description 

Sets the data format in engineering units or in two’s 
complement format for a specified analog input mod- 
ule in a specified system. 

Syntax $aaSiAFFff

 

is a delimiter character. 

aa 

(range 00-FF) represents the 2-character hexadeci- 

mal  address  of  the  ADAM-5000/TCP  system  
you want to configure. 

Si 

identifies the I/O slot of the 

ADAM-5000/TCP sys- tem containing the ADAM-
5017H/5017UH module you want to configure. 

AFF 

represents the set data format command. 

ff 

represents the 2-character hexadecimal code of the 
data format. 00 is for engineering unit format. 02 is for 
two’s complement format. 

(cr) 

is the terminating character, carriage return (0Dh). 

 

Note: 

Each channel in an ADAM-5017H /5017UH module may be set 

to a differ- ent range, but the data formats of all channels in 

this module 

must be the same. 

 

Response !aa(cr) 

if the command is valid. 

?aa(cr) 

if an invalid operation was entered. There is 

no response if the module detects a syntax error or 
communication error or if the specified ad- dress 
does not exist. 

delimiter character indicating a valid command was 

received. 

delimiter character indicating the command was in- 

valid. 

aa 

(range 00-FF) represents the 2-character hexadeci- 

mal address of an ADAM-5000/TCP system. 

(cr) 

is the terminating character, carriage return (0Dh). 

Example 

command: 

$01S3AFF00(cr)

 

response: 

!01(cr)

 

The data format of the ADAM-5017H /5017UH 
module in slot 3 of the ADAM-5000/TCP system at 
address 01h is configured for engineering unit format. 
The response indicates that the command has been 
received as a valid command. 

 

 

ADAM-5000/TCP  

User’s  Manual 

 

 

6-83

 

Содержание ADAM-5000/TCP Series

Страница 1: ......

Страница 2: ...ed 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...

Страница 3: ...ler for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem encountered e g type of PC CPU speed Advantech products used other har...

Страница 4: ...such as your sales receipt in a shippable container A product returned without dated proof of purchase is not eligible for warranty service 5 Write the RMA number visibly on the outside of the packag...

Страница 5: ...oblem and with the product close at hand call your dealer Our dealers are well trained and ready to give you the support you need to get the most from your Advantech products In fact most problems rep...

Страница 6: ...t in installing process Describes the Hardware dimension and the way to place or mount it Explains the rule of mapping I O address Describes the wiring and connecting detail for ADAM 5000 TCP 3 Hardwa...

Страница 7: ...minal Cable Network Setting System Configuration Select Operator Interface I O Module Calibration Guide Security Setting Determine Proper Environment Terminal Emulation Install Main Unit and Module UD...

Страница 8: ...0 TCP System 1 6 1 3 1 System 1 6 1 3 2 Ethernet Communication 1 6 1 3 3 Serial Communication 1 6 1 3 4 Power 1 7 1 3 5 Isolation 1 7 1 3 6 Mechanical 1 7 1 3 7 Environment 1 7 1 3 8 Dimensions 1 7 1...

Страница 9: ...ration 5 9 5 3 5 Alarm Setting 5 14 5 3 6 I O Module Calibration 5 15 5 3 7 Firmware Update 5 17 5 3 8 Security Setting 5 18 5 3 9 Terminal Emulation 5 19 5 3 10 Data Stream 5 20 5 3 11 Data Gateway S...

Страница 10: ...17 B 4 B 3 Analog Input Ranges ADAM 5018 5018P B 5 B 4 Analog Input Ranges ADAM 5017H 5017UH B 7 B 5 Analog Output Formats B 8 B 6 Analog Output Ranges B 8 B 7 ADAM 5013 RTD Input Format and Ranges B...

Страница 11: ...e 3 8 System network connection 3 8 Figure 3 9 Serial Network Connection 3 9 Figure 3 10 I O Modules Address Mapping 3 10 Figure 5 1 Hardware Configuration 5 2 Figure 5 2 operation Screen 5 3 Figure 5...

Страница 12: ...8 bit parameters 6 64 Figure 6 5 The other bits are not used and are set to 0 6 128 Figure C 1 Think the EARTH as GROUND C 3 Figure C 2 Grounding Bar C 4 Figure C 3 Normal mode and Common modC C 5 Fi...

Страница 13: ...mmand Set Table 6 40 Table 6 3 Baud rate codes 6 42 Table 6 4 ADAM 5013 RTD Input command Set Table 6 49 Table 6 5 ADAM 5017 5018 Analog Input command Set Table 6 63 Table 6 6 ADAM 5017H Analog Input...

Страница 14: ...apter 1 Understanding Your System Using this Chapter If you want to read about Go to page Introduction 1 2 Major Feature 1 3 Technical Specification 1 6 LED Status of ADAM 5000 TCP Series main unit 1...

Страница 15: ...re a data exchange server between information systems and control systems as a communication bridge Obviously it takes a lot of time and money To meet user s requirements Advantech announces the new D...

Страница 16: ...tocol theADAM 5000 TCP Series is easy to integrate with any HMI software packages or user developed applications that support Modbus Users do not have to prepare a specific driver for the ADAM 5000 TC...

Страница 17: ...and watchdog timer The microprocessor also includes a real time OS and watchdog timer The real time OS is available to handle several tasks at the same time The watchdog timer is designed to automatic...

Страница 18: ...equent communication between multi servers and I O devices To reduce the communication loading of the host computer on your Ethernet network the ADAM 5000 TCP Seriesalso supports UDP User Datagram Pro...

Страница 19: ...Consumption 5 0W Reset Push Bottom Yes 1 3 2 Ethernet Communication Ethernet 10BASE TIEEE802 3 100BASE TXIEEE802 3u Wiring UTP category 5 or greater BusConnection RJ45 modularjack Comm Protocol Modbus...

Страница 20: ...F Humidity 5 to 95 non condensing Atmosphere No corrosive gases NOTE Equipment will operate below 30 humidity However static electricity problems occur much more frequently at lower hu midity levels...

Страница 21: ...1 3 Function block diagram 1 4 LED Status of ADAM 5000 TCP Series main unit There are eight LEDs on the ADAM 5000 TCP Series front panel The LEDs indicate ADAM 5000 TCP s system status as explained b...

Страница 22: ...tor This LED is designed for the spare function COM port transit indicator in the future 6 Rx Green indicator This LED is designed for the spare function COM port receive indicator in the future 7 Col...

Страница 23: ......

Страница 24: ...Main Unit and Module System Mounting Hardware Installation Guide Security Setting Terminal Emulation UDP Data Stream Modbus Data Gateway Wiring and Connecting I O Address Mapping Using ADAM 5000 TCP S...

Страница 25: ...ces Explanation I O module or operations examples Discrete input module Selector switches pushbuttons Input modules sense ON OFF or and block I O module photoelectric eyes limit switches circuit OPENE...

Страница 26: ...put Module Digital Module Digital Output Counter Mixed I O with LED 16 ch 5060 Relay Output Module 6 ch 5068 Relay Output Module 8 ch 5069 Power Relay Output Module 8 ch 5080 Counter Frequency Module...

Страница 27: ...V Analog Output Current Output 0 20 mA 4 20 mA Digital Input Channels Digital Input and Digital Output Digital Output Channels Channels Input Frequency Count er 32 bit Mode Channels COM M Type Isolat...

Страница 28: ...32 bit Mode Channels COM M Type Isolation 5000 VRMS 2500 VDC 2500 VDC Module ADAM 5060 ADAM 5068 ADAM 5080 ADAM 5090 Resolution Input Channel Sampling Rate Voltage Input Current Input Analog Input Dir...

Страница 29: ...enabled PC Based Programmable Controller 2 0W I O Modules Description Power Consumption ADAM 5013 3 Channel RTD Input Module 1 1 W ADAM 5017 8 Channel Analog Input Module mV mA or High Voltage 1 25 W...

Страница 30: ...WR 243 PWR 244 Input Input Voltage 90 264 VAC 85 132 VAC 170 264 VAC 100 240 VAC Input Frequency 47 63 Hz 47 63 Hz 47 63 Hz 25 A 110 VAC Input Current 1 2 A max 1 4 A max 50 A 220 VAC Inrush current S...

Страница 31: ...rate or Category 5 for 100Mbps data rate UTP STP cable which is compliant with EIA TIA 586 specifications Maximum length between the Hub and any ADAM 5000 TCP Series is up to 100 meters approx 300ft...

Страница 32: ...422 or EIA 485 standards which contains 24 AWG thin copper conductor with copper mesh and alumi num foil for shielding 2 Always use a continuous length of wire do not combine wires to attain needed le...

Страница 33: ...m There are a lot of HMI software packages which support Modbus TCP driver Advantech Studio Wonderware InTouch IntellutionFixofi Fix Any other software support Modbus TCP protocol Moreover Advantech a...

Страница 34: ...ting Hardware Installation Guide Security Setting Terminal Emulation UDP Data Stream Modbus Data Gateway Wiring and Connecting I O Address Mapping Using ADAM 5000 TCP Series DLL Driver Planning Your A...

Страница 35: ...IBM PC compatible computer with 486 CPU Pentium is recom mended Microsoft 95 98 2000 NT 4 0 SP3 or SP4 or higher versions At least 32 MB RAM 20 MB of hard disk space available VGAcolormonitor 2x or h...

Страница 36: ...Push the module straight into the system until it is firmly seated in the back plane connector see figure 3 1 Once the module is inserted into the system push in the retaining clips located at the to...

Страница 37: ...t by using mounting rails see figure 3 4 If you mount the system on a rail you should also consider using end brackets at each end of the rail The end brackets help keep the system from sliding horizo...

Страница 38: ...Hardware Installation Guide Chapter 3 Figure 3 4 ADAM 5000 TCP DIN rail mounting Figure 3 5 Secure ADAM 5000 TCP System to a DIN rail ADAM 5000 TCP User s Manual 3 5...

Страница 39: ...al unregulated 24 V DC power supply they accept any power unit that supplies within the range of 10 to 30 VDC The power supply ripple must be limited to 200 mV peak to peak and the immediate ripple vo...

Страница 40: ...erminal block accepts wires from 0 5 mm to 2 5 mm 2 Always use a continuous length of wire Do not combine wires to make them longer 3 Use the shortest possible wire length 4 Use wire trays for routing...

Страница 41: ...ork The ADAM 5000 TCP Series has an Ethernet communication port allowed you to program configure monitor and integrate into the SCADA system The figure 3 8 is a guideline to complete the system networ...

Страница 42: ...users can extend their system scope by integrating up to 32 nodes of ADAM 5511 or other Modbus products such as meters card readers loadcell and so on ADAM ADAM 5000 TCP Ethernet I O Vs GND COM DATA D...

Страница 43: ...refer the figures 3 9 to map the I O address Figure 3 10 I O Modules Address Mapping For example if there is a ADAM 5024 4 channel AO Module in slot 2 the address of this module should be 40017 40020...

Страница 44: ...4 I O modules...

Страница 45: ...t had integrated and collected this information Module Name Specification Reference ADAM 5013 3 ch RTD input Isolated ADAM 5017 8 ch AI Isolated ADAM 5017H 8 ch High speed AI Isolated ADAM 5017UH 8 ch...

Страница 46: ...e Security Setting Terminal Emulation UDP Data Stream Modbus Data Gateway Wiring and Connecting I O Address Mapping Using ADAM 5000 TCP Series DLL Driver Planning Your Application Program Individual I...

Страница 47: ...are configuration System Requirement Host computer IBMPCcompatiblecomputerwith486CPU Pentiumisrecommended Microsoft 95 98 2000 NT 4 0 SP3 or SP4 or higher versions At least 32 MB RAM 20 MB of hard dis...

Страница 48: ...0 TCP Series Windows Utility Overview The Windows Utility offers a graphical interface that helps you config ure the ADAM 5000 TCP Series main unit and I O modules It is also very convenient to test a...

Страница 49: ...000 TCP units in the spe cific Ethernet domination the same with host PC s Ethernet domination Refresh 5000 TCP RefreshthespecificADAM 5000 TCPunittoverify the system status Terminal Call up the opera...

Страница 50: ...Asthemomentyou startup thisWindowsUtility itwillsearchallADAM 5000 TCP Series on the host PC s domination Ethernet network automatically Then the tree structure display area will appeal with the searc...

Страница 51: ...PING button the testing result will show as Figure 5 5 Figure 5 5 Communication testing function Since Utility software detects the ADAM 5000 TCPSeries on the network user can begin to setup each ADA...

Страница 52: ...n mode for the device accordingly without your further efforts IP Address Subnet Mask Default Gateway The IP address identifies your ADAM 5000 TCP Series device on the global network Each ADAM 5000 TC...

Страница 53: ...key in the specific IP address and click the Add button If the communication suc cess the added ADAM 5000 TCP Series unit should appeal on the tree struc ture display area Figure 5 8 Adding ADAM 5000...

Страница 54: ...esses will be the indexes for applying into the data base of HMI or OPC Server Type Data Type of the I O channel The data type of Digital I O modules is always Bit Value The current status on each cha...

Страница 55: ...hexadecimal code will be calculated automatically for any status Analog Input Module Selecting ADAM 5000 Analog Input Modules includes ADAM 5013 5017 H 5018s users can read following information from...

Страница 56: ...n time Then the input data will be scaled as the specified range with engineer unit Figure 5 12 setting range and integration time Note Windows Utility allows user to Enable Disable the current sta tu...

Страница 57: ...click the set as initial button the channel will output the same value each time when system is initial Counter Frequency Module Selecting an ADAM 5080 Counter Frequency Module users also can read th...

Страница 58: ...DAM 5000 TCP system the address locations should be Figure 5 15 Location of Counter Frequency Module Note 1st bit Default ON 1 available to set ON OFF to start stop counting 2nd bit Normal OFF 0 only...

Страница 59: ...igure 5 16 Alarm Setting for Analog Input and Counter Modules There are three alarm types in Analog Input Modules Disable ADAM 5000 TCP Series dose not executive alarm diagnosing func tion Momentary W...

Страница 60: ...and5024 Zero Calibration 1 Apply power to the module and let it warm up for 30 minutes 2 Make sure the module is correctly installed and properly configured for the input range you want to calibrate...

Страница 61: ...a temperature signal to the ADAM module and then compare this sig nal with the value from the ADAM module If the value is different from the signal adjust the CJC value to improve it Figure 5 19 CJC...

Страница 62: ...are and software functions to improve the perfect DA C systems Therefore users will need to upgrade the firmware of ADAM 5000 TCP Series sometime Select the Firmware Upgrade tab and click Browsing to...

Страница 63: ...M 5000 TCP Series system Once user setting the password into the ADAM 5000 TCP Series firmware the important system configurations Net work Firmware Password are only allowed to be changed by password...

Страница 64: ...ecimal mode as their communication base If the ASCII mode has been selected the Windows Utility will translate the request and response string both in Modbus and ASCII format Please refer Chapter 6 2...

Страница 65: ...sting interval and the specific IPs which need to receive data from the specific ADAM 5000 TCP Series This UDP Data Stream function broadcasts up to 8 host PCs simultaneously and the interval is user...

Страница 66: ...ta Stream Monitoring Chapter 5 Select the IP address of the ADAM 5000 TCP Series you want to read data then click Start button The Utility software will begin to receive the stream data on this operat...

Страница 67: ...easily Click the tip of RS 485 Modbus to configure the RS 485 network set ting with following steps Figure 5 26 RS 485 Modbus Network Setting 1 Define the parameter of the network includes Parity stop...

Страница 68: ...Guide Security Setting Terminal Emulation UDP Data Stream Modbus Data Gateway Wiring and Connecting I O Address Mapping Using ADAM 5000 TCP Series DLL Driver Planning Your Application Program Individ...

Страница 69: ...sic Since ADAM 5000 TCP systems communicate with a host computer through Ethernet no additional driver needs to be installed The DLL includes all necessary function calls to utilize the ADAM 5000 TCP...

Страница 70: ...eceive5KTCPCmd 6 18 ADAM5KTCP_Add5KTCPForStream 6 19 ADAM5KTCP_ReadStreamData 6 20 ADAM5KTCP_ReadAlarmInfo 6 21 ADAM5KTCP_StartStream 6 22 ADAM5KTCP_StopStream 6 23 ADAM5KTCP_SetStreamAlarmState 6 24...

Страница 71: ...n Program 6 2 2 Programming Flow Send a command and receiving response by UDP ADAM5KTCP_Open ADAM5KTCP_SendReceiveUDPCmd ADAM5KTCP_UDPOpen ADAM5KTCP_SendReceiveUDPCmd ADAM5KTCP_UDPClose ADAM5KTCP_Clos...

Страница 72: ...our Application Program Chapter 6 Send a command and receiving response by TCP ADAM5KTCP_Open ADAM5KTCP_Connect ADAM5KTCP_SendReceive5KTCPCmd ADAM5KTCP_Disconnect ADAM5KTCP_Close ADAM 5000 TCP User s...

Страница 73: ...ata coming from ADAM 5000 TCP Series s ADAM5KTCP_Open ADAM5KTCP_Add5KTCPForStream hEvent CreateEvent AWin32 API ADAM5KTCP_StartStream hEvent N hEvent signaled Y ADAM5KTCP_ReadStreamData N quit Y ADAM5...

Страница 74: ...dd5KTCPForStream hEvent CreateEvent AWin32 API ADAM5KTCP_SetStreamAlarmState ADAM5KTCP_ReceiveStreamWhenAlarm ADAM5KTCP_StartStream hEvent N hEvent signaled Y ADAM5KTCP_ReadStreamDatat 1 ADAM5KTCP_Rea...

Страница 75: ...ad coil values ADAM5KTCP_Open ADAM5KTCP_Connect ADAM5KTCP_ReadCoil ADAM5KTCP_Disconnect ADAM5KTCP_Close To write value to coil ADAM5KTCP_Open ADAM5KTCP_Connect ADAM5KTCP_WriteCoil ADAM5KTCP_Disconnect...

Страница 76: ...value Chapter 6 ADAM5KTCP_Open ADAM5KTCP_Connect ADAM5KTCP_ReadReg ADAM5KTCP_Disconnect ADAM5KTCP_Close To write value to holding register ADAM5KTCP_Open ADAM5KTCP_Connect ADAM5KTCP_WriteReg ADAM5KTCP...

Страница 77: ...2 3 Function Descriptions ADAM5KTCP_Open Description Initiate the adam5ktcp dll for using Syntax int ADAM5KTCP_Open void Parameters void Return Pleaserefer to Chapter6 2 4 Return Codes formore detail...

Страница 78: ...Planning Your Application Program ADAM5KTCP_Close Chapter 6 Description Terminates using the adam5ktcp dll Syntax void ADAM5KTCP_Close void Parameters void Return void ADAM 5000 TCP User s Manual 6 11...

Страница 79: ...Address of the ADAM 5000 TCP that to be connected port in the TCP IP connection port used with Modbus TCP 502 default iConnectionTimeout in the specified timeout interval for connecting to the ADAM 50...

Страница 80: ...Chapter 6 Description Disconnect the Windows Sockets connection of the specified ADAM 5000 TCP Syntax void ADAM5KTCP_Disconnect void Parameter void Return Pleaserefer toChapter6 2 4 Return Codes for m...

Страница 81: ...our Application Program DAM5KTCP_GetDLLVersion Description Read the version of ADAM 5000 TCP DLL driver Syntax intADAM5KTCP_GetDLLVersion void Parameter void Return 0x150meansVersion1 50 6 14 ADAM 500...

Страница 82: ...er szIP in the IP Address of the ADAM 5000 TCP that to be connected wID in the specific device ID for an Modbus TCP device The ADAM 5000 TCP is always assigned as 1 wStartAddress in the starting addre...

Страница 83: ...zIP in the IP Address of the ADAM 5000 TCP that to be connected wID in the specific device ID for an Modbus TCP device The ADAM 5000 TCP is always assigned as 1 wStartAddress in the starting address t...

Страница 84: ...byData Parameter szIP in the IP Address of the ADAM 5000 TCP that to be connected wID in the specific device ID for an Modbus TCP device The ADAM 5000 TCP is always assigned as 1 wStartAddress in the...

Страница 85: ...ameter szIP in the IP Address of the ADAM 5000 TCP that to be connected wID in the specific device ID for an Modbus TCP device The ADAM 5000 TCP is always assigned as 1 wStartAddress in the starting a...

Страница 86: ...CP char szModbusSend char szModbusReceive Parameter szIP in the IP Address of the ADAM 5000 TCP that to be connected szSendToTCP in the ASCII format string that send to a ADAM 5000 TCP szReceiveFromTC...

Страница 87: ...ied ADAM 5000 TCP to send stream data to the PC Syntax int ADAM5KTCP_Add5KTCPForStream char szIP Parameters szIP in the IP Address of the ADAM 5000 TCP that assign to send stream data to the PC Return...

Страница 88: ...zIP struct _StreamData pStreamData Parameters szIP in to specify the IP Address for a user to receive the stream data pStreamData out the stream data stored in _StreamData structure Please refer to Ch...

Страница 89: ...Syntax intADAM5KTCP_ReadAlarmInfo struct _AlarmInfo pAlarmInfo Parameters pAlarmInfo out the alarm information stored in _AlarmInfo structure Please refer to Chapter 6 2 5 Data Structure for more det...

Страница 90: ...E EventFromApp Parameters EventFromApp the event object that would pass down to ADAM5KTCP DLL This event object would be signaled either a stream data send to PC or an alarm status change in ADAM 5000...

Страница 91: ...6 Planning Your Application Program ADAM5KTCP_StopStream Description Instruct the PC to stop receiving stream data Syntax int ADAM5KTCP_StopStream Parameters void Return void 6 24 ADAM 5000 TCP User s...

Страница 92: ...s event object when any stream data comes from an ADAM 5000 TCP Then the application can receive the stream data by calling ADAM5KTCP_ReadStreamData function When assigned to ADAM5KTCP_Receive StreamW...

Страница 93: ...ndicating which ADAM 5000 TCP cause signaling the event object 0 means the first ADAM 5000 TCP 1 means second 2 means third and so on The ordinal is implied when calling ADAM5KTCP_Add5KTCPForStream fu...

Страница 94: ...ax int ADAM5KTCP_UDPOpen int iSendTimeout int iReceiveTimeout Parameters iSendTimeout in the specified timeout interval for sending a command string to the ADAM 5000 TCP by UDP iReceiveTimeout in the...

Страница 95: ...ADAM5KTCP_UDPClose Description Closes the UDP socket that has been opened by ADAM5KTCP_UDPOpen Syntax intADAM5KTCP_UDPClose Parameters Void Return PleaserefertoChapter6 2 4 ReturnCodes formore detail...

Страница 96: ...Syntax int ADAM5KTCP_SendReceiveUDPCmd char szIP char szSend char szReceive Parameters szIP in the IP Address of the ADAM 5000 TCP that send receive the command response szSend in the string in ASCII...

Страница 97: ...NoError 0 ADAM5KTCP_StartupFailure 1 ADAM5KTCP_SocketFailure 2 ADAM5KTCP_UdpSocketFailure 3 ADAM5KTCP_SetTimeoutFailure 4 ADAM5KTCP_SendFailure 5 ADAM5KTCP_ReceiveFailure 6 ADAM5KTCP_ExceedMaxFailure...

Страница 98: ...for slot6 WORD Slot7 8 AI AO data for slot6 StreamData pStreamData struct _AlarmInfo BYTE bySlot the Slot of 5000 TCP which cause the alarm change BYTE byChannel the Channel of 5000 TCP which cause th...

Страница 99: ...ocol and guides to use these command sets to implement user s programs 6 3 1 Command Structure It is important to understand the encapsulation of a Modbus request or response carried on the Modbus TCP...

Страница 100: ...l Write data to force coil ON OFF 06 Preset Single Register Write data in 16 bit integer format 08 Loopback Diagnosis Diagnostic testing of the communication port 15 Force Multiple Coils Write multipl...

Страница 101: ...rete input s ON OFF status of ADAM 5000 TCP in a binary data format Request message format for function code 02 Command Body Station Function Start Start Requested Requested Address Code Address Addre...

Страница 102: ...or 04 Command Body Station Address Function Code Byte Count Data Data Example Analog input 1 and 2 as floating point values where AI 1 100 0andAI 2 55 32 01040842C8000047AE425D Function Code 05 Force...

Страница 103: ...reset Data High Byte Preset Data Low Byte Example Preset register 40002 to 00 04 hex in ADAM 5000 TCP 010600020004 Response message format for function code 06 The normal response is an echo of the qu...

Страница 104: ...Example Request to force a series of 10 coils starting at address 00020 14hex inADAM 5000 TCP 010F0014000A02CD01 The query data contents are two bytes CD 01 hex equal to 1100 1101 0000 0001 binary Th...

Страница 105: ...ta High Byte Low Byte High Byte Low Byte Example Presetconstant 1 address40009 to100 0inADAM 5000 TCP 0110000900020442C80000 Response message format for function code 16 The normal responses return th...

Страница 106: ...elimiter character address slot channel command data checksum carriage return Every command begins with a delimiter character There are four valid characters and The delimiter character is followed by...

Страница 107: ...h a description of the effect the command has on the given module 6 4 2 System Command Set Command Syntax Command Name Description aannccff Configuration Set the baudrate and checksum status for a spe...

Страница 108: ...enting checksum status The sixth bit represents the checksum status 1 means enabled while 0 means disabled The other bits are not used and are set to 0 cr istheterminatingcharacter carriagereturn 0Dh...

Страница 109: ...The response indicates that the command was re ceived Wait 7 seconds to let the new configuration setting take effect before issuing a new command to the system Note All configuration parameters can b...

Страница 110: ...is no response if the module detects a syntax error communication error or if the specified address does not exist delimiter character indicating a valid command was received delimiter character indi...

Страница 111: ...ponse 010600 cr The command requests the ADAM 5000 TCP sys tem at address 01h to send its configuration status The ADAM 5000 system at address 01h responds with a baud rate of 9600 bps and with no che...

Страница 112: ...as entered There is no response if the module detects a syntax error communication error or if the specified address does not exist delimiter character indicating a valid command was received delimite...

Страница 113: ...eration was entered There is no response if the module detects a syntax error communication error or if the specified address does not exist delimiter character indicating a valid command was received...

Страница 114: ...ecified address does not exist delimiter character indicating a valid command was received delimiter character indicating the command was in valid aa range 00 FF represents the 2 character hexadeci ma...

Страница 115: ...D Configuration Sets slot index input range data format and integration time for a specified RTD input module in a specified system aaSiB RTD Configuration Status Returns the configuration parameters...

Страница 116: ...nels of the specified input module aaSi6 Read Channels Status Asks a specified input module to return the status of all channels aaSi0 RTD Span Calibration Calibrates a specified RTD input module to c...

Страница 117: ...8 bit parameter is shown in Figure 6 4 The other bits are not used and are set to 0 cr is the terminating character carriage return 0Dh Response aa cr if the command is valid aa cr if an invalid opera...

Страница 118: ...n error or if the specified ad dress does not exist delimiter character indicating a valid command was received delimiter character indicating the command was in valid aa range 00 FF represents the 2...

Страница 119: ...ereturn 0Dh Response data data data cr ifthecommandisvalid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specifie...

Страница 120: ...response 80 01 20 00 40 12 cr The command requests the RTD input module in slot 3 of the ADAM 5000 TCP system at address 01h to return the input values of all channels The RTD in put module responds...

Страница 121: ...o interrogate cr istheterminatingcharacter carriagereturn 0Dh Response data cr if the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax err...

Страница 122: ...Dh Example command 01S3C0 cr response 80 01 cr The command requests the RTD input module in slot 3 of the ADAM 5000 TCP system at address 01h to return the input value of channel 0 The RTD input modul...

Страница 123: ...of the ADAM 5000 TCP system Si identifies the I O slot in which you wish to initial izeallEEPROMdata ERrepresents theinitializeEEPROMdatacommand cr istheterminatingcharacter carriagereturn 0Dh Respons...

Страница 124: ...te Bit 4 can not enable a channel in the ADAM 5013 since the module is physically limited to 3 chan nels cr is the terminating character carriage return 0Dh Response aa cr if the command is valid aa c...

Страница 125: ...mmunication error or if the specified ad dress does not exist delimiter character indicating a valid command was received delimiter character indicating the command was in valid aa range 00 FF represe...

Страница 126: ...o be calibrated 0 represents the span calibration command cr is theterminating character carriagereturn 0Dh Response aa cr if the command is valid aa cr if an invalid operation was entered There is no...

Страница 127: ...TD module to be calibrated 1 represents the zero calibration command cr is theterminating character carriagereturn 0Dh Response aa cr if the command is valid aa cr if an invalid operation was entered...

Страница 128: ...the 2 character hexa decimal Modbus network address of the ADAM 5000 TCP system which contains the module to be calibrated Si identifies the desired slot i i 0 to 7 containing the module to be calibr...

Страница 129: ...ing Your Application Program aa range 00 FF represents the 2 character hexadeci mal Modbus network address of an ADAM 5000 TCP system cr istheterminatingcharacter carriagereturn 0Dh 6 62 ADAM 5000 TCP...

Страница 130: ...value of all channels for a specified analog input module of a specified system in engineering units only aaSiCj Specified Analog Data In aaSiER Initialize EEPROM Data Returns the input value of a spe...

Страница 131: ...gure Si identifies the I O slot you want to configure A is I O module configuration command rr represents the 2 character hexadecimal code of the input range See Appendix B ff is a hexadecimal number...

Страница 132: ...eci mal address of an ADAM 5000 TCP system cr is the terminating character carriage return 0Dh Example command 01S3A0000 cr response 01 cr The analog input module in slot 3 of the ADAM 5000 TCP system...

Страница 133: ...nication error or if the specified ad dress does not exist delimiter character indicating a valid command was received delimiter character indicating the command was in valid aa range 00 FF represents...

Страница 134: ...ing character carriage return 0Dh Note Bit 7 cannot be enabled in the ADAM 5018 since the module is physically limited to 7 channels Response aa cr if the command is valid aa cr if an invalid operatio...

Страница 135: ...munication error or if the specified ad dress does not exist delimiter character indicating a valid command was received delimiter character indicating the command was in valid aa range 00 FF represen...

Страница 136: ...rriagereturn 0Dh Response data data data data data data data data cr if the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or comm...

Страница 137: ...cr The command requests the analog input module in slot 1 of the ADAM 5000 TCP system at address 01h to return the input values of all channels The analog input module responds that input values of a...

Страница 138: ...s the channel you want to read cr istheterminating character carriagereturn 0Dh Response data if the command is valid aa cr if an invalid operation was entered There is no response if the module detec...

Страница 139: ...cr response 1 4567 The command requests the analog input module in slot 2 of the ADAM 5000 TCP system at address 01h to return the input value of channel 2 The analog input module responds that the i...

Страница 140: ...ress of the ADAM 5000 TCP system Si identifies the I O slot for which you wish to initial izeallEEPROMdata ER isInitialize allEEPROMdatacommand cr istheterminating character carriagereturn 0Dh Respons...

Страница 141: ...he command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter cha...

Страница 142: ...the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter ch...

Страница 143: ...error or communication error or if the specified ad dress does not exist delimiter character indicating a valid command was received delimiter character indicating the command was in valid aa range 00...

Страница 144: ...mately 0 009 C The value can range from 0000 to FFFF cr is the terminating character carriage return 0Dh Response aa cr if the command is valid aa cr if an invalid operation was entered There is no re...

Страница 145: ...analog input module requires a maximum of 2 seconds to perform auto calibration and ranging after it receives a CJC Cali bration command During this interval the module cannot be addressed to perform...

Страница 146: ...nput module ina specifiedsystem aaSiAFFff Set Data Format Sets data format in engineering units or two s complement for a specified analog input module ina specified system aaSiB Read Data Format aaSi...

Страница 147: ...ecified channel of a specified analog input module of a specified system in currently configured data format Initializes all EEPROM data in a specified analog input module to their default values Cali...

Страница 148: ......

Страница 149: ...7H 5017UH module may be set to a differ ent range but the data formats of all channels in this module must be the same Response aa cr if the command is valid aa cr if an invalid operation was entered...

Страница 150: ...eturn 0Dh Response aarr00 cr if the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad d...

Страница 151: ...0Dh Note Each channel in an ADAM 5017H 5017UH module may be set to a differ ent range but the data formats of all channels in this module must be the same Response aa cr if the command is valid aa cr...

Страница 152: ...cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter character indicating a val...

Страница 153: ...urn 0Dh Response data data data data data data data data cr if the command is valid Engineering Unit Data For mat dddd dddd dddd dddd dddd dddd dddd dddd cr if the command is valid Two s Complement Da...

Страница 154: ...theterminatingcharacter carriagereturn 0Dh Example command 01S3 cr response 6 000 7 000 8 125 4 250 10 000 8 500 7 675 5 445 cr The command requests the ADAM 5017H 5017UH module in slot 3 of the ADAM...

Страница 155: ...nt to configure Si identifies the I O slot i 0 to 7 of ADAM 5000 TCP system you want to read Cj identifies the channel you want to read cr istheterminatingcharacter carriagereturn 0Dh Response data cr...

Страница 156: ...mat of the specified channel of the specified module If dddd it means the channel is invalid cr istheterminatingcharacter carriagereturn 0Dh Example command 01S3C2 cr response 9 750 cr The command req...

Страница 157: ...aaSiCjRhC Read Alarm Connection Connects the High Low alarm of a specified input channel to a specified digital output channel Returns the alarm limit output connection of a specified input channel aa...

Страница 158: ...Ahs is the Set Alarm Mode command h indicates alarm type and can have the value H Highalarm L Lowalarm s indicates alarm mode and can have the value M Momentary mode L Latching mode cr represents ter...

Страница 159: ...ample command 01S0C1AHL cr response 01 cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to set its High alarm in Latching mode The module confirms that the command has b...

Страница 160: ...ode command h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aas cr if the command was valid There is no response i...

Страница 161: ...ter 6 Example command 01S0C1AL cr response 01M cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to return its Low alarm mode The system responds that it is in Momentary...

Страница 162: ...s the Set Alarm Mode command h indicates alarm type and can have the value H Highalarm L Lowalarm s indicates alarm enable disable and can have the value E Enable D Disable cr represents terminating c...

Страница 163: ...ructed to enable its Low alarm function The module confirms that its Low alarm function has been enabled Note An analog input module requires a maximum of 2 seconds after it receives an Enable Disable...

Страница 164: ...red channel j j 0 to 7 Ch is the Clear Latch Alarm command h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aa cr i...

Страница 165: ...er 6 Example command 01S0C1CL cr response 01 cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to set its Low alarm state to OFF The system confirms it has done so accord...

Страница 166: ...command h indicates alarm type and can have the value H Highalarm L Lowalarm SkCn identifies the desired slot k k 0 to 7 and the desired digital output point n n 0 to F To discon nect the digital outp...

Страница 167: ...r response 01 cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to connect its Low alarm to the digital output of point 0 of slot 1 in the same ADAM 5000 TCP system The s...

Страница 168: ...rm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aaSkCn cr if the command was valid There is no response if the system detects a s...

Страница 169: ...01S0C1RLC cr response 01S1C0 cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to read its Low alarm output connection The system responds that the Low alarm output con...

Страница 170: ...AlarmLimitcommand h indicates alarm type and can have the value H Highalarm L Lowalarm data represents the desired alarm limit setting The format is always in engineering units cr represents terminati...

Страница 171: ...t type T ther mocouple input The command will set its High alarm limitto 80 C The system confirms the command has been re ceived Note An analog input module requires a maximum of 2 seconds after it re...

Страница 172: ...rmLimitcommand h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aa data cr if thecommand wasvalid There is no respo...

Страница 173: ...nel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is configured to accept 5V input The command instructs the system to return the High alarm limit value for that channel The system responds t...

Страница 174: ...nd cr represents terminating character carriage return 0Dh Response aahl cr if the command was valid There is no response if the system detects a syntax error or communication error or if the specifie...

Страница 175: ...mand 01S0C1S cr response 0101 cr The command instructs the system at address 01h to return its alarm status for channel 1 of slot 0 The system responds that a High alarm has not oc curred and that a L...

Страница 176: ...Connects the High Low alarm of a specified input channel to a specified digital output channel aaSiCjRhC Read Alarm Connection Returns the alarm limit output connection of a specified input channel aa...

Страница 177: ...Ahs is the Set Alarm Mode command h indicates alarm type and can have the value H Highalarm L Lowalarm s indicates alarm mode and can have the value M Momentary mode L Latching mode cr represents term...

Страница 178: ...ample command 01S0C1AHL cr response 01 cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to set its High alarm in Latching mode The module confirms that the command has b...

Страница 179: ...ode command h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aas cr if the command was valid There is no response i...

Страница 180: ...ogram Example command 01S0C1AL cr response 01M cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to return its Low alarm mode The system responds that it is in Momentary...

Страница 181: ...s the Set Alarm Mode command h indicates alarm type and can have the value H Highalarm L Lowalarm s indicates alarm enable disable and can have the value E Enable D Disable cr represents terminating c...

Страница 182: ...ucted to enable its Low alarm function The module confirms that its Low alarm function has been enabled Note An analog input module requires a maximum of 2 seconds after it receives an Enable Disable...

Страница 183: ......

Страница 184: ...red channel j j 0 to 7 Ch is the Clear Latch Alarm command h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aa cr i...

Страница 185: ...gram Example command 01S0C1CL cr response 01 cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to set its Low alarm state to OFF The system confirms it has done so accord...

Страница 186: ...s the Set Alarm Connection command h indicates alarm type and can have the value H Highalarm L Lowalarm SkCn identifies the desired slot k k 0 to 7 and the desired digital output point n n 0 to F To d...

Страница 187: ...mple command 01S0C1ALCS1C0 cr response 01 cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to connect its Low alarm to the digital output of point 0 of slot 1 in the sam...

Страница 188: ...m type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aaSkCn cr if the command was valid There is no response if the system detects a sy...

Страница 189: ...01S0C1RLC cr response 01S1C0 cr Channel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is instructed to read its Low alarm output connection The system responds that the Low alarm output conn...

Страница 190: ...AlarmLimitcommand h indicates alarm type and can have the value H Highalarm L Lowalarm data represents the desired alarm limit setting The format is always in engineering units cr represents terminati...

Страница 191: ...t type T ther mocouple input The command will set its High alarm limitto 80 C The system confirms the command has been re ceived Note An analog input module requires a maximum of 2 seconds after it re...

Страница 192: ...rmLimitcommand h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aa data cr if thecommand wasvalid There is no respo...

Страница 193: ...nel 1 of slot 0 in the ADAM 5000 TCP system at address 01h is configured to accept 5V input The command instructs the system to return the High alarm limit value for that channel The system responds t...

Страница 194: ...nd cr represents terminating character carriage return 0Dh Response aahl cr if the command was valid There is no response if the system detects a syntax error or communication error or if the specifie...

Страница 195: ...mand 01S0C1S cr response 0101 cr The command instructs the system at address 01h to return its alarm status for channel 1 of slot 0 The system responds that a High alarm has not oc curred and that a L...

Страница 196: ...specified ADAM 5000 system for output as an analog signal Stores a default output value in a aaSiCj4 Current Voltage Configuration specified channel The output value will take effect upon startup or r...

Страница 197: ...to 7 and the channel j j 0 to 3 of the module you want to configure A is I O module configuration command rr represents the 2 character hexadecimal code of the output range See Appendix B ff is a hexa...

Страница 198: ...address of an ADAM 5000 TCP system cr is the terminating character carriage return 0Dh Example command 01S3C0A3110 cr response 01 cr The analog output channel 0 in slot 3 of the ADAM 5000 TCP system a...

Страница 199: ...error or if the specified ad dress does not exist delimiter character indicating a valid command was received delimiter character indicating the command was in valid aa range 00 FF represents the 2 ch...

Страница 200: ...of the analog output module that is to output an analog signal data is a digital value incoming to the module which corresponds to the desired analog output value al ways in engineering units to be o...

Страница 201: ...nd 01S1C106 000 cr response cr The command instructs the module in slot 1 of the ADAM 5000 TCP system at address 01h to output a valueof6mAfromit schannel1 The moduleshould be an analog output module...

Страница 202: ...is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter character indi...

Страница 203: ...e command has been re ceived Note An analog output module requires a maximum of 6 milliseconds after it receives a Startup Output Current Voltage Configuration command to let the settings take effect...

Страница 204: ...the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter ch...

Страница 205: ...the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter c...

Страница 206: ...se or decrease the output current Each count equals approximately 1 5 A Values range from 00 to 5F and from A1 to FF hexadecimal where 00 represents 0 counts 5F represents 95 counts A1 represents 95 c...

Страница 207: ...g output module in slot 1 of the ADAM 5000 TCP system at address 01h to increase its output value by 20 14h counts which is approximately 30 A The analog output module confirms the increase Note In or...

Страница 208: ...the last value read back command cr istheterminating character carriagereturn 0Dh Response aa data cr if thecommand isvalid aa cr if an invalid operation was entered There is no response if the module...

Страница 209: ...channel 1 of the analog output module in slot 2 of the ADAM 5000 TCP system at address 01h to return the last output value it received from an Analog Data Out command or its start up output current v...

Страница 210: ...ll digital output channels aaSi6 Name Digital Data In Description This command requests that the specified module in an ADAM 5000 TCP system at address aa return the status of its digital input channe...

Страница 211: ...t ing the input values of the digital input module dataoutput a2 character hexadecimalvaluewhich is the read back of a digital output channel or relay cr istheterminatingcharacter carriagereturn 0Dh E...

Страница 212: ...or allwillbe set Writing to all channels write a byte both charac ters should be equal to zero BB 00 Writing to a single channel write abit first charac ter is 1 second character indicates channel num...

Страница 213: ...ion error or if the specified ad dress does not exist delimiter character indicatingavalidcommandwas received delimiter character indicating the command was invalid aa range 00 FF represents the 2 cha...

Страница 214: ...5060 in slot 0 of the ADAM 5000 TCP system at address 01h Chan nels 0 1 3 4 and 5 will be set to ON while channel 2 is set to OFF Bits 6 and 7 are not used and always default to 0 Note If any channel...

Страница 215: ...s a syntax error or communication error or if the specified ad dress does not exist delimiter character indicating a valid command was received delimiter character indicating the command was in valid...

Страница 216: ...status of all of its channels The first 2 character portion of the response indicates the address of the ADAM 5000 TCP system The second 2 characters portion of the response value 13h 00010011 indicat...

Страница 217: ...d is valid AA cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified address does not exist delimiter character ind...

Страница 218: ......

Страница 219: ...i Read All Channel Counter Frequency Data Returns the input value of all channels for the specified input module for a specified system in engineering unit only aaSiCj Read One Channel Counter Frequen...

Страница 220: ...larm mode for the specified channel Status Returns the alarm status to normal Connects the High Low alarm of the aaSiCjAhCSkCn Set Alarm Connection aaSiCjRhC Read Alarm Connection aaSiCjAhU data Set A...

Страница 221: ...valid operation was entered There is no response if the module detects a syntax error communication error or if the specified address does not exist delimiter character indicating a valid command was...

Страница 222: ...ation was entered There is no response if the module detects a syntax error communication error or if the specified address does not exist delimiter character indicating a valid command was received d...

Страница 223: ...t is ff 00 represents the engineer format ff 02 represents the hexadecimal format Response aa cr if the command is valid aa cr if an invalid operation was entered There is no response if the module de...

Страница 224: ...munication error or if the specified ad dress does not exist delimiter character indicating a valid command is received delimiter character indicating the command is in valid aa range 00 FF represents...

Страница 225: ...turn 0Dh Response data data data data cr ifthecommandisvalid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specif...

Страница 226: ...915 cr The command requests the module in slot 2 of the ADAM 5000 TCP system at address 01h to return the input values of all channels The module response that input values if all chan nels are hexade...

Страница 227: ...odule in slot 2 of the ADAM 5000 TCP system at address 01h to return the input values of all channels The module response that input values if all chan nels are hexadecimal 0000F100 00020000 00031000...

Страница 228: ...acter carriagereturn 0Dh Response data if thecommand isvalid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specif...

Страница 229: ...2 cr response 0000000451 cr The command requests the ADAM 5080 module in slot 3 of the ADAM 5000 TCP system at address 01h to return the input value of channel 2 The counter module responds that the i...

Страница 230: ...minating character carriage return 0Dh Response aa cr if the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error...

Страница 231: ...d operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exists delimiter character indicating a valid command was...

Страница 232: ...op s represents start stop command s 0 indicate stop counter s 1 indicate start counter cr istheterminatingcharacter carriagereturn 0Dh Response aa cr if the command is valid aa cr if an invalid opera...

Страница 233: ...ing Your Application Program Example command 01S3C251 cr response 01 cr The command requests channel 2 of ADAM 5080 in slot 3 in ADAM 5000 TCP system at address 01h to start counter 6 162 ADAM 5000 TC...

Страница 234: ...Stop cr istheterminating character carriagereturn 0Dh Response aas cr if the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or co...

Страница 235: ...gram Example command 01S3C25 cr response 011 cr The channel 2 of ADAM 5080 in slot 3 in ADAM 5000 TCP system at address 01h is instructed to re turn its counter status The counter status is in start s...

Страница 236: ...he command for clearing counter cr is the terminating character carriagereturn 0Dh Response aa cr if the command is valid aa cr if an invalid operation was entered There is no response if the module d...

Страница 237: ...Your Application Program Example command 01S3C26 cr response 01 cr The command requests the channel 2 of ADAM 5080 in slot3 in ADAM 5000 TCP systemat address 01h to clear counter value 6 166 ADAM 5000...

Страница 238: ...if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter character indicating a valid...

Страница 239: ...mple command 01S37 cr response 0100000001 cr The command requests the ADAM 5080 of slot 3 in ADAM 5000 TCP system at address 01h to return the overflow value The overflow value in channel 3 is 01 The...

Страница 240: ...rminating character carriage return 0Dh Response aa cr if the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication erro...

Страница 241: ...ation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter character indicating a valid command was receiv...

Страница 242: ...command h indicates alarm type and can have the value H Highalarm L Lowalarm s indicates alarm enable disable and can have the value D Disable E Enable cr represents terminating character carriage re...

Страница 243: ...mmand 01S0C1ALED cr response 01 cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is instructed to disable its Low alarm function The module confirms that its Low alarm functi...

Страница 244: ...alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aap cr if the command was valid There is no response if the system detects a...

Страница 245: ...ogram Example command 01S0C1AL cr response 01L cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is instructed to return its Low alarm mode The system responds that it is latc...

Страница 246: ...e command h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aa cr if the command was valid There is no response if t...

Страница 247: ...Example command 01S0C1CL cr response 01 cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 system at address 01h is instructed to set its Low alarm state to normal The system confirms it has done so ac...

Страница 248: ...etting Alarm Connection command h indicates alarm type and can have the value H Highalarm L Lowalarm SkCn identifies the desired slot k and the desired digital output point n n 0 to F To disconnect th...

Страница 249: ...command 01S0C1ALCS1C0 cr response 01 cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is instructed to connect its Low alarm to the digital output of point 0 of slot 1 in the...

Страница 250: ...pe and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aaSkCn cr if the command was valid There is no response if the system detects a syntax...

Страница 251: ...C1RLC cr response 01S C1 cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is instructed to read its Low alarm output connection The system responds that the Low alarm output...

Страница 252: ...rmLimitcommand h indicates alarm type and can have the value H Highalarm L Lowalarm data represents the desired alarm limit setting The value is from 0 to 4294967295 Be aware that data has 10 characte...

Страница 253: ...s terminating character carriage return 0Dh Example command 01S C1AHU0000000020 cr response 01 cr The channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is configured to set High...

Страница 254: ...command h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aa data cr if thecommand wasvalid There is no response if...

Страница 255: ...acter carriage return 0Dh Example command 01S C1RHU cr response 010000000026 cr The channel 1 of slot 0 of ADAM 5080 in the ADAM 5000 TCP system at address 01h is config ured to return the High alarm...

Страница 256: ...inating character carriage return 0Dh Response aahl cr if the command was valid There is no response if the system detects a syntax error or communication error or if the specified ad dress does not e...

Страница 257: ...m Example command 01S C1S response 0111 cr The channel 1 of slot 0 of ADAM 5080 in the ADAM 5000 TCP system at address 01h is config ured to read alarm status The High alarm has occurred and low alarm...

Страница 258: ...Chapter 6 6 4 6 WatchDog Timer Command Set AAXdddd Description Set WDT timeout value Syntax AAXdddd cr dddd is the WDT timeout value in engineering units seconds Response Success AA cr Fail AA cr Exa...

Страница 259: ...units seconds Response Success AA cr Fail AA cr Example Command 01XR Response 011234 AAXEWmm Description Set WDT timeout slot enable mask Syntax AAXEWmm cr mm indicates a 2 character hexadecimal value...

Страница 260: ...meout slot enable mask of the ADAM 5000 Response Success AAmm cr Fail AA cr Example Command 01XER Response 01FF AAXSiDmmmm Description Set WDT timeout channel enable mask Syntax AAXSiDmmmm cr mmmm ind...

Страница 261: ...d All Channel Counter Frequency Data Returns the input value of all channels for the specified input module for a specified system in engineering unit only aaSiCj Read One Channel Counter Frequency Da...

Страница 262: ...larm mode for the specified channel Status Returns the alarm status to normal Connects the High Low alarm of the aaSiCjAhCSkCn Set Alarm Connection aaSiCjRhC Read Alarm Connection aaSiCjAhU data Set A...

Страница 263: ...valid operation was entered There is no response if the module detects a syntax error communication error or if the specified address does not exist delimiter character indicating a valid command was...

Страница 264: ...ation was entered There is no response if the module detects a syntax error communication error or if the specified address does not exist delimiter character indicating a valid command was received d...

Страница 265: ...t is ff 00 represents the engineer format ff 02 represents the hexadecimal format Response aa cr if the command is valid aa cr if an invalid operation was entered There is no response if the module de...

Страница 266: ...munication error or if the specified ad dress does not exist delimiter character indicating a valid command is received delimiter character indicating the command is in valid aa range 00 FF represents...

Страница 267: ...turn 0Dh Response data data data data cr ifthecommandisvalid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specif...

Страница 268: ...915 cr The command requests the module in slot 2 of the ADAM 5000 TCP system at address 01h to return the input values of all channels The module response that input values if all chan nels are hexade...

Страница 269: ...odule in slot 2 of the ADAM 5000 TCP system at address 01h to return the input values of all channels The module response that input values if all chan nels are hexadecimal 0000F100 00020000 00031000...

Страница 270: ...acter carriagereturn 0Dh Response data if thecommand isvalid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specif...

Страница 271: ...2 cr response 0000000451 cr The command requests the ADAM 5080 module in slot 3 of the ADAM 5000 TCP system at address 01h to return the input value of channel 2 The counter module responds that the i...

Страница 272: ...minating character carriage return 0Dh Response aa cr if the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error...

Страница 273: ...d operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exists delimiter character indicating a valid command was...

Страница 274: ...op s represents start stop command s 0 indicate stop counter s 1 indicate start counter cr istheterminatingcharacter carriagereturn 0Dh Response aa cr if the command is valid aa cr if an invalid opera...

Страница 275: ...ing Your Application Program Example command 01S3C251 cr response 01 cr The command requests channel 2 of ADAM 5080 in slot 3 in ADAM 5000 TCP system at address 01h to start counter 6 162 ADAM 5000 TC...

Страница 276: ...Stop cr istheterminating character carriagereturn 0Dh Response aas cr if the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or co...

Страница 277: ...gram Example command 01S3C25 cr response 011 cr The channel 2 of ADAM 5080 in slot 3 in ADAM 5000 TCP system at address 01h is instructed to re turn its counter status The counter status is in start s...

Страница 278: ...he command for clearing counter cr is the terminating character carriagereturn 0Dh Response aa cr if the command is valid aa cr if an invalid operation was entered There is no response if the module d...

Страница 279: ...Your Application Program Example command 01S3C26 cr response 01 cr The command requests the channel 2 of ADAM 5080 in slot3 in ADAM 5000 TCP systemat address 01h to clear counter value 6 166 ADAM 5000...

Страница 280: ...if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter character indicating a valid...

Страница 281: ...mple command 01S37 cr response 0100000001 cr The command requests the ADAM 5080 of slot 3 in ADAM 5000 TCP system at address 01h to return the overflow value The overflow value in channel 3 is 01 The...

Страница 282: ...rminating character carriage return 0Dh Response aa cr if the command is valid aa cr if an invalid operation was entered There is no response if the module detects a syntax error or communication erro...

Страница 283: ...ation was entered There is no response if the module detects a syntax error or communication error or if the specified ad dress does not exist delimiter character indicating a valid command was receiv...

Страница 284: ...command h indicates alarm type and can have the value H Highalarm L Lowalarm s indicates alarm enable disable and can have the value D Disable E Enable cr represents terminating character carriage re...

Страница 285: ...mmand 01S0C1ALED cr response 01 cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is instructed to disable its Low alarm function The module confirms that its Low alarm functi...

Страница 286: ...alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aap cr if the command was valid There is no response if the system detects a...

Страница 287: ...ogram Example command 01S0C1AL cr response 01L cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is instructed to return its Low alarm mode The system responds that it is latc...

Страница 288: ...e command h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aa cr if the command was valid There is no response if t...

Страница 289: ...Example command 01S0C1CL cr response 01 cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 system at address 01h is instructed to set its Low alarm state to normal The system confirms it has done so ac...

Страница 290: ...etting Alarm Connection command h indicates alarm type and can have the value H Highalarm L Lowalarm SkCn identifies the desired slot k and the desired digital output point n n 0 to F To disconnect th...

Страница 291: ...command 01S0C1ALCS1C0 cr response 01 cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is instructed to connect its Low alarm to the digital output of point 0 of slot 1 in the...

Страница 292: ...pe and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aaSkCn cr if the command was valid There is no response if the system detects a syntax...

Страница 293: ...C1RLC cr response 01S C1 cr Channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is instructed to read its Low alarm output connection The system responds that the Low alarm output...

Страница 294: ...rmLimitcommand h indicates alarm type and can have the value H Highalarm L Lowalarm data represents the desired alarm limit setting The value is from 0 to 4294967295 Be aware that data has 10 characte...

Страница 295: ...s terminating character carriage return 0Dh Example command 01S C1AHU0000000020 cr response 01 cr The channel 1 of slot 0 of ADAM 5080 in ADAM 5000 TCP system at address 01h is configured to set High...

Страница 296: ...command h indicates alarm type and can have the value H Highalarm L Lowalarm cr represents terminating character carriage return 0Dh Response aa data cr if thecommand wasvalid There is no response if...

Страница 297: ...acter carriage return 0Dh Example command 01S C1RHU cr response 010000000026 cr The channel 1 of slot 0 of ADAM 5080 in the ADAM 5000 TCP system at address 01h is config ured to return the High alarm...

Страница 298: ...inating character carriage return 0Dh Response aahl cr if the command was valid There is no response if the system detects a syntax error or communication error or if the specified ad dress does not e...

Страница 299: ...m Example command 01S C1S response 0111 cr The channel 1 of slot 0 of ADAM 5080 in the ADAM 5000 TCP system at address 01h is config ured to read alarm status The High alarm has occurred and low alarm...

Страница 300: ...Appendix A Design Worksheets...

Страница 301: ...m relational document Step 1 Asking questions and getting answers for your control strat egy 1 What will be monitored and controlled List the equipment 2 What will be monitored and controlled separate...

Страница 302: ...rksheets Appendix A Function Area Equipment Input or Output I O Module I O Module Voltage of Current of Special Type Product No Range Range Requirements Table A 1 I O Data Base ADAM 5000 TCP User s Ma...

Страница 303: ...f I O points available per module 4 In column D total the number of the I O point you need 5 In column E calculate the total number of these modules that you will need for these ADAM 5000 TCP systems...

Страница 304: ...B C D E F G ADAM 5000 TCP I O Module I O Points Total I O I O Module Spare I O Total I O IP Address Product No per Module Points Required Required Modules Modules Table A 2 Summary Required Modules A...

Страница 305: ...tep 4 Implement the Modbus address in to the I O table ADAM 5000 TCP I O Module Channel Equipment IP Address Slot No I O Type Number I O Address Tag Name Description Table A 3 Table for Programming A...

Страница 306: ...sheets Appendix A These several worksheets are very useful to hardware wiring and software integration please make copies to establish your own system configuration documentation ADAM 5000 TCP User s...

Страница 307: ...Appendix A Design Worksheets A 8 ADAM 5000 TCP User s Manual...

Страница 308: ...Appendix B Data Formats and I O Ranges...

Страница 309: ...ecause the total data string length including sign digits and decimal point does not exceed seven charac ters The data format is a plus or minus sign followed by five decimal digits and a decimal poin...

Страница 310: ...figured for a Type J thermocouple whose range is 0 C to 760 C The response to the Analog Data In command is 305 50 cr Example 3 The input value is 5 653 V The analog input module is configured for a r...

Страница 311: ...0000 8000 1 LSB Reading 1000 Engineering Units 1 0000 0 0000 1 0000 100 00 V of FSR 100 00 000 00 100 00 0 01 0Ah 1 V Two s Complement 7FFF 0000 8000 1 LSB Reading 10000 Engineering Units 500 00 000...

Страница 312: ...SR 100 00 000 00 100 00 0 01 02h 100 mV Two s Complement 7FFF 0000 8000 1 LSB Reading 100 Engineering Units 500 00 000 00 500 00 10 V of FSR 100 00 000 00 100 00 0 01 03h 500 mV Two s Complement 7FFF...

Страница 313: ...00 0 01 10h Type T Thermocouple 100 C to 400 C Two s Complement 7FFF E000 1 LSB Reading 10 Engineering Units 1000 00 0000 0 0 1 C of FSR 100 00 000 00 0 01 11h Type E Thermocouple 0 C to 1000 C Two s...

Страница 314: ...0 01 10h Type T Thermocouple 100 C to 400 C Two s Complement 7FFF E000 1 LSB Reading 10 Engineering Units 1000 00 0000 0 0 1 C of FSR 100 00 000 00 0 01 11h Type E Thermocouple 0 C to 1000 C Two s Com...

Страница 315: ...8000 1 LSB Reading 100 Engineering Units 500 00 000 00 500 00 10 V of FSR 100 00 000 00 100 00 0 01 03h 500 mV Two s Complement 7FFF 0000 8000 1 LSB Reading 10 Engineering Units 1 0000 0 0000 1 0000...

Страница 316: ...hermocouple 100 C to 400 C Two s Complement 7FFF E000 1 LSB Reading 10 Engineering Units 1000 00 0000 0 0 1 C of FSR 100 00 000 00 0 01 11h Type E Thermocouple 0 C to 1000 C Two s Complement 7FFF 0000...

Страница 317: ...FF 0 EFFF 1 05h 0 2 5 V Engineering 2 75 0 Don t care 0 67 mV Two s Comp 0FFF 0 Don t care 1 06h 1 V Engineering 1 375 0 1 375 0 34 mV Two s Comp 0FFF 0 EFFF 1 07h 0 1 V Engineering 1 375 0 Don t care...

Страница 318: ...0 10 000 1 mV Two s Comp 0FFF 0 7FFF 1 48h 0 10 V Engineering 10 000 00 000 1 mV Two s Comp 0FFF 0 Don t care 1 46h 0 20mA Engineering 20 000 00 000 1 V Two s Comp 0FFF 0 Don t care 1 07h 4 20mA Engin...

Страница 319: ...gits The resolution is 5 A Example An analog output module on channel 1 of slot 0 in an ADAM 5000 system at address 01h is configured for a 0 to 20 mA range If the output value is 4 762 mA the format...

Страница 320: ...0 00385 100 Ohms Platinum 23 RTD 0 to 600 C a 0 00385 100 Ohms Platinum 24 RTD 100 to 100 C a 0 00392 100 Ohms Platinum 25 RTD 0 to 100 C a 0 00392 100 Ohms Platinum 26 RTD 0 to 200 C a 0 00392 Engin...

Страница 321: ...evious page 100 Ohms Platinum 27 RTD 0 to 600 C a 0 00392 Engineering Units 600 00 000 00 0 6 C 120 Ohms Nickel RTD 28 80 to 100 C Engineering Units 100 00 80 00 0 1 C 29 120 Ohms Nickel RTD 0 to 100...

Страница 322: ...20 20 0 65535 U16B mV 500 500 0 4095 U12B mV 0 500 0 4095 U12B V 10 10 0 4095 U12B V 0 10 0 4095 U12B V 5 5 0 4095 U12B V 0 5 0 4095 U12B V 2 5 2 5 0 4095 U12B V 0 2 5 0 4095 U12B V 1 1 0 4095 U12B V...

Страница 323: ...Appendix B Data Formats and I O Ranges B 13 ADAM 5000 TCP User s Manual...

Страница 324: ...Appendix C Grounding Reference...

Страница 325: ...of the work So is it with system integration we pay 20 for Wire Cable and 0 for Equipment However 80 of reliability depends on Grounding and Shielding In other words we need to invest more in that 20...

Страница 326: ...know the EARTH cannot be conductivC However all buildings lie on or in the EARTH Steel concrete and associated cables such as lighting arresters and power system were connected to EARTH Think ofthemas...

Страница 327: ...er this signal offers a reference point of the electronic circuit inside the computer If we want to communicate with this computer both Signal Ground and Frame Ground should be con nected to make a re...

Страница 328: ...oncrete floor How about the voltage between neutral and a concrete floor You will get nonsense values Hot and Neutral are just rela tional signals you will get 110VAC or 220VAC by measuring these sig...

Страница 329: ...nce Figure C 4 Normal mode and Common modC Ground pin is longer than others for first contact to power system and noise bypass Neutral pin is broader than LivC pin for reducing contact impedancC C 6 A...

Страница 330: ...power station steps down the voltagC What is the purpose of high voltage transmis sion wires According to the energy formula P V I the current is reduced when the voltage is raised As you know each ca...

Страница 331: ...Appendix C Grounding Reference Figure C 6 wire impedancC C 8 ADAM 5000 TCP User s Manual...

Страница 332: ...an unpleasant experience while taking a hot shower in Winter Someone turns on a hot water faucet somewhere else You will be impressed with the cold water The bottom diagram above shows an example of h...

Страница 333: ...M 4017 ADAM 4021 24 V Power Supply More cable but more stable system Figure C 8 Single point grounding 2 The above diagram shows you that a single point grounding system will be a more stable system I...

Страница 334: ...lated cable Single isolated cable The diagram shows the structure of an isolated cablC You see the iso lated layer which is spiraled Aluminum foil to cover the wires This spi raled structure makes a l...

Страница 335: ...ditionally follow these tips just for your referencC The shield of a cable cannot be used for signal ground The shield is designed for carrying noise so the environment noise will couple and interfere...

Страница 336: ...much of the plastic cable cover This is improper and can destroy the characteristics of the Shielded Twisted Pair cablC Besides the bare wire shield easily conducts the noisC Cascade these shields tog...

Страница 337: ...teristic of the cable The characteristic of the cable Don t strip off too much insulation for soldering This could change the effectiveness of the Shielded Twisted Pair cable and open a path to in tro...

Страница 338: ...you might get in a hurry to achieve your goal As in all electronic circuits a signal will use the path of least resistancC If we make a poor connection between these two cables we will make a poor pa...

Страница 339: ...dix C Grounding Reference Figure C 14 System Shielding 2 Shield connection 2 The previous diagram shows you that the fill soldering just makes an easier way for the signal C 16 ADAM 5000 TCP User s Ma...

Страница 340: ...ile the reference grounds are not the same Check for stability in communication lines Add another Grounding Bar if necessary The diameter of power cable must be over 2 0 mm2 Independent grounding is n...

Страница 341: ...ingle point grounding rule Normal mode and common mode voltage Separate the DC and AC ground Reject the noise factor The shield is connected correctly Wire size is correct Soldered connections are goo...

Отзывы: