Inlog EDAM-4200 Series Скачать руководство пользователя страница 17

EDAM-4200 Series User’s manual                               Version 1.03   

2.3

 

EDAM-4251A 

2.3.1

 

Block diagram 

 

 

2.3.2 

Wire connection

 

Counter Input

 

 

Wet Contact

 

 

 

Open collector output

 

 

 

 

 

 

Printed Date: 27 February 2018 

17 

Содержание EDAM-4200 Series

Страница 1: ...AM 4200 Digital I O series Data Acquisition Modules User s Manual Web site www inlog com tw Trademark The names used in this manual for identification only maybe registered trademarks of their respect...

Страница 2: ...f EDAM 4200 12 1 7 Software Support 12 1 8 Package Information 12 1 9 Product Warranty 1 years 12 1 10 Dimensions 13 1 11 Summary of DIO modules 14 Chapter 2 Block diagram of DIO modules 15 2 1 EDAM 4...

Страница 3: ...iring 27 4 3 EDAM 4251A 10 DI 4 DO and 2 Counter chs DIO Module 28 4 3 1 Specification 28 4 3 2 Application Wiring 28 4 4 EDAM 4254 5 differential DI and 8 DO channels Digital I O Module 29 4 4 1 Spec...

Страница 4: ...l Basic 51 6 4 Building TCPDAQ Applications with Delphi 53 6 5 Building TCPDAQ Applications with Visual C 55 6 6 Building TCPDAQ Applications with Borland C Builder 58 6 7 Properties of TCPDAQ ActiveX...

Страница 5: ...5 28 TCP_ReadEventData 73 7 5 29 TCP_ReadDIOMode 74 7 5 30 TCP_ReadDIO 74 7 5 31 TCP_ReadDISignalWidth 74 7 5 32 TCP_WriteDISignalWidth 75 7 5 33 TCP_ReadDICounter 75 7 5 34 TCP_ClearDICounter 76 7 5...

Страница 6: ...h DHCP 97 8 4 13 AAD Read timout to search DHCP 98 8 4 14 AAMAC Read MAC address 99 8 4 15 AACONNDD Set a single DO channel mode 100 8 4 16 AACONN Read a single DO channel mode 101 8 4 17 AACINNDD Set...

Страница 7: ...counter value and overflow flag 134 8 4 49 Send Host OK to all modules via broadcast 135 8 4 50 AA Send Host OK to the specific module 136 8 4 51 AA0 Read watchdog timeout status 137 8 4 52 AA1 Reset...

Страница 8: ...us 164 12 5 Input counter and Input latch 164 12 6 Power on Safe value 164 12 7 DIO Synchronization Mirror Local DI to Local Remote DO 165 12 7 1 The DIO Synchronization is divided into two modes 165...

Страница 9: ...isy chain network suffers power outage it will cause the disconnection of all devices downstream to prevent this critical issue from happening inLog especially refined the hardware design of EDAM 4200...

Страница 10: ...mismatch or mismatch to match DI mask pattern the Local Remote device corresponding DO will be set to active state 1 or 0 dependent on the DO setting For more detailed information refer to Appendix 1...

Страница 11: ...ed on or watch dog timeout reset This function is especially importance in some application where the specific initial output states are required User can set power on value by sending Set power on sa...

Страница 12: ...configure this DA C system via Windows Utility integrate with HMI software package via Modbus TCP driver or Modbus TCP OPC Server Even more you can use the DLL driver and ActiveX to develop your own...

Страница 13: ...EDAM 4200 Series User s manual Version 1 03 1 10 Dimensions The following diagrams show the dimensions of the EDAM 4200 l O module in millimeters EDAM 4200 series Printed Date 27 February 2018 13...

Страница 14: ...differential counter input 4251A 10 Isolated single ended with Wet Contact common source 4 Isolation with Open collector NPN 17 2 Iso with differential counter input 4254 5 differential digital input...

Страница 15: ...on 1 03 Chapter 2 Block diagram of DIO modules 2 1 EDAM 4250 2 1 1 Block diagram 2 1 2 Wire connection Dry Contact Wet Contact Note To use wet contact the DI GND pin must be opened Open collector outp...

Страница 16: ...EDAM 4200 Series User s manual Version 1 03 2 2 EDAM 4251 2 2 1 Block diagram 2 2 2 Wire connection Dry Contact Counter Input Open collector output Printed Date 27 February 2018 16...

Страница 17: ...EDAM 4200 Series User s manual Version 1 03 2 3 EDAM 4251A 2 3 1 Block diagram 2 3 2 Wire connection Counter Input Wet Contact Open collector output Printed Date 27 February 2018 17...

Страница 18: ...EDAM 4200 Series User s manual Version 1 03 2 4 EDAM 4254 2 4 1 Block diagram 2 4 2 Wire connection Wet Contact Digital output Printed Date 27 February 2018 18...

Страница 19: ...User s manual Version 1 03 2 5 EDAM 4255 2 5 1 Block diagram 2 5 2 Wire connection Dry Contact Wet Contact Note To use wet contact the DI GND pin must be opened Open collector output Printed Date 27...

Страница 20: ...ries User s manual Version 1 03 2 6 EDAM 4260 2 6 1 Block diagram 2 6 2 Wire connection Dry Contact Wet Contact Note To use wet contact the DI GND pin must be opened Relay output Printed Date 27 Febru...

Страница 21: ...EDAM 4200 Series User s manual Version 1 03 2 7 EDAM 4264 2 7 1 Block diagram 2 7 2 Wire connection Wet Contact Relay output Printed Date 27 February 2018 21...

Страница 22: ...er supply for EDAM 4200 10 to 30 V unregulated 3 1 Wiring and Connections This section provides basic information on wiring the power supply I O units and network connection 3 2 Power supply wiring Al...

Страница 23: ...dule will be rebooted 3 6 I O modules wiring The system uses a plug in screw terminal block for the interface between I O modules and field devices The following information must be considered when co...

Страница 24: ...on this limitation the maximum total connection length in daisy chain wiring should also be 100m as if auto bypass protection active For example the distance from first to second module is 50m so as...

Страница 25: ...word etc If the INIT switch set to INIT ON mode when power ON Under this state the default configuration is set as following IP Address 10 0 0 1 Subnet Mask 255 255 255 0 Gateway 10 0 0 1 Password 000...

Страница 26: ...ource ground Channel 10 channels DI0 DI9 Input Level Logic level status can be inversed via ASCII Modbus command Dry Contact Single ended with common source Logic level 0 active Close to GND Logic lev...

Страница 27: ...atus can be inversed via ASCII Modbus command Dry contact Single ended with common ground Logic level 0 active Close to GND Logic level 1 inactive Open Counter 300Hz software counter 32 bit 1 bit over...

Страница 28: ...ed via ASCII Modbus command Wet Contact Single ended digital input with common source ground Logic level 0 active 5V to 30VDC max Logic level 1 inactive 2 Vdc max Impedance 2K ohm Counter 300Hz softwa...

Страница 29: ...igital output and DIO Synchronization function 4 4 1 Specification Digital input Isolated differential digital inputs Channel 5 DI0 DI4 isolated differential input channels sink source Input Level Log...

Страница 30: ...el Logic level status can be inversed via ASCII Modbus command Dry Contact Single ended with common Ground Logic level 0 active Close to DI GND Logic level 1 inactive Open Wet Contact To use Wet Conta...

Страница 31: ...7 channels DI0 DI6 Input Level Logic level status can be inversed via ASCII Modbus command Dry Contact Single ended with common Ground Logic level 0 active Close to DI GND Logic level 1 inactive Open...

Страница 32: ...tion 4 8 1 Specification Digital input Isolated differential digital inputs sink source Channel 4 DI0 DI3 isolated differential input channels sink source Input Level Logic level status can be inverse...

Страница 33: ...s Ethernet Hub at least 2 ports Two Ethernet Cable with RJ 45 connector Power supply for EDAM 4200 10 to 30 V unregulated for 94xx option Make sure to prepare all of the items above then connect the p...

Страница 34: ...etting I O Module Configuration Alarm Setting I O Module Calibration Security Setting Terminal emulation Data Event Stream 5 4 Main Menu Double Click the icon of EDAM Ethernet I O Utility shortcut the...

Страница 35: ...s 5 4 2 Tool Bar There are five push buttons in the tool bar Exit Exit utility program Terminal Terminal Call up the operation screen of Terminal emulation to do the request response command execution...

Страница 36: ...Each EDAM 4200 has same default IP address 10 0 0 1 Therefore please do not initial many EDAM 4200 at the same time to avoid the Ethernet collision If you want to configure the EDAM 4200 in the host...

Страница 37: ...default 00000000 Allow you to change the password of the module 5 5 2 TCP IP port EDAM 4200 series use four ports to communication with Host as shown below table 5 5 3 Stream Alarm for DI latch Mode...

Страница 38: ...m in the Window Utility Be sure the specific IP is existed and available Be sure to complete the network linkage for both sides Be sure to adjust the best timing of timeout setting Even you are not su...

Страница 39: ...this emulating function Users can choose ASCII or ModBus Hexadecimal mode as their communication base If the ASCII mode has been selected the Windows Utility will translate the request and response s...

Страница 40: ...upports UDP communication protocol to regularly broadcast data to specific host PCs Click the tab of Data Stream then configure the broadcasting interval and the specific IP addresses which need to re...

Страница 41: ...tab Event Monitor in the function bar or click icon to call up operation display as Figure Event display Select the IP address of the EDAM 4200 you want to read DI data then click Start button The Ut...

Страница 42: ...Channel Indicate the channel number of digital I O module 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 channel of I O Module T...

Страница 43: ...ital Input Settings Tab The digital input channels support counter and signal latch functions Click the specific channel there will be five working modes for choosing Figure 5 11 Direct input mode Fig...

Страница 44: ...3 Input latch mode Note 1 The new working mode setting will take effective after click the Update button 2 If necessary users could invert the original single for flexible operation needs 3 Supported...

Страница 45: ...tput Settings Tab The digital output channels support pulse output and delay output functions Click the specific channel there will be four working modes for choosing Figure 5 14 Direct output mode Fi...

Страница 46: ...EDAM 4200 Series User s manual Version 1 03 Figure 5 16 Low to High Delay mode Figure 5 17 High to Low Delay mode Printed Date 27 February 2018 46...

Страница 47: ...EDAM 4200 Series User s manual Version 1 03 Figure 5 18 Auto DIO SYNC mode Figure 5 19 Auto Off Time L H L Mode Printed Date 27 February 2018 47...

Страница 48: ...EDAM 4200 Series User s manual Version 1 03 Figure 5 20 Auto Off Time H L H Mode Printed Date 27 February 2018 48...

Страница 49: ...stalling the necessary software to use the TCPDAQ OCX in your application involves two main steps Installing the TCPDAQ ActiveX Control Use the Inlog EDAM 4200 utility to configure the modules that is...

Страница 50: ...hi 6 Update Pack fixes for ActiveX installed Borland C Builder version 5 0 This chapter assumes that you are familiar with the basic concepts of using Visual Basic Delphi Borland C Builder and Visual...

Страница 51: ...EDAM 4200 Series User s manual Version 1 03 6 3 Building TCPDAQ Applications with Visual Basic Start Visual Basic Printed Date 27 February 2018 51...

Страница 52: ...n button A new project is created Click on Components from the Project menu The Components dialog box is loaded as shown below Place a TCPDAQ control from the Toolbox on the form Use the default name...

Страница 53: ...rol from the Component menu The Import ActiveX dialog box loads Select the TCPDAQ ActiveX Control Module and press the Install button A dialog box is displayed as follows The TCPDAQ control is loaded...

Страница 54: ...tch to the form and select the ActiveX tab from the Component Palette Place a TCPDAQ control from the Component Palette on the form Use the default names TCPDAQ1 Your form should look similar to the o...

Страница 55: ...5 Building TCPDAQ Applications with Visual C Start Visual C program Select Add to Project Components and Controls from the Project menu and double click on Registered ActiveX Controls The result shoul...

Страница 56: ...EDAM 4200 Series User s manual Version 1 03 Scroll down to the TCPDAQ Control and press the Insert button A Class Confirm dialog box is displayed Press OK button Printed Date 27 February 2018 56...

Страница 57: ...AM 4200 Series User s manual Version 1 03 The TCPDAQ control will be showed in Visual C Toolbar Place a TCPDAQ control from the Controls Toolbar on the dialog based form Printed Date 27 February 2018...

Страница 58: ...nd C Builder Start Borland C Builder BCB BCB will launch as shown below Select Import ActiveX Control from the Component menu The Import ActiveX dialog box loads Select the TCPDAQ Control and press th...

Страница 59: ...the Into new package tab and press OK button A Confirm dialog box is displayed press Yes button The TCPDAQ control is loaded into the Component Palette You can check it by clicking on Install Package...

Страница 60: ...fies the digital output channel to perform other DO properties read write operation All DIO models DOCount long Set the output count value for the specific DO channel which functions in Pulse output m...

Страница 61: ...rol Name Arguments Returned type Description OnError short ErrCode out string Errmsg out None be called when error occurred EventDataArrival string Datetime out short EventChannel out short EventType...

Страница 62: ...EDAM 4200 A module 13 UDP_RecvData Receive data to a specific EDAM 4200 A module 14 UDP_SendReceiveASCcmd Direct send an ASCII format string as a command and receive the response from EDAM 4200 A 15...

Страница 63: ...dth of each D I channel for an EDAM 4200 A module TCP_ReadDICounter To read the counter value when a D I channel function in Counter mode TCP_ClearDICounter To clear the counter value when a D I chann...

Страница 64: ...int TCP_Open Parameters void Return Code refer to the Error code 7 5 2 TCP_Close Description To terminates use of the TCPDAQ dll Syntax Visual Basic see TCPDAQ bas Declare Sub TCP_Close Lib TCPDAQ dl...

Страница 65: ...TCPDAQ h void TCP_Disconnect void Delphi see TCPDAQ pas procedure TCP_Disconnect StdCall VC see TCPDAQ h void TCP_Disconnect void Parameters void Return Code none 7 5 5 TCP_ModuleDisconnect Descripti...

Страница 66: ...ta u_short wDataLen Parameters szIP in the IP address for an EDAM 4200 that to be connected pData out 8 bit data array wDataLen in length of data array Return Code If return value 0 it represents the...

Страница 67: ...ndTimeout int ReceiveTimeout Parameters szIP in the IP address for an EDAM 4200 that to be connected s_port source port number d_port destination port number ConnectionTimeout timeout value for connec...

Страница 68: ...s for an EDAM 4200 that to be connected pData in points to data buffer wDataLen in length of data be sent Return Code refer to the Error code 7 5 13 UDP_RecvData Description receive data to a specific...

Страница 69: ...yVal szIP As String ByRef ModuleIP As ModuleInfo As Long Borland C Builder see TCPDAQ h Int TCP_GetModuleIPinfo char szIP struct ModuleInfo ModuleIP Delphi see TCPDAQ pas Function TCP_GetModuleIPinfo...

Страница 70: ...ineModules Lib TCPDAQ dll Alias _TCP_ScanOnLineModules 8 ModuleIP As ModuleInfo ByVal Sortkey As Byte As Long Borland C Builder see TCPDAQ h Int TCP_ScanOnLineModules struct ModuleInfo ModuleIP u_char...

Страница 71: ...e Error code 7 5 21 TCP_GetLastError Description return the error code of the latest called function Syntax Visual Basic see TCPDAQ bas Declare Function TCP_GetLastError Lib TCPDAQ dll Alias _TCP_GetL...

Страница 72: ...am data arrived Return Code refer to the Error code 7 5 24 TCP_StopStream Description to instruct the PC to stop receiving stream data from all modules Syntax Visual Basic see TCPDAQ bas Declare Funct...

Страница 73: ...led when alarm event occured Return Code refer to the Error code 7 5 27 TCP_StopEvent Description to stop listening the alarm event trigger from all module Syntax Visual Basic see TCPDAQ bas Declare F...

Страница 74: ...ode 7 5 30 TCP_ReadDIO Description to read DI DO s status for an EDAM 4200 module Syntax Visual Basic see TCPDAQ bas Declare Function TCP_ReadDIO Lib TCPDAQ dll Alias _TCP_ReadDIO 12 _ ByVal szIP As S...

Страница 75: ...int StdCall VC see TCPDAQ h Int TCP_WriteDISignalWidth char szIP u_long ulLoWidth u_long ulHiWidth Parameters szIP in the IP address for an EDAM 4200 that to be connected ulLoWidth in an unsigned 32 b...

Страница 76: ...TCPDAQ bas Declare Function TCP_StartDICounter Lib TCPDAQ dll Alias _TCP_StartDICounter 8 ByVal szIP As String ByVal wChno As Integer As Long Borland C Builder see TCPDAQ h int TCP_StartDICounter Char...

Страница 77: ...scription to read the DI latch status when a D I channel function in Lo to Hi Latch or Hi to Lo Latch Syntax Visual Basic see TCPDAQ bas Declare Function TCP_ReadDILatch Lib TCPDAQ dll Alias _TCP_Read...

Страница 78: ...DoChannel u_long ulPulseCount Parameters szIP in the IP address for an EDAM 4200 that to be connected wDoChannel in the channel index for writing ulPulseCount in the pulse output count Return Code ref...

Страница 79: ...long ulLoDelayWidth u_long ulHiDelayWidth Parameters szIP in the IP address for an EDAM 4200 that to be connected wChno in the channel index for reading ulLoPulseWidth out the pulse output signal widt...

Страница 80: ...et 1 reset Return Code refer to the Error code 7 5 45 TCP_MODBUS_ReadReg Description to read the holding register value at a specific range described in parameters Syntax Visual Basic see TCPDAQ bas D...

Страница 81: ...ort wData Delphi see TCPDAQ pas Function TCP_MODBUS_WriteReg szIP PChar wStartAddress Integer wCount Integer Data PWord Longint StdCall VC see TCPDAQ h Int TCP_MODBUS_WriteReg char szIP u_short wStart...

Страница 82: ...two character address hex decimal that specifies the target system The two characters following the address specific the module and channel Depending on the command an optional data segment may follow...

Страница 83: ...arch DHCP Read timout to search DHCP All 98 AAMAC Read MAC address Read MAC address All 99 8 3 2 Digital I O commands Command Function Description Modules Pg AACONNDD Set a single DO mode for channel...

Страница 84: ...channel N for DIO sync mode Set remote device IP for DO channel N for DIO sync mode All 119 AAYMRCS Start Run Stop DIO synchronize Start Run Stop DIO sync operation All 121 AAYM4C Read DIO Sync Mode p...

Страница 85: ...2 AA5V Sets the current value as the power on DO value or the safe DO value Sets the current value as the power on DO value or the safe DO value All 143 AA3PPP Set module Power on delay time Set modul...

Страница 86: ...ponse AA data CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID data A string showing the name of the module max 8 chars CHK...

Страница 87: ...sum cr Carriage return Response AA data CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID data A string showing the firmwar...

Страница 88: ...nd CHK Check sum cr Carriage return Response AANN CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID NN represents the ID num...

Страница 89: ...ays 01 ID is the ID command FF Module address range 01 FF CHK Check sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid...

Страница 90: ...tion command data module description max 30 characters CHK Check sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid com...

Страница 91: ...and CHK Check sum cr Carriage return Response AA data CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID data module descript...

Страница 92: ...or valid command Delimiter for invalid command AA Module address ID CHK Check sum cr Carriage return Note Before the command is issued The Soft INIT switch should be set to enable via set the soft INI...

Страница 93: ...ck sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID CHK Check sum cr Carriage return Exa...

Страница 94: ...utively and the time interval between the two commands should be less than the soft INIT timeout If the soft INIT timeout is 0 then the IP and Gateway settings cannot be changed using software only Th...

Страница 95: ...ID 01 to FF Always 01 RS command to reboot the module to the power on state CHK Check sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Del...

Страница 96: ...arriage return Response AAS CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID S the Reset Status of a module 0 the module is...

Страница 97: ...800 sec dec CHK Check sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID CHK Check sum cr...

Страница 98: ...arriage return Response AANNNNN D CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID NNNNN DHCP timeout value 10 1800 sec dec...

Страница 99: ...MAC ccommand for read MAC address CHK Check sum cr Carriage return Response AAMMMMMM MMMMMM CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA...

Страница 100: ...put mode 02 Low to high delay 03 High to low delay 04 Automatic DIO Synchronization Mode 05 reserved 06 DO Auto Off Time Mode for DO Low to High to Low 07 DO Auto Off Time Mode for DO High to Low to H...

Страница 101: ...AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID DD DO mode setting 2 characters 00 Direct DO output default 01 Pluse output mode 02 Low to hig...

Страница 102: ...0 Low to high latch 0x011 High to low latch 0x100 Input frequency mode bit 5 4 3 always 0 bit 6 DI counter H L width filter Default H L width 5ms 0 disable off default 1 enable on bit 7 always 0 CHK C...

Страница 103: ...nse AADD CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID DD DI mode setting 2 characters bit 2 1 0 DI mode setting 0x000 D...

Страница 104: ...Default 1 represent output value 1 is deactivate OFF output value 0 is activate ON CHK Check sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid comma...

Страница 105: ...nd Delimiter for invalid command AA Module address ID M Digital input channel active values 0 represent input value 0 is activate ON input value 1 is deactivate OFF or OPEN Default 1 represent input v...

Страница 106: ...Command for read DIO channel status CHK Check sum cr Carriage return Response DDDDFFFF CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Modul...

Страница 107: ...FF Always 01 CHK Check sum cr Carriage return Response DDDDFFFF CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID DDDD Hexad...

Страница 108: ...ta be written to digital output 00 FF CHK Check sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module ad...

Страница 109: ...ut Deactivate 01 output Activate CHK Check sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address...

Страница 110: ...digital output channels command DDDD Represents the data be written to digital output 0000 FFFF CHK Check sum cr Carriage return Response CHK cr Valid command AA CHK cr Invalid command Delimiter for v...

Страница 111: ...output Activate CHK Check sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID CHK Check sum...

Страница 112: ...umber 0 F CHK Check sum cr Carriage return Response DD CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID DD Represents the s...

Страница 113: ...mand AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID TTTT Represents the 4 character hexadecimal DO status 0000 FFFF NNNN Represents the 4 char...

Страница 114: ...channel N Channel number 0 F CHK Check sum cr Carriage return Response DD CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID...

Страница 115: ...AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID DDDD Represent DI latch status The discrete DI latch status in the response message are packed...

Страница 116: ...l to be cleared 0x00 0x0F channel number 0xFF Clear all DI channels CHK Check sum cr Carriage return Response AA CHK cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter fo...

Страница 117: ...input channels 0 15 and mask state 16char bits 15 0 indicate DI channel 15 0 to be monitored and mask state 1 indicate DI channel n is monitored and mask state is 1 0 indicate DI channel n is monitore...

Страница 118: ...input channels 0 15 and mask state 16 char bits 15 0 indicate DI channel 15 0 to be monitored and mask state 1 indicate DI channel n is monitored and mask state is 1 0 indicate DI channel n is monitor...

Страница 119: ...DDD IP number hex Ex IP 192 168 0 122 C0A8007A IP 0xFFFFFFFF 255 255 255 255 for all remote modules CHK Check sum cr Carriage return AA CHK cr Valid command AA CHK cr Invalid command Delimiter for val...

Страница 120: ...ode 3 DIO Synchronization DI mismatch DO latch Mode P Enable Disable Auto Run Start DIO Synchronization operation when power on 0 Disiable 1 Enable S digital output active state when DI data pattern m...

Страница 121: ...ting Automatic DIO Synchronization function you must set DO Mode to DIO Sync Mode Ref AACONNDD Example Assume DI channel 0 2 5 are monitored and the ASCII form of DI mask pattern is XXXXXXXXXX1XX0X1 W...

Страница 122: ...eration CHK Check sum cr Carriage return Response AADDDD cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID DDDD DO channels 15 0...

Страница 123: ...Read remote device IP N DO channel number 0 F cr Carriage return Response AADDDDDDDD cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module addr...

Страница 124: ...pulse if pppppppp 00000001 stop DO pulse CHK Check sum cr Carriage return Response AA cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module ad...

Страница 125: ...channel N NN DO channel number 00 0F hex DO channel number FF hex Copy the setting to all DO channels LLLL 4 char DO pulse low signal width hex 0001 3332 uint 0 5ms HHHH 4 char DO pulse high signal wi...

Страница 126: ...Delimiter for valid command Delimiter for invalid command AA Module address ID LLLL 4 char DO pulse low signal width hex uint 0 5ms For DO Pulse Output mode HHHH 4 char DO pulse high signal width hex...

Страница 127: ...sum cr Carriage return Response AA cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID CHK Check sum cr Carriage return Example 1...

Страница 128: ...cr AA1NDD Set DO 0 to High 1 command 011001 cr after 2000ms the DO 0 to Low 0 response 01 cr Example 4 For DO High to Low to High of DO Auto Off Time Mode AACONNDD Set DO channel 0 to DO High to Low...

Страница 129: ...se AA data1 data2 cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID data1 DI counter pre debounce Min Low width time 8 chars uni...

Страница 130: ...r 00 0F data1 DI counter pre debounce Min Low width time 8 chars unit 0 5ms data2 DI counter post debounce Min High width time 8 chars unit 0 5ms CHK Check sum cr Carriage return Response AA cr Valid...

Страница 131: ...and C Represents DI counter channel number 0 F N Represents Start Stop option 0 Stop 1 Start CHK Check sum cr Carriage return Response AA cr Valid command AA CHK cr Invalid command Delimiter for valid...

Страница 132: ...o FF Always 01 C Represents clear DI counter command N Represents DI counter channel number 0 F CHK Check sum cr Carriage return Response AA cr Valid command AA CHK cr Invalid command Delimiter for va...

Страница 133: ...Carriage return Response AA data cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID data 10 characters decimal represents counte...

Страница 134: ...valid command AA Module address ID R DI Counter Overflow 0 No counter overflow has occurred 1 A counter overflow has occurred data 10 characters decimal represents counter value CHK Check sum cr Carri...

Страница 135: ...reply from modules When host watchdog timer is enable host computer must send this command to all module before timeout otherwise Host watchdog timer enabled module will go to safety state Command CHK...

Страница 136: ...all module before timeout otherwise Host watchdog timer enabled module will go to safety state Command AA CHK cr Syntax Command leading code AA Module address ID 01 to FF Always 01 command for Host O...

Страница 137: ...1 Enable bit 2 Host watchdog timeout status 0 indicates that no host watchdog timeout has occurred 1 indicates that a host watchdog timeout has occurred bit 6 5 4 3 1 0 reserved always 0 CHK Check su...

Страница 138: ...command Delimiter for invalid command AA Module address ID CHK Check sum cr Carriage return Example 1 Reads the host watchdog status of module 01 and shows that a host watchdog timeout has occurred c...

Страница 139: ...alid command Delimiter for valid command Delimiter for invalid command AA Module address ID E Host watchdog enabled status 1 Enable 0 Disable VVV Timeout value in hex format from hex 001 to 28F unit 0...

Страница 140: ...e Power LED on the module will go to flash After timeout the all of D O commands are disabled Example AA3EVVV Set module ID 01 to have watchdog timeout value 20 0 seconds and enable host watchdog comm...

Страница 141: ...r response 0180 cr bit 7 1 Host watchdog enabled and Timeout status is cleared AA3EVVV Set module ID 01 to have watchdog timeout value 20 0 seconds and disable host watchdog command 01300C8 cr disable...

Страница 142: ...ad power on value S read safe value CHK Check sum cr Carriage return Response AADDDD cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module addr...

Страница 143: ...Response AA cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID CHK Check sum cr Carriage return Example 1 Set Safe value Set mod...

Страница 144: ...elay time unit 0 1sec to start communication timeout 000 FFF Note Total Power on delay time PPP Normal Power on delay time about 7 sec CHK Check sum cr Carriage return Response AA cr Valid command AA...

Страница 145: ...ge return Response AAPPP cr Valid command AA CHK cr Invalid command Delimiter for valid command Delimiter for invalid command AA Module address ID PPP Power on delay time unit 0 1sec to start communic...

Страница 146: ...xample If you want to read digital input channels 0 11 of EADM 4050 address 00001 00012 the Request command should be 00 00 00 00 00 06 01 01 00 00 00 0C and the Response should be 00 00 00 00 00 05 0...

Страница 147: ...nd Starting address 0256 0257 1 40001 Means Access holding register and Starting address 0000 0001 1 MODBUS function code definition Function Code Description 01 0x01 Read coils 02 0x02 Read Discrete...

Страница 148: ...l 1 5 15 R W 45609 Power on Digital output value for DO0 DO15 16 Channels 3 6 16 R W DO Pulse Output command sets Address Item Func Attrib 41065 41080 DO pulse output L level time 1 13107 Unit 0 5ms 1...

Страница 149: ...when DI input value match or not DI mask pattern 0 Inactive state 1 Active state 2 Toggle bit 4 write DO to local module or remote module when DIO sysnc active 0 Local Mode Local DI Local DO 1 remote...

Страница 150: ...mand sets Address Item Func Attrib 00117 00132 Start Stop DI Counter 0xFF00 Start 0x0000 Stop 1 5 15 R W 00133 00148 Clear DI Counter 0xFF00 Clear 16 Channels 1 bit channel 5 15 W 00225 00240 Read cou...

Страница 151: ...0273 Read reset status request 01 01 01 10 00 01 response 01 01 01 01 the module is been reseted 40481 Read Firmware version request 01 03 01 E0 00 01 response 01 03 02 06 08 response 06 08 version 06...

Страница 152: ...output for DO1 request 01 01 00 11 00 01 response 01 01 01 01 DO1 ON 00017 write DO 0 to OFF and return successful request 01 05 00 10 00 00 response 01 05 00 10 00 00 response successful 00017 Readba...

Страница 153: ...ssful 41139 Stop DO 0 Pulse output request 01 06 04 72 00 01 response 01 06 04 72 00 01 response successful For DIO Synchronization mode Ref Appendix 13 7 DIO Synchronization Mirror Local DI to DO For...

Страница 154: ...D1 response 01 06 06 8E 07 D1 41678 41679 read DO 2 3 output high delay time for L H L unit 0 5ms request 01 03 06 8D 00 02 response 01 03 04 0F A1 07 D1 00017 Write digital output DO 2 3 to active O...

Страница 155: ...0 08 response 01 01 01 00 response No overflow has occurred Host watchdog timer 45601 Set host communication timeout value to 30sec request 01 06 15 E0 01 2C set timeout value 30sec unit 0 1s response...

Страница 156: ...03 02 FF 00 response 0xFF00 the host wdt timeout bit is set 45604 Write 0xFF00 to clear host watchdog timeout request 01 06 15 E3 FF 00 response 01 06 15 E3 FF 00 response No overflow has occurred 45...

Страница 157: ...ructure u_char szIP 4 The IP address which send the stream datae u_short szDateTime 6 E x 2001 09 23 10 12 34 Year Month Day Hour Minute Second u_short DIN Digital input data DI 0 DI 15 u_short DOUT D...

Страница 158: ...iable for EDAM9015 17 19 double AiMinValue 16 Analog minimum value AI 0 AI 15 avaliable for EDAM9015 17 19 u_char AiHighAlarm 16 Analog high alarm status AI 0 AI 15 avaliable for EDAM9015 17 19 u_char...

Страница 159: ...wser There will be one dialog window asking you to enter the password After you have typed the correct password you can start to monitor or control I O on EDAM 9000 4200 modules Notice Please use Wind...

Страница 160: ...number of digital input or output Status Current input or output status Count Latch Counter value or latch status of digital input which functions at Counter or Latch mode Mode Channel operating mode...

Страница 161: ...l input or output Status Current input or output status Count Latch Counter value or latch status of digital input which functions at Counter mode or Latch mode Mode Channel operating mode DO Setting...

Страница 162: ...l input or output Status Current input or output status Count Latch Counter value or latch status of digital input which functions at Counter mode or Latch mode Mode Channel operating mode DO Setting...

Страница 163: ...connecting the INIT terminal to the GND terminal New EDAM 4200 modules have the INIT switch located on the rear side of the module to allow easier access to the INIT mode For these modules INIT mode i...

Страница 164: ...onds that the reset status is set and it is not the first time AA5 command is sent it means the module has been reset and the digital output value had been changed to the power on value 12 5 Input cou...

Страница 165: ...O latch Mode 2 DI mismatch DO latch Mode 12 7 2 DIO Synchronization DI match DO latch mode When DI input value match DI mask pattern the specific single digital output channel will be activated 1 or 0...

Страница 166: ...local module will be set to ON 1 Assume DI pre debounce time 0x0064 100 ms 1 Set DO 0 to DIO SYNC Mode Ref AACONNDD command 01CO0004 cr response 01 cr valid 2 Assume DI 0 0 and DI 3 1 are monitored an...

Страница 167: ...00 0000 1001 DI channels to be monitored 1 monitored DI chn 0 not monitored DI chn Request 01 10 A2 5B 00 02 04 00 08 00 09 Response 01 10 A2 5B 00 02 valid 4 41628 Set DI debounce time to 100 0x64 ms...

Страница 168: ...button Then you can control the digital output value by the DO button and see its current value by the DO status LED display at the top of the module Display area 12 8 2 High to Low Delay output When...

Страница 169: ...HHH 3000ms and Low delay time LLLL 0 5ms For Low High Low Auto Off Time mode LLLL always 0001 3 011001 Write DO channel 0 to active wait DO auto off time 3sec 4 the DO channel 0 auto off from active t...

Страница 170: ...EDAM 4200 Series User s manual Version 1 03 Printed Date 27 February 2018 170...

Отзывы: