Home

cimon plc function block system library user manual

image

Contents

1. Write Base number 0 16 There is no Base number for CM2 and CM3 Write Slot number INDEX Write Index number of buffer memory 07255 Write the number of buffer memory 17256 IZE W 2 Ex Buffer memory1 5 write 5 ADDR Write D address Ex D150 Write 150 OUTPUT Not used WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example FB FROM ENO OFF M10 E 1 _ ox INT m OO ee ae poo 0 1 0 1 0 0 1 0 0 0 p 12 0 0 0 0 Q0 01 0 0 90 pp 0 0 0 0 0 Q0 Q0 0 0 0 po 0 0 0 0 0 0 0 0 0 0 00004 0 0 0 0 0 0 0 0 0 0 00005 EE ERIT T You can read one data from Buffer memory 26 at Slot number3 in Local Base and save it to DOO 1 3 7 2 SCL SCL Instruction Analog input scaling It converts input value to scale value If scale does not work ENO will be reset FB SCL FunctionBlock FB SCL EN SOURCE DATA DEST DATA W VariableName UO Type Deve WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL DEST_MAX Write device address DEST D 8 Save scale value to this device address Example FB SCL EN FB 5 000 lt 14000 gt Original input value 14000 000 minimum value 0 maximum value 16000 Scale minimum value
2. In this case DA module is installed Slot number 2 and the assigned IO starts from 20 Therefore you need to write 2 at the IOSTART variable Example OUTPUT CH D00 INPUT 5 105 HSC module is installed Slot number3 Set DOO of Channel 1 as Preset and save current counted value to D10 D141 If the assigned IO address of HSC is X50 Y50 write 5 at the IOSTART WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 3 6 2 CM3 HSC PRESET DEV DTO DFRO Instruction Write preset value and monitor current counting value According to the starting address of HSC select HSC system library D M L or K CM3 HSC M Function Block OUTPUT DW VariableName Device Write Starting address of HSC DD dna Ex In case of M50 Write 50 Write Channel number Ex 2 gt Write 2 INPUT Write Preset value Device address Write device address B Save current value to this device address e ADDR Find out starting address at the HSC program WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL start Address Channel Current Court Input Pulse Unit Time M l 150 Monitor Channel Configuration Enable Count j Enable Latch Count Enable Ext Preset Item Device V Download when changed Edit allowed Count Mode MOOO0 Linear Counter Input Pulse Type
3. 1 3 1 7 THERMISTOR_M It has digital value from Thermistor module and this digital value will be save D device t is used to get more than two digital values if the FB name is finished with M CM1 THERMISTOR M Function Block Variable Name f yp Description EN ENO EN EMO BASE i Base No SLOT Slot Mo ADDF D Device Address SIZE Size Ch OUTPUT Output Bit Device Add Input L LAdd QutputtioL Add L OCLD B DeleterDi Password CFF HELPCH Ok Variable Name 25 BASE Write Base number 0 16 Write Slot number ADDR Write D address Ex D150 gt Write 150 Write number of Channel size a OUTPUT Bit e System Library type CM1 THERMISTOR M e Buffer Memory Index CM1 THERMISTOR 21 28 Ch 1 88 Digital conversion value WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM1 THERMISTOR M 0 000 Pgmo00 SRC 14 step 5 5 You get a digital value from Ch1 Ch2 at slot 1 Local base and save them 010 and 011 sequence When it works DOO will be turned ON 1 3 1 8 THERMISTOR_S It has only one digital value from Thermistor module It is used to get only one digital value if the FB name is finished with S CM1 THERMISTOR 5 Function Block X Variable Name yp Description 5
4. Slot No Channel Mao 1 8 Output Device Add Cuatputtcu dd lypa B Delete ho Password OFF LI VariableName VO Type Deve BASE Write Base number 0 16 Write Slot number Write Channel number Ex Ch2 gt Write 2 OUTPUT Write Word type device address that you want WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL to save the converted value Except X F TS TC CS CC S e System Library type CM1 THERMISTOR S e Buffer Memory Index CM1 THERMISTOR 21 28 Ch 1 8 Digital conversion value Example CM1 THERMISTOR S 1 000 Pgmo00 SRC 13 step B CM1_THERMISTOR_S ENO D20 OUTPUT BASE D10 2 SLOT D11 3 Channel D12 1 You can get a digital value from Ch1 at slot 3 in 27 expansion base and save it to 020 1 3 1 9 LOADCELL M It has digital value from Loadcell module and this digital value will be save in D device Itis used to get more than two digital values if the FB name is finished with M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL VariableName Type 0202 BASE Write Base number 0 16 Write Slot number ADDR Write D address Ex D150 Write 150 Write number of Channel ZE OUTPUT Bit Tip The converted value is composed high and low Double Word For example if you write 150 at the ADDR and 2 at the SIZE the value will be sa
5. BES Project Window amp fi Project Pri0602_16351 uai Pragram amp My Parameter af Reserved 10 ER Card Properties Local 5 Slot Sp X 0000 TC 4Ch LXv 0010 4Ch PT100 Sp 2 D 4Ch Voltage LXY 0030 Ethernet LXY 0D40 Positioning 2Ch NUM scr In this case DA module is installed Slot number 2 and the assigned IO starts from 20 Therefore you need to write 2 at the IOSTART variable e System Library type CM1 DA 5 2 DA S CM2 ADDA DA S CM3 DA 5 ADDA S e Buffer Memory Index CM1_DA 1 8 Ch 1 8 Digital value CM2 DA 1 8 Ch 1 8 Digital value CM2 ADDA DA 33 34 Ch 1 2 Digital value CM3_DA 1 4 Ch 1 4 Digital Output value CM3_ADDA_DA 26 37 Ch 1 2 Digital Output value WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM1 DA S DA S D10 OUTPUT BASE D10 0 SLOT D11 5 INPUT D12 5000 Channel D13 4 IOSTART D14 6 You can write digital output value 5000 to Ch4 of slot 5 module in local base When it works Y40 will be turned ON 6 is a XY starting address of module in slot 5 Example CM3 DA S You write digital output values D100 to Ch2 of slot 2 module When it works 20 will be turned ON 4 is a XY starting address of module in slot 2 WWW CIMON COM CIMON PLC FUNCT
6. It has digital value from RTD module and this digital value will be save in D device Itis used to get more than two digital values if the FB name is finished with M EN ENO BASE Base No SLOT Slot Mo ADDR D Device Address Size Ch OUTPUT Output Bit Device Add apt 1 Ao Add LAOCUD OPP EP DE Variable Name BASE Write Base number 0 16 Write Slot number ndi CM1 0 11 CM2 1 74 CM3 1 11 ADDR Write D address Ex D150 gt Write 150 Write number of Channel size ee an a M OUTPUT Bit e If you write wrong SLOT number or BASE number CPU will have an error e System Library type CM1 RTD 2 RTD M CM3 RTD M e Buffer Memory Index CM1 RTD 21 28 Ch 1 8 Digital converted value CM2 RTD 21 28 Ch 1 8 Digital converted value CM3 RTD 21 24 Ch 1 4 Digital converted value WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM1 RTD M Pgmooo sRc 14 step _ ox OUTPUT Ex Base 000 1 Slot D01 2 ADDR 002 80 SIZE 3 You get 3 digital value from Ch1 to Ch3 at slot 2 in 1 expansion base save them to D80 D81 D82 in sequence When it works 5 will be turned ON Example CM3_RTD_M CM3 RTD M 2 SLOT You can get 4 digital values from Ch1 to Ch4 at slot 2 an
7. LXY 0030 Ethernet LXY 0D40 Positioning 2Ch cse scit In this case DA module is installed Slot number 2 and the assigned IO starts from 20 Therefore you need to write 2 at the IOSTART variable e System Library type CM1 DA 2 DA M CM2 ADDA DA M CM3 DA M CM3 ADDA e Buffer Memory Index CM1 DA 1 8 Ch 1 8 Digital value CM2 DA 1 8 Ch 1 8 Digital value CM2 ADDA DA 33 34 Ch 1 2 Digital value CM3 DA 1 4 Ch 1 74 Digital Output value CM3 ADDA 26 37 Ch 1 2 Digital Output value WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM1 DA M OUTPUT BASE M10 0 SLOT M20 3 ADDR M30 150 SIZE M40 3 IOSTART M50 5 You can write digital output value D150 D151 and D152 to Ch1 Ch2 and Ch3 of slot 3 module in the local base in sequence When it works M60 will be turned ON 5 is a XY starting address of module in slot 3 Example CM3 DA M You can write digital output values D10 and D11 to Ch1 and Ch2 of slot 7 in sequence When it works M140 will be turned ON 10 is a XY starting address of module in slot 7 WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 3 4 2 DA S DA module Write Digital value TO Instruction It sets digital value to DA module The device address of INPUT will be set to assigned channel of CH variable It is used to get only one
8. 100 Ep DXY 0020 DA 4Ch Voltage pu sp LXY 0030 Ethernet gp DXY UD40 Positioning 2Ch Ready OVR CAP NUM SCRL WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL In this case DA module is installed Slot number 2 and the assigned IO starts from 20 Therefore you need to write 2 at the IOSTART variable e Buffer Memory Index CM1 LOADCELL 7 22 37 52 Ch 1 4 Command main code Example CM1 LOADCELL CODE CMI_LOADCELL cODE __ U 0 M01 BASE OUTPUT 3 SLOT 1 CH D1 COMMAND 4 IOSTART You can write a Command code to Ch1 of slot 3 module in local base When it works MO1 will be turned ON 4 is a XY starting address of module in slot 3 1 3 5 2 AD ENABLE It is used to make a channel Enable or Disable for MUX module CM3 AD MUX ENABLE Function WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Variable Name I O Write Slot number Write starting IO address of DA module e If you write wrong SLOT number or BASE number CPU will have an error e In order to save the value to buffer memory the Flag of the assigned device address must be turned ON If the flag is not turned ON value is removed after Power turned OFF Notice IOSTART address is different with Slot number Each module has an assigned IO address For example 16points Digital IO module has 16 IO a
9. System Library Once a FB is saved in System User Library you are not able to edit the FB in this folder but you can only delete the FB Whenever new project file is created FB in System User Library and System Library will appears System Library This is default FB that Cimon provides You are not able to edit FB in the System Library Whenever new project file is created FB in System User Library and System Library will appears According to CPU type Function Block in System Library can be used If FB is not matched with CPU type error message will pop up WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 2 Create User System Library Right click the FB and choose Export FB Function Block gt File 3 File Edit Search View Online Debug Tool Window Help BBREB BTR BEOCBO FSS 8 E Sm gt Function Block User LibraryLPri0415 1529 m Monitor Ti Monitor 34 Delete FB D Properties I Se mS System Import File gt Function Block a Eh Set export FB Function Block gt File Put a Sh High_Speed_Counter Clock e Custom_Library funcion lc Message Window ee 5 5 5 0 00 0 Click Yes WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Choose th
10. 0 maximum value 100 If analog input gets values from 0 to 16000 and you want to have a scale from 0 to 100 then your analog value 14000 D00 will be 87 and 87 will be saved 010 1 3 7 3 DATEWR Set RTC for PLC CPU module It is used to set RTC of PLC CPU module 2 Ez X DAY OF WEEK WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL VariableName 0 Type Device YEAR Write year 200072099 MONTH Write month 1712 Write day 0 6 OUTPUT if RTC works it will be turned ON Day of Week Sunday 0 Monday 1 Tuesday 2 Wednesday 3 Thursday 4 Friday 5 Saturday 6 e f EN is not OFF RTC runs over and over and this will put CPU performance down Therefore after using Function Block turn EN Off or tH Positive transition Sensing Contact for this function block FT Example FB_DATEWR Set RTC for PLC CPU module 1 000 Pgmo00 SRC 20 step EE OUTPUT SECOND 6 DAY OF WEEK Date August 15 2015 Time 8 32 00 Saturday When it works M20 bit will be turned ON and then MOO will be cleared WWW CIMON COM
11. CM3 TC M You can get a digital value from Ch1 at slot 43 and save it to D5 When it works Y85 will be turned ON WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 3 1 6 TC_S It has only one digital value from TC module It is used to get only one digital value if the FB name is finished with S CM1 TC 5 Function Block X Variable Name 1 yp Description TC 5 Base Slot No Channel Ma 1 8 Output Device Add Input L LAdd Qutputio DeleterDi Pass word CFF HELPCH Ce Variable Name 00 BASE Write Base number 0 16 Write Slot number indi CM1 0 11 CM2 1 74 CM3 1 11 Write Word type device address that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S e System Library type CM1 TC S CM2 S CM3 S e Buffer Memory Index CM1 TC 21 28 Ch 1 88 Digital conversion value CM2 TC 21 28 Ch 1 88 Digital conversion value CM3 TC 21 24 Ch 1 4 Digital conversion value WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM1 TC S You can get a digital value from Ch4 at slot 0 in Local base and save it to DOO When it works DOO will be turned ON Example CM3 TC S You can get a digital value from Ch3 at slot 11 and save it to DOO WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL
12. DA Function Block Variable Name 1 ipti CM1 M yo Input Input Input D Device Address Input Size Input Io Start Address Output Result Variable Name Deve 0 0 Write Base number 0 16 W Midi There is no Base number for CM2 and CM3 Write Slot number ADDR Write D address Ex D150 Write 150 Write number of Channel W sze i ae Write starting IO address of DA module W or Ex X20 Y20 at Slot number2 Write 2 OUTPUT Bit will be turned ON if it works e If you write wrong SLOT number or BASE number CPU will have an error e n order to save the value to buffer memory the Flag of the assigned device address must be turned ON If the flag is not turned ON value is removed after Power turned OFF Notice IOSTART address is different with Slot number Each module has an assigned IO address For example 16points Digital IO module has 16 IO address XO XF or YO YF and 32points Digital IO module has 32 IO address XO X1F or YO Y1F WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 3 cicon Edit Search View Onine Debug Ia BES Project Window amp fi Project Pri0602_16351 uai Pragram amp My Parameter af Reserved 10 ER Card Properties Local 5 Slot Sp X 0000 TC 4Ch LXv 0010 4Ch PT100 Sp 2 D 4Ch Voltage
13. It is used to get value from Special module There are two types FBs which get digital output value WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example AD M It is used to get more than two digital values D device is fixed to save this value Type the address on ADDR and type number of channels on SIZE If you want to get the values from Channel 1 3 type 3 It will get a value from channel no 1 always AD S It is used to get only one digital value Output Device is fixed to save this value can use Word type device D15 M70 K110 and etc Type channel number on CH If you want to get a value from Channel no 3 type 3 1 3 1 1 AD M It has digital value from AD module and this digital value will be save in D device It is used to get more than one digital value if the FB name is finished with M CM1 AD M Function Block X Variable Name yp Description AD BASE Base No SLOT Slot No ADDR D Device Address SIZE Size Ch OUTPUT I Output Bit Device ao t Password OPP EP Li Cancel Variable Name I O Device _ _ BASE Write Base number 0 16 Write Slot number ae CM1 0 11 CM2 1 74 CM3 1 11 ADDR Write D address Ex D150 gt Write 150 Write number of Channel size TP ton OUTPUT Bit When it works it will be turned ON e If you write wrong
14. ON If the flag is not turned ON value is removed after Power turned OFF e Command main code 0000H 0 None Clear error code Error code will become 0 and channel error 0002H 2 Run Batch program The Batch program must be assigned at the Weighting mode 0003H 3 Stop Batch Stop running Batch program 0004H 4 Calibrate current measured weight to zero Set Command Assign current measured weight to Command sub code 0005H 5 i sub code low high It must be done after calibration 0006H 6 Gus Save calibrated data to memory The saved parameter will be applied automatically when Power is ON 0007H 7 Make Zero applied weight Gross weight Zero point 0008H 8 Make Tare applied weight Net weight Zero point 0009H 9 Change set value Change current operating parameter and Batch parameter value to buffer memory value Notice IOSTART address is different with Slot number Each module has an assigned IO address For example 16points Digital IO module has 16 IO address XO XF or YO YF and 32points Digital IO module has 32 IO address XO X1F or YO Y1F 9 _ File Edit Search View Online Debug Tool Window Help BEB b 06220 MT 3BAS DEBS GB yl LE Project Window xX Ei Fg Project 0802 1635 e ah Pragram E Parameter Reserved 10 Card Properties Local 5 Slot p XY 0000 TC 4Ch SP XY 0010 4Ch
15. RTD 11 18 Ch 1 8 Detected temp F value CM2 RTD 11 18 Ch 1 8 Detected temp F value CM3 RTD 11 14 Ch 1 4 Detected temp F value Example CM1 RTD TEMP F S 1 000 Pgmo00 SRC 13 step CM1 TEMP F 5 ENO 0 D50 BASE OUTPUT L10 SLOT M50 BASE L10 2 SLOT M50 3 You can get a temperature value F from Ch3 at the slot 2 in the local base and save it to D50 Example CM3 RTD TEMP F S WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 0100 OUTPUT You can get a temperature value F from Ch1 at the slot 2 and save it to D100 1 3 2 5 TC TEMP M It has detected temperature value C from TC module and this digital value will be save in D device It is used to get more than two digital values if the FB name is finished with M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL CM1_TC_TEMP_M Function Block X Variable Name yp Description TEMP M EN ENO BASE Base No SLOT Slot No ADDR D Device Address SIZE Size Ch OUTPUT Output Bit Device Add dd Cull lypa B Delete 25 Password OFF EET ak Variable Name VO Type Device 00 Write Base number 0 16 ind There is no Base number for CM2 and CM3 Write Slot number ADDR Write D address Ex D150 gt Write 150 Write number of Channel size OUTPUT Bit e Sy
16. SLOT number or BASE number CPU will have an error e According to CPU type D device address range will be different WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL e System Library type 1 AD 1 16 2 AD M CM2_ADDA_AD_M CM3_AD_M CM3_ADDA AD M e Buffer Memory Index CM1 AD 11 18 Ch 1 8 Digital Output value CM1AD16Ch 11 26 Ch 1 16 Measured value CM2 AD 11 18 Ch 1 8 Digital Output value CM2 ADDA_AD 7 8 Ch 1 2 Digital Output value CM3 AD 0 3 Ch 1 4 Digital converted value CM3 ADDA AD O 1 Ch 1 2 Digital converted value AD Example CM1 AD M 000 Pgm000 SRC 14 step 5 52 OUTPUT You can get two digital value from Ch1 and Ch2 at Slot number2 in Local Base and save them to D120 and D121 in sequence When it works M51 will be turned ON WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM3 AD M 1 000 Pgmoo0 SRC 13 step 5 B 5 You can get 4 digital values from Ch1 Ch4 at Slot number1 and save them to D address M100 in sequence If M100 is 24 digital value will be save in D24 D25 D26 and D27 1 3 1 2 AD_S It has only one digital value from AD module It is used to get only one digital value if the FB name is finished with S CM1 AD 5 Function Block X Variable Name I yp Description AD 5 BASE Base No SLOT Slot No CH Channel M
17. value if the FB name is finished with S e You need to make a channel enable or disable that you want to use in Special Module Setup or in scan program DA 5 Function Block Variable Name EN NO VO BASE Input SLOT Input INPUT Input CH Input IOSTART Input OUTPUT Output DA 5 Slot No Input Device Channel No 1 8 lo Start Address Result Variable Name Write Base number 0716 BASE W Write Slot number Write Word type device address that you want INPUT Input Word to save the converted value Except X F TS TC CS CC S Write Channel number Ex 2 gt Write 2 Write starting IO address of DA module IOSTART 20 20 at Slot number2 Write 2 OUTPUT Bit will be turned ON if it works e If you write wrong SLOT number or BASE number CPU will have an error e n order to save the value to buffer memory the Flag of the assigned device address must be turned ON If the flag is not turned ON value is removed after Power turned OFF Notice IOSTART address is different with Slot number Each module has an assigned IO address For example 16points Digital IO module has 16 IO address XO XF or YO YF and 32points Digital IO module has 32 IO address XO X1F or YO Y1F WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 3 cicon Edit Search View Onine Debug Ia
18. AD converted value Example CM1 LOADCELL S BASE M100 0 SLOT M200 5 Channel M300 4 You can get a digital value from Ch4 at slot 5 in local base and save it to M400 1 3 1 11 AD MUX M It has relay count value from AD MUX module It is used to get more than two digital values if the FB name is finished with M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL CM3_AD_MUX_M Function Block X yp Description CMS AD MUX EN ENO EN EMO SLOT Slot Mo Size ADDR D Device Address OUTPUT Output Bit Device Add dd Cull lypa B Delete Password OFF EET ak VariableName VO Type Deie 0 Write Slot number Word Write number of Channel Ex Ch 1 Write 1 Ch 1 73 Write 3 Tip The converted value is composed high and low Double Word For example if you write 150 at the ADDR and 2 at the SIZE the value will be saved as below Channel1 AD Relay count high value gt D150 Channel1 AD Relay count low value gt D151 Channel2 AD Relay count high value gt D152 Channel2 AD Relay count low value gt D153 e System Library type CM3 AD MUX M e Buffer Memory Index CM3 AD MUX 1 8 Ch 1 4 Relay Count High Low Double Word WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM3 AD You can get Relay Count High and Low value from Ch1 and Ch2 at the slot 2 and save
19. CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL CIMON PLC Function Block System Library User Manual Version 20150609 WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 SYSTEM LIBRARY 1 1 Library Type Function Block Library has three types User Library User System Library and System Library Not Editable Note Readable If FB in User Library is not used in scan program the FB will be removed when program is downloaded to PLC If you want to use the FB you created save it in file or in User System Library New System Library can be updated without new CICON version installation Please download new System Library from CIMON website www cimon com 1 2 3 User Library FB that you create is saved in this folder You can edit import and export FB User Library is belong to project property so if you create new project or open other project FB that you created will be removed If you want to use FB that you created at the other project you can export FB to file or add it to User System Library If FB in User Library is not used in Scan program it will be removed when you download project file to PLC Therefore export FB to file before downloading project file to PLC You can also find out deleted FB after uploading PLC to CICON Click File and choose Import FB backup file User System Library If you export FB to File in User Library FB can be saved in file or in User
20. CM3 TC ERROR Example CM1 RTD ERROR 1 000 Pgmo00 SRC 14 step BX CM1 RTD ERROR 001 SLOT D02 SIZE D03 In case of DOO 1 1 expansion Base 001 2 Slot number2 002 2 Ch1 and Ch2 003 100 you can have two error codes from Channel 1 and 2 at Slot number 2 in 1st Expansion Base and save them to D100 and D101 each If it works properly M100 bit will be turned ON Slot number starts from 0 WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM3 RTD ERROR 1 000 Pgmo00 SRC 13 step You can get two error codes from Slot number3 and save them to D200 and D201 each If it works properly Y62 will be turned ON 1 3 4 PUT Digital output value It is used to write a value to special module e PUT Digital output value Library List Buffer CPU Lib Descripti EET rcm cm nr CM1 DA M CM1 DA Digital value More than 1 1 DA S CM1 DA Digital value CM2 DA M CM2 DA Digital value More than 1 m CM2 DA S CM2 DA Digital value 1 3 4 1 DA M DA module Write Digital value TO Instruction It sets digital value to DA module and this digital value will be save in D device It is used to set more than two digital values if the FB name is finished with M e You need to make a channel enable or disable that you want to use in Special Module Setup or in scan program WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL CM1
21. E M40 2 You get temperature values C from Ch1 and Ch2 at the slot 1 in the 5 expansion base and save them to D5 and D6 in sequence When it works M900 will be turned ON Example CM3 RTD TEMP M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 000 5 13 step OUTPUT You can get temperature values C from Ch1 to Ch3 at the slot 5 and save them to D100 D101 and D102 in sequence When it works M16 will be turned ON 1 3 2 2 TEMP S It has only one detected temperature value C from RTD module It is used to get only one detected temperature value if the FB name is finished with S CM1 RTD TEMP 5 Function Block X Variable Name yp Description TEMP 5 Base No Slot Mo Channel 1 8 Output Device Add Inputth Add VOC TypeB Delete D Password OFF LET L OK WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Variable Name Tye Deve ______ BASE Write Base number 0 16 Write Slot number Write Channel number Ex Ch2 gt Write 2 Write Word type device address that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S e If you write wrong SLOT number or BASE number CPU will have an error e System Library type CM1 TEMP 5 2 TEMP 5 RTD TEMP S
22. ION BLOCK SYSTEM LIBRARY USER MANUAL 1 3 5 PUT ETC It is used to write a value to special module e PUT Digital output value Library List Buffer Li D PUT 1 LOADCELL CODE 7 22 37 52 CM1 LOADCELL Command Main Code ETC CM3 AD ENABLE CM3 AD MUX Channel Enable Disable set 1 3 5 1 LOADCELL CODE It sets Command main code to Loadcell module Only one Command main code can be set up for a channel in Function Block e You need to make a channel enable or disable that you want to use in Special Module Setup or in scan program CM1 LOADCELL CODE Function Block Variable Name EN ENO BASE SLOT CH COMMAND IOSTART OUTPUT EN ENO Base Mo Slot No Channelfl 4 Command Code Io Start Address Result gt VariableName Type 00 Write Base number 0 16 W iia There is no Base number for CM2 and CM3 Write Slot number Word Write Channel number Ex Ch2 gt Write 2 Write Command main code Error Clear Write 1 Write starting IO address of DA module IOSTART W ee oe Ex X20 Y20 at Slot number2 Write 2 OUTPUT Bit will be turned ON if it works WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL If you write wrong SLOT number or BASE number CPU will have an error e In order to save the value to buffer memory the Flag of the assigned device address must be turned
23. M0010 2 Phase 2 Multiplication Compare Mode MOO20 Current Count Cmp Value Int Preset Val 0030 Ext Preset Val M0050 Ring Counter Max MOD70 Max Compare Value 0090 Min Compare Value M0110 Compare Output M0130 Unit Time mSec 0140 Pulse per 1 Cycle M0150 RPM 1 PPS 0 M0170 4 status Flags Enable Count Internal Preset Req Enable Ext Preset Down Count Enable Out OM RPM OFF PPS Latch Count Carry Borrow Output Error Code NEU T WD Online Modify e System Library type CM3_HSC_PRESET_DEV_D CM3_HSC_PRESET_DEV_M CM3 HSC PRESET L CM3 HSC PRESET Example 000 000 58 13 step rx EN CM3 HSC PRESET DEV M ENO 50 D35 ADDR OUTPUT 1 CHM D25 INPUT The starting address is M50 Set D25 26 of Channel 1 as Preset and save current counted value to D35 36 WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 3 7 FB Instruction e Instruction system library list Group cu erary name mario _ 1 3 7 1 FB FROM FROM Instruction It is used to read value from Buffer memory by FROM instruction FB FROM Function Block Variable Name EN NO VO BASE Input SLOT Input INDEX Input SIZE Input ADDR Input OUTPUT Output FB FROM EN ENO Base Mo Slot No Buffer Index Size Ch D Device Address Output Bit Device
24. M1 TC 11 18 Ch 1 8 Detected temperature F value CM2 TC 11 18 Ch 1 8 Detected temperature F value CM3 TC 11 14 Ch 1 4 Detected temperature F value Example CM1 TC TEMP F M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL OUTPUT BASE 500 0 SLOT M600 8 ADDR M700 100 SIZE M800 4 You can get temperature values F from Ch1 to Ch4 at the slot 8 in the local base and save them to D100 D101 D102 and D103 in sequence When it works M900 will be turned ON Example CM3 TC TEMP F M CM3 TC TEMP M M14 OUTPUT You can get temperature values F from Ch1 to Ch2 at the slot and save them to DOO and 001 in sequence When it works M14 will be turned ON 1 3 2 8 TC TEMP 5 WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL It has only one detected temperature value F from TC module It is used to get only one detected temperature value if the FB name is finished with S CM1 TC TEMP 5 Function Block NA Tog ya 7 98 e a meet 0 Variable _ Write Base number 0 16 BASE Write Slot number udi CM1 0 11 CM2 1 74 CM3 1 11 Write Word type device address that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S e S
25. MISTOR TEMP SENO 1 D100 BASE OUTPUT 0 SLOT You get a temperature value C from Ch2 at the slot 0 in the 1 expansion base and save it to D100 1 3 2 11 THERMISTOR TEMP F M It has detected temperature value F from Thermistor module and this digital value will be save in D device Itis used to get more than two digital values if the FB name is finished with M CM1 THERMISTOR TEMP M Function Block h VariableName Device BASE Write Base number 0 16 WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Write Slot number ADDR Write D address Ex D150 gt Write 150 Write number of Channel sz Bode E OUTPUT Bit e System Library type CM1 THERMISTOR TEMP M e Buffer Memory Index CM1 THERMISTOR 1 8 Ch 1 8 Detected temperature F value Example CM1 THERMISTOR TEMP F M 1 000 Pgmo00 SRC 14 step 5 amp 1 THERMISTOR TEMP MENO M10 OUTPUT BASE 000 0 SLOT 001 2 ADDR D02 10 SIZE 003 1 You can get a temperature value F from Ch1 at the slot 2 in the local base and save it to D10 When it works M10 will be turned ON 1 3 2 10 THERMISTOR TEMP F S WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL It has only one detected temperature value F from Thermistor module It is used to get only one detected temperature value if th
26. X MIN ERROR 2 AD ERROR 2 DA ERROR 2 ADDA AD ERROR 2 ADDA DA ERROR 2 RTD MAX MIN ERROR 2 TC MAX MIN ERROR CM3 AD ERROR CM3 DA ERROR CM3 ADDA ERROR CM3 MAX MIN ERROR CM3 MAX MIN ERROR CM3 AD ERROR Example CM1 AD ERROR WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL EN 0 BASE 3 SLOT You can get error code from Slot No 3 module in Local Base and save it to D20 Example CM3 DA ERROR CM3 DA ERROR _DA_ ENO 0100 0101 SLOT OUTPUT You can get error code from D100 and save it to D101 If D100 is 6 it can get error code from the slot number 6 and save its error code to D101 1 3 3 2 ERROR RDT TC and Thermistor modules This FB is used to get more than 1 error code from a module If error code is O it is normal condition Add Input Add 0 Add 1 00 Delete D Password OFF P1 LHELPXE Ok WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL VariableName VO Type Deve BASE Input Word Write Base number 0716 There is no Base number for CM2 and CM3 Write Slot number Write number of Channel PEE Ex Ch 1 gt Write 1 Ch 1 3 Write 3 ADDR Write D address Ex D150 gt Write 150 OUTPUT Bit will be turned ON if it works e System Library type 1 ERROR 1 TC ERROR 2 ERROR 2 TC ERROR CM3 RTD ERROR
27. ao 1 8 OUTPUT Output Device Add Input 1 Add Cutputico 040 Passward OFF E Ok Variable Name VO Device BASE Write Base number 0716 Write Slot number und 1 0 11 2 1 4 3 1 11 Write Channel number Ch2 gt Write 2 Write Word type device address that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S e If you write wrong SLOT number or BASE number CPU will have an error WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL e System Library type CM1 AD S CM1 AD16Ch S 2 AD 5 2 ADDA AD 5 AD S CM3 ADDA AD S e Buffer Memory Index CM1 AD 11 18 Ch 1 8 Digital Output value CM1AD16Ch 11 26 Ch 1 16 Measured value CM2 AD 11 18 Ch 1 8 Digital Output value CM2 ADDA AD 7 8 Ch 1 2 Digital Output value CM3 AD 0 3 Ch 1 4 Digital converted value CM3 ADDA_AD 0 1 Ch 1 2 Digital converted value AD Example CM1 AD S 1 000 Pgmo00 SRC 13 step nx 1_ _5 M1000 OUTPUT You can get a digital value from Ch3 at Slot 5 in Local base and save it to M1000 Example CM3 AD S 000 Pgm000 SRC 12 step _ ox Slot D85 7 Channel D86 3 You can get a digital value from Ch3 at Slot 7 and save it to D87 WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 3 1 3 RTD_M
28. cted temp F value CM3 RTD 11 14 Ch 1 4 Detected temp F value Example 1 TEMP 1 000 Pgmo00 SRC 14 step EN CM1_RTD_TEMP_F_M ENO BASE D50 2 SLOT 051 1 ADDR D52 3 SIZE D53 4 You can get temperature values F from Ch1 to Ch4 at the slot 1 in the 2 expansion base and save them to D3 D4 D5 and D6 in sequence When it works MOO will be turned ON Example CM3 RTD TEMP F M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL M19 OUTPUT You can get temperature values F from Ch1 to Ch3 at the slot 10 and save them to D20 D21 and D22 in sequence When it works M19 will be turned ON 1 3 2 4 RTD TEMP F S It has only one detected temperature value F from RTD module It is used to get only one detected temperature value if the FB name is finished with S WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL VariableName VO Type Write Base number 0 16 iil There is no Base number for CM2 and CM3 Write Slot number Write Channel number Ex Ch2 Write 2 Write Word type device address that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S e If you write wrong SLOT number or BASE number CPU will have an error e System Library type CM1 TEMP S CM2 RTD TEMP S CM3 TEMP S e Buffer Memory Index CM1
29. d save them to D500 D501 D502 and D503 in sequence When it works L10 will be turned ON WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 3 1 4 RTD_S It has only one digital value from RTD module It is used to get only one digital value if the FB name is finished with S CM1 5 Function Block X Variable Name yp Description CM1 AID EN ENO BASE i Base No SLOT Slot No CH Channel Ma 1 8 OUTPUT Output Device add Add LAOCL Type B DeletetDo Password QFF L ET HELPCH Variable Name 0 BASE Write Base number 0 16 Write Slot number Write Channel number Ex 2 gt Write 2 Write Word type device address that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S e If you write wrong SLOT number or BASE number CPU will have an error e System Library type CM1_RTD_S CM2_RTD_S CM3_RTD_S e Buffer Memory Index CM1 RTD 21 28 Ch 1 88 Digital conversion value CM2 RTD 21 28 Ch 1 88 Digital conversion value CM3 RTD 21 24 Ch 1 4 Digital conversion value WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM1 RTD S Base 0 Slot M800 8 M810 4 You get value from Ch4 at slot 8 in Local base and save to M500 Example CM3_RTD_S You can get a digital va
30. ddress XO XF or YO YF and 32points Digital IO module has 32 IO address XO X1F or YO Y1F oo r 9 ccon Fie Edit Search View Online Debug Tool Window Help k a v hal C i T T 4 3BaS D E E m T T yt yt Lois lt a T T Project Window 1 xX E Fe Project Pri0602_1635 Programm om Parameter Reserved IO E Card Properties ERO Local 5 Slot Sp LXY 0000 TC 4Ch XY 0010 4Ch PT100 Sp X 0020 DA 4Ch Voltage 2n 57 00301 Ethernet gp XY 0D40 Positioning 2Ch Ready OVR CAP NUM SCRL In this case DA module is installed Slot number 2 and the assigned IO starts from 20 Therefore you need to write 2 at the IOSTART variable WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL e Buffer Memory Index CM3 AD MUX O Ch 1 4 Channel Enable Disable Example CM3 AD MUX ENABLE Bl 001 Pgmoo1 sRc 17 step 0X CM3_AD_MUX_ENABLE ENO M100 OUTPUT Make Slot 3 module Ch1 Ch2 and Ch3 Enabled and Ch4 Disabled When it works M100 will be turned ON 5 is a XY starting address of module in slot 3 WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 3 6 High Speed Counter 1 3 6 1 HSC_PRESET DTO DFRO Instruction Write preset value and monitor current counting value CM1 HSC PRESET Funct
31. e Buffer Memory Index CM1RTD 1 8 Ch 1 8 Detected temp value CM2 RTD 1 8 Ch 1 8 Detected temp value CM3 RTD 1 4 Ch 1 4 Detected temp value Example CM1 RTD TEMP S 1 000 Pgmo00 SRC 13 step B 5 BASE D10 2 SLOT D11 2 You can get a temperature value C from Ch2 at the slot 2 in the local base and save it to D20 in sequence Example CM3_RTD_S WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL You can get a temperature value C from Ch1 at the slot 2 and save it to M50 1 3 2 3 RTD_TEMP_F_M It has detected temperature value F from RTD module and this digital value will be save in D device It is used to get more than two digital values if the FB name is finished with M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL VariableName VO Type Deve BASE Input Word Write Base number 0716 There is no Base number for CM2 and CM3 Write Slot number ndi 1 0 11 2 1 4 3 1 11 ADDR Write D address Ex D150 gt Write 150 SIZE Word Write number of Channel Ex Ch 1 Write 1 Ch 1 3 gt Write 3 OUTPUT e If you write wrong SLOT number or BASE number CPU will have an error e System Library type CM1 TEMP M CM2 RTD TEMP M CM3 TEMP M e Buffer Memory Index CM1 RTD 11 14 Ch 1 8 Detected temp F value CM2 RTD 11 18 Ch 1 8 Dete
32. e CPU type that supports this FB and then click OK FB Library CPU Type Setting CPU APnB CPnA D CPnE Lhe CPU BP CM3 CPU 4 PLCS PLCS Block Selec Al If the same FB name already exists in System Library below message will pop up Click Yes if you want to replace it If you click No FB will not be saved in User System Library CICON AX The same name exsits in System Library Do you want to replace it If you click Yes below message will appear CICON x FB is saved in User System Library completly WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Now you can see 005 is duplicated and saved in User System Library Function Block User Library opc a ER FEL E System Library a Get m Put EE Positioning a High Speed Counter Clock Etc User_Library e How to delete FB in System Library in System Library is saved in CICON gt SYSTEM LIBRARY gt FBLIB folder In order to delete FB from System Library delete the FB in FBLIB folder and restart CICON If you do not restart CICON and try to use the deleted FB below error message will appear This FB either does not exist in System Library or has failed to be Imported ok 1 3 Function Block type in System Library 1 3 1 GET Digital conversion value
33. e FB name is finished with S CM1 THERMISTOR TEMP F S Function Black Variable Name Yo Bune 09 02 BASE 03 o E M RE W Variable IO Device BASE Write Base number 0 16 Write Slot number Word type device dares that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S e System Library type CM1 THERMISTOR TEMP F S e Buffer Memory Index CM1 THERMISTOR 1 8 Ch 1 8 Detected temperature F value Example CM1 THEMISTOR TEMP F S WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL BASE L100 3 SLOT L200 4 You get a temperature value F from Ch4 at the slot in the 1 expansion base and save it to L300 1 3 3 GET Error Code WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL It is used to get an error code from Special module RTD TC and Thermistor Error Library can have more than 2 buffer memory e GET ERROR Library List Buffer Li D ipti Group CPU ibrary name Memory escription LUC onered NNNM CM1 M1 RTD MAX MIN ERROR RTD Max Min setting Error ETIN memory 49 must be set CMLTCERROR TC ERROR 3134 0 TC Error TC Error code TC Max Min setting Error ERROR ELLEN 7 Buffer memory 49 must be set 1 THERMISTOR ERROR THERMISTOR ERROR 3138 THERMISTOR Error THERMISTOREmorcode 2 AD ERROR 19 AD Erro
34. er Memory Index CM1 THERMISTOR 1 8 Ch 1 8 Detected temperature C value Example CM1 THERMISTOR TEMP M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 000 Pgmo00 SRC 14 step THERMISTOR TEMP MENO M50 OUTPUT BASE M10 0 SLOT M20 1 ADDR M30 50 SIZE M40 2 You can get temperature values C from Ch1 to Ch2 at the slot 1 in the local base and save them to D50 and D51 in sequence When it works M50 will be turned ON 1 3 2 10 THERMISTOR TEMP S It has only one detected temperature value C from Thermistor module It is used to get only one detected temperature value if the FB name is finished with S CM1 THERMISTOR TEMP 5 Function Block X yp Description EN ENO EN ENO BASE i Base No SLOT Slot No CH Channel Mao 1 8 OUTPUT Output Device Add UU CU Tey Eh Delete Dia Password OFF HELPCH VariableName VO Device BASE Write Base number 0716 Write Slot number Write Channel number Ex Ch2 gt Write 2 Write Word type device address that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S e System Library type WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL CM1_THERMISTOR_TEMP_S e Buffer Memory Index CM1 THERMISTOR 1 8 Ch 1 8 Detected temperature C value Example CM1 THERMISTOR TEMP S THER
35. ion Block Add Input Add 0 Add O Delete D Password OFF P HELPXHD iiic Variable I O Write Slot number CH input Word Write Channel number Ex Ch2 gt Write 2 INPUT Word Write Preset value Device address Write starting IO address of DA module 20 20 at Slot number2 Write 2 Write device address dd Save current value to this device address e f you write wrong SLOT number or BASE number CPU will have an error e n order to save the value to buffer memory the Flag of the assigned device address must be turned ON If the flag is not turned ON value is removed after Power turned OFF Notice IOSTART address is different with Slot number Each module has an assigned IO address For example 16points Digital IO module has 16 IO address XO XF or YO YF and 32points Digital module has 32 IO address XO X1F or YOYY1F WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL BAB 3S BAS Project Window G RB Project Pri0602_1636 uai Program Parameter afi Reserved 10 Card Properties Local 5 Slot Sp X 0000 TC 4Ch 5 Lxv 0010 4Ch PTIOD Sp 2 D 4Ch Voltage LXY 0030 Ethernet LXY 0D40 Positioning 2Ch
36. lue from Ch3 at Slot 1 and save it to DOO WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL 1 3 1 5 TC M It has digital value from TC module and this digital value will be save in D device t is used to get more than two digital values if the FB name is finished with M CM1 TC M Function Block x Variable Name yp Description TC M EN EMO BASE i Base No SLOT Slot No ADDR Vi D Device Address SIZE Size Ch OUTPUT Output Bit Device Add Output Add Cul od Daeletei Do Pace word OF EET ala Variable Name BASE Write Base number 0 16 Write Slot number ndi 1 0 11 2 1 4 3 1 11 ADDR Write D address Ex D150 gt Write 150 Write number of Channel size OUTPUT Bit When it works it will be turned ON e If you write wrong SLOT number or BASE number CPU will have an error e System Library type CM1 TC M CM2 TC M CM3 TC M e Buffer Memory Index CM1 TC 21 28 Ch 1 8 Digital conversion value CM2 TC 21 28 Ch 1 88 Digital conversion value CM3 TC 21 24 Ch 1 4 Digital conversion value WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM1_TC_M OUTPUT If DO2 is 3 you can get 3 digital value from Ch1 to Ch3 at slot 0 in 3 expansion base and save them to D10 D11 and D12 in sequence When it works L100 will be turned ON Example
37. r code 2 ERROR 9 DA Error code 2 ADDA AD ERROR ADDA AD Error code 2 DA ERROR 37 ADDADA Error code M2 CM2 RTD ERROR 3138 0 RTD Error code ERROR RTD Max Min setting Error 2 MAX MIN ERROR cores mon 59 jenn omite Buffer memory 49 must be set CM2 TC ERROR 3138 TC Error TC Error code 000000000 TC Max Min setting Error 2_TC_MAX_MIN_ERROR eee canteen 9 papermono omete Buffer memory 49 must be set CM3 ADERROR _AD_ERROR 37 JAD Error ADEmorcode 00000 CM3 DA ERROR a DA Error code CM3 ADDA ERROR ADDA Error code CM3 RTD ERROR 31 38 RTD Error code CM3 MAX MIN ERROR RTD Max Min setting Error is memory 49 must be set CM3 TC ERROR 31738 TC Error TC Error code TC Max Min setting Error _TC_MAX_MIN_ERROR DEINEN Buffer memory 49 must be set CM3 AD MUX ERROR ERROR 15 AD MUX Error ADMUXEmorcode 1 3 3 1 ERROR Special modules WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL This FB is used to have error code from a module If error code is O it is normal condition Variable Name VO Type 0 0 Write Base number 0 16 BASE Write Slot number OUTPUT Output Word Write device address that you want to save the Error code e System Library type 1 AD ERROR 1 AD16 ERROR 1 DA ERROR 1 MAX MIN ERROR 1 TC MA
38. stem Library type CM1_TC_TEMP_M CM2_TC_TEMP_M CM3_TC_TEMP_M e Buffer Memory Index CM1TC 1 8 Ch 1 8 Detected temperature C value CM2 TC 1 8 Ch 1 8 Detected temperature C value CM3 TC 1 4 Ch 1 8 Detected temperature C value Exmple 1 TC TEMP M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL TC TEMP M OUTPUT BASE D00 1 SLOT 001 2 ADDR D02 2000 SIZE DO3 3 You can get temperature values C from Ch1 to Ch3 at the slot 2 in the 1 expansion base and save them 02000 02001 and 02002 in sequence When it works MO1 will be turned ON Example CM3 TC TEMP You can get temperature values C from Ch1 to Ch2 at the slot 1 and save them to DOO and DO1 in sequence When it works M25 will be turned ON 1 3 2 6 TC TEMP S WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL It has only one detected temperature value C from TC module It is used to get only one detected temperature value if the FB name is finished with S CM1 TC TEMP 5 Function Block X Description TC TEMP 5 EN ENO Base Mo Slot No Channel Mo 1 8 Output Device Add Type Bl E Password HELPCH ak Variable Name VO Type X Dwe 00 Write Base number 0 16 There is Base number for CM2 3 Write Slot number eee CM1 0 11 CM2 1 74 CM3 1 11 Write Channel n
39. t will get a value from channel no 1 always AD_S It is used to get only one digital value Output Device is fixed to save this value and can use Word type device D15 M70 K110 and etc Type channel number on CH If you want to get a value from Channel no 3 type 3 1 3 2 1 RTD_TEMP_M It has detected temperature value C from RTD module and this digital value will be save in D device It is used to get more than two digital values if the FB name is finished with M CM1 RTD TEMP Function Block X Description AID TEMP EN ENO Base No Slot Mo D Device Address Size Ch Output Bit Device Add LAdd E Add Loca DeletetD Password DEF IET ard WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Variable Name BASE Write Base number 0 16 Write Slot number ADDR Write D address Ex D150 gt Write 150 Write number of Channel sz ac UN OUTPUT Bit e If you write wrong SLOT number or BASE number CPU will have an error e System Library type CM1 TEMP 2 RTD TEMP M CM3 RTD TEMP M e Buffer Memory Index CM1RTD 1 8 Ch 1 8 Detected temp value CM2 RTD 1 8 Ch 1 8 Detected temp value CM3 RTD 1 4 Ch 1 4 Detected temp value Example CM1 RTD TEMP M 1 000 Pgmo00 SRC 14 step EM 5 1 TEMP M OUTPUT BASE M10 5 SLOT M20 1 ADDR M30 5 SIZ
40. them to D100 D101 D102 and D103 in sequence 2 Words per a channel When it works Y81 will be turned ON 1 3 1 12 AD MUX 5 It has relay count value from AD MUX module It is used to get only one detected value if the FB name is finished with S OUTPUT DW Add Input Add Output O Add 1 00 DeletetD Password OFF P1 HELP BD WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL VariableName Type 033 Write Slot number Write Channel number Ex Ch2 gt Write 2 Write Word type device address that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S e System Library type CM3 AD MUX S e Buffer Memory Index CM3 AD MUX 1 8 Ch 1 4 Relay Count High Low Double Word Example CM3 AD MUX S 1 000 Pgmoo0 SRC 12 step You can get Relay Count High and Low value from 1 at the slot 9 and save them to D100 and D101 in sequence 1 3 2 GET Temperature detected value It is used to get value from temperature module There are two types FBs which get digital output value Example WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL AD M It is used to get more than two digital values D device is fixed to save this value Type the address on ADDR and type number of channels on SIZE If you want to get the values from Channel 1 3 type 3 I
41. umber Ex 2 gt Write 2 Write Word type device address that you want OUTPUT Output to save the converted value Except X F TS TC CS CC S e System Library type 1 TC TEMP 5 2 TC TEMP S CM3 TC TEMP S e Buffer Memory Index CM1 TC 1 8 Ch 1 8 Detected temperature C value CM2 TC 1 8 Ch 1 8 Detected temperature C value CM3 TC 1 4 Ch 1 4 Detected temperature C value Example CM1 TC TEMP S WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL EN CM1_TC_TEMP_ ENO M100 OUTPUT You can get a temperature values C from Ch4 at the slot 2 in the local base and save it to M100 Example CM3 TC S You can get a temperature values C from Ch1 at the slot 1 and save it to D10 1 3 2 7 TC TEMP F M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL It has detected temperature value F from TC module and this digital value will be save in D device It is used to get more than two digital values if the FB name is finished with M E yo Variable _ _ Write Base number 0 16 BASE Write Slot number adl CM1 0 11 CM2 1 74 CM3 1 11 ADDR Write D address Ex D150 Write 150 Write number of Channel ZE i Ex Ch 1 Write 1 Ch 173 Write 3 OUTPUT e System Library type 1 TC TEMP M CM2 TC TEMP M CM3 TC TEMPF M e Buffer Memory Index C
42. ved as below Channel1 AD converted high word value gt 0150 Channel1 AD converted low word value gt D151 Channel2 AD converted high word value gt 0152 Channel2 AD converted low word value gt D153 e System Library type CM1 LOADCELL M e Buffer Memory Index CM1 Loadcell 12 27 42 57 Ch 1 4 AD converted value WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL Example CM1 LOADCELL M eee eee ae NT Pgmooo sRc 14 step 0X EN _ CMI LOADCELL M M500 OUTPUT You can get a digital value from Ch1 to Ch4 at slot 0 in 1 expansion base and save them to D2000 D2001 D2002 and D2003 in sequence When it works M500 will be turned ON 1 3 1 10 LOADCELL_S It has only one detected weight value from Loadcell module It is used to get only one detected weight value if the FB name is finished with S 0 UT Add Input Add 0 Add 100 Delete D Password OFF P HELP H Variable Name Type evi BASE Write Base number 0 16 Write Slot number Write Word type device address that you want OUTPUT Output Word to save the converted value Except X F TS TC CS CC S WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL e System Library type 1 LOADCELL S e Buffer Memory Index CM1 Loadcell 12 27 42 57 Ch 1 4
43. ystem Library type CM1 TC TEMP F S CM2 TC TEMP F S CM3 TC TEMP F S e Buffer Memory Index CM1 TC 11 18 Ch 1 8 Detected temperature F value CM2 TC 11 18 Ch 1 8 Detected temperature F value CM3 TC 11 14 Ch 1 4 Detected temperature F value Example CM1 TC TEMP F S WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL BASE D100 1 SLOT D90 2 You can get a temperature value F from Ch2 at the slot 1 in the local base and save it to D99 Example CM3_TC_TEMP_F_S You can get a temperature value F from Ch2 at the slot 8 and save it to D45 1 3 2 9 THERMISTOR_TEMP_M WWW CIMON COM CIMON PLC FUNCTION BLOCK SYSTEM LIBRARY USER MANUAL It has detected temperature value C from Thermistor module and this digital value will be save in D device 1115 used to get more than two digital values if the FB name is finished with M CM1 THERMISTOR TEMP M Function Block X Variable Name Description EN ENO EN ENO BASE Base Mo SLOT Slot No ADDR D Device Address SIZE Size Ch OUTPUT Output Bit Device Add Add LAO DaletetD Password OFFER HELPCH ak Variable Name Vo Tye Device 3 BASE Write Base number 0 16 Write Slot number ADDR Write D address Ex D150 gt Write 150 Write number of Channel size i teat eee OUTPUT Bit e System Library type CM1 THERMISTOR TEMP M e Buff

Download Pdf Manuals

image

Related Search

Related Contents

Modèle 28225 Système de Répondeur avec Combiné sans fil  Andis CSI-1CA-D  睾DS2007 取扱説明書  Towards Side-Channel Resistant Implementations of QC  NT Installazione e Manutenzione - SportMaster Condensing  American Standard ELITE 4454 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file