Home
8KE4/8KE8 User`s Manual
Contents
1. J Q gt gt gt gt gt gt e 3 1 Q Crs D 5 lt gt D D c 5 D c 5 QI a C C ID C 2 2 C 2 C ID C DO C 2 U C C I C 2 2 2 C D C D D C D C 2 C C I 2 lt D D gt I C 2 C C I 2 2 gt ID D C I C 2 C C I3 C 2 2 2 C I C D C DO C C 2 C C ID C 2 2 C C 2 C D gt gt C 2 C D C ia 1 gt C 2 2 2 C 2 C T 7 NP CL UD ar press f MI 111 Yir lir x fn 0 d 0 a c D O O O O O O AS AT i 10 30VDC O 5 O O O O Nt o initialize O INIT COM O Y Ethemet
2. aaa BB NE CA 0915 Uninstall minios utility What s New Step6 Select the COM port of the host PC dee ine wen H select Dialog ELT DN ESTEE After opening the COM port the MiniOS Utility will show informations as below 1 MiniOS7 image version of the 8430 8830 2 Files in the Flash ROM 057 utility 1 0 05 E elete All 9 2 34 10 3 2004 15 23 13 16 10 18 2004 17 24 Pe 1EKB MS DOS Bat 10 41 302 209 Application 104 H F 0CONS 430_88305F i rmware s for 512k 02 File files C Com baudrate 115200 Module I 8000 Minios7 Version 2 00 001 Mar 30 2004 ne 42 available spaces 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10
3. Method b DIN Rail mounting lt lt Frame Ground DIN Rail Clips 8430 8830 User s manual Dec 2004 Version 1 0 5 003 10 15 Step2 Attach power supply 10 30 The diagram below shows the basic wiring for the Ethernet I O POWER SUPPLY 107 309 Etemet Router OM Ethernet 10M P 100M I Ethermet 10M 100M enone el Ethernet 10M Elemet 10M 100M HOST COMPUTER 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 16 Step3 Check the LED display The LED constantly shows IP address Baud Rate Data Bit Format etc as following SEQUENCES 27 Free sockets 27 00 No client connects to this 8000E 2 712 data 7 even stop 2 The IP is 192 168 255 1 data 8 no parity stop 1 Baud Rate of COM1 9600 Baud Rate of COM2 9600 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 17 1 5 module installation Step1 Read the document at the following location For l 8000 series modules the files are located at CD Napdos DCON IO_Module hw_dcon_on_8KUnit 8k ftp ftp icodas com pub cd 8000cd napdos dcon io_module hw_dcon_on_8kunit 8k 87 series modules the files are located at CD Napdos DCON IO_Module hw_dcon_on_8KUnit 87k ftp ftp icodas com pub cd 8000cd napdos dcon io_module hw_dcon_on_8kunit
4. UNOSI 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 DCON Labview Bundled driver for Labview Supported modules i 7000 8000 87K series with DCON protocol Supported OS Windows 98 NT 2K XP File location CD Napdos Driver DCON_Labview 4 6 Indusoft DCON Indusoft Bundled driver for Indusoft a 2 Supported Module i 7000 8000 87K series with DCON protocol Supported OS Windows 98 NT 2K XP CE File location CD Napdos Driver DCON_Indusoft 4 6 1 Procedure for using the Indusoft bundled driver Step 1 Read the basic and important documents Readme txt contains the basic and important information including e Files on the shipped CD Reversion txt contains the reversion information including Bugs fixed e New modules supported Step 2 Install the Indusoft bundled driver by executing CD Napdos Driver DCON_Indusoft Setup setup exe Step 3 Read the manuals describing how to start The DCON pdf user s manual describes how to use the Indusoft bundled driver Step 4 Run the demo programs ICPDriverTest zip to test I O modules and learn the functions 4 6 2 Indusoft Example Reading an analog input value The following is an example of reading analog values from an 87017 inserted in slot 0 of an 8430 8830 Step 1 Wire the 8430 8830 and configure its network settings IP Mask Gateway 8430 8830
5. EE E E 3E AT 95 0ct 15 2883 by Kevin support 1 8837 cammand sets are same as 8857 Hote 1 DCON Utility must update to ver 4 2 7 support 8837 For more details please refer to Appendix E Updating the firmware and MiniOS7 image 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 Dual Bus design to supports i 8K and i 87K series I O modules The 8430 8830 has two types of bus on its back plane The first is a serial bus RS 485 interface for 87K I O modules the second is a parallel bus for 8K I O modules The firmware can support both 8K and 87K series I O modules These two series I O modules can both be connected into the same 1 8000 MCU and can use the same command when they are both attached to 1 8000 MCU The modules for DI DO DIO Al AO and Counter Frequency purpose are supported Other modules such as multi serial port 8112 8144 8142 8144 MMC 8073 motion 8090 8091 are not supported by the DCON protocol For more details please refer to Appendix D i 8K and 87 series I O modules For more about I O module s information please refer to CD Napdos DCON IO_Module hw_dcon_on_8KUnit ftp ftp icodas com pub cd 8000cd napdos dcon io_module hw_dcon_on_8kunit More flexible combination and Compact fasten qu
6. 7 N 12 YYW vL Vi Insert the I O module into the 8430 8830 Step3 IN Ps E d 0 0 0 Q Q 0 0 Q 0 0 20 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 Chapter 2 Configuring the 8430 8830 and I O modules Before using the 8430 8830 and any I O modules connected to it the following settings must be configured e Networking settings IP Mask Gateway of 8430 8830 e Power on value of AO DO modules e Safe value of AO DO modules e Input range of Al modules e Noise filter of Al modules e Check sum of all communication protocol The most important thing at the beginning stage is the network setting After assigning the network setting the VxComm Utility can be used to create a virtual COM port to map the 8430 8830 and then the DCON utility can be used to configure other settings 2 1 Configure the network settings Network settings can only be configured via the RS 232 COM Port There are two tools that can be used to configure the network settings of 8430 8830 The first is Configuration Wizard and the other is the MiniOS 7 Utility 2 1 1 By Configuration Wizard The Configuration Wizard gives step by step information for configuring the network set
7. 1 10 BaseT 2 lt b O O lt Y W 1 ji 7 Front View 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 57 Appendix protocol ass eee EC ___ DCON Protocol ASCII Command Meg COD rr she AN d Series 1 7000 Series 1 8000 Series The protocol is a request reply communication protocol for the 1 7000 8000 87 series I O modules and uses a simple ASCII format such as AAN AASi6 AAN etc The protocol format is defined as follows Basic Command Format Command Format Leading Character Module Address Command CHKSUM Response Format Leading Character Module Address Data CHKSUM CR The Leading Character can include T Checksum A 2 character checksum and is present when the checksum option is enabled Address 0x00 OxFF CR Carriage return OxOD 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 Command Set The full DCON protocol command sets for i 8000 series can be found in CD Napdos DCON IO_Module ftp ftp icodas com pub cd 8000cd napdos dcon io_module Frequently used Co
8. Information of the P 192 168 30 24 eee Mask Mask Mask 255 25500 Gateway Gateway 924 168 0 1 Step5 Exit the Configuration Wizard and then restart the 8430 8830 for the new settings 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 22 2 1 2 MiniOS7 Utility The MiniOS Utility is used to download files and update the OS image to the 8430 8830 It can also be used to configure the network and COM port settings In contrast to Configuration Wizard users must have valid IP Mask Gateway information and must manually enter it into the text box provided Step1 Use CA 0915 to connect COM1 of 8430 8830 to COM1 2 of the host PC Step2 Install the MiniOS7 Utility on the host PC by running CD Napdos MiniOS Utility MiniOS7_Utility MiniOS7_ Utility exe Step3 Run the MiniOS7 Utility and click Configuration m 3 IMinins7 21 Serial 78 of 718 Com Port Baud Hate Data Bit Parity Stop Bit 3500 None Yersion 2 00 001 30 2004 4 available spaces File Type Com baudrate 1 15200 Step4 Exit the MiniOS7 Utility and then restart the 8430 8830 the new settings 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 23 2 2 Creating a virtual COM port to map the I O modules Step1 Wire
9. 77 E 2 Updating MiniOS7 image After setup 57 Utility and initial the 8430 8830 please follow the steps to do the updating MiniOS7 image Step1 Click Update Mini0S and select the file to update MiniOS7 File CD Napdos DCON 8430_ 8830 OS_Image 40MHz 84040330 img ftp ftp icodas com tw pub 8000cd napdos DCON 8430_8830 OS_Image 40MHz 84308830 img om 2 Delete All Aun 0 0 T E x 5 Bi m e 2 o E 205 166 101922004 16 23 13 S autoexe 15 10 18 2004 17 24 11 5 autoexec 1KB MS DOS Bat 1071 E10 302 209 Application 10 2 files on Disk 248542 available spaces F 0CONS8430_88305Firnwares srah 02 File i files Find Com baudrate 1 15200 Module I 8000 MinioS7 version 2 00 001 30 2004 I Mw Lookin L MN 4 0 File name Img Files of type 057 img Files irng E 3 Download firmware Please follow the steps to download the firmware to the Flash ROM Step1 Delete all files in the Flash ROM Step2 Select the firmware files and autoexec bat and click gt to download the files into the Flash ROM 2 All na BSc c ub dn od D E 2 57 utility 1 0 05 4 xl 205 1KE 10 19 2004 15 23 13 16 10 8 2004 172411 1KB 5 005 Bat 209 Application 2 files on Disk
10. Channel Channel 3 General Setting Channel 0 uumummumumuuuuum Searching Status Made Normal 16 Bits LOM Port 3 Addres Engineering Unit 2 Note All the 87K I O modules that connected to 8430 8830 are renamed to 80xx 87K 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 27 Chapter 3 Developing an application using the DCON Protocol 3 1 The feature of using DCON Protocol The DCON firmware which uses ASCII Command provided with the 8430 8830 is easy to use and most of application can be developed using toolkits supported by ICPDAS such as DLL ActivateX or OPC Server which can shorten their development time gt The delimiter character of response data The analog input value of the first channel The analog input value of the last channel Response 1 6211401 621401 621401 621401 621401 621401 621401 621 Command 9189 50 The I O module 1s inserted in 51080 01 The address of main unit e 2 1 8430 The delimiter character of request command 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 28 3 2 Using the TCP protocol directly Supports the DCON communication protocol on the Ethernet port A TCP program can be used to develop Ethernet Applications to communicate with Ethernet port 9999 of the 8430 8830 The following steps show how to use VB Winsock component Step 1 Conne
11. 01S3 gt 2 1234 2 1234 2 1234 2 1234 cr Description The data read from analog data input module 87013 4 channels analog input module in slot of the 1 8000 system at address 01h is 2 1234 2 1234 2 1234 2 1234 87013 4 Channel RTD Analog Input Module 8017 Fast 8 Channel mV V mA Analog Input Module 87017 8 Channel mV V mA Analog Input Module 87018 8 Channel mV V mA and Thermocouple Analog Input Module 8080 8 Channel Counter Frequency Module 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 60 HAASIC Command Reads the analog input counter frequency module data from specified slot and the specified channel in the l 8000 unit HAASICIICHK cr AA A 2 character HEX module address for the specified l 8000 unit ranging from 01 to Si The specified slot number 0 to 3 4 slots or 0107 8 slots specified channel number 87013 j Oto3 8017 5 0107 87017 23 0407 87018 3 0407 0107 CHK The 2 character of Checksum cr Carriage Return OxOD for denote the end of the command gt data chk cr AA CHK cr data A return string from RTD input module in engineering mode CHK Carriage Return 0 00 to denote the end of the response Command 01S3C0 Response gt 2 1234 cr Description The data read from the analog data input module in slot and channel 0 of the l 8000
12. 1 Configure Wizard 2 Send232 3 Send TCP 4 7188E Various SDKs are provided for the DCON protocol such as DLL ActiveX Labview driver Indusoft driver Linux driver OPC server etc Each SDK also contains a number of helpful free demo programs and documents which can be found on the CD included in the package or can be downloaded from the ICP DAS web site or FTP site When planning the development of a system appropriate software solutions should be chosen to suit different situations Following chart shows the relation between the software solution and the SDK provided Refer to the chart to find a solution to meet your requirements 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 32 The diagram below show the architecture of the SDK SCADA T amp D software 1 1 EE Fh M 5 a F VeLomm drive Eil eee e e ee Ethernet R 232 l 0008 000 8 with protocol Note All the above SDKs are based VxComm technology when using an Ethernet interface 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 33 4 2 DCON Utility DOS DCON Utility DOS DCON Utility DOS version Supported modules i 7000 8000 87K series with protocol Supported demos C Supported OS DOS File location CD Napdos Driver DCON_DOS 4 2 1 Procedure for using the DCON Utility DOS Step 1 Read t
13. 248542 available spaces 8430 5830 1 512 5 02 File Jal files Find baudrate 115200 Module 8000 MinioS7 version z 00 001 30 2004 Step3 Disconnect Init Step I NUI UI IV O 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 Method 1 Power off and then power the 8430 8830 The CPU will run the autoexec bat in the Flash ROM Method 2 Click to run the firmware 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10
14. with DCON protocol 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 25 Step1 Wire the 8430 8830 and configure its network settings IP Mask Gateway Step2 Create a virtual COM port for example COM3 to map the I O modules Step3 Install the DCON Utililty by running CD Napdos Driver DCON_Utility Setup setup exe and then run it SAMO Windows Update 7055 Set Program Access and Defaults fp ae it Programs 4 nes Accessories Ye AC Documents CIE et vid Ln mem ris y EEE Prof Ey 2000 At Searching for 1 7000 8000 Modules 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 Step4 Change the COM port to the virtual COM port Note for 8430 8830 the Baud Rate is unimportant Any Baud Rate setting can be used Step5 Search for the I O modules on the 8430 8830 After the modules are found individually click on them to configure them ver 4 File COM Pork Rug Terminal Help doe The I TO00800 Mod es Found __ 5 3 Address Baudrate _ Checksum _ Description 1 1 gt 115200 Disable 8430 Main Controller l 115200 Disable amp LH Thermo Input 8017 87K 115200 Arslan 7 on T 115201 Ej Setting Configuration for 8017 87K 8051 777 115201 Channel 5
15. PC It must be uninstalled before installing the new version Step 3 Read the manuals describing how to start The NapOPCSvr pdf is the user s manual describing how to use the OPC server 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 52 4 7 3 OPC Server Example Reading analog input value The following is an example of reading analog values from 87017 inserted in slot 0 of an 8430 8830 Step 1 Wire the 8430 8830 and configure its network settings IP Mask Gateway Step 2 Run the VxComm Utility to create a virtual COM port e g COM3 to map the 8430 8830 Step 3 Run the DCON Utility to configure the I O modules 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 53 Step 4 Run the OPC server to search for I O modules COM3 enn 115200 57600 O 38400 19200 9600 14800 2800 1200 ee 1500 EE PDAS DA Server Ele Add Edit View Options Help awe Device Group E 8017 50 EZ des Als E Li 8018 81 des Als E 8051 82 AA des Dis EF 8051 1 53 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 E Gener arch Shrink Bit mr Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input Bit Input enter Step
16. User s manual November 2004 Version 1 0 8MS 002 10 46 Step 2 Run the VxComm Utility to create a virtual COM port e g COM3 to map the 8430 8830 Step 3 Run the DCON Utility to configure the I O modules Step 4 Run Indusoft and create a new project Step 5 Include the DCON driver Workspace Database T m Available drivers _ CUTLER H4SMMER 050 D300 2000 SB 5 h3 TSE OA Ets DATUD 2000 al Senes 0006 Hilscher S board DeviceN et Slave TUM DISOM SCHENCK Disomat C 2000 941 v1 04 D LB ALLEN BRADLEY Dataliner Display MT 2000 33 DSC DSC Reader DSC 2000 9 Sha Sht ARM Selected drivers DLL gt gt Remove 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 47 Step 6 Configure the DCON driver Workspace Baud Hate Data Bits Stop Bits Parity Station Eangi stingi fo 2279 2 Sting 23 Advanced 1 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 Step7 Insert tags to connect to I O modules The address format is Address ModulelD Slot Channel DRY Description Input Read Trigger Enable Read when Idle Read Completec Write Trigger Enable Write on Tag Change write Completed Write Status Station Header D N rn
17. is a request reply communication protocol used with 1 000 8000 87K series I O modules And is used to access the data from the module using a simple ASCII format For example sending the command 7501 will query the controller name The responding module will reply 3 with a message similar to 018430 cr For more details regarding the DCON Protocol please refer to Appendix B DCON protocol For Protocol about 8000 MCU and 8000 series I O modules Please refer to CD Napdos DCON IO_ Module hw_dcon_on_8KUnit ftp ftp icodas com pub cd 8000cd napdos dcon io_module hw_dcon_on_8kunit Various SDK provided free In order to access the I O modules that are connected to 8430 8830 Various SDKs are provided such as see Note1 Note2 Note3 DLL driver ActiveX component LabView bundled driver Indusoft bundled driver Linux driver OPC server 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 6 Note1 All these SDKs include the DCON Command and can be easily and quickly integrated into the user s system Please refer to Chapter 3 for more detail information Note2 When applied to an Ethernet interface users should first install VxComm utility when using these SDKs Note3 DLL ActiveX LabView IndoSoft OPC server and VxComm utility only support the windows platform Windows 98 Windows NT Windows 2000 Windows XP configurable the Ethernet The Utility is used to configure l 7
18. power supply is rated to perform linearly up to full loading Ventilated housing design to work between 25 75 C The 8430 8830 is housed in a plastic base box with a column like ventilator that can help to cool the work environment inside the box and allow the 8430 8830 to operator between 25 and 75 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 10 1 2 Specifications CPU 80188 or compatible 16 bits 40MHz SRAM o12KBytes Flash ROM o12KBytes 8 sectors each sector has 64KBytes 100 000 erase write cycles EEPROM 2K bytes 8 blocks each block has 256Bytes 1 000 000 erase write cycles Built in Watchdog Timer 0 8 seconds COMO RS 232 TXD RXD GND internal serial bus Fixed communication speed at 115200 bps Used to communicate with 87K modules connected to the slots COM1 RS 232 TXD RXD GND Communication speed programmable 115200 bps max Used to download firmware update the MiniOS image file and to configure the IP information 2 Ethernet port 10BaseT NE2000 compatible PC application use Ethernet to communicate with DCON Firmware RS 232 485 RS 232 TXD RXD GND CTS RTS or RS 485 DATA DATA Communication speed programmable 115200 bps max SMMI Small Man Machine Interface o digit LED display 4 LED indicators 4 push buttons 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 11 expansion slot
19. unit at address 01h is 2 1234 Notes 87013 gt 4 Channel RTD Analog Input Module 8017 Fast 8 Channel mV V mA Analog Input Module 87017 8 Channel mV V mA Analog Input Module 87018 8 Channel mV V mA and Thermocouple Analog Input Module i 8080 8 Channel Counter Frequency Module 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 61 omm F AASiCj data Description Sets the analog voltage output module data from the specified slot and channel in l 8000 unit The data format is in engineering units only Syntax ZAASiCj data CHK cr A delimiter character A 2 character HEX module address for the specified l 8000 unit ranging from 01 to The specified slot number i 0 to 3 4 slots or i O to 7 8 slots The specified channel number 87022 2 j 0to1 87024 5 003 Cj 87026 gt 0103 8024 0103 data CHK A decimal value always engineer unit A 2 character checksum Carriage Return 0 00 to denote the end of command Valid Command gt chk cr Invalid Command AA CHK cr Any syntax or communication error may receive no response A delimiter for valid command A delimiter for invalid command A 2 character HEX module address CHK A 2 character of checksum Carriage Return 0 00 to denote the end of response 01S3C1 09 000 gt This example sends the positive v
20. 000 1 8000 and 87 series I O modules It originally communicated with the I O modules the COM port For I O modules on the 8430 and i 8830 using the VxComm technique to create a virtual COM port can let DCON Utility access the I O modules via the Ethernet For more details please refer to Chapter 3 oimultaneous access by a maximum of 6 host PCs Although a maximum of 6 host PCs are allowed simultaneous access it is recommended that fewer host PCs are used in order to give better performance and stability 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 Updateable firmware via the RS 232 port Firmware Note the 8430 8830 s COM1 port can be used to download firmware update the MiniOS image file and to configure IP When should the firmware be updated gt Firmware should be updated when ICPDAS announces e Support for new I O modules The addition of new functions Bugfixes and revision There is a document Revision txt that records the update information as follows EE E E E 3E P Reversion information for 8 firmware 7 SK292 exe BKh85 exe
21. 10 DO 01531000 Set the Channel 13 DO OFF set the Channel 13 DO ON 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 67 01531 00 Set the Channel 14 DO OFF 01531 01 Set the Channel 14 DO ON 1531 00 Set the Channel 15 DO OFF 01S31F01 Set the Channel 15 DO ON 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 68 Hardware interface The hardware interface used to access the 1 7000 8000 87 series I O modules can be divided into the following RS 232 1 8000 MCU with R232 nnn exe or 8K232 exe firmware Baud Rate 1200 2400 4800 9600 19200 38400 57600 115200bps Data format is 1 start bit 8 data bits non parity 1 stop bit RS 485 1 7000 87 series modules and l 8000 MCU with R485 nnn exe or 8K485 exe firmware Baud Rate 1200 2400 4800 9600 19200 38400 57600 115200bps Data format is 1 start bit 8 data bits non parity 1 stop bit Ethernet 1 8000 MCU with E10M nnn exe or 8KE10 exe firmware Speed 10Mbps Even though the 7000 87 series I O modules are not equipped with an Ethernet interface by using the I 7188E 8000E in connection with the VxComm technique they can still be accessed via the Ethernet Note 1s 8000 MCU includes 8410 8411 8810 8811 8430 8431 8830 8831 8KE4 8KE8 8000E means an 8000 MCU equipped with an Ethernet port such as 8430 8431 8830 8831 8KE4 8KE8 Both the 1 8000 and 1 87K s
22. 30 8830 AND I O MODULES 21 21 CONBIGURE THE NETWORK SE TINGS renee E 21 Deda By Config utaton IIZUF d sd sh arc Eon O E ie ae es du LE i i DUM ok a 21 V M gi DIS SPENT TRE NA 23 2 2 CREATING A VIRTUAL COM PORT TO MAP THE MODULES 24 2 CONFIGURE TO MODULE 5 5 5 dore oe 25 CHAPTER DEVELOPING AN APPLICATION USING THE 28 S ALHESEBATURE OE USING PROTOCOL dn ous 28 2 2 USING THE PROTOCOL DIRE CY testes eoa natu uut du Lm eR een 29 SO AV COMM TECHNOLOGY aeiia nodos isse as 3l CHAPTER 4 SOFTWARE DEVELOPMENT TOOLKIT FREE 32 4 1 LOCATION OF DOCUMENTS AND SOFTWARE eeeeeeeeee eee eene enne nennen nennen nene eese ense ense esee esee sees eese eese seen eese eene 32 Zo DCONUTIEREY DOS eoe M Lm eR MEUS 34 4 2 1 Procedure for using the Utility 1009 34 s xem e SED 35 494 Frocedure TO REDE 35 4 3 2 VB Example Reading an analog input 37 2 B EIE ULIS duet DEM 40 QI d TOT SIE
23. 5 Save the configuration and close the OPC Server Step 6 Run SCADA software to connect to the OPC Server The OPC Server user s manual lists the procedures for the following SCADA software e Labview National e WIZCON Fix Indusoft e Citect Please refer to Chapter 4 Connecting to the OPC Server for more details 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 55 Appendix A Dimensions 8430 7 c j Y t J N ber ZEN i O P O A p x LJ 2 C 2 WS M Ae C E a p VY lan j Back View Side View 2 ot s e c 5 2 i 2 3 3 IS 5 CIE xD CU US N 3 QJ k c gt C 5 Y c c __ pp c C 5 es C C D C D FE c CT c
24. 7 2 Mes Tag Mame Address Div Add 01 801 0 0 01 801 7 01 01 8017 0 2 01 801 7 0 3 01 801 7 0 4 01 8017 0 5 01 801 5 05 ea Gr 50 port 3 Baudrate BB Address 01 alat 0 Checksum Disable Timeout 1000ms 1339 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 Step9 Double click the text box to assign tag to it bject Fro pertie Replace M 925 Text 1 0 Input Enabled Frat Decimal Password M anim EEUN Ti Default Meane Step10 Run the project Settings 3 56 COM port 3 Chi 3 55 Baudrate 9600 Ch 357 Address 01 Slot 0 Ch3 998 Checksum Disable Chd 854 Timeout 1000rms Che 563 Cho 5 58 Chf 5 02 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 50 4 7 NAP OPC Server Properties Devi Nane C 1 8 87 120 Modules Cancel ule Setting Module Timeout Address 04 255 gt Slot 0 7 for 8K Modules Controller Controller Setting Port Type Modbus TCP Port Address 502 Address 1 TCPAP Address 1921681193 Timeout 1000 Modbus RTU Msg Delay Word Swap COM Port Setting Parity Baud Rate Data Bits Stop Bits Simulate doe
25. 8430 8830 User s Manual Version 1 0 December 2004 ICP DAS Co LTD Www icpdas com 8430 8830 Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year starting from the date of delivery to the original purchaser Warning ICP DAS assumes no liability for damages resulting from the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS 15 believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2004 by ICP DAS All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 2 Table of Contents CHARTER T INTRODUCTION sse 5 JU EIS AUR ES e 6 Ze SPE CLEC ATION pM IR 11 PRONE VIEW SOSSI 13 T4 9430 8350 INS TAL LATION E iet esses 15 TNS TAU mud sias 18 CHAPTER 2 CONFIGURING THE 84
26. 87k These chm files include the I O module specifications pin assignments wire connections For example the pin assignments and wire connections are as follows 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 18 gg ggg Pin assianment State OFF State Input Type LED LED OFF Read ackasi as ___ as 0 Relay I DLPWR Contact Close __Belay Open 1 Open Logic Power Logic Power Logie Power II 11 Power ue DI PWR DILPWH Logic Low Logic Level Logic bl Open Collector ON State OFF State Epi BE SN LED ON LED OFF Readback as 1 Readback as 0 DOPWR DOGND ID DO PWR Eesistance zm e Load WE DOGND Wire Connection 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 19 Connect the wi Step2 j y Uy YAY ff A W X X 2 X X N _ ZV VAZ 7 N N 2 amp 3 S 38 N NIST NIIT
27. Activex ActiveX ocx component Supported modules i 7000 8000 87K series with DCON protocol Supported demos VB VC BCB Delphi Supported OS Windows 98 NT 2K XP File location CD Napdos Driver DCON_ ActiveX 4 4 1 Procedure for using the ActiveX Step 1 Read most basic and important documents Readme txt contains the basic and important information including e What is ActiveX e What files are installed the PC The directory tree installed on the PC e Demo list WhatsNew txt contains the version reversion history information including Bugs fixed e Demos added or modified Updated ActiveX ocx details 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 40 Step 2 Install the ActiveX by executing CD Napdos Driver DCON_ ActiveX Setup setup exe After installation all related information can be found below Programs Es Accessories LS Entivity Documents 7188E d k Settings LE Hypersnap D MES Activex gm Actives demo TREY Y f DLL K S FAQ txt fA Manual Help readme txt Wy Uninstall ActiveX Wwhathlew txt NAPTDDOM Pun Step 3 Read the manuals describing how to start InstallOCX pdf Explains how to install uninstall the ActiveX ocx component in VB VC Delphi BCB DCON explains the follow
28. TUO NC eet __ ___ __ 40 4 4 2 VB Example Reading an analog input value 41 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 3 ere ean eae Ry 45 poate elope ames ta nat allt 46 4 6 1 Procedure for using the Indusoft bundled 46 4 6 2 Indusoft Example Reading an analog input 46 NAP OPC SERVE Rinsa 51 11497917 NU __ 51 4 2 Procedure Jor usine the OPC SCVVEP T 22 4 7 3 OPC Server Example Reading analog input value 53 APPENDIX Aa DIMENSIONS a tinet iD Mn b Eee 56 APPENDIX B DCON PROTOCOL wel 58 Sore 59 FIOHIWOFOIMIE dC ihe ee ins tutu oM Mario c tut E 69 APPENDIX C VXGOMM IEGCEHNIGUE iu tete rh te tht eps uei 71 APPENDIX D I 8K AND 1 87 SERIES VO MODULES suririnte a i A 73 APPENDIX E UPDATING MINIOS7 IMAGE AND 15 Dn SACCESSTHECONIRODEESR 76 E UPDATING IMAGE _ _________ _______ 78 E DOWNLOAD FIRM Cir 79 8430 8830 User s
29. alue 9 000V to the Analog Data output Module in slot 3 and Command Response Description channel 1 of the 1 8000 unit at address 011 The response indicates the command is valid Command 01S3C1 05 000 Response gt cr Description This example sends the negative value 5 000V to the Analog Data output Module in slot 3 and channel 1 of the 1 8000 unit at address 011 The response indicates the command is valid gt 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 62 SAASI6 SAASI6 Description Read back the Digital Output module value and read the Digital Input module value of a specified slot in the l 8000 unit SAASI6 CHK cr 8000 unit ranging from 01 to FFh The specified slot number 0 to 3 4 slots or i O to 7 8 slots CHK A 2 character checksum cr Carriage Return 0 00 to denote the end of command Valid Command ODOEOO CHK cr for 8 bit DIO modules IDDOOO0 CHK cr for 8 bit or less than 8 bits DO modules IEE0000 CHK cr for 8 bit or less than 8 bits DI modules IDDEEOO CHK cr for 16 bit DIO modules IDDDDOO CHK cr for 16 bit DO modules for 16 bit DI modules IDDDDEEEE CHK cr for 32 bit DIO modules IDDDDDDDD CHK cr for 32 bit DO modules IEEEEEEEE CHK cr for 32 bit DI modules AA CHK cr Any syntax or communication error may receive no response A delimiter for valid command delimiter for invalid command 4
30. bit output value O Fh 4 bit input value O Fh 8 bit output value 00 8 bit input value OO FFh DDDD 16 bit output value 0000 FFFFh EEEE 16 bit input value 0000 FFFFh DDDDDDDD 32 bit output value 00000000 FFFFFFFFh EEEEEEEE 32 bit input value 00000000 FFFFFFFFh CHK A 2 character checksum Carriage Return 0 00 to denote the end response Example Command 01816 Response 10155AA00 Description The example reads the digital I O module value from slot 1 of the l 8000 unit at address 01h The second 2 character value 55h 01010101 indicate the I O module channels 1 3 5 7 are ON and channels DIO TI TI 0 2 4 6 are OFF 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 63 AASIO0 data For multiple channels DO output AASi00 data Description Sends the value to the digital output module for multiple channels output of a specified slot in 8000 unit Syntax AASI00 data CHK cr ______ 8000 unit ranging from 01 to FFh The specified slot number i 0 to 3 4 slots or i O to 7 8 slots 00 100 that for multiple channels DO output data A 2 character or 4 character HEX for digital output value For output from all channels the data will be 2 character HEX for channel count is less than or equal to 8 bits 4 character for channel count is 16 bits and greater than 8 bits The data bit is corresponds to t
31. can not be configured again unless it is disconnected Refer to Analog Input Alarm 1 For digital output modules not support analog input alarm 804 1 87041 1 8 7042 i 8050 Description This example is for a single channel The Digital output Module in slot 3 and channel 12 OCh of the 000 unit at address 01h will set to ON This example is only for output modules which the channel number is less than or equal to 16 01S31A00 cr Response 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 66 Description This example is for a single channel The Digital output Module in slot 3 and channel 10 OAh of the l 8000 unit at address 01h will be set to OFF This example is only for output modules where the channel number is less than or equal to 16 The table below show to use command to set 16 channel digital output module of the specified channel of slot of the l 8000 unit Command Channel Status Command Channel Status 01S31000 Set the Channel 0 DO OFF 01531001 Set the Channel 0 DO ON 01531100 set Channel 1 DO ON 01531200 set Channel 2 DO ON 01531300 set the Channel 3 DO 01531400 set the Channel 4 DO 01531500 set the Channel 5 DO 01531600 set the Channel 6 DO ON 01531700 set the Channel 7 DO ON 01531800 set the Channel 8 DO 01531900 set the Channel 9 DO 01531 00 set the Channel
32. ct to the Ethernet controller Winsock RemoteHost 192 168 255 1 Address of Ethernet controller Winsock RematePart 9999 Part Number of Ethernet controller Winsock Connect Step 2 Send command with cr Winsock SendData 501 amp vbCn Send the command with a character request the module of the controller Step 3 Receive data from Ethernet controller Winsock vtdata ybString Get the response data from the Ethernet controller Step 4 Close connection Winsock Clase Close the socket between the PC and the Ethernet controller 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 29 The result will be as below m Client side host name Annita IP 192 168 255 2 ECHO Client Server IP 192 168 2551 onnect Server Port 9999 Disconnect With CR Receive 1018430 Clear EXIT S Connection ta 192 1 255 1 esce This TCP application uses the DCON Protocol to communicate with Ethernet port 9999 of the i 8430 Ethernet I O controller The demo program can be found at CD Napdos 8000 843x883x TCP Xserver Client Common VB5 Client4 Or on the internet at ftp ftp icodas com pub cd 8000cd napdos 8000 843x883x tcp xserver client common vb5 client4 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 30 3 3 Via VxComm technology VxComm Virtual Communication Port is a technique t
33. d and response length bytes Normally for digital modules one module takes less then 1 ms for analog I O modules one sample takes less than 2 ms 3 The hardware design of the l 8000 series I O modules doesn t have the power value and safe value Running the firmware on the 1 8000 MCU they can have the functions 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 T4 Appendix Updating MiniOS7 image and firmware In following situations we release the new version MiniOS7 image and firmware e New I O modules supported New functions added Bugs fixed The tool to update MiniOS7 image and firmware is MiniOS Utility File location of MiniOS7 Utility CD Napdos MiniOS 7 Utility MiniOS7_Utility MiniOS7_ Utility exe or ftp ftp icodas com tw pub cd 8000cd napdos minios utility minios 7_utility 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 E 1 Access the controller Please follow the steps to do the updating procedure Step1 Install MiniOS7 Utility Step2 Use CA 0915 to connect 8430 8830 to COM1 2 of the host PC Step3 Short and Init COM Step4 Power off and then power on the 8430 8830 The CPU doesn t run the autoexec bat while power on stage Gooooooo i i
34. eries I O modules can be inserted into the 8000 MCU simultaneously When the 1 87 series I O module is inserted into the 8000 MCU it uses the same commands as the l 8000 series I O modules The 87K series expansion unit series includes 87 4 87 5 87K8 87K9 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 69 6 87 series I O modules use different commands when they are inserted into the 2000 MCU and the 87 expansion unit 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 70 Appendix VxComm technique VxComm Virtual Communication Port is a technique that allows access to remote 1 0 slots or RS 232 ports There are two types of software interfaces that can be used to access remote I O modules and the COM ports of the 7188E 8000E series the first is serial port interface and the second is the TCP IP interface For the serial port interface we provide a VxComm driver for Windows OS It is used to create virtual COM ports to map to modules and COM ports of the 7188E 8000E After creating virtual COM ports you can easily upgrade serial devices to with Ethernet communication ability and the original software only need to link to a virtual COM port It doesn t need any source code modification Comparison of using Virtual COM Port TCP Port to develop Ethernet application Use Virtual COM Port interface Use TCP Port interface Prog
35. hat allows a COM Port to be used to communicate with an ICPDAS Ethernet control unit The Diagram below show how to use VxComm Utility to map PC s COM Port to 8430 s Ethernet I O Port Send232 7 201 COM3 BE 2 8 3 19 2004 Fue Server Port Took InternetEthemnet Controller 1921682551 CMD Port 10000 Send string with C C LF CR CRLF LF Check Duplicated F Check Server Ys omr Devi 8430 192 168 255 1 s01 M 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 31 Chapter 4 Software Development ToolKit free 4 1 Location of documents and software The location of all documents and software related to the 8430 8830 are shown in the following directory tree The relevant file can quickly be located by referring to the tree CD Napdos DCON 8430 8830 Document 2 00 8KE10 exe For 256k_sram Firmware A3 02 E10M_nnn exe For 512k sram OS Image Driver 1 DCON Utility 2 DLL driver 3 ActiveX ocx component 4 Indosoft driver 5 Linux driver NapOPCSvr MiniOS7 Utility MiniOS7_ Utility 7188E TCP VxComm Driver PC PCDiag
36. he basic and important documents Readme txt contains the basic and important information including e What is Utility DOS e What files are installed on the PC Step 2 Read manuals for how to start DCON DOS pdf Explains how to use the DOS version utility to diagnose configure the I O modules and how to use the C language to develop your first program running under DOS The manual explains following details How to include the lib to C How to develop a program in C e Demo list e Function descriptions and usage Step 3 Run DOS Diag test exe to diagnose the I O modules 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 34 4 3 DLL Please Open Firstly DCON DLL COM Port ow2 __ Address deck i Counter Setting Checksum Ca DLL library Baud Rate soo Emi Me demum WR Hae a pm Supported modules Open Firstly oT eee i 000 8000 87K series 1 Alan 5 7080 n Seting C with protocol C Low C Supported demos VB VC BCB Delphi Supported OS Windows 98 NT 2K XP File location CD Napdos Driver DCON_DLL ig 4 3 1 Procedure for using the DLL Step 1 Read the basic and important documents Readme txt contains most basic and
37. he output module channel CHK 2 characters of Checksum cr Carriage Return to denote the end of the command Valid Command gt chk cr Invalid Command AA CHK cr Any syntax or communication error may receive no response A delimiter for valid command A delimiter for invalid command A 2 character of checksum Carriage Return 0 00 to denote the end of the response Note lf any channel of digital output module 1 is configured for an analog input alarms then this command has no effect on the specified channel The channel is always used for analog input alarms and can not be configured again unless it is disconnected Refer to Analog Input Alarm 1 For digital output modules not support analog input alarm are i 8041 1 87041 1 8 7042 i 8050 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 64 Example Description This example is for an 8 channel digital output module The Digital output Module in slot 3 and channel 2 and channel 6 of the 1 8000 unit at address 01h will be set to ON This example is only for output modules where the channel number is less than or equal to 8 Command 01S300AA55 cr Description This example is for a 16 channel digital output module The Digital output Module in slot 3 and channels 0 2 4 6 55h 9 11 13 15 AAh of the 8000 unit at address 01h will be set to ON Channels 1 3 5 7 8 10 12 14 are set to OFF This example just fo
38. ick to install The 8430 8830 control units contain either a 4 slot or 8 slot bus to allow various i o modules to be connected removing the need for complex wiring between i o modules Furthermore various I O modules can be inserted into the slots at the same time such as digital input output analog input output and counter modules and each I O module allows various numbers of channels For example with 8040 or i 8041 the 8830 provides max 256 digital input or digital output channels The module can simply be plugged into the slot and secured to the plastic base using a pair of locking buttons The assembly can then be mounted on the control box using DIN rail clips Built in Watchdog The built in watchdog circuit will reset the CPU module if a failure occurs in either the hardware or software If the application program does not refresh the watchdog timer within 1 6 sec the watchdog circuit will initiate a reset of the CPU 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 9 Input Protection circuitry The protection circuitry on both the network and power supply protects the system from external signals such main spikes and ambient electrical noise In addition the central processing module is isolated from external signals in three ways This is achieved through I O isolation of power isolation to 3KV and network isolation to 2KV High performance integrated power supply The built in isolated 20W
39. important information including e What is DLL e What files are installed on the PC The directory tree installed on the PC e Demo list WhatsNew txt contains the version reversion history information including Bugs fixed e Demos added or modified e Updated DLL details 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 Step 2 Install the DLL by executing CD Napdos Driver DCON_ DLL Setup setup exe After installation all related information can be found below EB Ni a E e b LT la 19 5 E Bua E 5 THE E e T Pope E LU EDU Fr DECOT IU aa _ ad zn IPs QuickStartManual pdf Explains how to develop your first program using the DLL DCON DLL pdf explains the following details e How to include the DLL in VB VC Delphi BCB How to develop a program in VB VC Delphi BCB e Demo list e Function descriptions and usage FAQ pdf Gives solutions to frequently asked questions Step 3 Run the demo programs to test the I O module and learn the functions 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 36 4 3 2 VB Example Reading an analog input value The following 15 an example of reading analog values from 1 87017 inserted in slot 0 of an 8430 8830 Step 1 Wire the 8430 8830 and configure its netwo
40. ing details How to include the ActiveX ocx in VB VC Delphi BCB How to develop a program in VB VC Delphi BCB Demo list Function descriptions and usage Step 4 Run demo programs to test the I O module and learn the functions 4 4 2 VB Example Reading an analog input value The following is an example of reading analog values from an 87017 inserted in slot 0 of an 8430 8830 Step 1 Wire the 8430 8830 and configure its network settings IP Mask Gateway Step 2 Run the VxComm Utility to create a virtual COM port e g COM3 to map the 8430 8830 Step 3 Run the Utility to configure the I O module 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 41 Step 4 Run VB and create a new project exe project Step 5 Add the ActiveX ocx component to the project Projectl Microsoft Vis 8 L Calg ChartFX OLE Custom Control cic 1 0 Type Library CnsHelper 1 0 Type Library 1 0 Type Library 1 0 Type Library BE x Direct Library EDAM Activex Control module 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 42 Step 6 Arrange all the components the form Fornl port Baudrate Address Ul Slot 0 Checksum Disable Timeout 1000 ms Me Che s done Step Open COM ia s des ChS A an Stepz Analog In All i ta Steps Close COM iN Step 7 Wr
41. ite the program code VB Step 2 VB Step 3 VB Step 1 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 Private Sub cmddnalogInAll Clicks 3 Dim fRecelveBuf l To 7 As Single ICON Xl ModuleAddress Xl ModuleID CLng 017 ICON Xl SlotHo ICON Xl CheckSum False Xl Timeout 1000 ICON Xl AnalogIn ll 0 If DCON El ErrorCode 0 Then txtChl Text 1107 txtChl Text 1 fRecelveBuit2 txtCh3 Text fRecelveBuff 3 txtChd Text 4 txtCh5 Text fReceiveBufit 5 txtChh Text fReceiveBulit txtCh Text fRecelveBuli 7 Else MsgBox ActiveX error End If _End Private Sub cmdClosetOM Click ICON Xl Port pen False End Sub Private Sub cmdoOpencOM Clickt DEON Xl COMPort 3 ICON 21 BaudRate 9500 DCON Xl DataBit 6 ICON Xl PaxityBit U ICON Xl StopBit ICON Xl Port pen True End Sub Step 8 Run the project 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 4 5 DCON Labview E es SUI DEUS rM ND ifr Weit p dit Opere im Pn ject Wi dowa c ERAN sent eae f 1 Ent 280 mecs L Analog Out Analog Data Acquisition Demo Program 3 W m gt Joon joo
42. manual Dec 2004 Version 1 0 5 003 10 4 Chapter 1 Introduction The i 8430 and i 8830 are Ethernet I O units using Protocol Firmware E10M_nnn exe 1 ICPDAS provides various I O modules 2 using such as analog input output and digital input output and counter modules which can be used in remote data acquisition and control application for environment monitoring power management factory automation etc via Ethernet communication Alarm Power switch Temperature Voltage Counter 1 For detail of E10M_nnn exe please refer to CD Napdos DCON 8430_8830 Firmware Version_Annn txt ftp ftp icpdas com pub cd 8000cd napdos dcon 8430_8830 firmware 72 For detail of modules which can be used with 8430 8830 please refer to CD NapdosDCONMO Module ftp ftp icpdas com pub cd 8000cd napdos dcon io module 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 5 1 1 Features Ethernet based Data Acquisition I O unit The i 8430 and 1 8830 are 10Mbps Ethernet I O units This feature allows Ethernet applications to access and control the remote I O in industrial filed network And E10M nnn exe or 8KE10 exe is the firmware for the i 8430 i 8431 i 8830 i 8831 i BKE4 and i 8KE8 Using this firmware applications can be easily and directly developed using a TCP program or via VxComm technology ASCII based protocol DCON Protocol The 8430 8830 control units use the DCON protocol which
43. mmand table reference Command Command Description SAAM Reads the Module Name SAAF Reads the Firmware Version of a specified slot ws specified slot and the specified channel in the 8000 unit ZAASiCj data Sets the analog voltage output module data from the specified slot and channel in the 1 8000 unit The data format is in engineering units only Read Digital input and output status at specified slot 5 00 Sets the multiple Digital output of a specified slot AASIBjDS sets the single Digital output of a specified slot 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 59 HAASI Command Description Reads the analog input or counter frequency module data for all channels from specified slot in the 1 8000 unit ZAASI CHK cr delimiter character AA A 2 character HEX module address for the specified l 8000 system ranging from 01 to FFh Si The specified slot number 0 to 3 4 slots or i O to 7 8 slots CHK 2 characters of checksum cr Character Return OxOD for denote the end of command Valid Command gt data chk cr Invalid Command AA CHK cr Syntax error or communication error may get no response A delimiter for valid command A delimiter for invalid command A 2 character HEX module address data A return string from the RTD input module in engineering mode cr Carriage Return OxOD to denote the end of response
44. ngle ssendstring Space 2ll sEecelveStrlng Spacef aus dwt ommarndEu fi 0 3 dwt ommardEu fi 17 dwConmandBuf 2 4HA01T dwComnmmandBEuf 3 duwttonmmandBuff4 1000 dwComnmandBuf 5 0 4 dwComnmandBEuf 7 0 Port 3 Address 1 fixed for 8430 9830 Module ID Checksum disabled TimeOut 1000 ms Channel number Don t care in nalogInAll String debug disabled Module slot 0 AnalogInA ll SK dwCommandBufitl 0 sSendString sRecelveStrlinz If 1Ret lt gt U Then MszBox AnalogInAll 8K End If txtChll Text fRecelveBufi i Text 1 txtCh Text fRecelveEui 2 txtCh3 Text 1 1 5 Text fRecelveBul 4 txtChS Text fRecelveBul 5 fRecelveBul txtCh Text 7 End Sub error 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 38 Step 8 Run the project 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 4 4 DCON ActiveX M ndow He 1 1 FE ti Porp same 1 ModuleType I 7012 Module IProgramming with OCX Control Module 3 7 modu 1 udrate 9600 NAP7OOOX1 PortOpen True open the CON2 Port IS 3788 d senis g amosa Project Form Form
45. p Cc C L3 L5 C E C D C I JU J VU JU d Top View 30 26 j 207 26 Mi Sq SII 0 0 0 D 2 CO O O O O LR O lt e S O 2 d 2 10 30VDC VW md Gr SND O O Q L gt T H O O S INT T 1 Initialize 5 5 Kk INIT COM 5 C C 4 Xf 1 Ethernet O JTN 10 BaseT teq Ga CoN y Hf 2 u Na 4 J Front View 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 56 T T 5 1 3 CN x C gt H 3 LESE 39 C C 5 nee Cc C C 2 23 2 gt A 7 S MO Back View Side View
46. r output module channel number is greater than 8 and less then or equal to 16 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 65 5 For single channel DO output AASIBjDs Description This command sends the value to the digital output module of the specified channel and slot of the 1 8000 unit This command is only for output modules which the channel number is less than or equal to 16 Syntax ZAASITBDSs CHK cr A delimiter character 8000 unit ranging from 01 to FFh The specified slot number i 0 to 3 4 slots or i O to 7 8 slots 5 The channel to be will contain two characters The first character B is always be number 1 and the second character indicates the channel will be set and ranging from O to F Ds For single channel output the data will contain two character The first character D is always 0 The second character is ether 0 or 1 0 gt OFF 1 gt ON CHK 2 characters of Checksum Carriage Return to denote the end of the command gt chk cr AA CHK cr for invalid command 2 CHK A 2 character of checksum cr Carriage Return to denote the end of the response Note lf any channel of digital output module 1 is configured for an analog input alarms then this command has no effect on the specified channel The channel is always used for analog input alarms and
47. ramming Program has to Send has to Send method Receive command via COM Port receive command via TCP Port Extra Driver Need to install VxComm driver on No PC Platform Windows 98 NT 2000 XP All platforms SDK provided DLL ActiveX LabView bundle No program has to use driver InduSoft bundle driver Protocol directly to OPC driver communicate with I O modlues 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 T 1 THE TWO APPLICATION ARCHITECTURES ARE SHOWN AS BELOW Hub Ethernet 10M COM 254 COM 255 COM 256 Port 10001 10002 01 FOOD 9999 e Port 10001 Port 10002 FOOD 01 TOO Appendix D 1 8K i 87K series I O modules The firmware 8 232 8K485 exe and 8KE10 exe supports both 8K and 87K series I O modules The two series I O modules be plug same l 8000 MCU The modules for DI DO DIO Al AO and Counter Frequency purpose are supported Other modules such as multi serial port 8112 8144 8142 8144 MMC 8073 motion 8090 8091 are not supported The file in the shipped CD lists details CD Napdos Driver DCON_Utility DCON_Utility_Module_List htm The firmware only accepts 4 digits numbers Thus both 8K and 87 series recognized as 4 digits numbers When using the Utility to search I O modules the screen shown a
48. rk settings IP Mask Gateway Step 2 Run the VxComm Utility to create a virtual COM port e g COM3 to map the 8430 8830 Step 3 Run the DCON Utility to configure the I O modules Step 4 Run VB and create a new project exe project Step 5 Add 7000 to the project E Forms Fonmnl fom s Modules e 1000 17000 bas Step 6 Arrange all the components on the form Foul part Baudrate Any a Address 01 Chi ate Slot 0 s Checksum Disable Che ate Timeout 1000 Ch3 A Cha ah Stepi tale ee ps ia Steps Analog In i aie itr Steps Close iN 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 37 Step 7 Write the program code Private Sub cmd loseCoM Clickf Close Com 2 VB Step 3 End Sub Private Sub cmdopenCOM Click Dim 1Ret As Integer 1 Open Com 2 9800 8 0 1 port Baudrate 9500 for 8430 8830 any baudrate 15 ok VB Step 1 Data hit fixed Parlty none fixed for 9430 5830 Stop bit 1 fixed for 8430 4530 If 1Ret lt gt 0 Then MsgBox Open COM port error End If __ End VB Step 2 Private sub cmd nalogInAll Click Dim 1EBt Integer Dim ssendstring As Strlng Dim sEecelivestring 5 string Dim dwCommandBufil 7 As Long Dim fREeceiveBuf l To 7 As Si
49. s 4 slots for 8430 8 slots for 8830 e Mounting mechanism pannel mounting and din rail mounting e Power supply 20W e Power requirement 10 30 e Power consumption 3 9 W for 8430 5 1 W for 8830 e Operating Environment Operating Temp 25 to 75 C Storage Temp 30 to 85 C Humidity 5 95 non condensing e Dimension 230 x 110 x 75 5 mm for 8430 354 x 110 x 75 5 mm for 8830 For more detailed dimensions please refer to Appendix A Dimensions 8430 8830 User s manual Dec 2004 Version 1 0 8MS 003 10 12 1 3 Front view 8430 8830 8430 Small Man Machine Interface Power 10 Initial pin RS 232 COM1 10M Ethernet port Slot 0 Slot 1 Slot 2 Slot et ID COM2 8830 Small Man Machine Interface Power 10 aj Initial pin RS 232 Slot 0 Slot 2 Slot 4 Slot 6 Net ID 10M Ethernet port 2 1 Slot 5 Slot 7 8430 8830 User s manual Dec 2004 Version 1 0 5 003 10 13 Pin assignment of Port The COM1 Pin assignment of 6430 8630 Pin assignment of COM3 Port DATA TAD E RAD RTS DATA ND RS 232 485 The COMS Pin assignment of 8430 8630 8430 8830 User s manual Dec 2004 Version 1 0 8 5 003 10 14 1 4 8430 8830 installation Step1 Mount the I O unit Method a using screw panel mounting
50. s following F Utility Yer 4 3 5 File COM Port Search Run Terminal Help 0 Ihe Found Ont I TOO0000 module __ Module ____ Address Baudrate Al Checksum Descrip UEM 0430 111 115200 Disable 0430 Main Controller 0018 87K 50 115200 Disable Thermo Input 001 7 87K 51 115200 Disable B CH Analog Input Running eS Sy ETC CURE EM Lata formal ginieennag ow Filter Setting rejection Normal 16 The differences between l 8000 and 87 series I O modules Item i 8000 series I 8 7K series Microprocessor Yes 8051 Communication interface PARALLEL BUS NOTE4 Serial bus Note2 o Ye _ DI latched function Yes Counter input for digital input module NO Host watchdog Yes Module watchdog Yes Programmable slew rate for AO module Yes Note 1 The 8000 series and 87K I O modules can both be connected into the same i 8000 MCU for there are two types of buses on 1 8000 series main board Through the parallel bus the CPU can communicate with I O modules very fast For digital I O modules the communication time takes less than 0 1ms For analog I O modules it depends on the modules For example 1 8017H s scan rate is 50K samples second and 1 8024 5 throughput is 2100 samples per second 2 Through the serial bus RS 485 the communication speed is 115200 bps Maximum The communication time depends on the comman
51. s not access the RS 485 Modnus device 4 7 1 Introduction OPC OLE for Process Control is the first standard resulting from the collaboration of a number of leading worldwide automation suppliers working in cooperation with Microsoft Originally based on Microsofts OLE COM component object model and DCOM distributed component object model technologies the specification defined a standard set of objects interfaces and methods for use in process control and manufacturing automation applications to facilitate interoperability The COM DCOM technologies provided the framework for software products to be developed There are now hundreds of OPC Data T Access servers and clients 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 Value Device30 has 2 Tags Desc ription Supported module i 000 8000 87K series with DCON protocol Modbus embedded controller ISaGRAF embedded controller Supported OS Windows 98 NT 2K XP CE CD Napdos NapOPCSvr NAP OPC server 4 7 2 Procedure for using the OPC server Step 1 Read the basic and important documents Readme txt contains the basic and important information including e Files on the shipped CD Reversion txt contains the reversion information including Bugs fixed e New modules supported Step 2 Install the OPC server by executing CD Napdos NapOPCSvr NapOPCServer exe Note If there is an older version of Nap OPC Server installed on the
52. the 8430 8830 and configure its network settings IP Mask Gateway Step2 Install the VxComm driver appropriate for your PC 95 98 NT 2000 XP CD Napdos 7 188e tcp VxComm Driver PC Step3 Run the VxComm Utility and connect to the 8430 8830 E Utility 2 8 3 19 2004 File Server Port Tools T 8B8E SUDUE Intemet Ethemet Controller 192 188 2551 C MD Part 110000 v Check Duplicated Check server VxComm Devices 8430 192 168 255 1 server Options X Remove Server elatus Step4 Map the Port I O to a virtual COM port Step5 Exit the VxComm Utility 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 24 2 3 Configure I O modules The Utility is used to configure 1 7000 1 8000 and 1 87K series I O modules and communicates with I O modules the COM port For I O modules on the i 8430 and 8830 using VxComm technique can let Utility to access the I O modules the Ethernet DCON Utility V Utility Yer 4 3 5 File Search Run Termmal Help Out eem Main fu nctions Module ___ Address Baudrate Alarm Checksum Descripti Configuring modules 8430 11 Disable 8430 Main ler U B017 876 S1 118200 sable Baudrat audrate Address Check sum Power on value Safe value etc Testing I O actions Modules supported i 000 1i 8000 1 87K series
53. tings The wizard is most useful for detecting the host PCs network settings searching the local network to locate a valid IP Mask and Gateway address Using the Configuration Wizard allows automatic detection of the important settings removing the need to contact system administrators for support Step1 Use CA 0915 to connect of 8430 8830 to COM1 2 of the host PC Step2 Install PCDiag to the host PC by running CD NapdosV 188eMcpWPCDiag Step3 Follow the instructions given by the Configuration Wizard until the following window appears 8430 8830 User s manual November 2004 Version 1 0 8MS 002 10 21 Accessories 8 3 Development Kits Documents gt Microsoft visual Studio 6 0 amp InstallShield PackageForThe Web 2 amp Settings j E Network Search LE DAQPro 3 T 716e Ai Configure Wizard SendTCP help Ry Uninstall PC Diag Has Psat s d Step4 Open the COM port and then click Configure to set the IP Mask Gateway to 8430 8830 M Confie Wizard 102 COMI status com 15200 Line contig 7 Host PC Operation IP 192 168 20 23 Mask 255 255 0 0 Shep 4 Connect 1 2 of to of the 7188E 800 Shep 5 T 188 Setting Origin
Download Pdf Manuals
Related Search
Related Contents
Desktop Computer system, Standard Configuration Comprising Manual do Tryd em PDF e:cue media engine Product Family製品説明書 Linx SDM-USB-QS-S datasheet: pdf Polaris 700 IQ Offroad Vehicle User Manual User manual (English, PDF, 800Kb) カタログをダウンロード BiPAP Synchrony User Guide NUMARK CDX User Manual Copyright © All rights reserved.
Failed to retrieve file