Home
User's Manual of ISaGRAF Embedded Controllers
Contents
1. lt can be download at ICP DAS s ftp site User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 17
2. version 4 4 3 or later version at ftp ftp icodas com pub cd 8000cd napdos driver dcon_ultility or l 8000 CD ROM napdos driver dcon_utility setup Notes 1 Make sure the hardware connection is correct 2 Search and configure the modules one by one 3 Connect the module s INIT to GND and Power on the module User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 2 Step 1 Hardware connection A The power supply must be DC power between 10V to 30V B Wiring diagram for connecting to l 7000 one module for each time Note For configuring l 7000 and I 87xxx I O module you have to prepare an 7520R converter For other wiring diagram please refer to DCON Utility User s Manual Step 2 _ Set I O module to initial state lf the module is a new one factory have set a default settings for user s convenient If you don t know the configuration of the module please set the I O module to initial state To set l 7000 module to initial state is to wire connect the INIT to GND and Power on the module Then the module will become initial state Some new designed l 7000 modules have a Dip switch at its back Please switch it to the INIT position then power up the module 87K module s initial state is set by 87K4 5 8 9 s dip switch For example setting dip 2 to ON and then re cycle the power it means the second slot is in initial state If using I
3. Fahrenheit unit is 0 01 degree range 2A Platinum 1000 a 0 00385 degree Celsius address 3 Dec That results input value of 4512 45 12 Degree Fahrenheit 500 5 00 Degree Fahrenheit 999990 sensor broken line C 16 01 T T 00 RR 00 AA 1 standard setting the input value will be 32768 to 32767 address 1 User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 15 6 4 Redundant Bus 000 W 8x37 and W 8x47 support better CPU redundant solutions Please refer to Chapter 20 7188EG Rev 1 19 or above 7188XG Rev 1 17 or above amp I 841 7 881 7 8437 8837 Rev 2 27 or above support Redundant Bus 000 These configurations are listed as the following The Fbus Ebus are for exchanging data between the Redundant Master amp Redundant Slave and the Fbus Ebus cable must be always working break is not allowed l 7188XG Redundant Master COM3 Bus7000 need a RS485 Xxxx board l 71 7188XG Com2 Fbu l 7000 l 7000 I 87K I 7188XG Redundant a Configuration 1 I 7188EG COM3 Bus7000 if using Fous need a RS485 Xxxx board Redundant Master COM2 Bus7000 if using Ebus 7188EG Com2 ig l 7000 l 7000 l 87K or Ebus 7188EG Configuration 2 Redundant a 1 8417 8817 Redundant Master COM4 Bus7000 if using Fous need a RS232 485 Conveter m l 7000 l 7000 l 87K Com3 POUS Configuration 3 Redundant Slave User s Manual Of IsaGRAF Embedded
4. amp W 8xx7 controller system the Bus7000b module MUST be opened first Once the Bus7000b is opened the I 7xxx l 87xx function block can now be programmed and you can access all of the I O channels available from that function block and that data can now be used in a LD program NOTE Please declare all variables which connect to the l 7xxx 87xx block as Internal attribution Example 1 Programming An l 7050D Module _O50D il Address of l 76050D Connect well will return TRUE 8 D O channels of h 7050D Can declared l 7 D I channels of as Internal attribute g g I 7050D Can be declared as Internal attribute Connect well will Address of return TRUE I 7041D 14 D I channels of 7041D Can be declared as Internal attribute User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 9 Example 3 Programming a I 87017R or I 7017RC function block The hardware should be i 87017RC and i 7017RC current input measurement 87017RC and I 7017RC can measure current input of 20 mA 0 20mA and 4 20mA Unlike l 87017 l 87017R and l 7017 no external 125 ohm resistor required Please configure their format as 2 s complement by DCON utility The A4 20 to function can be used to convert the analog input value to user s engineering value please refer to Appendix A 4 Range type by DCON Utility Physical value 3
5. is normally 32768 to 32767 lf ADR_ 16 10201A TT 10 RR 20 AA 1A Hex means special setting Degree Celsius type code 20 of this l 7033 module set by DCON utility address 26 the temperature input value is a clear Degree Celsius value for example value of 4556 mans 45 56 degree 500 means 5 00 degree lf user want to get a clear temperature input value for example value of 2312 means 23 12 Degree Celsius Then please set ADR_ to a special value defined as below Important Special ADR_ setting is supported since driver version of 8xx7 3 11 7188EG 2 09 I 7188XG 2 07 W 8xx7 3 24 User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 14 Format TTRRAA Hex TT 10 Convert to Degree Celsius TT 20 Convert to Degree Fahrenheit TT 00 standard setting 32768 to 32767 RR should be set as 00 if TT 00 RR type code setting of the related temperature input module AA address of the related temperature input module For example setting ADR_ as A 16 102011 TT 10 RR 20 AA 11 Hex the input value will be Degree Celsius unit is 0 01 degree range 20 Platinum 100 a 0 00385 degree Celsius address 17 Dec That results input value of 2356 23 56 Degree Celsius 489 4 89 Degree Celsius 999990 sensor broken line B 16 202A03 T T 20 RR 2A AA 03 Hex the input value will be Degree
6. the RS 485 I 7017RC and I 87017RC should be Ok The Ok1 and OK variable in the above example 3 can indicate the communication is Ok or not If the communication is False it means the controller can not link to the RS 485 I O well You need to handle this situation in your ISaGRAF program User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 11 Example 4 Program l 7018 block for i 7018R and i 7018 Please use new i_7018n block i 7018z is a better hardware than i 7018 and i 7018R Please refer to Chapter 11 3 9 or www icpdas FAQ Software ISaGRAF 055 for demo example Please configure l 7018 and I 7018R s format as 2 s complement by DCON utility Then please program a l_7018n block The l_7018n block request all 8 channels by one single command however the Il_ 7018 block need to send 8 commands for 8 channels F018 COMA OKT45 en i I If connected well return as TRUE Address of 77 l 7018 or 7018R m4 E 8 Internal Integer variables should be nF used here The other RS 485 l 7000 and l 87K I O all use the similar way Note If RS 485 remote l 7000 and I 87xxx I O module s type is Analog Input please configure the format as 2 s complement by DCON utility Like l 7005 I 7013 I 7015 l 7016 l 7017 I 7017R I 7018 I 7018R I 7018Z l 7019 I 7019R l 7033 I 87013 I 87015 I 87016 I 87017 87017R I 87018
7. 10 1 Therma 1 DEY 2 DOVALM men 1 Ana Ing 1 DF 2 DOLAN h al Parameters 1_7016H x po NIG integer Analog input value ofr hin gt gt Max 32 768 0 32767 modbus val 8000 gt 0000 gt 7FFF User s Manual Of ISaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 13 6 3 2 Setting a special ADR_ parameter of remote temperature input module to get clear Degree Celsius or Degree Fahrenheit input value ICPDAS provides many temperature input modules as below With broken line detection or called wire opening detection Thermocouple type I 87018Z I 87018R 87019R 7018Z 7018R 7018BL 7019 7019R RTD type I 87013 87015 7013 7015 7033 Thermister type I 87005 7005 Without broken line detection Thermocouple type I 87018 7018 7018P The ADR_ parameter of temperature IO function block can be standard setting or special setting For example setting ARD of the I 7033 function block to 1 to 255 Dec value means standard setting the value of 1 to 255 indicates the address of the remote l 7033 The temperature input value is normally 32768 to 32767 in the case It depends on the IO module s Type code setting Set by DCON utility normally value of 32768 amp 32767 means wire broken line ADR_ 10 TT 00 RR 00 AA 0A Hex means standard setting address 10 the temperature input value
8. 2768 4 20mA I 7017RC 87017RC Analog Input value 20mA o 80767 pL OMA OMA MIT Wl MIS RICS To use i 87017R and i_7017RC me Please assign the MIB same Range Type setting here as they MF are configured in the DCON utility FOTPROE er 2 A0R_ Mi 16DA RANGE Nile Ag 10 _ MATI _PAl2 _PATS _PAl4 _PATS A16 If connected well return as TRUE Please program i_87017R for using RS 485 I 87017RC module 8 Internal Integer variables should be used here OK User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 10 Note lf the current input sensor is 4 to 20 mA user may better set I 7017RC or I 87017RC range type to D 20 mA or 1A 0 20 mA setas 7 4 to 20 mA is not good The reason is lf setting RS 485 I 7017RC or I 87017RC s range type as 7 4 to 20 mA analog Input value of O or close to 0 could mean the Sensor input is 4 mA and also possible the Sensor is broken line So it is not easy to distinguish these two situation by software Howevr if setting I 7017RC or I 87017RC s range type as D 20 mA or 1A 0 20 mA analog input value of 0 or close to 0 only means the Sensor is broken line If the Sensor input is 4 to 20mA the analog value should be 6553 to 32767 not close to 0 Of course the communication state of
9. 87018R I 87018Z and I 87019R If RS 485 remote I 7000 and I 87xxx I O module s type is Analog Output please configure the format as Engineer Unit by DCON utility Like l 7021 l 7022 l 7024 I 87022 I 87024 and 87026 Below table is for the l 7017 7017R 87017 87017R These modules need external 125 ohm resistor if using D 20mA Range tyep l 7017 87017 32767 oy DCON Utility Analog Input value Physical value 32 68 5V 0 150mV 150mV 150mV BSS 500mV 500mV OmV 500mV User s Manual Of ISaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 12 Below table is for the i 7017RC and i 87017RC no external 125 ohm resistor required Range type I 7017RC 87017RC by DCON Utility Physical value Analog Input value 32768 0 32767 4 20mA AMA 20mMA Pp DL 20mA 20mA O 20mA OMA 20MA Please refer to the on line help for each I O module s table or refer to the Appendix D m SaGRAF TESTI LD1 Quick LD Program O x File Edit Tools Options Help Aa YO2 HS exbd keal aae FO 4b F3 F4 GH FS H Fe HE F7 JH FS yl Fo Fim 7O1SN COMM_OK1S 7 2 x GET_SN get hardware unique serial Mo GET_VER Set Hardware Driver Version GETCTS Get CTS status HVSTER hysteresis Cancel FOO5sD ach Thermistor 2 comp Integer 700502 amp ch Thermistor Enginer Integer Info FOOSD3 ach Thermistor Enginer Real 701
10. 87K5 and l 87K9 please do not plug l 87xxx board in its left most slot for initial configuration Please plug at 2nd to 9th slot for initial configuration The dip 1 is for 2nd slot of l 87K5 and I 87K9 dip 4 is for 5th Slot Dip 8 is for 9th slot of 87K9 Some new designed I 87K I O modules have dip switch built in Their INIT Normal state is controlled by its own dip switch not by the dip switch of I 87K4 5 8 9 User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 3 The default state from factory JO Module _ 17000 7000 Address 1 1 1 9600 9600 115200 Disabled Not defined Disabled Protocol DCON Modbus DCON Protocol Protocol Protocol The initial state after initiation I O Module 7000 series i 7000 and M 7000 rates O o o o Disabled Disabled DCON Protocol DCON Protocol Step 3 __Select COM port and baud rate to search Execute the DCON Utility from Start orograms DAQPro DCON Utility fy DAOPro P fg DCON Utility DCON Utility i b TOBEAMANE 7 Rainlendar E Uninstall DCON Utility Internet Explorer DOON Support Module_List lL 7o Fa OpenOffice org 4 0 E Version Information start wc fm FUF reator 1 Click COM Port menu to select the COM port and baud rate to search You can select multi baud rate protocol or checksum conditions if you do not know the module s setting but it will soend more time to scan the networ
11. Chapter 6 Linking RS 485 l 7000 amp I 87xx Modules Note 1 The I 87017R and I 87017RC is better than I 87017 and I 87017C in industrial application 2 The l 87018Z is better than 87018R and I 87018 in industrial application l 87018Z has 10 channels The precision is better than I 87018R and I 87018 And each channel can configure to be different Input type and range For example using Ch 1 to 4 to measure 4 to 20 mA using Ch 5 to 8 as Thermo Couple K Type using Ch 9 to measure 2 5 V and using Ch 10 as Thermo Couple R Type 3 The I 7018Z is better than I 7018R and l 7018 The reason is the same as 87018Z I 7018z htip www icpdas com products Remote_ O i 7000 i 7018z g htm i 87018z http www icodas com products Remote_1lO I 87k i 87018z htm For more description about using I 87018Z and I 7018Z please refer to Chapter 11 3 9 or www icodas com FAQ Software ISaGRAF 055 Please refer to Section 1 5 for connection instructions between the I 8xx7 controller system to the l 7000 and I 87xx series modules Very Important Please wire an terminal resistor around 110 to 330 ohms at I 7188EG XG l 8xx7 or W 8xx7 controller s RS 485 port between the D andthe D pin or beween the RS 485 and RS 485 pin This will ensure the host watchdog of l 7000 and I 87K output modules to work correctly when the communication between the controller and the l 7000 l 87K output modules is broken You can try 110
12. Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 16 1 8437 8837 Redundantiiasi COM4 Bus7000 if using Fbus need a RS232 485 Convetor iaa OOM Bus7000 if using Ebus a l 7000 l 7000 l 87K Com3 mous or Ebus a Configuration 4 Redundant Slave Operations Principle When the system is powered up the control right of Bus7000 belong to Redundant Master lf Redundant Master is dead Power off Redundant Slave takes over the control right of Bus7000 lf Redundant Master is alive from dead power up again it takes over the control of Bus7000 again User s control data is exchanging via Fbus or Ebus The i7000_en can be used to Enable Disable the control right of Bus 000 The system s default status is Enable Parameter 1 000_en EN 7000_ integer True Enable False Disable EN 70 E Return Q_ boolean Always return True Demo example for l 7188XG The demo project uses Configuration 1 and located at demo_48a amp demo_48b It can be download at ICP DAS s ftp site ftp ftp icodas com pub cd 8000cd napdos isagrat 7 188xg demo Demo example for I 7188EG The demo project uses Configuration 2 with Ebus and located at demo_51a amp demo_51b lt can be download at ICP DAS s ftp site ftp ftp icpodas com pub cd 8000cd napdos isagraft 7 188eg demo Demo example for I 8437 8837 The demo project uses Configuration 4 with Ebus and located at demo_49a amp demo_49b
13. k After selection click OK 2 Click __ Start Search icon to begin search module Click when it is found User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 4 FJ DCON Utility Ver 4 4 2 Run Terminal Help The Found Out I 7O0008000 module paano m Module 7 Address Baudrate Chd M S260 48080 M 2am z z A i m E Configuraton for 7050 Module Yersion BI04 E DCON Utility Yer 4 4 2 File COM Port Search Run Termina Digital Output 0 O00 F LSB CH 0 MSB CH r The Found Out 40 module iisa Address Baudia 7050 Power On Yalue of DO Safe Value of BO L56 CH 0 MSE CH 6 COM Port OKA Address User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS TO50 Setting Communication Parameters OF Ea Pen OrOw Ne ie Baud Checksum or F LOEU Please da follows ye Bawdrate or Protoca U Please do following steps steps to check the EPT Disconnect IND pin from GND ping i or adjust the dipswitch to Normal side New setting Step Power off then Power on the module btp search the module again Note Remember to remove the connection of I 7000 s INIT and GND after the setting is well configured Then recycle its power For l 87K I O remember to switch the related Dip to OFF then recycle its power IMPORTANT NOTES Regarding remote l 7000 amp I 87xx Modules One 8xx7 I 7188EG XG co
14. l 7033 I 87013 I 87015 87016 I 87017 I 87017R I 87017RC I 87018 I 87018R I 87018Z and I 87019R If RS 485 remote l 7000 and I 87xxx I O module s type is Analog Output please configure the format as Engineer Unit by DCON utility Like l 7021 l 7022 l 7024 I 87022 87024 and I 87026 User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 6 6 2 Opening The Bus7000b Function To create a link between the I 8xx7 I 7188EG XG amp W 8xx7 controller system and an l 7000 and I 87xx module you need to connect the Bus7000b function through the ISaGRAF I O Connection window The Bus7000b function is considered a virtual board and must be selected from the Equipments section of the Select Board Equipment window The Bus7000b MUST be connected to slot number 8 or higher on the ISaGRAF I O Connection window since slot 0 through 7 are used to connect to real l 8000 boards Only one Bus7000b can be linked to one I 8xx7 I 7188EG XG amp W 8xx7 controller system lf you attempt to connect more than one Bus7000b to an ISaGRAF controller it will not work ow ISaGRAF CREATION FO connection Oj x File Edit Tools Options Help leB trl Fk S Select board equipment E X hue O00 l 7000 0 on Coma or COMA E buer 000b 1 7000 102 on Coma or COMA ebus_s Set as Ebus slave ebus s2 Set as Ebus slave fbus oo lt New gt Set as Fous Master bu
15. ntroller system can link up to a maximum of 64 pcs of l 7000 and l 87xx modules However 255 pcs for W 8xx7 It is recommended though that you do not link more than 24 modules to a single I 8xx7 and 7188EG XG while 64 modules for a W 8xx7 controller system Each l 7000 and I 87xx module MUST have it s own unique address to properly link to an ISaGRAF controller system The default Checksum setting is disabled If set as enabled please connect bus 000b listed in section 6 2 and set checksum parameter to 1 and make sure that all of the l 7000 and I 87xx modules are set to the same baud rate and same checksum setting as the controller system 9600 baud by default When you receive any of the I 7000 series modules or I 87xxx modules you will receive documentation called Getting Started With l 7000 Series Modules that provides instructions on how to properly configure these modules If you need assistance on changing the baud rate or checksum please refer to the Change Baud Rate amp Checksum section in the Getting Started With l 7000 Series Modules You can find all of the documentation on the CD provided with your l 7000 series module from ICP DAS in a file titled getstart pdf If RS 485 remote l 7000 and I 87xxx I O module s type is Analog Input please configure the format as 2 s complement by DCON utility Like l 7005 I 7013 I 7015 l 7016 l 7017 l 7017R I 7017RC l 7018 I 7018R I 7018Z l 7019 I 7019R
16. ohms first then try 220 ohms then others For example if you don t wire any terminal resistor and enable the host watchdog function at bus7000b Section 6 2 the host_watchdog parameter set as 1 when you just un plug the I 7000 s DATA pin keep Data pin connected with the controller you will see the watchdog doesn t work in this i 7000 If you wire a resistor about 110 ohms between the controllers RS 485 D and D pin if you un plug anyone of I 7000 s Data or Data pin the watchdog will work correctly User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 1 6 1 Configuring The l 7000 amp I 87xx Modules Note A If RS 485 remote l 7000 and I 87xxx I O module s type is Analog Input please configure the format as 2 s complement by DCON utility Like l 7005 I 7013 I 7015 l 7016 l 7017 I 7017R I 7017RC l 7018 I 7018R I 7018Z I 7019 I 7019R l 7033 I 87013 I 87015 I 87016 I 87017 87017R I 87017RC I 87018 I 87018R I 87018Z and I 87019R B If RS 485 remote l 7000 and I 87xxx I O module s type is Analog Output please configure the format as Engineer Unit by DCON utility Like l 7021 l 7022 l 7024 I 87022 I 87024 and 87026 To begin configuration of the I 7000 and l 87xx series modules to the controller system use the DCON Utility program to set up the l 7000 and l 87xx modules Please use DCON utility of
17. s a lt New gt Set as Fous slave Lf 1odeg 101 amp 100 for the 713846 Lella 8 CH Analog Input with Alarm PIB eIEeielelelsiele 8077 8 CH DI amp 8 CH DO simulator In the example provided set the slot below number 9 to Bus 000b Remote DI x Die Gen denle pies Lk Com_port setting 2 PSPO ti RR amp 8xx7 3 or 4 COM3 or COM4 Z tmj ref A 7188EG XG 2 or 3 sas COM_port 3 W 8xx7 3 soe com baud 9600 m host watchdog U cas watchdog timer 1E cman Chechsum 0 EH 7 B a y B remot p 10 User s Manual Of ISaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 7 The com_port parameter can have a value of 3 for COM3 or 4 for COM4 for the I 8xx7 controller while 2 COM2 or 3 COMS for the I 7188EG XG and 3 COMS for the W 8xx7 This parameter defines which COM port ID the controller system will communicate with the l 7000 87xx module The default value for the com_port parameter is 3 The com_baud parameter defines the baud rate that the I 8xx7 I 7188EG XG amp W 8xx7 will communicate with the l 7000 l 87xx module The possible values are 2400 4800 9600 19200 38400 57600 and 115200 You must make sure that the controller system and the l 7000 87xx modules are all set to the same com baud value The host_watchdog parameter enables or disables the watchdog function for the l 7000 and l 87xx module Setting the host_
18. watchdog parameter to a non zero value will enable the host_watchdog feature The watchdog_timer parameter defines the amount of time before a host_watchdog will occur The value for the watchdog_timer is defined in a hexadecimal value with the units defined in 0 1 second increments For example if the watchdog_timer is set to a value of 1E the watchdog_timer is set for 3 seconds If the watchdog_timer value is set to 2A the watchdog_timer is set for 4 2 seconds The checksum parameter defines the remote IO is using 0 No checksum or 1 with checksum The old bus7000 not supporting checksum options Bus700b does support it lf the host watchdog feature is active and the watchdog timer is exceeded on the controller system it means the connection is break between the controller and l 7000 I 87xx modules the l 7000 l 87xx modules will go to a safe predetermined value by DCON utility Normally for Digital Output channel the safe state is D O OFF or D O False There is an analog input channel available on the Bus7000b Remote virtual board This analog input channel will return a value equal to the currently set baud rate User s Manual Of IsaGRAF Embedded Controllers Apr 2007 Rev 5 1 Copyright By ICP DAS 8 6 3 Programming an l 7000 amp I 87xxx Module 6 3 1 Program I 7xxx or I 87xxx remote IO function blocks To link any I 7000 and I 87xx module to the I 8xx7 I 7188EG XG
Download Pdf Manuals
Related Search
Related Contents
User`s Manual - Vinpower Digital Mode d`emploi banque de CV - mai 2013 取扱説明書 Calibreur de processus multifonctionnel Pioneer AVIC Z120BT User's Manual QuickSpecs - Duna Elektronika ビルトイン形足元ファンコンベクター 取扱説明書 説明書 Téléphone analogique Hitachi Welder X200 User's Manual Copyright © All rights reserved.
Failed to retrieve file