Home

Please refer to faq154

image

Contents

1. 10 0 end if AO 02 2 V To eng AO voltage 2 end if ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 20 21 while getting the trigger event of AO channel3 add 0 1V to it If its value is over 10V set it as 10V if AO 3 event then AO voltage 3 AO voltage 3 0 1 if AO voltage 3 10 0 then AO voltage 3 10 0 end if AO 03 2 V To eng AO voltage 3 end if while getting the trigger event of AO channel4 add O 5V to it If its value is over 10V set it as 10V if AO 4 event then AO voltage 4 AO voltage 4 0 5 if AO voltage 4 10 0 then AO voltage 4 10 0 end if AO 04 V To eng AO voltage 4 end if ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 21 21 e The description of user defined C function eng To V Convert the data in volt into the 2 s complement value V To Eng ANA V 10 0 32767 0 e V To eng i Convert the 2 s complement value into the data in volt eng To V REAL value 32767 0 10 0 ICP DAS Co Ltd Technical document
2. Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 1 21 How to use the FRnet AI AO module with the ISaGRAF PAC Introduction It is a document about how to read write the status of FRnet AI FR 2024iT AO FR 2017iT module with the ISaGRAF PAC The following ISaGRAF driver supports to operate the FRnet AI AO module ISaGRAF PAC WP 8xx7 8xx6 VP 25W7 23W7 25W6 23W6 XP 8xx7 CE6 XP 8xx6 CE6 XPAC A SSS XP 8xx7 CE6 Other Devices i i 3 f 1 8172W E E g J a E f FR 2053 FR 2057 FR 32P FR 32R ViewPAC 3 VP 2xW7 1 The link to download this document and demo programs http www icpdas com fag isagraf c htm gt FAQ 154 The link to download ISaGRAF drivers http www icpdas com products PAC i 8000 isaaraf link htm The product data sheet http www icpdas com products PAC i 8000 data9o20sheet data9o20sheet c htm More information about I 8172W and FRnet I O module http www icpdas com products Remote IO frnet frnet list htm The FAQ about how to operate the FRnet DI DO module with the ISaGRAF PAC http www icpdas com fag isagraf 082 c htm DI DO DI Relay output ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 2 21 1 1 Restore the ISaGRAF library fr 16ai
3. Port0 B Port1 Port1 B F G I 8172W OFF ON Vs GND A B L END 4 Loc Input IERne d FR 2017iT FR 2024iT Set the bus speed of FR 2017iT FR 2024iT as 1M Notice In the same bus the speed of the FRnet modules must be the same Or the communication between module and module will not work Set the input type of FR 2017iT as 10V SW1 PIN1 3 ON OFF ON Set the channel mode of FR 2017iT as Differential SW1 Pind OFF Set the ID of FR 2017iT as 1 ADD dip switch PIN1 3 ON OFF OFF Set the output type of FR 2024iT as 10V and use internal power SW3 PIN1 3 OFF OFF ON SW2 Int PWR Set the ID of FR 2024iT as 2 ADD dip switch PIN1 3 OFF ON OFF Connect the VoutO of FR 2024iT to the VinO of FR 2017iT and so on Vout0 3 just like the figure in the next page ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 FR 2017iT Author Grady Dun Version 1 0 0 Date Aug 2012 Page 13 21 e The wire connection between FR 2017iT and FR 2024iT E d LE tr VINO rot VoutO Se VINO VIN amp T AGND OT VIN1 Hj Vouti x VIN1 VIN9 x AGND C2 VIN2 S2 T Vout2 S2 VIN2 VIN10O x AGND 3 VIN3 VIN11 t AGND e VIN4 12 1 O 25 restr ion aT VIN4 VIN12 T loutO C27 VINS ca lout1 Se VING ea lout2 C2 T VING
4. VIN14 eu lout2 pg VINZ TS lout3 S2 T VIN7 VIN15 T lout3 T AGND ea Ext PWR 3 AGND x Ext PWR Hj AGND QH Ext GND AGND em Ext GND af LU E sd FR 2024iT ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 14 21 e How to operate the demo project FAQ154 1 Recompile the ISaGRAF project and download it into the ISaGRAF PAC If you are not familiar to the ISaGRAF software please refer to ISaGRAFUser s manual Chap 1 1 1 2 and Chap 2 The manual files chinese user manual i 8xx7 pdf andchinese user manual i 8xx7 appendix pdf can be got from the CDROM of ISaGRAF PAC package or the following website http www icpdas com products PAC i 8000 getting started manual htm User can observe the change of AO voltage 1 4 and AI voltage 1 4 from 10V to 10V in the spy list just like the figure below ISaGRAF FAQ154 DO_LIST List of variables p L eo File Edit Options Help 3 amp amp He Value Comment AU voltage 3 AQ voltage 4 Version for ICP DAS r 7189 8000 IView Wincon series controllers only ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 15 21 1 7 Description of Demo Program faq154 e ISaGRAF Project Architecture This project conta
5. about FR 2017iT please refer to the following website http www icpdas com products Remote_JO frnet fr 2017it htm e Hardware setting e SW1 The SW1 can be used to configure the module to 8 ch differential 16 ch single ended 12 16 bit resolution and individual all Channel mode OFF ON Vs GND A B L end I Loc input LeRnet4 Pin2 10V 20mA requires optional external 125ohm resistor Pin3 Pin4 SE DF ON 16 Single ended PSST lore epiterentol PinS Resolution ON 16 bit Pin6 Configuration ON Software Selectable OFF Switch Selectable ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 5 21 i aos 0 20mA 000 OMA FFF 20mA 4 20mA 000 4mA FFF 20mA 10V 800 10V 7FF 10V 800 20mA 7FF 20mA Dip switch The dip switch can be used to configure the module address and the speed of FRnet bus LED Mapping nr RUN Communication Run LED Communication Error LED NN NN DIP Switch Module Address Pin Speed ON gt 250k bps OFF 1M bps COMO Each analog channel is allowed to configure an individual range by CA 0904 cable ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 6 21 e Wire connection The
6. fia fr 8ao fia and the ISaGRAF demo project to PC ISaGRAF User can download the file faq 154 zip that includes the Demo project and this PDF document from the ISaGRAF FAQ website http www icpdas com fag isagraf htm 154 and restore it to your PC ISaGRAF For ISaGRAF software operation please refer to the Chap 1 1 1 2 amp Chap 2 of ISaGRAF User s Manual The manual file name user manual i 8xx7 pdf and user manual i 8xx7 appendix pdf can be get from the ISaGRAF PAC CDROM or the following website http www icpdas com products PAC i 8000 getting started manual htm e Restore the demo project faq154 pia E ISaGRAF Project Management File Edit Project Options Help Libraries Import IL program Restore Compress Archive location EMISERSSGRAD TSDESKT OP Browse ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 3 21 e Restore the ISaGRAF library fr 16ai fia and fr 8ao pia ay ISaGRAF Libraries File Edit j ISaGRAF Project Management Tools Options Help File Edit Project Biss Options Help C funcion block D i oe amp 3 Hj ff Archive damned Set 16 integer variables as EB creation Libraries MP RR nalog input channels et etl Wo et 2 V
7. is 32768 to 32767 V 1V Val is 32768 to 32767 2 5V 2 5V Val is 32768 to 32767 20mA 20mA Val is 32768 to 32767 with 125 ohm 4mA 20mA Val is 0 to 32767 with 125 ohm 10V 10V Val is 32768 to 32767 5V 5V Val is 32768 to 32767 1V V Val is 32768 to 32767 500mV 500mvV Val is 32768 to 32767 150mV 150mvV Val is 32768 to 32767 20mA 20mA Val is 32768 to 32767 OmA 20mA Val is 0 to 32767 with 125 ohm IN1 IN16 integer The related variable names of the 16 AI channels Please declare a Dump ai integer internal variable name and assigned it to those none using channels Please do not assign the constant to the none using channels e Return Q Boolean Always return True ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 11 21 1 5 The description of C function block fr 8ao e Parameter Slot integer The slot which plugged the I 8172W related to the FRnet AO WP 8xx7 max 8 pcs of I 8172W can be slot 0 7 VP 25W7 23W7 max 3 pcs can be slot 0 2 XPAC 8xx7 max 7 pcs can be slot 1 The I 8172W port that link to the FRnet AO 0 or 1 Module address AO module 0 7 16433 10V 10V Val is 32768 to 32767 16435 5V 5V Val is 32768 to 32767 Out1 O
8. 0 0 Date Aug 2012 Page 16 21 e I O connection c3 ISaGRAF FAQ154 I O connection File Edit Tools Options Help B mpb5 m tTlRA a Insert the 1_8172 a bus re 2 module in the slot3 p Reserved 0 u Reserved 0 mm i 8172 mmn Reserved 0 B Port DI ne maj Reserved 0 E Porti DI n4 mw Reserved 0 4 mmj Reserved 0 mmj Reserved 0 6 soe Reserved 0 g amp Al connection g l g I Assign the variable 6 A AI connection to the i second channel for vi getting the status of the connection Version for ICP DAS i 7189 9000 iView Vincon series controllers only A i E AR beid e The description of LD1 program Set the variable INIT as false in the first scan for initializing the FRnet modules Please do not use the C function block Fr 16ai and Fr 8ao in the other program Do not use the array variable in the C function block FR 8ao and FR 16ai INIT tA m ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 17 21 Initialize the FRnet AI module FR 184Al Attention Please declare a Dump ai integer internal variable name and assign it to those none using channels Please do not assign the constant to the none using channels dump Al du
9. AS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 9 21 e Wire connection SW2 it can be use to set the module using internal or external power The connection of internal power Wire Connection Vout AGND Vouti AGND Vout 2 AGND Vout3 AGND loutO loutO louti lout1 lout lout2 lout3 lout3 Ext P WR Ext PWR Ext GND Ext GND Sw2 Wire Connection 1 4 The description of C function block fr 16ai Vout O AGND Vout1 AGND Vout AGND Vout3 AGND loutO lout louti lout1 lout lout2 lout3 lout3 Ext PWR Ext PWR Ext GND Ext GND SW 2 The connection of external power ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 10 21 e Parameter Slot integer The slot which plugged the I 8172W related to the FRnet AI WP 8xx7 max 8 pcs of I 8172W can be slot 07 VP 25W7 23W7 max 3 pcs can be slot 0 2 XPAC 8xx7 max 7 pcs can be slot 1 7 The I 8172W port that link to the FRnet AI 0 or 1 Module address AI module 8 15 Type integer Set up the output type 15mV 15mvV Val is 32768 to 32767 b mV 4 50mvV Val is 32768 to 32767 100mV 4 100mV Val is 32768 to 32767 5b00mV 4 500mvV Val
10. Import IL program xx f f xxb FP ese 1 25Whb f i function blocks j Conversion functions ge ISaGRAF Libraries QE Box File Edit MEGS Options Archive j Archive C function blocks Help C function b Workbench Archive Standard note format can r cbsample cje ICP DAS me from cjc sts WIN32 integration d CAN i cje i com sts Target crc 1b iPAC 8447 0847 Since crc dfi uPAC 7 18b5EG Sino daylight W incan xx binc di cnt WinPAC Bxx fixxb Since i Compress Archive location CNUSERSSGRADY DESKTOP Browse ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 4 21 1 2 Introduction of FR 2017IT e Hardware description The FR 2017iT is a 16 bit 1 channel and 12 bit 8 channel differential or 16 channel single ended analog inputs module that provides two ways to select input range 150mV 500mV 1V 5V 10V 20mA 0 20mA and 4 20mA The refresh rate by each channel status is different due to the channel mode of the FRnet module The refresh rate of one channel mode is 100ms time The refresh rate of 8 channel mode is 250ms time The refresh rate of 16 channel mode is 500ms time But the refresh rate is not changed when add more and more modules to the FRnet bus More detail description
11. il description about FR 2024iT please refer to the following website http www icpdas com products Remote_JO frnet fr 2024it htm e Hardware setting e SW3 The SW3 can be used to configure the output type or enable disable the safe value mode SH aan OFF ON Vs GND A B Type L END J Loc Inpi it Lr Rnet H Config Reserved in5 Safe value ON Output safe values when FRnet communication failed OFF Output not changed when FRnet communication failed Pin6 Software OFF Software configuration a ON DPP switch configuration ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 8 21 and the speed of FRnet bus Max FFF 20mA FFF 20mA FFF 10V 7FF 10V FFF 5V OFF OFF 7FF 5V e Dip Switch The dip switch can be used to configure the module address PWRO of RUN CI ERR CJ JO Wf a aa OOO JI OO e 4 OO te re 2 JOO ee A an JM E ED Mapping WR Power LED RUN Communication Run LED ERR Communication Error LED ND Terminal resistor On nt pwr Internal Power xt pwr External Power i Module Address 0 7 r Hu in3 in4 in5 in Pin7 Speed ON 250k bps OFF 1M bps in8 gt N e Each analog channel is allowed to configure an individual range by CA 0904 cable ICP D
12. ins two LD programs LD1 timer tr an ST program ST1 and two User define C function eng To V V To eng ql ISaGRAF FAQ154 Programs Fle Make Project Tools Debug Options Help E mi E mgETm xis ums ROS A HH LOT initialize the FRNET AV AO module HH timer tr Generate the event to change the AO value Siew Get the event to change AO value Functions eng Io V convert the value to Voltage V a Eng Convert the Voltage to the value Begin ST1 Structured Text Version for ICP DAS r 189 8000 TView Wincon series controllers only e The setting of FRnet module in this demo project DE FR 2017iT FR 2024iT Address Wii We 2 um 10V ON OFF ON 10V OFF OFF ON 1M bps 1M bps e ISaGRAF variables Property Init Boolean Internel Set to true at Init for initializing the FRnet module AI_01 AI_04 The AI status of FR 2014iT Dump AI Integer Internel To connect the none using channels of FRnet AI module AO 01 AO 04 The AO status of FR 2017iT Dump AO Integer Internel To connect the none using channels of FRnet AO module AI voltage 1 4 Real Internel The status of AI channel The unit is volt AO voltage 1 4 Real Internel The status of AO channel The unit is volt T1 Timer Internel Set to 500ms at init for generating the pulse ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1
13. mp Al ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 18 21 Initializing the FRnet AO module Attention Please declare a Dump ao integer internal variable name and assign it to those none using channels Please do not assign the constant to the none using channels e The description of timer tr program Generate a pulse true per T1 to change the status of FRnet AO BLINK AO 1 event AO 3 event ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 19 21 e The description of ST1 program Convert the raw data into the data in volt AI voltage 1 eng To V AI 01 AI voltage 2 eng To V AI 02 AI voltage 3 eng To V AI 03 AI voltage 4 eng To V AI 04 while getting the trigger event of AO channel1 add 0 01V to it If its value is over 10V set it as 10V if AO 1 event then AO voltage 1 AO voltage 1 0 01 if AO voltage 1 10 0 then AO voltage 1 10 0 end if AO 01 2 V To eng AO voltage 1 end if while getting the trigger event of AO channel2 add 0 05V to it If its value is over 10V set it as 10V if AO 2 event then AO voltage 2 AO voltage 2 0 05 if AO voltage 2 10 0 then AO voltage 2
14. ut8 integer The related variable names of the 8 AO channels Please declare a Dump ao integer internal variable name and assigned it to those none using channels Type integer Set up the output type 16230 OMA gt 20mA Val is 0 to 32767 16431 4mA gt 20mA Val is 0 to 32767 16232 OV gt 10V Val is O to 32767 16234 OV gt 5V Valis O to 32767 Please do not assign the constant to the none using channels e Return Q Boolean Always return true e Notice about using FRnet AI AO module Fast I O scan it is about 3 ms per FRnet I O scan But it can be only got one channel status per scan This depends on your program s PLC scan time for ex if the ISaGRAF PLC program scan time is about 15 ms then the scan time for one AI AO channel will be 15 ms not 3 ms ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 12 21 1 6 Test the demo project faqi54 e Hardware requirement 1 2 3 4 ISaGRAF PAC CE based X 1 EX XP 8347 CE6 I 8172W FRnet master X 1 FR 2017iT X 1 FR 2024iT X 1 e Hardware initialization 1 2 3 o I WO Plug I 8172W in the slot 1 of ISaGRAF PAC Connect FR 2017iT FR 2024iT and the PortO of I 8172W with the FRnet bus the FRnet wire connection is as the following figure TerminalNo Pin Assignment Name Port0 A
15. wiring of 8 ch differential analog inputs The wiring of 16 ch single ended analog inputs Wire Connection Wire Connection b Q Vinos ESE vivo OT VINO VIN8 S T VINO VIN8 amp i EI eS VIN1 VIN9 C2 VIN1 VIN9 L3 34 VIN2 9 VIN2 ca VIN2 VIN10 e e Ld lalla Q VIN3 C2 s o VIN3 VIN11 x 2 VIN3 VIN11 a Q VIN4 D VIN4 E VIN4 VIN12 e CI VIN4 VIN12 3 VIN5 e IC 9 1L viNS vIN13 e VING e Pin 15 O VIN6 VIN14 oO VIN6 VIN14 M VIN7 CO TI VIN7 S2 T VIN7 VIN15 Tet c AGND 0 1L AGND Rea AGND Hj AGND O AGND AGND Res AGND ICP DAS Co Ltd Technical document Classification ISaGRAF Chinese FAQ 154 Author Grady Dun Version 1 0 0 Date Aug 2012 Page 7 21 1 3 Introduction of FR 2024 iT e Hardware description The FR 2024iT is a 12 bit 4 ch analog outputs module that provides programmable output range 0 10 VDC 10 VDC 10 VDC 0 5 VDC 5 VDC 5 VDC 0 20mA 4mA 20mA The refresh rate of each output channel is about 10ms time For example if the ISaGRAF scan time is 10ms it will update one of the AO output channel per 10ms But the refresh rate is not changed when add more and more modules to the FRnet bus More deta

Download Pdf Manuals

image

Related Search

Related Contents

GUADAELASTIC - Pinturas Guadiel  MAM-05HP - Habasit  Télécharger le dossier spécial MBA & Master au format PDF  Philips LightLife Flashlight SFL4050  Sears Canada Service Manual  DEUTSCH  Enquête d`opinion sur les produits de la marque  Liro Color - User manual - EN  Betriebsanleitung  Only One Made「Mr.Aluman」 取扱説明書(全種共通)  

Copyright © All rights reserved.
Failed to retrieve file