Home

Win-GRAF-User-Manual-english V1.01

image

Contents

1. Must use a constant value cannot be a changed value Addr Data type DINT The Net ID address of the module can be 1 to 255 Must use a constant value not a changed value Output Parameters OK Data type BOOL TRUE Communication is Ok FALSE Communication failed Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 10 8 2 6 D 87084 CNT8 Function Block D_ 87084 _CNT8 Connect a remote I 87084W in an I O Expansion Unit e g 87K4 5 8 9 or RU 87P4 or RU 87P8 to measure 8 ch counters Note 1 Please MUST configure the I 87084W s counter data format as Hex format by DCON utility see P8 1 when using the I 87084W to measure counters Or it will not work 2 Please use DCON Section 8 1 in the I O boards window and set proper settings Port baud_rate etc on it 3 To get the 8 ch counter value from the remote I 87084W first using D_ 87084 _cnt8 Function Block Then using the Counter_ Start Counter_Stop Counter_Get Counter_State and Counter_Reset Functions refer Section 4 9 to operate counter channels 4 All values of Al channels are meaningful only when the returned communication state is TRUE If OK returns TRUE 5 Referring Chapter 12 click the menu bar File gt Add Existing Project gt From Zip to restore the demo project CD ROM Napdos Win GRAF demo project DEMO_D_87084_ C8 zip in the shipping CD and see the program and descriptions Supposition U
2. Blocks Sovlist Define ENUM o_o Z index DI of l 7083 Input Parameters EN Data type BOOL TRUE enable it FALSE disable it Port Data type DINT COM port number can be 1 to 37 depends on PAC Must use a constant value cannot be a changed value Addr Data type DINT The Net ID address of the module can be 1 to 255 Must use a constant value not a changed value Output Parameters OK Data type BOOL TRUE Communication is Ok FALSE Communication failed ZO Z 2 Data type BOOL 3 ch Z index DI value Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 8 8 2 4 D 87084 FREQ Function Block D_87084_ freq Connect a remote I 87084W in an I O Expansion Unit e g I 87K4 5 8 9 or RU 87P4 or RU 87P8 to measure 8 ch frequency Note Please MUST configure the I 87084W s frequency data format as Hex format by DCON utility see 1 P8 1 when using the I 87084W to measure frequency Or it will not work Please use DCON Section 8 1 in the I O boards window and set proper settings Port baud_rate etc on it All values of Al channels are meaningful only when the returned communication state is TRUE If OK returns TRUE Referring Chapter 12 click the menu bar File gt Add Existing Project gt From Zip to restore the demo project CD ROM Napdos Win GRAF demo project DEMO_D_87084 _FR zip in the shipping CD and see the program and descrip
3. Must use a constant value not a changed value Tmp_F Data type DINT Temperature Format can be 1 or 2 1 temperature unit in Degree Celsius 2 temperature unit in Degree Fahrenheit Other value use it as 1 temperature unit in Degree Celsius Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 6 Output Parameters OK Data type BOOL TRUE Communication is Ok FALSE Communication failed VO V_9 Data type REAL 10 Ch Al value If the channel range type is configured as mV or Volt by DCON utility the unit of the returned channel value is Volt For example 0 85421 means 0 85421 V or 854 21 mV If the channel range type is configured as mA by DCON utility the unit of the returned channel value is mA For example 1 5567 means 1 5567 mA If the channel range type is configured as temperature the value unit is degree For example 25 75 means 25 75 degrees Open wire Detection If the returned temperature is greater than 9000 0 it means that 1 The temperature sensor may be broken line 2 The temperature sensor may be damaged 3 The DCON module is not configured well to fit the connected temperature sensors 4 The ohm measured by the connected sensor is not correct Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 7 8 2 3 D_ 7083 Function Block D_7083 Connect a remote l 7083 I 7083D I 7083B or 7083BD module that is a 3 axis 32 bits encoder counter Note 1 To get the Encode
4. g l 7021 l 7022 l 7024 7024R 87024W I 87024UW I 87024CW I 87028UW I 87028CW I 87028VW 87028VW 20V and other Analog Output modules DCON Utility is an easy to use software toolkit that help user search the network configure the I O modules and test the I O status Please visit the website to get the software program and user manual www icpdas com products dcon introduction htm The following will introduce the setting method in the Win GRAF Workbench Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 1 8 1 Setting DCON I O Boards DCON can be used to enable an RS 485 Port to connect remote DCON I O modules e g l 7000 series modules RU 87P8 I O Expansion Unit 87KW I O modules or I 87K8 I O Expansion Unit I 87KW I O modules If want to enable more than one DCON Port please set up multiple DCON I O Boards One PAC can enable up to 16 DCON 1 Click Open I Os of the Win GRAF tool bar to open the I O Boards setting window File Edit View Insert Project Tools Window Help id hs XK 9 vias od ss Sm al 2 Double click Slot8 to add DCON I O Boards Refer Chapter 4 and then double click DCON to open the Properties window Note The Slot 0 to Slot 7 are reserved for real I O modules that plugged into the PAC and the slot 8 or above are for other usage htt 140 Boards eke Ei 5 D Co Mh 7 wrrr ee Ue eee eee ee EEE EEE HEHEHE EEEEEEEEEEEEEEEEEEEE TEESE T
5. 5 H S EF D_701 Utemote i7011 gt E7012 remote i 7012 gt D_7012_ 2 Get only 1 ai D_7013 remote i 7013 Tips l D ZONA Crernote 2014 Press F1 to see the setting description 2a ee a Define ENUM gt Main Variables Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 4 8 2 1 D_ 7065 Function Block D_ 7065 Connect a remote l 7065 I 7065D Power Relay Output Module or I 7065A I 7065AD 7065B I 7065BD Solid State Relay Output Module Note 1 All connected DCON I O modules should be configured once by the DCON Utility see P8 1 2 Please use DCON Section 8 1 in the I O boards window and set proper settings Port baud_rate etc on it 3 All values of DI channels are meaningful only when the returned communication state is TRUE If OK returns TRUE 4 Referring Chapter 12 click the menu bar File gt Add Existing Project gt From Zip to restore the demo project CD ROM Napdos Win GRAF demo project DEMO_D_7065 zip in the shipping CD and see the program and descriptions Supposition Use PAC s COM2 to connect the l 7065 Addr 2 with 4 DI and 5 Relay output channels Inst D 7065 A yY Name i Re TER Type Dim re fa Global variables n ni DI 1 BOOL Fe BOOL bel BOOL i sa BOOL DES BOOL Q i BOOL DI_4 BOOL a BOOL BOOL po i BOOL v lt gt a Declare 9 BOOL variabl
6. Chapter 8 Connecting DCON I O Modules The Win GRAF PAC can connect the ICP DAS I 7000 and I 87KW remote DCON I O modules via the COM Port RS 485 Each PAC can enable up to 16 DCON Ports and each Port can connect up to 50 remote DCON I O modules not recommended over 32 If select the I 87KW series I O modules it must be used with the RS 485 I O Expansion Unit e g I 87K4 5 8 9 or RU 87P4 8 You can view the detailed product information on the ICP DAS website http www icpdas com root product solutions remote io remote io products html WP 8xx8 n AAs 1 7000 RU 87P4 1 87KW i 8142iW i 8144iW 2 4 RS 422 RS 485 Port Before connecting 1 7000 or I 87KW remote DCON I O modules you must use DCON Utility software to configure each module for the Protocol choose DCON mode Address 1 255 Baudrate the same with the Win GRAF PAC recommended set to 9600 Checksum usually Disable Data format and other Input Output settings set according to demand Note A When using the Al module of l 7000 and I 87KW set the Data format to 2 s Complement E g l 7005 l 7013 I 7014D l 7015 l 7016 I 7017R I 7018Z I 7019R l 7033 I 87005W I 87013W I 87015W I 87015PW I 87016W I 87017W I 87017RCW I 87017ZW I 87017DW I 87018W Il 87018RW I 87018ZW I 87019RW I 87019ZW and other Analog Input modules B When using the AO module of l 7000 and I 87KW set the Data format to Engineering E
7. DCON utility see P8 1 when using the 87084W to measure counters Or it will not work 2 Please use DCON Section 8 1 in the I O boards window and set proper settings Port baud_rate etc on it 3 To get the 4 ch counter value from the remote I 87084W first using D_ 87084 _ cnt4 Function Block Then using the Counter_ Start Counter_Stop Counter_Get Counter State and Counter_Reset Functions refer Section 4 9 to operate counter channels 4 All values of Al channels are meaningful only when the returned communication state is TRUE If OK returns TRUE 5 Referring Chapter 12 click the menu bar File gt Add Existing Project gt From Zip to restore the demo project CD ROM Napdos Win GRAF demo project DEMO_D_87084_ C4 zip in the shipping CD and see the program and descriptions Supposition Use PAC s COM2 to connect the I 87084W Addr 6 to measure 4 ch counters Al T Name Type Inat _D 6 7084 _CN T4 AL DINT Al 6 DINT Al 7 DINT a Al 8 DINT COM BOOL v lt gt To read write operate T Alini SSE Lista counter refer Section 4 9 FE D D acina ENTS P estat a FEF N 87084 FREN remnte i inn 4 gt Blocks Spvlist Define ENUM gt Maing Variables Input Parameters EN Data type BOOL TRUE enable it FALSE disable it Port Data type DINT COM port number can be 1 to 37 depends on PAC
8. ESTE EERE E EEE SEE EEEE ESET E EEE ESEE REESE EEEEEEEEEEEEEEEEEEEEE TEESE EERE EEE TEETER EEE EEE EEE EEE ESSE EES EEEEEE SESE SEEEEEEEEEEEEEEEEEEEEEEE EEE EERE ESTEE EEE EEE EEE REED man Host_watchdog Enabled 0 Watchdog timeout 5000 E DCON Checksum_enabled 0 Delay_ms_between_polls 0 ReservedO 0 10 11 12 Reserved3 13 14 15 EE Setting Descriptions 16 DCON 17 Enable one serial port AS 485 to connect remote DCON 170s 1 7000 series modules RU 87PE Note 1 This DCON supports only the communication properties N 8 1 That is No parity 8 character size and 1 stop bit So please must configure all DCON 1 0 modules to N81 rer Ed A Parameters Note This DCON supports only the communication properties N 8 1 That is No parity 8 character size and 1 stop bit So please must configure all DCON I O modules to N 8 1 Port COM port number 1 37 depends on the PAC Baud_rate Communication baudrate in bps can be 1200 2400 4800 9600 19200 38400 57600 115200 bps Set a wrong value will use the default value 9600 Host_watchdog Enabled 1 enable host watchdog 0 disable it Set a nonzero value will use the value 1 Watchdog timeout Unit ms can be 3000 25500 Set larger than 25500 will use 25500 ms 25 5 sec Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 2 Set smaller than 3000 will use 3000 ms 3 se
9. alue 45 7 means 45 7 Temp_C Data type REAL The temperature value is in Degree Celsius For example a value 25 7 means 25 7 Degree C Temp F Data type REAL The temperature value is in Degree Fahrenheit For example a value 78 26 means 78 26 Degree F Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 12
10. c Ignore this setting when Host_watchdog Enabled is O Checksum_enabled 0 disabled 1 enabled Set a nonzero value will use the value 1 Delay_ms_between_polls Unit ms default is O ms Valid range is O 1000 Set smaller than O will use O ms Set larger than 1000 will use 1000 ms If there is no wireless module connected set a smaller value For instance set as 0 10 If there are wireless modules e g ICP DAS ZigBee Products ZigBee Converters or ZigBee O modules connected set a bigger value For instance set a value between 30 100 or other values Set larger value will get slower polling efficiency 3 Double click the item to be set and then fill in the value 8 DCON Properties Key 6 Ref 16 5 Port 2 Baud_rate 9600 Host_watchdog Enabled 1 Watchdog timeout 3000 Checksum enabled 0 4 After setting up the DCON in the I O Boards window it will automatically add a BOOL input variable in the Variables window When the Win GRAF links to the PAC it will show the COM Port communication status TRUE OK FALSE error Y Name ss _ Type Dim Attrib Syb Initvalue User Tag Description Qh Global variables A RETAIN variables eee Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 3 8 2 Using I O Function Blocks The Win GRAF supports many ICP DAS DCON remote I O modules you can open the Library Manager Refer Section 1 2 3 or pres
11. es D_7063 remote i 7063 4 M DI amp DO of the l 7065 D_ 7065 remote i 7065 D_ 7066 temote i 7066 a SEE MN FORF iranata imne med ASML gt 4 gt Blocks Sovlist Define ENUM gt Mains Variables Input Parameters EN Data type BOOL TRUE enable it FALSE disable it Port Data type DINT COM port number can be 1 to 37 depends on PAC Must use a constant value cannot be a changed value Addr Data type DINT The Net ID address of the module can be 1 to 255 Must use a constant value not a changed value RL_1 RL_5 Data type BOOL 5 Ch DO values Output Parameters OK Data type BOOL TRUE Communication is Ok FALSE Communication failed IN_1 IN_4 Datatype BOOL 4 Ch DI values Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 5 8 2 2 D_ 70182 Function Block D_70182 Connect a remote I 7018Z module that is a 10 channel Thermocouple analog input module for measuring voltage current or temperature with features of individual channel configuration open wire detection and over Voltage protection Note 1 All connected DCON I O modules should be configured once e g Address Baudrate etc by the DCON Utility see P8 1 Please must configure the data format of Al modules to 2 s complement by DCON utility or the Win GRAF PAC can not read them well 2 Please use DCON Section 8 1 in the I O boards window and set proper
12. r value of the l 7083 I 7083D I 7083B and I 7083BD module first using D_ 7083 Function Block Then using the Counter_Start Counter_Stop Counter_Get Counter_State and Counter_Reset Functions Refer Section 4 9 to operate encoder channels in an l 7083 7083D I 7083B and I 7083BD module All connected DCON I O modules should be configured once e g Address Baudrate etc by the DCON Utility see P8 1 Please must configure the data format of Al modules to 2 s complement by DCON utility or the Win GRAF PAC can not read them well Please use DCON Section 8 1 in the I O boards window and set proper settings Port baud_rate etc on it All values of Al channels are meaningful only when the returned communication state is TRUE If OK returns TRUE Referring Chapter 12 click the menu bar File gt Add Existing Project gt From Zip to restore the demo project CD ROM Napdos Win GRAF demo project DEMO_D_7083 zip in the shipping CD and see the program and descriptions Supposition Use PAC s COM2 to connect the l 7083 Addr 4 with 3 DI channels SOSA F Name Type Dim A pa Global variables A apa DI 1 BOOL m 21 Port DI 2 BOOL bel D3 BOOL 4 Addr 3 COM BOOL v Di3 To read write operate a D_7080_CNT remote i A Encoder refer Section 4 9 aes 5 is i Ues emote 1 053 EEY lt Declare 3 BOOL variables 4
13. s F1 key in the Function and FBs to view these I O Function Block descriptions This section will introduce D_ 7065 D_7018Z D_7083 D_ 87084 freq D_ 87084 cnt4 D_87084_cnt8 and DL_100T485 I O Function Blocks Wi Library Manager ICP DAS XP WP P File Wizard Help C Function and FBs D and FBs Os Profiles AS j aF ll Types s D 7005 remote i7005 z l F gD_7011 remote 1 7011 7011D 7011P 7011PD mD_7012 remote 1 7012 7012D 7012F 7012FD oT ININ TM a ta ed UL AN nee eae i TAALO ONA INIANT ONAT A M ttt Function Block A Input parameters EN BOOL TRUE enable it FALSE disable it Port DINT COM port number can be 1 to 37 depends on PAC Must use a constant value not a changed value Addr DINT Net ID address of the module can be 1 to 255 v In the LD Program Functional Block area expand the ICP DAS XP WP VP folder of the Blocks panel There are many Functions and Function Blocks You can select the desired one and drag it into the editing area of the program Main H A x I 7 T Name Type Dim Inst_D 700 EAR F gan ot 3 a Global variables a id RETAIN variables o B k DCON E olx0 0 BOOL T a i z wH l H COUNTER_RESET Re 20 COUNTER_START Sta Di COUNTER_STATE Get E H COUNTER_STOP Stop a D 7005 remote i 700
14. se PAC s COM2 to connect the I 87084W Addr 7 to measure 8 ch counters Al T Name Type Inst_D_87084_CNT8 i Al 5 DINT A Al 6 DINT Al 7 DINT 3 Al 8 DINT COM BOOL v S E To read write operate AE D_SHGL INIA emoti counter refer Section 4 9 i Hi pa N Ty E a FEF NL 1NNT AGA frernt Mil Ee E Sa 4 gt Blocks Sovlist Define ENUM 4 gt Main arisbles Input Parameters EN Data type BOOL TRUE enable it FALSE disable it Port Data type DINT COM port number can be 1 to 37 depends on PAC Must use a constant value cannot be a changed value Addr Data type DINT The Net ID address of the module can be 1 to 255 Must use a constant value not a changed value Output Parameters OK Data type BOOL TRUE Communication is Ok FALSE Communication failed Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 11 8 2 7 DL_100T485 Function Block DL_100T485 Connect a remote DL 100T485 module to get humidity and temperature value Product website http www icpdas com root product solutions remote io rs 485 dl series dl 100t485 html Note 1 Please use DL 100T485 Utility software in the shipping CD to configure the appropriate parameters of the module e g Module ID The TDL 100T485 s default Address ID is 1 Baudrate is 9600 and the Checksum is Disable 2 Please use DCON Section 8 1 in the I O boards windo
15. settings Port baud_rate etc on it 3 All values of Al channels are meaningful only when the returned communication state is TRUE If OK returns TRUE 4 Referring Chapter 12 click the menu bar File gt Add Existing Project gt From Zip to restore the demo project CD ROM Napdos Win GRAF demo project DEMO_D_7018z zip in the shipping CD and see the program and descriptions Supposition Use PAC s COM2 to connect the I 7018Z Addr 3 to measure the Celsius temperature F EE n CNP Name l Type Dim lll i o ati j fa Global variables A Al 1 REAL p _ Al 2 REAL If OK returns TRUE Al_3 REAL Si afa Al 4 REAL Al 5 REAL TH apas Al 6 REAL 5 Al REAL e _3pAl_4 Al 8 REAL Al 9 REAL ar ALS Al 10 REAL Declare 10 REAL variables COM BOOL z t 5446 Al of the I 7018Z B HKH gt AL D_70172_20 remote i A p h D_7018 temote i 701 mt 7FLAL8 D_ 70182 temote 1 70 i D_7O19R remote i 70 BbALS D_ 7021 remote i 702 D_ 7022 remote i 702 4 Al_10 J D_7024 remote i 702 lt gt EE Blocks Sovlist Define ENUM gt Main Variables j dal alae aot e Input Parameters EN Data type BOOL TRUE enable it FALSE disable it Port Data type DINT COM port number can be 1 to 37 depends on PAC Must use a constant value cannot be a changed value Addr Data type DINT The Net ID address of the module can be 1 to 255
16. tions Supposition Use PAC s COM2 to connect the I 87084W Addr 5 to measure 8 ch frequency Main TE R1 Al Al 2 If OK returns TRUE 2 Al 4 Al 5 Al 6 Al 7 Al 8 COM D_87084_CNT4 temote A Declare 8 DINT variables D_ 87084 CNTS remote frequency inputs of the D_87084_FREG remote 87084W DL_100T 485 temote DL h EEP_READ Read a val i Ms Xx j f Global variables A DINT DINT DINT DINT DINT DINT DINT DINT BOOL v w TF EEP WRITE write a va Y gt Blocks Sovlist Define ENUM Main variables Input Parameters Addr EN Data type BOOL TRUE enable it FALSE disable it Port Data type DINT COM port number can be 1 to 37 depends on PAC Must use a constant value cannot be a changed value Data type DINT The Net ID address of the module can be 1 to 255 Must use a constant value not a changed value Output Parameters OK Freq_0 Freq_7 Datatype DINT 8 Ch frequency value unit is Hz Win GRAF User Manual V 1 02 Mar 2015 by ICP DAS 8 9 Data type BOOL TRUE Communication is Ok FALSE Communication failed 8 2 5 D 87084 CNT4 Function Block D_ 87084 _CNT4 Connect a remote I 87084W in an I O Expansion Unit e g 87K4 5 8 9 or RU 87P4 or RU 87P8 to measure 4 ch counters Note 1 Please MUST configure the I 87084W s counter data format as Hex format by
17. w and set proper settings Port baud_rate etc on it 3 All values of Al channels are meaningful only when the returned communication state is TRUE If OK returns TRUE 4 Referring Chapter 12 click the menu bar File gt Add Existing Project gt From Zip to restore the demo project CD ROM Napdos Win GRAF demo project DEMO_DL_100T485 zip in the shipping CD and see the program and descriptions Supposition Use PAC s COM2 to connect the DL_100T485 Addr 1 to get humidity and temperature value SARTRE TAR A T Name Type Dim Aa Nas I fat Global variables COM BOOL RH1 REAL Temp_1 REAL Fe gt D_87084_CNTS rem A D_87084_ FREQ re OL_1007 485 remate 1 EEP_READ Read a TL FER WRITE Mairika a is humidity and temperature i Blocks Sov list Define ENUM values of the DL 100T485 Declare 2 REAL variables v gt Main Variables Input Parameters EN Data type BOOL TRUE enable it FALSE disable it Port Data type DINT COM port number can be 1 to 37 depends on PAC Must use a constant value cannot be a changed value Addr Data type DINT The Net ID address of the module can be 1 to 255 Must use a constant value not a changed value Output Parameters OK Data type BOOL TRUE Communication is Ok FALSE Communication failed RH Data type REAL The value is Relative humidity unit is 1 For example a v

Download Pdf Manuals

image

Related Search

Related Contents

Instalación de la Adaptec SCSI Card 29320A  Sky Climber 日本語版マニュアル - 株式会社ハイテックマルチプレックス  Sartorius Combics 3  Gismo Tower Aqua  EW-7438RPn Ghid de instalare rapidă    BF-158F 取扱説明書  CAPRI CAPRI - France Automatismes  MIIAVISION - Miia Style  

Copyright © All rights reserved.
Failed to retrieve file