Home
FX3U-CF-ADP USER`S MANUAL
Contents
1. cccccccsseeeeseeeeeeeeeeeseneeeeeees 10 Reading CVI AN AN eset asa ce teas ce yeees sence ee a eden cece se oeeastee ee sahedean 12 1 Introduction 13 Meee MUU MS eh etcetera ct ict eA te ed acto Scie eee ance A A 13 1 2 External Dimensions and Part Names ccccccccceccceeeece sees eeceeeeseeeeaeeeseeeeseeeseeeesaeeseueeseeeesaessaes 13 Mest OWS Mr NCS LACS LEDS neg r A Mh te eh E E A te Al et nncie athe De Glet waciewhebsengactiocsa 14 2 Specification 15 21 GOST Ales OSC IU CALI ONS cg ene cere eee tetra eaten E adoneee siete 16 22 OWEF SUDDIY SPECICATION caise n orate eect dies thane a dian ethane Samed erate Pescanenes 16 2 3 PEFORMANCE SO CCITICALON accursed ccsiat ees a O O mee Seeeaeta aes 16 2 4 CF card ACCESS switch specification aisis eee eee ee 17 2 5 CompactFlash M Card SPC CIC AOU siune a a a a ee eenagee er 17 2 6 Applicable CompactFlash M 5 1K EEIE E TA AAE E E EAN EOE EE A E AN A ER A T 17 3 System Configuration 18 3 1 GeneralconiguratO M o esnean e E nae ae aoa E eee E 18 92 6 0 6 18 al PEC rerin trace Seem ne rao oP ean a E a T E O eee err 19 22 1 GONMe Cab es PLO wi socal aa area a ae heats a a a a et e hs a 19 3 2 2 Applicable versions of the programming tOOl ccccccceececceeceeceeeeeceeececeeececeeeessuseessueessaeessaaes 19 33 COMME CONN WILLA LG eg oss es seats ta te ease ante gaan ante at anscndenannebar ante basteaneetoussntedacaanttoamantcnaceaated 19 3 AASSIGMIM
2. _ CF ADP CF card mounted 32 bit decimal data is read M2 M8404 M8405 M8329 Abnormal end M8029 Execution completion To next page Turns ON when data is written successfully to the 32 bit decimal FNC304 K1 FLCMD t T FNC 12 OV al g unit ready is M8329 Abnormal end M8029 Execution completion Remains ON CF ADP CF card MOV while data is unit ready is being read mounted FNC 21 from the 32 bit decimal type file FNC 12 a FNC 12 m C FNC 12 OV To next page FNC303 FLRD From previous page The buffered data forcible writing execution counter is set to 0 Buffered data forcible writing execution counter Turns ON when forcible writing of buffered data to the CF card is completed successfully The buffered data is forcibly written The buffered data forcible writing execution counter is reset The error code is stored The buffered data forcible writing execution counter is reset Turns ON when forcible writing of buffered data to the CF card is completed successfully Specify the data reading type Specify the line position from which data is read Final line Column position from which data is read Number of read data points Data reading Remains ON while data is being read from the 32 bit decimal type file The error code is stored Remains ON while data is being read from the 32 bit decimal type file Turns ON whe
3. uoneue dxy SUONONASU weiboug QO paiddy qay 49 sojdwex 3 Buyoousajqno 51 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 4 FNC 301 FLDEL File deletesCF card format 8 4 FNC 301 FLDEL File deleteeCF card format Outline The FLDEL instruction deletes files stored in the CompactFlas card h iM hi M card or formats the CompactFlas 1 Instruction format 16 bit Instruction mech 32 bit Instruction Operation Condition FLDEL Continuous FA Operation T steps 2 Set data File ID Refer to Subsection 8 4 1 16 bit binary File delete method Refer to Subsection 8 4 1 16 bit binary n Used channel number contents of setting K1 ch1 K2 ch2 16 bit binary 3 Applicable devices ss CMTS Sere ee ee ee Ee eos ve eee ee amp eae STT tt tt er Pe ee A TT tT Tt ee ee ee moet S S S o S ddd S A Except special data register D Explanation of function and operation 1 16 bit operation FLDEL Command input F ENC301 S1 S2 FLDEL ero L used channel number File delete method File ID The FLDEL instruction deletes files stored in the CompactFlash M card or formats the CompactFlash M card in the following method e Specify file deletion or file formatting using amp 19 When is K 1 HOFFFF the FLDEL instruction deletes all files whose ID is 0 to 63 When is KO to K63 the FLDEL instruction deletes the file
4. Regarding program steps the instruction area for each applied instruction is 1 step The operand of each applied instruction however has 2 or 4 steps depending on the number of bits 16 or 32 bits Devices for operands Bit devices X Y M and S can be used for the operands depending on the function Combination of these bit devices such as KnX KnY KnM and KnS can be used for numeric data Refer to the programming manual Current value registers such as data registers D timers T and counters C can be used A data register D consists of 16 bit Two consecutive data registers 2 points are used for 32 bit data For example if data register DO is specified for the operand of a 32 bit instruction D1 and DO will be used for 32 bit data D1 for the 16 high order bits and DO for the 16 low order bits If current value registers T and C are used as general data registers they will behave the same way as data registers Each 32 bit counter C200 to C255 however can use 32 bit data without combining two counters These counters however cannot be specified as the operands of 16 bit instructions 44 7 Before Programming FX3U CF ADP User s Manual 7 4 General Rules for Applied Instructions 7 4 2 Programming using Instruction execution complete flag and Instruction execution abnormal end flag S 1 If two or more CF ADP instructions are used in a program the Instruction execution complete
5. cece ceccccceececeeeeeceeeesseeeeceecesseeeessaeesseeeesueeseeessaeeeess 32 5 5 1 Connection removal of the power supply CAbIE ccccccceeececeeeeeeeeeeeeeeeeeeeaeeeeeaeeeesaeeeesaneeessaeess 32 6 Functions 33 6 1 DET am S On TUNCU ONS cs assests cae tea oases estat sr ett seh wating ace eae seem oats wee enero 33 6 2 J STAIUS AMO RIO Isaak ce Gcacassck rs etacoksc a r r a 34 7 Before Programming 35 7 1 File format available in the CF ADP ccccccccccsesceceeceeseeceseeeeeeeeeeseeeeesesessaeeeseeeessaeeesensessaeeeees 35 7 1 Biles created by tne CEA D Piczo ct ge eset oh zea ices cs nents eS dee Socks Soaked cd N 35 Tel Filescreated DY TING USEI mecre anera Ea aa ea a a a a a aE 36 7 1 3 Characters available in TOS gene socsccsiag areas aceatersae tans ce mace scesocgeasnscseeedadencattadacdedheustenecdeasdsceacecesahiaieed 37 1 Wet DalarSiZ6 calculat o Menoa a a a 38 FRIS Data witpg OC STMALION ssir na a a o e a E 40 PGE FESD or a a Se ear ct nes Sree mee nee oe rere ene tee 41 AAEE a rere ew ete eed NC nec ete te ei ec ree ec eee 42 PZ Directoy SIMUICIUNG sae acdsee soba eed aati chide Wisc b cate ach aes amen iad ee icbaseinie an bie Nae ies h eelaaeae 43 Fo Ate NMG SEUNG a aad anacsussamese gagene susgennascacenad Saweusen OA 43 7 4 General Rules for Applied INStructions ccccccccccccsececceececeeeeeseeeesseeeeseeeesseeeeseusesseeeseneessnseeess 44 7 4 1 Expression and operation type of app
6. 17 s a e When D is K512 H200 The FLSTRD instruction reads the data capacity used space and free space of the CompactFlas to the following devices respectively b0 h card Setting items Description hT Data capacity of the CompactFlas card CDG CD a KB Units If the data capacity is less than 1 kB 1 is stored Used space of the CompactFlash card 3 2 kB Units If the data size is less than 1 kB 1 is stored Free space of the CompactFlash card 5 4 4 ane kB Units If the data size is less than 1 kB 1 is stored 78 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 8 FNC 305 FLSTRD FX3U CF ADP status read e When is K768 H300 The FLSTRD instruction reads the version information of the CF ADP Setting items Description Stores the version of CF ADP Example K100 Ver 1 00 e When is K1024 H400 The FLSTRD instruction reads the error information error flag Setting items Description Error detection signal bO The CompactFlash card is not mounted b1 The CompactFlash card is full b2 An error has occurred in the CF ADP b3 CF ADP H W error b4 CompactFlash card error b5 to b15 Not used e When is K1280 H500 The FLSTRD instruction reads the error code having occurred in the CF ADP Up to 5 of the latest error codes can be stored Setting items Description Error code 1 2 Error cod
7. 1 Line position K1 to specified maximum number of lines 1OADIE pinary Specify the column position from which data is read Pn 2 Column position K1 to K254 TAr BInAy Read points PN 3 K1 to K254 16 bit binary Device which stores the read data Specify the head of devices which store the data read from the CompactFlash card Number of data points existing in the specified line K1 to K254 16 bit binary KO No data Channel number used by the CF ADP n K1 ch1 16 bit binary K2 ch2 Cautions 1 The FLRD instruction is completed abnormally if a CompactFlash card is not mounted 2 The FLRD instruction may require several scans to acquire data Use the acquired data only after confirming completion of the FLRD instruction if data consistency is required 3 It is necessary to set the device number in a multiple of 16 when a bit device is specified in and the read data type is anything other than bit When a word device is specified in and the read data type is bit the FLRD instruction stores data read from the least significant bit of the specified word device 4 When the data type is anything other than character string and the number of devices which store the read data is insufficient the FLRD instruction does not read data from the CF ADP An error occurs 5 When the data type is a character string the character string length is unknown The PLC stores as much read data as possible When reading is not completed even after the f
8. 111 detailles meet ee ee Ren se ere roe Se ae neon nn eS eae Ree ne tener eee ee Meera 83 9 2 2 Example of a 32 bit decimal type file in csv format after writing ccccccceseseeeeeeeeeeeeeeeeeeeeeeees 83 O 203 DEVICE ASSIGMIMENIS 2 sscetceshetee tts eet adel raided cena aie ahaa as Palas iO Ais es acer 84 924A Seguen es 910 218 Eee eee ee nee ne oe eR meee ne ene nena nen oe eRe a Nee ee ere eat enter e it 85 9 3 Program Example 2 a cactt i255c22sa2osedchaehonssbaccannetaaten sdesaoandalscdescdsaaonedasamiensdsiasendobetonadecdamncssacenaieanayaiee 90 93 1 OperaIlon delais si bye a a hielo eogea tect a a tele cl eado ate eco ocd ae 90 9 3 2 Example of a mixed type file in csv format after writing cccccceeeeeeeeeeeeeeesaeeeeeeeeeeeeeeeseeeeeeeas 90 9290 DEVICES ASSINE Saai e ide ac ended aa aroaet adver eadenace eens sce andetat AE 90 9 3 4 Sequence PLOGraM ccccccssccccccesseecceeusceescusseeeceeseeecesaseeecsassececseaseesseaeeeessassesecseaeeeseesssegseeesies 92 94 Progrant E XAMDE Be eee eee eee en een a a ee eee 98 GAA Operalionsdetall 2205 Ancien ee ee ah ee ee eee 98 DAZ DEVICES ASSIONMNE MIS arre a E e vonkcen a a E a a EARN 98 gA Sequence Program saien oaae aa e O a e aa eae eee aa Gate de 99 10 Troubleshooting 100 10 1 Troubleshooting DIOCC GU ICs esc cant ee ee E E eee 102 TOM IED Stall SsCAGGiG ac a atta tereannease mice io acorns edunhencn eal auecaetaad a 102 10 2 v FOUDIESMOOUING DY
9. 3 5 Co SUOI ONSU weiboug QO paiddy qay 49 sojdwex 3 Buyoousejqno FX3U CF ADP User s Manual 8 CF ADP Applied Instructions Explanation 8 3 FNC 300 FLCRT File createscheck 8 3 1 Detailed explanation of setting data Details of the setting data in the FLCRT instruction are as shown below File creation parameter 4 Setting items S1 S2 Sse 1 Gs 2 n File ID This ID number is associated with the file name The FLCRT instruction creates a file and associates the file name with the file ID at the same time The user should use the file ID for specifying a file after that Allowable setting range KO to K63 KO indicates FIFO file File name When is KO FIFO file Not used ignored Use an unused device D or R When is K1 to K63 Specify the file name in up to 8 characters until null or null null Half width alphanumeric characters and half width symbols permitted in the MS DOS are available Half width symbols amp The extension is fixed to CSV Time stamp setting Set whether or not the time stamp is added to the file Specify the format when adding the time stamp KO None NULL K1 yyyy mm dd hh mm ss K2 yy mm dd hh mm ss K3 dd mm yyyy hh mm ss K4 dd mm yy hh mm ss K5 mm dd yyyy hh mm ss K6 mm dd yy hh mm ss K7 hh mm ss Data type Set the data type to be saved KO
10. card every time the instruction is executed The user should pay rigid attention to the number of times data is written to the CompactFlash M card For example if data is written to the CompactFlas approximately 2 months h card every one minute data is written 100 000 times in Channel number specified in CF ADP applied instructions In CF ADP applied instructions make sure to specify the channel number assigned to the CF ADP If the wrong channel number is specified CF ADP applied instructions are not executed normally Refer to Section 3 4 for the channel numbers assigned to the CF ADP 48 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 3 FNC 300 FLCRT File createscheck 8 3 FNC 300 FLCRT File createecheck Outline The FLCRT instruction creates a file inside the CompactFlash M card mounted in the FX3U CF ADP When executed after creation of a new file the FLCRT instruction checks the association with the file ID and evaluates it 1 Instruction format 16 bit Instruction TAE 32 bit Instruction Operation Condition FLCRT Continuous 9 steps VAL Operation 2 Set data File ID Refer to Subsection 8 3 1 16 bit binary File name Refer to Subsection 8 3 1 Character string File creation parameter Refer to Subsection 8 3 1 16 bit binary 3 Applicable devices Word Devices Others Operand spit Special Con Real Charac l Ee a aS ed E a a ae PTT TTT fy tt
11. type file Turns ON when the mixed type file is deleted successfully M4 M8404 M8405 ian i l T FNC305 H100 D180 ay IDs aaa i i Remains ON CF ADP CF card FLSTRD ompactFlash card are read Remains ON while a mixed type while a mixed unit ready is type file is mounted M8329 Ren 3 being created Abnormal file is being created end FNC 12 D8418 D114 Pinoy m a The error code is stored i Remains ON while a mixed type Execution file is being created completion Remains ON while a mixed type file is being created Remains ON while a new mixed type file is being created To next page To next page 92 9 Program Examples FX3U CF ADP User s Manual 9 3 Program Example 2 From previous page From previous page y A mixed type file is created M62 M8404 M8405 FNC 12 _ K1 D10 Time stamp setting Remains ON CF ADP CF card MOV while a new unit ready is mixed type mounted FNC 12 D11 Data type setting file is being created ae pA K1000 D12 j Maximum line value setting o D13 Set the CF card use ratio BEL e ee e Hee M8329 a Abnormal end FNC 12 D8418 D116 The error code is stored MOV M8029 Remains ON while a new mixed RST M62 meas type file is being created Execution yP 3 completion R he ON whiedat f e mixe e are being written the mixed type are being written Data names are written to the mixed type file M63 M8404 M8405 S kr FNC209 D300 Data name in the 1st column
12. Buyoousajqno 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 8 FNC 305 FLSTRD FX3U CF ADP status read 8 8 1 Detailed explanation of setting data Details of the setting data in the FLSTRD instruction are as shown below Contents of status to be read KO to K63 Final line position of each file K256 H100 File IDs stored in the CompactFlash card K512 H200 Capacity of the CompactFlash card 16 bit binary K768 H300 Version of the CF ADP K1024 H400 Error information error flag K1280 H500 Error codes Head device to which the read status is written The number of data points stored in varies depending on the contents of the read 16 bit binary status Channel number used by the CF ADP n K1 ch1 16 bit binary K2 ch2 e When is KO to K63 The FLSTRD instruction reads the final line position and final column position of each file Setting items Description Final line position K1 to the specified maximum line position 1 Final column position e When is K256 H100 The FLSTRD instruction reads file IDs stored in the CompactFlash M card For a file ID corresponding to the read data refer to the file ID correspondence table shown below When a file exists a bit corresponding to the file ID turns ON Setting items Description 2 3 File ID correspondence table Stores the existence of file IDs Setting items wr a e e e e ee e e e e e e e s lle
13. Data write 1 1 When writing additional data to a file 3 e Set the data writing parameters as follows in all of a series of FLWR instructions 2 Line position of writing destination K 1 Additional writing S Column position K 1 e A series of FLWR instructions is executed and data in one line is added 2 It is not possible to write the same line data additionally to a previously written line F e The time stamp is added at the time of writing if addition of the time stamp is set 3 e The line position after writing is as follows 2 Line position after writing Line position next to the written line Column position after writing K1 e In a series of FLWR instructions the user can specify a matching device in in all FLWR instructions or specify different devices When specifying a matching device it is necessary to change the type and number of points 3 among FLWR instructions in accordance with each transferred data point using the MOV instruction etc At this time do not use a pulse type instruction wasis OO uoneinByuoy Program Example e Explanation of operation When X000 turns ON the data stored in D101 and D100 32 bit hexadecimal type data stored in Y010 bit type data stored in Y011 bit type data stored in R100 16 bit decimal type and data stored in R101 16 bit decimal type are written respectively to Index 3 additionally in the following file The writing destination is the CompactFlash card
14. Remains ON CF ADP CE card MOV while data unit ready is names of the mounted FNC209 DEC 16bit D302 Data name in the 2nd column mixed type MOV are being written FNC209 DEC 32bit D307 Data name in the 3rd column MOV ae HEX 16bit D312 H Data name in the 4th column a ews HEX 32bit D317 i Data name in the 5th column Pe D322 Data name in the 6th column 1 eve Character string D328 Data name in the 7th column To next page To next page 1 QOH which indicates the end of the string must be added to the end of the character string The program example is written in such a way that OOH is placed at the end of each character string by the MOV instruction When a character string is modified it is necessary ensure that OOH is placed at the end of the character string 93 uoneue dxy SUOI ONSU paddy dav 49 OO 1 O e 4 n F Q O Q uoneinByuoy Burwwwes6o14 uoneoyioads INQ UoHONpo j U wasis OO uo ejesu Aa Buum QI suonouny aiojog Ni FX3U CF ADP User s Manual 9 Program Examples 9 3 Program Example 2 From previous page FNC302 FLWR M8329 Abnormal end M8029 Execution completion Mixed type data is written M5 M8404 M8405 n Fl emains ON CF ADP CF card while data is unitready is being written mounted to the mixed type file FNC302 FLWR To next page From previous page FNC 12 MOV FNC 12 K
15. ch2 16 bit binary 3 Applicable devices Con Real Charac Pointer stant Number ter String E P A Except special data register D Explanation of function and operation 1 16 bit operation FLSTRD Command input T ENC305 n ies E E a channel number Head device to which the read status is written Contents of status to be read The FLSTRD instruction reads the status information of the CF ADP The following contents can be read The number of data stored in varies depending on the contents of the read status e When is KO to K63 the FLSTRD instruction reads the final line position and final column position of each file e When is K256 H100 the FLSTRD instruction reads file IDs stored in the CompactFlash card e When is K512 H200 the FLSTRD instruction reads the data capacity e When is K768 H300 the FLSTRD instruction reads the version information of the CF ADP e When is K1024 H400 the FLSTRD instruction reads the error information error flag for errors having occurred in the CF ADP e When is K1280 H500 the FLSTRD instruction reads error codes Up to 5 of the latest error codes can be stored For details refer to Subsection 8 8 1 77 UOI ONPO U uoneoyioads N9 wasis OO uoneinByuoy uo ejesu Aa Buum QI suonouny iojog aS fe a Q o 3 5 Co SUOI ONSU uoneue dxy weiboug QO paiddy qay 49 sojdwex 3
16. D430 to D449 Contents of operation Creates a 32 bit decimal type file and writes data names Writes data to the 32 bit decimal type file Reads data from the 32 bit decimal type file Deletes the 32 bit decimal type file Remains ON while the 32 bit decimal type file is being created Remains ON while data is being written to the 32 bit decimal type file Remains ON while data is being read from the 32 bit decimal type file Remains ON while the 32 bit decimal type file is being deleted Turns ON when the 32 bit decimal type file is created successfully or already exists Turns ON when data is written successfully to the 32 bit decimal type file Turns ON when data is read successfully from the 32 bit decimal type file Turns ON when the 32 bit decimal type file is deleted successfully Turns ON when forcible writing of buffered data to the CompactFlash successfully card is completed Remains ON while a new 32 bit decimal type file is being created Remains ON while data names are being written to the 32 bit decimal type file File name Time stamp setting Data type Maximum line position setting Processing when the maximum line position is reached Specify the data writing type Specify the line position of the writing destination Specify the data column position in the writing destination Number of written data points Writing destination Internal buffer inside the CF ADP CompactFlash card Executes forcible writing o
17. Failure caused by external irresistible forces such as fires or abnormal voltages and failure caused by force majeure such as earthquakes lightning wind and water damage g Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi h Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in Opportunity lost profits incurred to the user or third person by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products
18. For an example of a 32 bit decimal type file in csv format after writing refer to Subsection 9 2 2 2 For device assignments refer to Subsection 9 2 3 7 ee SET MO 32 bit decimal type file is being 2 created Command to a mated eS 32 bit decimal type file is decimal type file RST M20 created successfully X001 Remains ON while data is being t SET written to the 32 bit decimal type Command to write file wasis OO uoneinByuoy data to the 32 bit Turns ON when data is written decimal type file RST M21 successfully to the 32 bit decimal type file x002 Remains ON while data is being 4 t SEI read from the 32 bit decimal type 5 Command to read file D data from the 32 bit Turns ON when data is read decimal type file RST M22 successfully from the 32 bit 5 decimal type file X003 OM Remains ON while the 32 bit t SET M3 dec Wa ecimal type file is being deleted Command to delete 5 the 32 bit decimal Turns ON when the 32 bit type file RST M23 decimal type file is deleted successfully amp T A FNC305 H100 D170 Bi IDs seal T i 32 bit decimal CF ADP CF card is FLSTRD ompaciFlash card are read type file is unit ready mounted M8329 being created RST Abnormal end pata D8418 D100 The error code is stored M8029 32 bit decimal type file is being RST l created Execution completion D41 70 1 32 bit decimal type file is being created suoyoun 32 bit decimal type file is aiojeg N
19. Half width alphanumeric characters and symbols and character strings allowed in the MS DOS O point This number is not related to the maximum number of input output points of the PLC unit 1 The CF ADP is handled in the same way as communication expansion boards and communication special adapters and occupies 1 communication channel 2 Specification FX3U CF ADP User s Manual 2 4 CF card ACCESS switch specification 2 4 CF card ACCESS switch specification Setting item Description ON Access to the CompactFlash card enabled OFF Access to the CompactFlash card disabled 1 Turn OFF the CF card ACCESS switch and then confirm that the BUFFER LED and ACCESS LED are completely OFF before removing the CompactFlash card or turning OFF the power of the CF ADP 2 5 CompactFlash card specification Item Specification Operating ambient humidity 5 to 95 RH no condensation Power supply voltage 3 3V 150mA or less Connector shape Type FAT16 Format form TM The CompactFlash card shall be formatted in accordance with the FAT16 in advance Data capacity 2GB or less Connector terminal Gilding No of installable cards 1 HM 2 6 Applicable CompactFlas card The following CompactFlash card are applicable for the CF ADP Model Description Flash ROM 128MB Flash ROM 256MB CompactFlash card Flash ROM 512MB Caution The life of a CompactFlash card is expired when data is writ
20. MOV Powe ceee maaa FNC 12 P K4 D20 ENGI ka D20 Specify the data writing type a FNC 12 K1 D23 i Number of written data points MOV sae Hocoo pat wi M5 M8404 M8405 FNC 12 See ae MOV K5 D20 Specify the data writing type Remains ON CF ADP CF card SS while data is unitready is being written mounted FNC 12 Number of written data points owe eee type file Awe KALAR maig FNC 12 a K6 D20 ete Specify the data writing type na FNC 12 K1 D23 i Number of written data points MOV oie Oconm pat wn LW FNC 12 iti K7 D20 PFNC2 kr p20 Specify the data writing type i FNC 12 K1 D23 i Number of written data points MOV l rn Pa mf ane M8329 Remains ON while data is being RST M5 i i written to the mixed type file Abnormal end FNC 12 D8418 D120 H Th i e error code is stored FNC peats M8029 Remains ON while data is being RST M5 f written to the mixed type file Execution completion Turns ON when data is written SET M25 successfully to the mixed type file To next page To next page 95 uo euejdx SUOI ONSU paddy dav 49 OO 1 O e 4 n F Q O Q uoneinByuoy urwwesboId uoneoyioads INQ UoHONpo U waisig Q9 uo ejesu Aa Buum QI suopouny iojog Ni 9 Program Examples FX3U CF ADP User s Manual 9 3 Program Example 2 From previous page From previous page i Mixed type data is read M6 M8404 M8405 T m MOV
21. ae 3 Set the main unit to the STOP mode or set the on applied instruction for the CF ADP to the unactuated es status zi Turn OFF the CF card ACCESS switch and then 4 confirm that the ACCESS LED A in the figure on the j right and BUFFER LED B in the figure on the right D are completely OFF z Turn the power of the CF ADP OFF 5 4 2 Power OFF procedure using the applied instruction for the CF ADP Execute the FLCMD instruction to 1 Execute the FLCMD instruction 3 unmount the CompactFlash card X000 Mo S Confirm that the FLCMD instruction MO is completed normally FLCMD r UW 2 Confirm that the FLCMD instruction is normally completed S 3 Turn the power of the CF ADP OFF Turn the power of the CF ADP OFF a M8029 sje Execution 8 completion ee S65 Bo YU os gt If the FLCMD instruction is abnormally completed eS do not turn the power of the CF ADP OFF 8 M8329 eH 8 end 5g 5 4 3 Caution on power OFF If the power is turned OFF while the CompactFlash card is being accessed ACCESS LED is lit or flickering the buffered data is erased Also files or CompactFlash card itself may be damaged z Do not turn the power OFF while the ACCESS LED is lit or flickering 3 5 Wiring FX3U CF ADP User s Manual 5 5 Connection of the power supply cable 5 5 Connection of the power supply cable The CF ADP receives and supplies power through the built in dedicated power connector 5 5 1
22. cUL UL cUL File number E95239 Regarding the standards that comply with the main unit please refer to either the FX series product catalog or consult with your nearest Mitsubishi product provider Compliance with EC directive CE Marking This document does not guarantee that a mechanical system including this product will comply with the following standards Compliance to EMC directive and LVD directive for the entire mechanical module should be checked by the user manufacturer For more information please consult with your nearest Mitsubishi product provider Regarding the standards that comply with the main unit please refer to either the FX series product catalog or consult with your nearest Mitsubishi product provider Attention e This product is designed for use in industrial applications Note e Authorized Representative in the European Community Mitsubishi Electric Europe B V Gothaer Str 8 40880 Ratingen Germany Requirement for Compliance with EMC directive The following products have shown compliance through direct testing of the identified standards below and design analysis through the creation of a technical construction file to the European Directive for Electromagnetic Compatibility 2004 108 EC when used as directed by the appropriate documentation Type Programmable Controller OQpen Type Equipment Models MELSEC FX3u series manufactured from June 1st 2009 FX3U CF ADP Standard Remark EN61
23. error flag of the CF ADP M10 Remains ON while the error information error flag of the CF ADP is being read M30 Turns ON when the error information error flag of the CF ADP is read successfully M40 Turns ON when the CompactFlash card is unmounted M41 Turns ON when the CompactFlash card is full M42 Turns ON when an error occurs in the CF ADP M43 Turns ON when the CF ADP hardware is defective M44 Turns ON when the CompactFlash card is defective M64 Turns ON when the error information of the CF ADP is read normally D126 Error code when the error information of the CF ADP is read D128 Error code when error codes of the CF ADP are read D130 Error information error flag of the CF ADP D132 Stores the error code 1 of the CF ADP D134 Stores the error code 2 of the CF ADP D136 Stores the error code 3 of the CF ADP D138 Stores the error code 4 of the CF ADP D140 Stores the error code 5 of the CF ADP FX3U CF ADP User s Manual 9 Program Examples 9 4 Program Example 3 9 4 3 Sequence Program This program example describes the sequence program for channel 1 ch1 Rewrite the channel No with the actual system configuration to be used For explanation of operations refer to Subsection 9 4 1 For device assignments refer to Subsection 9 4 2 X010 1 Command to read the error information of the CF ADP M10 M8404 M8405 a Remains ON CF ADP CF card unit ready is while the error mounted informat
24. the CF ADP with the FX3U FX3UCc 32MT LT 2 PLCs For details of assignment of channel numbers in the main unit refer to the following Refer to Section 3 4 aiojeg Ni U 3 1 FX3U FX3UC 32MT LT 2 PLC 3 Other 2 f Q special adapters Expansion board Main unit 8 oO T oO I o say 13H SH SHI 2 2 9 S11 ISH SiS S gt 13 sa S8 ae 1 HL SIL SIA D m U xX g FX3U CF ADP 3 S D3 Buyoousajqno 19 3 System Configuration FX3U CF ADP User s Manual 3 4 Assignment of channels 2 FX3uC D DS DSS PLC Other special adapters Main unit POWER f QO POWER f OPOWER J OPOWER COM Tee Ver OU Toe Vie ONE Ie Vee OM Te Vin 2 ooooo jooo0o0000000 o 0 o BR a e o f o 10 1 o 0 lo 1 o 0 _ o CE FL L COM lde V4 CONS 13 V3 COM2 12 V2 COMI il Vi 24 24 oooooloooooooooo FX3U CF ADP 3 4 Assignment of channels The CF ADP is handled in the same way as communication expansion boards and communication special adapters Its channel number ch1 or ch2 is assigned automatically in the order of the position from the main unit This channel number is used in applied instructions for the CF ADP The channel number is assigned as shown below 1 When a CF ADP applied instruction is executed the communication function code K10 CF ADP applied instruction operation is stored in Operation mode display D8419 D8439 corresponding to the
25. 1st Column position from which data D data type is written is San yp The 1st column is specified 9 Number of read data points x F 1 point is specified 32 o v D 3 Data reading FNC303 K5 D30 D100 D10 K2 The data stored in the 1st data FLRD type is read To next page To next page 6u ooysajano 73 FX3U CF ADP User s Manual 8 CF ADP Applied Instructions Explanation 8 6 FNC 303 FLRD Data read From previous page data type is written MOV The data stored in the 2nd FNC 12 K1 D MOV m FNC 12 yo D4 l p MOV i FNC303 K D4 M2 D10 K2 FLRD 8 pao moo pio 2 FNC 12 K2 D50 MOV FNC 12 K2 D51 ee D52 3 The data stored in the 3rd data type is written FNC 12 gq D4 MOV 42 E FNC 12 l K1 Lie Ea FNC 12 K1 D5 MOV From previous page 0 1 3 FNC303 K D D2 D10 K2 FLRD xs 950 D200 vio Ka M8329 Abnormal end M8029 Execution completion pee FNC 12 D84 D De Specify the data reading type The bit type is specified Line position from which data is read The 1st column is specified Column position from which data is read The 1st column is specified Number of read data points 2 points is specified Data reading The data stored in the 2nd data type is read Specify the data reading type Decimal 16 bit type is specified Line position from which data is read The 1st column is specified Column posit
26. 3 Device Assignments Device No Contents of operation X004 Creates a mixed type file and writes data names X005 Writes data to the mixed type file X006 Reads data from the mixed type file 90 9 Program Examples FX3U CF ADP User s Manual 9 3 Program Example 2 Device No Contents of operation X007 Deletes the mixed type file M4 Remains ON while a mixed type file is being created M5 Remains ON while data is being written to the mixed type file M6 Remains ON while data is being read from the mixed type file M7 Remains ON while the mixed type file is being deleted M24 Turns ON when a mixed type file is created successfully or already exists M25 Turns ON when data is written successfully to the mixed type file M26 Turns ON when data is read successfully from the mixed type file M27 Turns ON when the mixed type file is deleted successfully M62 Remains ON while a new mixed type file is being created M63 Remains ON while data names of the mixed type are being written M200 Bit data written to the mixed type file M400 Bit data read from the mixed type file DO File name fixed to FILE D10 Time stamp setting D11 Data type D12 Maximum Index value setting D13 Set the CompactFlash card use ratio D20 Specify the data writing type D21 Specify the Index value of the writing destination D22 Specify the data column position in the writing destination D23 Number of written data points D24 Writing destination CompactFla
27. ADP User s Manual Reading the Manual Reading the Manual In this manual the following formats are used for describing the common items Shows the manual title Shows the title of the chapter and the title Indexes the chapter number of the section The right side of each page indexes the chapter number for the page currently opened This area shows the manual title for the current This area shows the title of the chapter and the page title of the section for the current page 1 Introduction 1 1 Outline uononposuj 1 Introduction 1 1 Outline The CF card special adapter FX3u CF ADP hereinafter abbreviated as CF ADP stores data to and reads data from the CompactFlash card in accordance with applied instructions for the CF ADP sent from the FX3u FX3uc PLC Data is stored in CSV format on the CompactFlash card Only one CF ADP unit can be connected to a single main umit For system configuration refer to Chapter 3 i Data can be saved in a specified file stored in the CompactFlash card Data can be read from the CompactFlash card Shows the reference For details on the functions refer to Chapter 6 uo ejjejsu fm The mark indicates a reference destination and reference manual 1 2 External Dimensions and Part Names buum Ol suoyouny 89 5 3 53 T Special adapter 15 o CF ADP power connector cover 4 supply connector i
28. CIN ON COC Gta ctasiactacavaeseadatsie a A a 102 TOMS Eror code Listand ACON siaa ceases cats a da de dowaateeeeemag ead wd eeauetmenetee dace 103 10 2 Diagnostics on the PLC Main Unit wsacccsissazvs estar delanincasidxba Selancsaeneidwoasesded vate diwplscs ixcareaddeinsaceces 108 10 2 1 POWER POW LED On MasminG Otb jsicdcacetentsstvesccscise beecdtsucs senystati Bie ccluet sandonusldeneapisasaddeadcxansests 108 1922 BATA CB AT LED TON Of escsrccsset joataancctecnusaacansce yieetesabs oleae E a E 108 102 3 ERROR ERR LED fon flasninG OM ara a Seer te ck aaa a aara adeden oaks 109 Appendix A Related Devices 110 Appendix A 1 Related Device List astcteewedsicteeic ein ditiediets hel deviated Bee Wedasioe 110 Appendix A 2 Details of related devices 20 2 0 ccc cccccccceeeeceecceeeeeeeeseceseeeseueseeeeeeeeseeeseeesaeeeaeeeges 111 Appendix A 2 1 Instruction execution complete M8029 ccc cecccceeeceeeeeeeeeeeeeeeseeeseeeeeaeeeeaeeeeaeess 111 Appendix A 2 2 Instruction execution abnormal end M8329 cc ccccccceceeeeeeeeeceeeeseeeeseeeeeeeeeaeeeas 111 Appendix A 2 3 CF ADP instruction executing M8402 M8422 cc cecccccseeceeeeeeeseeeeesaeeeeesaeeees 111 Appendix A 2 4 CF ADP unit ready M8404 M8424 cccccccecceeeeeeeeeseseeeeeeeeeesaeeeeeeeeeseeeeeeeeeeeeags 111 Appendix A 2 5 CF card mount status M8405 M8425 cc ceccccecccecsseceeeeeeeseeeeeeseeeeeseeeeeseeeeseaes 112 Appendix A 2 6 CF ADP status renewal
29. CompactFlash card The following data is stored in the directory Directory Root FX3U_CF DATA User data CSV Normal data file created by the user IDTABLE SYS Various log M_PF log System files created automatically POWD cnt Do not edit them EPOWD log CF_UM log BPD cnt e Inthe case of a FIFO file The directory FX3U_CF DATA FIFO is created inside the CompactFlash card The following data is stored in the directory Directory Root FX3U_CF DATA FIFO User data CSV FIFO file IDTABLE SYS Various log M_PF log System files created automatically POWD cnt Do not edit them EPOWD log CF_UM log BPD cnt 7 3 Date time setting The clock function of the main unit is used for the date and time used in the CF ADP Make sure to set the clock data in the main unit before using the CF ADP The available clock data range is from 00 00 00 on January 1 2008 to 23 59 59 on December 31 2079 If the user sets the date and time outside this range 00 00 00 on January 1 2008 is actually set instead For the clock data setting method in the main unit refer to the following manual Refer to the programming manual 43 UON ONPOJ U i uoneoyioads N9 waisig Od uoneinByuoy uonele su Aa Buum OT suonoun4 uoneue dxy SUONONASU O TA gt U gt xe gol Q U g Q g 3 s jdwex4 Buyoousajqno FX3U CF ADP User s Manual 7 Before Pro
30. H300 po Kt The version information of the CF ADP ch1 is stored in DO Command input 3 Checking the special data register In CF ADP users can obtain the CF ADP version information by monitoring special data register D8408 ch1 D8428 ch2 decimal number Appendix B 1 2 Version upgrade history The table below shows the version upgrade history for the CF ADP Version Contents of version upgrade Ver 1 00 First product 115 Appendix B Version Information FX3U CF ADP User s Manual Appendix B 1 Version information MEMO 116 FX3U CF ADP User s Manual Warranty Warranty 1 Please confirm the following product warranty details before using this product Gratis Warranty Term and Gratis Warranty Range If any faults or defects hereinafter Failure found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated pla
31. KO D40 Specify the data reading type Remains ON CF ADP CF card while data is unitready is 7 mounted FNC 21 Specify the line position from mixed type file Column position from which FNC 12 nz FNC 12 K7 D43 i Number of read data points MOV i FNC303 Ko D40 m400 D50 K1 Mixed type data is read g FLRD i FNC 12 l K1 D40 Specify the data reading type AG D43 Number of read data points T FNC303 l K D40 M4 D K1 Data reading E FLRD bepoj sr i FNC 12 K2 D40 Specify the data reading type FNC 12 K1 D43 Number of read data points p MOV j FNC303 KO D40 R100 D50 K1 Data reading E FLRD e pekopejs h i FNC 12 i K3 D40 Specify the data reading type FNC 12 K1 D43 Number of read data points e MOV i FNC303 K D40 R11 D K1 Data reading E FLRD e bekest i FNC 12 K4 D40 Specify the data reading type FNC 12 K1 D43 Number of read data points MOV FNC303 K D4 R12 D K1 Data reading E FLRD e befej s h 7 FNC 12 K5 D40 a D43 Number of read data points p FNC303 i K D40 R1 D K1 Data reading FLRD Ko 040 R130 050 Kt i To next page To next page 96 FX3U CF ADP User s Manual 9 Program Examples 9 3 Program Example 2 From previous page M8404 M8405 l Remains ON CF ADP CF card while data is unitready is being read mounted from the From previous page FNC 12 K6 D40 r e FNC 12 K1 D43 Mov s Specify the data reading type Number of read data po
32. No data type specification mixed type K1 Bit type K2 Decimal type 16 bit K3 Decimal type 32 bit K4 Hexadecimal type 16 bit K5 Hexadecimal type 32 bit K6 Real numbers Floating point data Exponent expression type K7 Character string Maximum number of lines Set the maximum number of lines Allowable setting range K1 to K32767 When is KO Set the CompactFlash card use ratio Specify the ratio out of the whole CompactFlash card capacity to be used Allowable setting range 10 to 90 When is K1 to K63 File processing to be executed when the specified maximum number of lines is reached Set the file processing method to be executed when the number of lines reaches the specified maximum value KO Stops execution The line position remains at the specified maximum line position K1 Returns to the head ring buffer file Channel number used by the CF ADP K1 ch1 K2 ch2 Data Type 16 bit binary Character string 16 bit binary 16 bit binary 16 bit binary 16 bit binary 16 bit binary 16 bit binary Adjust the maximum number of lines to specify the file size available in the used application software used For the file size calculation formula refer to Subsection 7 1 4 50 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 3 FNC 300 FLCRT File createscheck Caution S When the file ID is KO z 1 The CF
33. The channel number of the device corresponds to the channel number specified in the CF ADP applied instruction 1 Special auxiliary relays R Read only W Write only R W Read or Write Device 5 we escription R W M8029 Instruction execution complete Turns ON when the execution of CF ADP instructions is completed R and remains ON for 1 scan Turns ON when the execution of CF ADP instructions has ended M8329 Instruction execution abnormal end abnormally and remains ON for 1 scan M8067 Turns ON when an operation error occurs R R R M8404 M8424 CF ADP unit ready Remains ON when the CF ADP is ready for receiving commands TM M8405 M8425 CF card mount status ON CompactFlash Hak mounted status R OFF CompactFlash card unmounted status Stops communication executed by the system to update the status M8410 M8430 CF ADP status renewal stop l 9 of special data registers D8406 and D8426 M8418 M8438 CF ADP instruction error Turns ON when an error occurs in an instruction for the CF ADP R W 1 Cleared when the PLC mode is changed from STOP to RUN 2 When an instruction for the CF ADP is driven while the system is updating the status of special data registers execution of the instruction for the CF ADP may be delayed by several scans If this delay is regarded as a problem use this flag to stop the updating of the status 2 Special data registers R Read only W Write only R W Read or Write Device Desc
34. Used channel Data read parameter Read data ANE number Sz n 7 K Data type S2 specification Specify a matching rele n FLRD So 1 i The data stored g Specify a matching B in the final data device g ype i read E2 Speg a malohinol Device o a u 1 S2 3 K u Points Instruction name Cautions 1 Do not use another applied instruction for the CF ADP in between a series of FLRD instructions Set a common driving condition among a series of FLRD instructions 2 Set the same file ID the same line position from which data is read the same column position from which data is read and the same channel number among a series of FLRD instructions Specify a matching device for storing the total number of data points 3 Make sure that the total number of devices from which data is read is 254 or less 4 Use a value after the completion of a series of FLRD instructions for the total number of read data points Sttteeeu lt 254 5 In a series of FLRD instructions the user can specify a matching device in in all FLRD instructions or specify different devices When specifying a matching device it is necessary to change the type and number of points 3 among FLDR instructions in accordance with each transferred data point using the MOV instruction etc At this time do not use a pulse type instruction 72 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 6 FNC 303 FLRD Data
35. after writing number Instruction name n sz KT D Line Data type gt position specification 4 K or K 1 4 Column Ss Line position position Kore Ss 2 Column position S3 3 K m Points 4 K Writing destination 1 When writing additional data to a file e Set the data writing parameters line position and column position as follows Line position of writing destination K 1 Additional writing Column position K1 Head e When executed once the FLWR instruction adds data by 1 line It is not possible to additionally write data which increases columns in to a previously written line position e The time stamp is added at the time of writing if the addition of the time stamp when writing has been set e After writing the line position stores the following value Line position after writing Line position next to the written line position Column position after writing K1 Program Example e Explanation of operation When X000 turns ON the decimal 16 bit data stored in D10 to D14 is written additionally to the 3rd line Index 3 in the following file The writing destination is the CompactFlash after writing and D1 stores the column position after writing Channel 1 is used in this program For details on sequence programs refer to next page card DO stores the line position e Content of file File ID K10 The data name is already written Before the FLWR instruction i
36. data line position range The line position specified in the file reading instruction does not exist in 806 Specified data line position not found in file the file Specify line position existing in the file 105 FX3U CF ADP User s Manual 10 Troubleshooting 10 1 Troubleshooting procedure Error code 807 Error definition CF file name duplication error Error corrective action The file specified in the file creation instruction already exists Specify another file name 808 CF file name length error In the file creation instruction specify the file name within 8 characters 809 810 811 812 813 815 817 818 900 901 902 903 905 906 908 909 1000 CF file name character error CF file time stamp error CF file maximum line position error CF file information number error File data type error Outside column position range Plural data types specified in mixed type file Outside line position range Line search error File reading error File writing error File creation error File deletion error File opening error FIFO file creation error Buffered data writing error to CompactFlash card Specified column position not found in data The file name specified in the file creation instruction contains unavailable characters Review the file name The time stamp format specified in the file creation instruction is outside the setting r
37. disposal company for the environmentally safe recycling and disposal of your device TRANSPORTATION AND STORAGE PRECAUTIONS CAUTIO N The PLC is a precision instrument During transportation avoid impacts larger than those specified in the general specifications of the PLC main unit manual by using dedicated packaging boxes and shock absorbing palettes Failure to do so may cause failures in the PLC After transportation verify operation of the PLC and check for damage of the mounting part etc 15 5 a Ss Q Q Q O uoneoyinoads wasis OO uoneinByuo4y uo ejesu Aa Buum QI suonount aiojeg Ni urwwesboId uo euejdxg SUONONASU weiboug QO paiddygav 49 OO sojdwex 3 Buyoousajqno FX3U CF ADP User s Manual 2 Specification 2 1 General specifications General specifications For items not listed below specifications are the same as the of the PLC main unit For general specifications refer to the manual of the PLC main unit Item Ambient temperature Refer to the FX3U Hardware Edition Refer to the FX3uc Hardware Edition Specification 0 to 55 C 32 to 131 F when operating 25 to 75 C 13 to 167 F when stored Dielectric withstand voltage 500V AC for one minute Between all terminals and ground terminal Insulation resistance 5M or more by 500V DC Megger 1 The upper limit of the ambient temperature shall n
38. flag M8029 or Instruction execution abnormal end flag M8329 will be turned on or off after execution of 2 each instruction However if the Instruction execution complete flag M8029 and Instruction execution abnormal end flag M8329 are used together for a program it is difficult to determine which instruction g turns them ON OFF and the Instruction execution complete flag M8029 will not be turned on for the intended instruction 1 For an applied instruction for the CF ADP the instruction execute complete flag M8029 indicates that the instruction has been completed normally To use a CF ADP instructions at a position other than just below the instruction refer to the wasis OO example shown on the next page O S Good 5 example MO 4 a 2 Completion z of instruction The M8029 will function execution as the instruction execution complete flag 5 of FLCRT instruction RST Abnormal lt completion of instruction execution 2 E M1 FNC302 k1 D20 D30 D40 K1 k FLWR 6 The M8029 will function M8029 z as the instruction 2 execution complete Completion flag of FLWR instruction Po Abnormal completion of instruction execution F D a The M8029 will functi 3 3 e will function 3 example s the instruction Program for upper FLSTRD 3 execution complete flag instruction amp instruction of the lower FLSTRD l execution instruction Completion
39. from the mixed type file R150 to R159 Character string data read from the mixed type file 91 uononpou uoneoyioads INQ wasis OO uoneinByuoy uo ejesu Aa Buum QI suonouny aiojog Ni Burwwwes6o14 uoneue dxy SUOI ONSU paddy dav 49 OO 1 O e 4 n F Q O gt Q 9 Program Examples FX3U CF ADP User s Manual 9 3 Program Example 2 9 3 4 Sequence Program This program example describes the sequence program for channel 1 ch1 Rewrite the channel No with the actual system configuration to be used For explanation of operations refer to Subsection 9 3 1 For an example of a mixed type file in csv format after writing refer to Subsection 9 3 2 For device assignments refer to Subsection 9 3 3 Remains ON while a mixed type file is being created X004 1 Command to create a mixed type file Turns ON when a mixed type file is created successfully or already exists A Remains ON while data is being Command to write written to the mixed type file data to the mixed Turns ON when data is written ype tile successfully to the mixed type file X006 A SET Tee data from the mixed type file Remains ON while data is being read from the mixed type file Turns ON when data is read successfully from the mixed type file Remains ON while the mixed X007 T type file is being deleted Command to delete the mixed
40. read Program Example e Explanation of operation When X000 turns ON 4 data points of different types are read from the 1st column in Index 2 in the following a file Each device shown below stores the read data and D10 stores the total number of data points Channel 2 is used in this program e Content of file 2 File ID K5 The data name is already written a 1 20087979 23 59 00 asza 1 o aa 555 GRIF 2 2009 9 9 23 59 02 waBssa3 0 1 44 5 RLF 3 2009 9 9 23 59 04 23CDFFFF 0 0 444 555 CRYLF After the FLRD instruction is executed wasis OO uoneinByuoy SSS Device which stores the read data D101 D100 H12AB333 M200 KO OFF gead cata M201 K1 ON D200 e Sequence program X000 q SET MO M8424 M8425 FNC 12 Bon Specify the data reading type CF ADP CF card is MOV ixed type data is specified unit mounted Line position from which data is ready read Index 2 is specified uo ejesu Aa Buum QI suonouny Column position from which data is read The 1st column is specified Only mixed type data is specified Total number of read points 4 points is specified iojog Ni Data reading Only mixed type data is specified aS O a Q 3 2 Q Specify the data reading type The 32 bit hexadecimal type is specified m5 QO SE xXx an TI Line position from which data is Say read D 2 Index 2 is specified o g The data stored in the
41. stop M8410 M8430 ccc ccecceceeeeeeeeeeeeseeeesaeeeeeaees 112 Appendix A 2 7 CF ADP instruction error M8418 M8438 ccccccccceecceceeeeeeeeeeseeeeesseeeesaeeeeeeaees 112 Appendix A 2 8 CF ADP status D8406 D8426 oc ccceeeeeeesceeeeseeeeeeseasaeeeeeesesaeeseeeseesssaeeeeees 112 Appendix A 2 9 CF ADP version D8408 D8428 cc ccccccccceeeeeeeeeeeeeeeaeeeeeeeeeesaeeeeeeeeeessaeeeeeeteeaaas 112 Appendix A 2 10 Step number of an instruction for the CF ADP where an error has occurred D8415 D8414 D8435 D8434 uciner een heiel nei eee Re ees eee 113 Appendix A 2 11 Error code for CF ADP instructions D8418 D8438 cc cecccecteeeeeeeeeeaees 113 Appendix A 2 12 Operation mode display D8419 D8439 ec eccceceeeceeaee cesses eeseaeeeeeaeeesaeees 113 FX3U CF ADP User s Manual Table of Contents Appendix B Version Information 115 Appendix B 1 Version IMTOrMallON viinsisiec teehee esc cae ad cade oe addi deena taelenee edlawe dead 115 Appendix B 1 1 Version Check method oisinn aaa blind cee a aa adaa aaa aaa aa a Eaa 115 Appendix B 1 2 Version upgrade NIStONyY ccccccccsseecseeeceseeceeeeceeseceueeceueessuseseueecsusesseeessasessueesseseeens 115 Warranty sns eee re E a 117 Revised HISTOINY rostsmiccana a E a EA aE 118 FX3U CF ADP User s Manual Standards Standards Certification of UL cUL standards FX3U CF ADP units comply with the UL standards UL
42. suoyoun4 aiojeg N I g e o 3 3 ro uoneue dxy SUONONASU weiboug QO paiddy qay 49 sojdwex Buyoousajqno 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write 2 When overwriting data in a previously written line e Set the data writing parameters line position and column position of the writing destination in accordance with the written points e Only data the same type as the original data can be used for overwriting When the data type is a character string only a character string not longer than the original character string can be used for overwriting e It is not possible to write data additionally after the final data point of a previously written line e The time stamp is updated at the time of overwriting e The line position after writing is the specified line position The column position after writing is the column position next to the final written data However if data is written up to the end of a line the line position after writing is the line position next to the written line position and the column position after writing is K1 Program Example e Explanation of operation When X000 turns ON the decimal 16 bit data stored in D10 and D11 overwrites the Index 2 in the following file The writing destination is the CompactFlash card DO stores the line position after writing and D1 stores the column position after wri
43. than the maximum value of the scan time D8012 2 Remove the PLC and supply the power to it from another power source If the ERROR ERR LED goes out noise may have affected the PLC Adopt the following measures Check the ground wiring and re examine the wiring route and installation location Fit a noise filter onto the power supply line 3 If the ERROR ERR LED does not go out even after measures in 1 and 2 are adopted consult your local Mitsubishi Electric representative One of the following errors has occurred on the PLC Flicker e Parameter error Perform PLC diagnosis and program check with the programming tool e Syntax error e Ladder error If the operations of the PLC are abnormal perform PLC diagnosis and program check with the programming tool An I O error parallel link communication error or operation error may have occurred OFF No errors to stop the PLC have occurred 109 uononpou uoneoyioads INQ wasis OO uoneinByuoy uo ejesu Aa Buum QI suoyoun4 slojeg N urwwesboId uo euejdx SUONONASU weiboug QO paiddygav 49 OO m gt lt S 3 Iel D op Appendix A Related Devices FX3U CF ADP User s Manual Appendix A 1 Related Device List Appendix A Related Devices Appendix A 1 Related Device List The tables below show special auxiliary relays and special data registers used in CF ADP instructions FNC300 FLCRT to FNC305 FLSTRD
44. the CompactFlash card D20 stores the line position after writing and D21 stores the column position after writing Channel 2 is used in this program For details on sequence programs refer to next page e Content of file File ID K5 The data name is already written Before the FLWR instruction is executed gt 2009 9 9 23 59 00 12AB2222 1 ee tae ase CR m Be oS ae After the FLWR instruction is executed 2009 9 10 10 10 10 12AB2222 CR LF The The time stamp is updated at L the time of overwriting U we existing existing existing data is data is data is overwritten i i by the value 1 1 stored in 2 20097 are 2559 00 1283333 0 e aworo 238004 2500FFFF 1 Line position after data is written by the FLWR instruction Line position after writing D20 K1 Column position after writing D21 K5 66 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write e Sequence program 5 It is assumed that M15 stores bit data M16 stores bit data and R200 stores 16 bit decimal data 3 This program does not describe such values X000 A SET 2 ep MO M8424 M8425 FNC 12 Specify the data writing type D a Way KO D30 Mixed type data is specified CF ADP CF card is a D unit mounted Specify the line position of the S read writing destination ee The overwriting target is set to Index 1 Only mixed type data is specifi
45. the PLC s ventilation port when installation work is completed Failure to do so may cause fire equipment failures or malfunctions e Connect the FX3U CF ADP securely to special adapter connector Loose connections may cause malfunctions e Connect the power connector of the power supply cable securely to the CF ADP power supply connector Loose connections may cause malfunctions e When inserting a CompactFlash card into the FX3U CF ADP push it into the CF card slot until the EJECT button pops out Loose connections may cause malfunctions e Before inserting removing a CompactFlash card into from the FX3U CF ADP set the CF card ACCESS switch to OFF and confirm that the BUFFER LED and ACCESS LED are both OFF Failure to do so may corrupt data within the CompactFlash card When removing a CompactFlash card from the FX3U CF ADP make sure to support the CompactFlash card by hand as it may pop out Failure to do so may cause the CompactFlash card to fall from the FX3U CF ADP and break e Turn off the power to the PLC before attaching or detaching the following devices Failure to do so may cause device failures or malfunctions Peripheral devices display modules expansion boards and special adapters I O extension units blocks FX Series terminal block and the special function units blocks Battery and memory cassette 22 100 3 WIRING PRECAUTIONS e Make sure to cut off all phases of the power supply extern
46. the exponent AHHH 14 digits part after E HHHHHHHE HH When data is non numeric un normalized NaN or infinite a space is added and NaN is set Up to 512 half Floating point 0 1 1754944E 38 to data 3 4028233E 38 width full width characters 1024 Enter NaN when data is non numeric un normalized or infinite bytes per data Do not use control codes or half width point The entire symbols in character strings amount of data in one line should be 16 kB or less wasis Q9 uoneinByuoy uo ejesu Aa ASCII characters and Character string 2 byte characters such as shift Arbitrary 4 3 Buum OT JIS characters defined by region 1 The data digits are fixed by the data type in the CF ADP Data created using a personal computer cannot be overwritten because the data digits do not match 2 A added to the Index value is used by the CF ADP in the system and cannot be deleted If data is overwritten using a personal computer etc a added by the CF ADP may be deleted and the CF ADP may malfunction 3 UNICODE characters are not available Use characters available in PLCs such as shift JIS characters which are set by region Mitsubishi recommends US ASCII characters when files are used in an environment that caters to TI gt Q z O N several languages Use US ASCII characters if UNICODE characters are set by region UD Use a personal computer in an enviro
47. the following procedures Set the CF card ACCESS switch to OFF A in the figure on the right in the CF ADP Confirm that the POWER LED is lit ACCESS SWITCH and ACCESS LED Open the CF card cover Insert the CompactFlash card into the CF card slot with the front side side B in the figure on the right facing the right side of the CF ADP until the EJECT button side C in the compactFiash figure on the right pops out card Confirm that the CF card ACCESS LED is lit or flickers and turns OFF and then the SLOT LED D in the figure on the right turns Front ON side B EJECT button C Close the CF card cover Set the CF card ACCESS switch to ON 26 4 Installation FX3U CF ADP User s Manual 4 4 Inserting and Removal Procedures 1 4 4 2 Removing the CompactFlash card al The CompactFlash M card can be removed when the CF ADP is power off S When the power supply of CF ADP is ON and it removes the CompactFlash card make sure to perform of the following procedures 2 Set the CF card ACCESS switch of the CF a ADP to OFF A in the figure on the right and 8 make sure that the CF card ACCESS LED and z BUFFER LED B in the figure on the right both turn off 3 When the CF card ACCESS LED turns off the o9 CompactFlash card can be removed even 2s when the CF ADP is powering on Ce Sen x A 2a iRDOFF CAUTION When the CF card ACCESS LED is lit or flickering do not removin
48. the parameter contents execution order etc in mixed type instructions 37 Outside device point number range in mixed type specification 103 FX3U CF ADP User s Manual 10 Troubleshooting 10 1 Troubleshooting procedure Error code 38 42 43 46 200 201 202 203 204 205 206 300 301 302 303 304 400 401 402 404 405 406 407 500 501 502 503 504 505 Error definition Mixed type instruction execution error Response device type error Frame number error Too many characters System error Power shutdown history reading error Power shutdown history writing error Power shutdown history corruption Power shutdown history backup error System error Power shutdown detection SDRAM error ROM error EPROM error SRAM error SUM check error hT M CompactFlas card unmounted error CompactFlash card error CompactFlash card mount error CF free space acquisition error CF FULL Directory creation error CompactFlash card format error Line file error ID table open error ID table write error ID table read error ID table corruption error ID table not found Error corrective action The number of written read points specified by the parameter is outside the setting range Check the parameter contents execution order etc in mixed type instructions The character string exceeds 512 full width characters o
49. the writing destination The 3rd column is specified Number of written points 2 points is specified Writing destination The CompactFlash card is specified Data writing Index 2 is overwritten The error code is stored 61 UOI ONPO U uoneoyioads N9 wasis OO uoneinByuoy uo ejesu Aa Buum QI suo oun aiojeg N I g e o 3 3 ro uoneue dxy SUONONASU weiboug QO paiddy qay 49 sojdwex Buyoousejqno 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write 8 5 3 Writing data of different types Data of different types existing in 1 line are written as follows Additional writing or overwriting is available Li iti File ID Source data Data write parameter ae matings patel 2 n KO Specify mixed Instruction name Device Ss Command type data input S3 1 Keo K 41 Device 1 FLWR Only mixed Device a S3 2 K or K 1 type data S3 3 K r stt u File ID Source data Data write parameter ate pene Used teu Instruction name g number Sr Sz S3 K Specify a matching FLWR K Bevis s D value type n Specify a The data stored Specify a Specify a matching Specify a matching in the 1st data matching amp s 2 oie ae s device p type is written file ID Device a cha ne s 1 S3 3 K
50. ty ere fee iii tty yt tT tt te ee de iT Tit FT tt yt dere S eee eee A Except special data register D Buum OT Explanation of function and operation 1 16 bit operation FLCRT Command input FNC300 FLCRT Used channel number File creation parameter File name File ID i j uo euejdx e When the file ID is KO When is KO the FLCRT instruction creates a FIFO file When the PLC creates two or more files for FIFO file and executes FIFO first in first out in units of files The PLC keeps the latest file and deletes older files so that the total capacity of FIFO files and other files does not exceed the specified capacity e When the file ID is K1 to K63 When is K1 to K63 the FLCRT instruction creates a file having the specified file name Sequence programs use the file ID for specifying a file Accordingly each file name saved in the CompactFlash card is associated with the file ID and controlled by the file ID table If a file having the specified file name already exists and is registered in the file ID table the PLC finishes the FLCRT instruction without executing any processing If a file having the specified name already exists but is not registered in the file ID table the PLC only registers the existing file to the file ID table 49 UOI ONPO U uoneoyioads INQ wasis OO uoneinByuoy uo ejesu Aa suonouny iojog aS fe a Q o
51. whose name consists of a consecutive number in ascending order in the way FILE0000 CSV FILE0001 CSV FILE0999 CSV When the file name reaches FILEO999 CSV the CF ADP deletes the oldest existing file FILE0000 CSV and creates a new file FILE0000 CSV FIFO file creation e When created files exceed the CompactFlash card capacity specified CompactFlash card use ratio The CF ADP creates files whose name consists of a consecutive number in ascending order starting from FILE0000 CSV within the CompactFlash card capacity When created files reach the CompactFlash M card capacity the CF ADP deletes the oldest existing file and creates a new file FIFO file creation FILE0000 CSV FILE0001 CSV FILE0002 CSV FILE0000 CSV FILE0000 CSV FILE0000 CSV FILE0001 CSV FILE0001 CSV FILE0001 CSV FILE0002 CSV FILE0003 CSV FILE0002 CSV FILE0002 CSV FILE0003 CSV FILE0004 CSV FILE0003 CSV FILE0004 CSV FILE0005 CSV Caution 1 The CF ADP can create up to 1000 files However make sure that created files do not exceed the CompactFlash card capacity specified CompactFlash card use ratio 2 The file name is fixed to FILEOO00 CSV to FILEO999 CSV 42 7 Before Programming FX3U CF ADP User s Manual 7 2 Directory structure 7 2 Directory structure The following directory is created inside the CompactFlash card e inthe case of a normal file The directory FX3U_CF DATA is created inside the
52. 00 the FLCMD instruction sets the CompactFlash card to the mounted status if it is in the unmounted status e When is K512 H200 the FLCMD instruction sets the CompactFlash card to the unmounted status if it is in the mounted status e When is K1280 H500 the FLCMD instruction clears error codes stored in the CF ADP For details refer to Subsection 8 7 1 75 UOI ONPO U uoneoyioads N9 wasis OO uoneinByuoy uo ejesu Aa Buum QI suopouny iojog Ni U O ro Q og 3 3 5 To SUOI ONSU uoneue dxy weiboug QO paiddy qay 49 sojdwex 3 Buyoousajqno 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 7 FNC 304 FLCMD FX3U CF ADP command 8 7 1 Detailed explanation of setting data Details of the setting data in the FLCMD instruction are as shown below Contents of instruction for operation K 1 Forcibly writes all buffered data to the CompactFlash card KO to K63 Forcibly writes the buffered data of the specified file ID to the CompactFlash card 16 bit binary K256 H100 Sets the CompactFlash card to the mounted status K512 H200 Sets the CompactFlash card to the unmounted status 2 K1280 H500 Clears error codes stored in the CF ADP Channel number used by the CF ADP n K1 ch1 16 bit binary K2 ch2 hTM 1 The CompactFlas card is available in the mounted status 2 The CompactFlash card is
53. 1 D22 MOV FNC 12 K7 D23 MOV FNC 12 K D24 ee e e FNC 12 MOV D118 M RST M63 SET M24 FNC 12 MOV g O N FNC 12 K 14 D21 MOV FNC 12 MOV FNC 12 MOV FNC 12 MOV FNC302 K M2 D20 D K1 FLWR Ko m200 D20 b30 Kt FNC 12 K1 D2 tev s 2 FNC 12 K1 D2 tor lt o Specify the data writing type Specify the line position of the writing destination Specify the data column position in the writing destination Number of written data points Writing destination Data writing Remains ON while data names of the mixed type are being written The error code is stored Remains ON while data names of the mixed type are being written Remains ON while a mixed type file is being created Specify the data writing type Specify the line position of the writing destination Specify the data column position in the writing destination Number of written data points Writing destination Mixed type data is written Specify the data writing type Number of written data points Data writing To next page 94 9 Program Examples FX3U CF ADP User s Manual 9 3 Program Example 2 From previous page From previous page FNC 12 E K2 D20 er Specify the data writing type nz aor aial Number of written data points i Poin em eee sania FNC 12 oe K3 D20 ENGI ka 20 Specify the data writing type SS FNC 12 K1 D23 i Number of written data points
54. 131 2 2007 Compliance with all relevant aspects of the standard Programmable controllers EMI Equipment requirements and tests e Radiated Emission Conducted Emission EMS Radiated electromagnetic field Fast Transient burst Electrostatic discharge High energy surge Voltage drops and interruptions Conducted RF Power frequency magnetic field FX3U CF ADP User s Manual Standards Caution to conform with EC Directives Installation in Enclosure Programmable logic controllers are open type devices that must be installed and used within conductive control cabinets Please use the programmable logic controller while installed within a conductive shielded control cabinet Please secure the cabinet door to the control cabinet for conduction Installation within a control cabinet greatly affects the safety of the system and aids in shielding noise from the programmable logic controller Control cabinet The control cabinet must be conductive Ground the control cabinet with the thickest possible grounding cable To ensure that there is electric contact between the control cabinet and its door connect the cabinet and its doors with thick wires In order to suppress the leakage of radio waves the control cabinet structure must have minimal openings Also wrap the cable holes with a shielding cover or other shielding devices The gap between the control cabinet and its door must be as small as possible by attaching EMI gaskets between
55. 29 A Completion of instruction execution Functions as the instruction ae execution complete flag of the DSW instruction M100 A o Pa 7 x Functions as the instruction execution complete flag of the FLCRT instruction 46 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 1 CF ADP Instructions types 8 CF ADP Applied Instructions Explanation This chapter explains applied instructions for the CF ADP 8 1 CF ADP Instructions types The PLC and the CF ADP transfer data to each other using applied instructions for the CF ADP Six applied instructions are provided for purpose including file creation data writing and data reading e List of applied instructions for the CF ADP Puch tnsructon er r xptanaten 8 2 Common Items in CF ADP Instructions 8 2 1 Function and operation 1 Processing start timing When the command input turns from OFF to ON the PLC starts processing for the CF ADP If the command input turns OFF during processing for the CF ADP execution of the instruction is cancelled and the instruction is terminated abnormally If the command input remains ON the PLC executes processing repeatedly 2 Cautions on programming For processing for the CF ADP keep ON the command input for an applied instruction for the CF ADP ON until processing has been completed Make such a program that the command input is set to OFF using the instruc
56. 9 RST Abnormal end M8029 RST Execution completion 54 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write 8 5 FNC 302 FLWR Data write O S Outline The FLWR instruction writes data to the CompactFlash card or to the buffer inside the FX3U CF ADP 2 8 1 Instruction format FNC 302 _ 16 bit instruction 32 bit Instruction S Conti Laad FLWR er 11 steps Ene VAL Soe wasis OO Q O 2 Set data 2 Q File ID Refer to Subsection 8 5 1 16 bit binary Head of devices which store data to be written Refer to Subsection 8 5 1 4 Do 5 Data write parameter Refer to Subsection 8 5 1 16 bit binary a Position after data writing Refer to Subsection 8 5 1 16 bit binary n Used channel number contents of setting K1 ch1 K2 ch2 16 bit binary 3 Applicable devices Word Devices Others nme System User Digit Specification Pisin sai Pointer Ee ee De a a ON eee eae ye eee S et PT ETT TE ty yt e ee ee AAI a ST S S T e S S A S dded S S AAAA A E a A a S A Except special data register D Buum QI suonouny iojog Explanation of function and operation U O ro Q og 3 3 5 To 1 16 bit operation FLWR Command input FNC302 mS OQ San Dc Used channel number D 2 os gt Position after data writing SS O Data write parameter Head of devices which store data to be wri
57. ADP can create up to 1000 files within the CompactFlash card capacity 2 The file name is set to FILEOQO00 CSV to FILEO999 CSV 2 When the file ID is K1 to K63 D 1 The user can create up to 63 files within the CompactFlash card capacity 2 The FLCRT instruction is completed abnormally if different file names are specified for the same file ID or S if the same file name is specified for different file IDs Program Example This program creates a file whose ID is 1 and file name is TEST_01 when X000 turns ON The time stamp setting data type maximum Index value and processing when the maximum Index value is reached are as shown below The channel number 1 is used X000 f SET MO M8404 M8405 FNC209 File name H _ TEST 01 The file name is set to CF ADP CF card is MOV TEST_01 unit ready mounted wasis OO uoneinByuoy uo ejesu Aa Time stamp setting The time stamp format yyyy mm dd hh mm ss is set Data type setting The file type is set to 16 bit decimal Buum QI Maximum line value setting The maximum line value is set to 1000 Processing when the maximum line value is reached The processing is set to Stops execution FNC300 K1 D10 K1 A file is created FLCRT M8329 RST Abnormal end FNC 12 D8418 D100 iow 28 0100 M8029 RST Execution completion suonoun4 iojog The error code is stored U O ro Q g 3 3 5 To
58. Connection removal of the power supply cable e Connection Connect the power supply cable after confirming the connector direction e Removal Squeeze the power cable connector at a and disconnect it in the direction of the arrow Press here 32 6 Functions FX3U CF ADP User s Manual 6 1 Details of functions 6 Functions 6 1 Details of functions The user can perform the following procedures for CompactFlash cards using applied instructions for the CF ADP Creating FIFO function files inside the CompactFlash card Only one pattern is available for FIFO function files Multiple FIFO function files are created automatically with a predetermined file name If the created FIFO function files exceed the allowable capacity old files are deleted The FIFO function is executed in units of files Creating files inside the CompactFlash card Up to 63 files can be created hTM Deleting specified files stored in the CompactFlas card Writing bit data word data double word data floating point data and character string data to a specified file stored in the CompactFlash M card Data can be written to the CompactFlash card using the following two methods hTM Data is directly written to the CompactFlas card without using the internal buffer Up to 254 data points can be written to one line Data is collected in the internal buffer When the internal buffer becomes full data is
59. D20 stores the line position after writing and D21 stores the column position after writing Channel 2 is used in this program For details on sequence programs refer to next page uo ejesu Aa Buum QI e Content of file File ID K5 The data name is already written Before the FLWR instruction is executed i poner are zsss00 1282222 1 0 aaa sss ORF 2 aooarereza sec2 12s 0 1 5 After the FLWR instruction is executed 1 aover ara za0 00 222 1 o aaa ss ORI 2 ao0arere 2a ssio2 T2A88006 o 1 a 5 oe 1 suonount iojog Ni aS fe a Q o 3 3 5 Co written is written is written written written 5 3 2009 9 10 23 59 00 23CDFFFF 1 55 The time at which the The value of Y010 The value The value instruction is executed is D101 D100 is ON 1 ON 1 of R100 is of R101 is additionally additionally additionally additionally additionally mS Q wn IE TE Line position after data is written by the FLWR instruction aS Pe e D Line position after writing D20 K4 E Column position after writing D21 K1 9 mo O JE Buyoousajqno 63 FX3U CF ADP User s Manual 8 CF ADP Applied Instructions Explanation 8 5 FNC 302 FLWR Data write e Sequence program It is assumed that D101 and D100 store 32 bit hexadecimal data Y010 stores bit data YO11 stores bit data R100 stores 16 bit decimal data and R101 stores 16 bit dec
60. Devies D208 Data name in the 3rd column 1 the 32 bit decimal type file e o D228 Data name in the 8th column FNC209 ee l xi Device9 D232 Data name in the 9th column T ee pe FNC209 ET l Device10 D236 MOV Deviceto D236 Data name in the 10th column To next page To next page 1 OOH which indicates the end of the string must be added to the end of the character string The program example is written in such a way that OOH is placed at the end of each character string by the MOV instruction When a character string is modified it is necessary ensure that 00H is placed at the end of the character string 86 9 Program Examples FX3U CF ADP User s Manual 9 2 Program Example 1 From previous page From previous page al 5 PAs D20 Specify the data writing type z a FNC 12 Specify the line position of the D21 writing destination 2 O ee i Specify the data column D FNC 12 D22 position in the writing MOV destination ia K10 D23 Number of written data points FNC 12 KO FNC302 m Dat ae uoneinByuoy D24 Writing destination waisig Q9 M8329 Remains ON while data names RST M61 are being written to the 32 bit 4 Abnormal decimal type file il FNC 12 A D8418 D104 The error code is stored a PNG pets D104 z O M8029 Remains ON while data names z RST M61 are being written to the 32 bit Execution decimal type file completion Turns ON when the 32 bit 5 SET
61. EME OF CIMAMING Seri ee nds eee gaat e E aun baste sates aes anced semaee son seaa E 20 4 Installation 22 4 1 Cr ADP CONNECCION escschectacs bes carcehectacactessaics r E 23 4 2 UN Pall MOUNINO passien a A AE 24 Ao IPE CU FIMO G anaa a ie Ena ee ta lea al eet ae eC nt ld tae 25 4 4 Inserting and Removal Procedures cccccscccsssceceeeecsesceccueecceseecsuseesensessaseesegeesseseesegessseseeesegs 26 4 4 1 Inserting the CompactFlash ANG ieee barre ates aera ee enalee E aa neraaes 26 4 4 2 Removing the CompactFlash Calera cataract maura sets eniaer N Maaraueres 27 FX3U CF ADP User s Manual Table of Contents 5 Wiring 28 5 1 Which Power Supply Cable to Use occ ceccccccccceeceeceeesseeeeceecesseeeeseuceeseeeessaeeeseeeessaeeeseneessneeeeas 29 Oe Mel FPOWEl SUDDIV Ca OIG ccana E A EEEE EEE 29 52 POWER SU OLY WIIN lecithin Ret es Bena hee oe Sa 30 5 2 1 I OWS SUD DIY WIRING fates see cts cent aeetsnea Mu kedonntchecstensatea E A 30 S ee 0 Ugo at 9 Reamer ane a a a oe nen a Oe ee mE ET 30 S4 POWer OFF DIOCCOUIC 2 6 scan sbensacssdishaasiactaceshiabarceientacssseuacenseceaiced TE E 31 5 4 1 Power OFF procedure using the CF card ACCESS SWItCN ccccceccccceeceeeceeeeeeeeeeeseeessaeeeesaees 31 5 4 2 Power OFF procedure using the applied instruction for the CF ADP cccccceecceeseeeeeeeeeeeeees 31 pA Caution Om pOWer ORF aesan te a ee te A A 31 5 5 Connection of the power supply cable
62. F ADP is turned on Ensure the safety of the system and then simultaneously turn OFF the power supplies of the main unit CF ADP and other extension equipment the special extension equipment is included For details refer to the respective PLC manual Refer to the FX3u Hardware Edition Refer to the FX3uc Hardware Edition 5 3 Grounding Ground the cables as follows e The grounding resistance should be 100 or less e Independent grounding should be established whenever possible Independent grounding should be performed for best results When independent grounding is not configured perform shared grounding as shown in the following figure For details refer to the respective PLC manual Refer to the FX3U Hardware Edition Refer to the FX3uc Hardware Edition Independent grounding Shared grounding Common grounding Best condition Good condition Not allowed e The grounding point should be close to the CF ADP and all grounding wires should be as short as possible 30 5 Wiring FX3U CF ADP User s Manual 5 4 Power OFF procedure 1 5 4 Power OFF procedure a Make sure to perform either of the following procedures when turning OFF the power of the CF ADP S e Power OFF procedure using the CF card ACCESS switch Refer to Subsection 5 4 1 2 e Power OFF procedure using the applied instruction for the CF ADP r Refer to Subsection 5 4 2 3 5 4 1 Power OFF procedure using the CF card ACCESS switch
63. FNC 12 K2 D1 Number of read data points 5 tk MOV 2 points is specified 230 S22 peeing R1000 D200 Data reading T sia LALJ i Abnormal x 3 end 3 amp aie D8418 D100 The error code is stored p3 Execution 1 completion Buyoousajqno 71 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 6 FNC 303 FLRD Data read 8 6 3 Reading data of different types from a file Data of different types in one line are read as follows i Data read parameter Read data Total Nee of Used am Instruction name ata number a D1 n T KO Specify mixed type data Command x in t kkkk Ee FLRD S2 1 K niy MIxe evice a evice n Only mixed D Devi K r s t a Total points Total number of Used channel Data read parameter Read data data UDT Sz i K Data type Instruction name specification Specify a matching A t FLRD S2 1 i The data stored value Specify a matching aae in the 1st data 2 Specify a matching gevee Ta type is read value Device a number s 1 S23 K s Points Read data Total number of Used channel Data read parameter data E Sz n S2 K e x Device b FLRD Du Specify a matching g aif The data stored value Specify a matching mire ie in the 2nd data device type is read S2 2 eed a matching Device b channel t 1 number S2 3 K t Points Instruction name Total number of
64. M20 decimal type file is created successfully or already exists 32 bit decimal data is written a M1 M8404 M8405 FNC 12 E E D20 Specify the data writing type Remains ON CF ADP CF card MOV hile data is Unit ready is Bin mare mounted FNC 12 to the 32 bit MOV Specify the line position of the writing destination oO O 8 8 suoyoun decimal type FNC 12 Specify the data column file D22 position in the writing MOV destination FNC 12 D MOV 3 Number of written data points 2 O N FNC 12 MOV FNC302 M Dat D24 Writing destination siojoag N urwwesboId M8329 Remains ON while data is being written to the 32 bit decimal 8 Abnormal type file sae FNC 12 D8418 D106 The error code is stored ie Moy FE M8029 Remains ON while data is being ae written to the 32 bit decimal 2 Execution type file completion Turns ON when data is written SET M21 successfully to the 32 bit decimal type file To next page To next page 1 O e 4 n F Q O Q 87 FX3U CF ADP User s Manual 9 Program Examples 9 2 Program Example 1 From previous page Y Data is written to the buffer 10 times and then forcibly written to the CompactFlash card FNC 12 KO D28 Tor e M8002 Initial pulse M20 Turns ON when the 32 bit decimal type file is created successfully or already exists M21 t type file FNC 230 M8404 M8405
65. MEES PEE 9 D3 10 23 4 Installation FX3U CF ADP User s Manual 4 2 DIN rail mounting 4 2 DIN rail mounting The CF ADP may be mounted on a 35mm 1 38 wide DIN46277 DIN rail Connect the CF ADP to the PLC main unit before attaching the CF ADP to a DIN rail This section explains an example where the CF ADP is connected to a FX3u PLC For the DIN rail mounting method for other PLCs refer to the respective PLC manual Refer to the FX3uU Hardware Edition Refer to the FX3uc Hardware Edition Push out all DIN rail mounting hooks A in the figure on the right It is assumed that the CF ADP has been connected in advance For the CF ADP connection method refer to the following Refer to Section 4 1 Fit the upper edge B in the figure on the right of the DIN rail mounting groove onto the DIN rail Push the product onto the DIN rail Lock the DIN rail mounting hooks A in the following figure while pressing the PLC against the DIN rail OWER RUIN BATT ERROR 88655888 84 66 24 4 Installation FX3U CF ADP User s Manual 4 3 Direct mounting 4 3 Direct mounting z When the CF ADP is connected to a FX3u PLC the CF ADP may be mounted directly on a panel surface S using screws The direct mounting method is not available when the CF ADP is connected to a FX3uc PLC Connect the CF ADP to the main unit before attaching it to the panel surface For mounting re
66. T 2 specification for I O wiring and installation extracted from the FX3uc User s Fan nar JY997D31601 Manual Hardware Edition For details refer to FX3UC Series User s Manual Hardware Edition Describes FX3UC 32MT LT specification for I O wiring Supplied FX3UC 32MT LT and installation extracted from the FX3uc User s Manual Manual Hardware Manual JY997D12701 Hardware Edition Only Japanese document For details refer to FX3UC Series User s Manual Hardware Edition E FX3UC Series i ae Additional Users Mahual JY997D28701 Describes FX3UC Series PLC specification details 09R519 Manual for I O wiring installation and maintenance Hardware Edition Programming for FX3S FX3G FX3GC FX3u FX3uc Series FX3S FX3G F X3GC F X3u Additional FX3uUC Series Describes FX3S F X3G F X3GC F X3U F X3UC Series PLC Programming Manual JY997D16601 programming for basic applied 09R517 Manual Basic amp Applied instructions and devices Data Communication Instruction Edition JY997D16901 Edition Manuals for FX3U CF ADP CF card special adapter CF ADP User s Manual JY997D35201 For details refer to FX3U CF ADP User s Manual Di FX3U CF ADP Additional User s Manual JY997D35401 Describes details of the FX3U CF ADP CF card special 09R720 Manual adapter This Manual Manuals for communication control Details of N N Network parallel link computer link and non protocol communica
67. a can be saved in a specified file stored in the CompactFlash card hI M e Data can be read from the CompactFlas card For details on the functions refer to Chapter 6 uo ejesu Aa 1 2 External Dimensions and Part Names Buum QI mounting hole pitch suoyoun4 slojeg N Special adapter CF ADP power amp connector cover 4 supply connector Z is removed 3 Ground 3 4 Green 2 Black 1 Red 8 13 wag Unit mm inches Sab MASS Weight Approx 0 3kg 0 66lbs a CF card not attached S gt 50 gt DIN rail mounting groove D M DIN rail DIN46277 35mm 1 38 width R See 2 Nameplate 10 Special adapter connector 9 3 Special adapter slide lock 11 EJECT button my O 4 Special adapter connector cover 12 DIN rail mounting hook 39 Direct mounting hole g3 5 2 holes of 4 5 0 18 13 CF ADP power supply connector mounting screw M4 screw 6 Status LEDs 14 CF card cover 1 7 CF card ACCESS switch 15 Special adapter connector 8 Special adapter fixing hook Buyoousajqno 13 1 Introduction FX3U CF ADP User s Manual 1 3 Power and status LEDs 1 3 Power and status LEDs LED display Color Status Description OFF Power is not being supplied from the external power supply 24V DC POWER Green Power is being supplied from the external power supply 24V DC Data is not stored in the internal buffer Data is stored in the intern
68. al buffer OFF No errors EA Eo CF write error CompactFlash card error etc has occurred BUFFER Green OFF The CompactFlash card has free space Flicker The free space in the CompactFlash card is 20 or less of the full capacity mau CompactFlash card has no free space The free space in the CompactFlash card is 1 or less of the full capacity ca CompactFlash card not accessed ACCESS Green ON CompactFlash card being accessed ee CompactFlash card is not inserted or the slot is in the CompactFlash card unmounted SLOT Green Status FULL ON The CompactFlash card is inserted or the slot is in the CompactFlash card mounted status 14 2 Specification FX3U CF ADP User s Manual 2 Specification DESIGN PRECAUTIONS WARN ING Make sure to include the following safety circuits outside the PLC to ensure safe system operation even during external power supply problems or PLC failure Otherwise malfunctions may cause serious accidents 1 Above all the following components should be included an emergency stop circuit a protection circuit an interlock circuit for opposite movements such as normal vs reverse rotation and an interlock circuit to prevent damage to the equipment at the upper and lower positioning limits 2 Note that when the PLC main unit detects an error during self diagnosis such as a watchdog timer error all outputs are turned off Also
69. al circuits and mechanisms should be designed to ensure safe machinery operation in such cases DESIGN PRECAUTIONS CAUTION Observe the following items Failure to do so may cause incorrect data writing through noise to the PLC and result in PLC failure machine damage or other accident 1 Do not bundle the control line together with or lay it close to the main circuit or power line As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or power line Noise may cause malfunctions 2 Ground the shield wire or shield of a shielded cable Do not use common grounding with heavy electrical systems During access ACCESS LED is lit or flickering to CompactFlash card do not remove the CompactFlash card or power off the CF ADP Failure to do so may cause CompactFlash card failures or malfunctions If the power is turned OFF while the CompactFlash card is being accessed ACCESS LED is lit or flickering the buffered data is erased Also files or CompactFlash card itself may be damaged Do not turn the power OFF while the ACCESS LED is lit or flickering Do not apply excessive pressure to the power supply cable or power supply connector Excessive pressure may cause damage or error WIRING PRECAUTIONS N WARN ING Connect the DC power supply wiring to the dedicated terminal described in this manual If an AC power supply is connected to a DC input output terminal or DC power supply terminal
70. al power supply power supply 24V DC e When the service power supply of the PLC POWER Green main unit is in use make sure that the supply Capacity is not being exceeded pon ley is a supplied from the external power ON oe a DC OFF Data is not stored in the internal buffer Data is stored in the internal buffer 3 An error has occurred in the CF ADP Check the error code and perform the appropriate aN CF write error CompactFlash card error etc action according to the content of the error has occurred For details on error codes refer to the following Refer to Subsection 10 1 3 The CompactFlash card has free space s Flicker The free space in the CompactFlash card is at 2 20 or less of the full capacity The CompactFlash card has no free space The free space in the CompactFlash 1 or less of the full capacity OFF CompactFlash card not accessed a ACCESS Green OON CompactFlash card being accessed z TM The CompactFlash card ue inserted or the The CompactFlash card is not inserted OFF slot is in the CompactFlash card unmounted serta CompactFlash cara SLOT Green status i ON The power supply is normal BUFFER son cae FULL Delete unnecessary data or replace the card is at CompactFlash M card h card is inserted or the slot is The CompactFlas in the card mounted status 10 1 2 Troubleshooting by error code Whe
71. ally before attempting wiring work 28 Failure to do so may cause electric shock or damage to the product 100 e Connect the DC power supply wiring to the dedicated terminal described in this manual If an AC power supply is connected to a DC input output terminal or DC power supply terminal the PLC will burn out e Connect the DC power supply wiring to the dedicated connector described in this manual If an AC power supply is connected to a DC power supply connector the PLC will burn out e When drilling screw holes or wiring make sure that cutting and wiring debris do not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions GENE S2fcty Precautions uD Read these precautions before use 4 STARTUP AND MAINTENANCE PRECAUTIONS Make sure to connect the battery for memory backup correctly Do not charge disassemble heat short circuit or expose the battery to fire Doing so may rupture or ignite it e Do not touch any terminal while the PLC s power is on Doing so may cause electric shock or malfunctions e Before modifying or disrupting the program in operation or running the PLC carefully read through this manual and the associated manuals and ensure the safety of the operation An operation error may damage the machinery or cause accidents 28 82 101 Do not disassemble or modify the PLC Doing so may cause fire equipment failures or malfunctions For repair contac
72. ame name veal won Day Re CEL TI gt Q z O N Year Month Day Year Month Day Index YEA MANN Day data data data data 8 Hour Minute Seconds E x D Index TEAN Mone data data data data ee Hour Minute Seconds 39 0 O gt Index TEAT MONIEN data data data data S 5 Hour Minute Seconds D OL Index TEARMANN DAY data data data data Hour Minute Seconds 9 N a seein aS eerie seal Tetee gt 32 a D 7 8 F3 Buyoousajqno 35 7 Before Programming FX3U CF ADP User s Manual 7 1 File format available in the CF ADP 7 1 2 Contents of files in the csv format No 1 Index DATE TIME When the file name is added the Index date and time are i i i added automatically 2 Eaa string consisting of up to 32 half width full width Refer te Subsection 74 2 Decimal number 6 digits 1 to 32767 space and plus are used by the 3 Index Numeric values should be consecutive and in ascending system order Index values in one file should be different from each other None Null yyyy mm dd hh mm ss 19 characters yy mm dd hh mm ss 17 characters year Month Day dd mm yyyy hh mm ss 19 characters The date and time are updated when data is additionally written or overwritten if the Hour Minute Seconds dd mm yy hh mm ss 17 characters time stamp is set mm dd yyyy hh mm ss 19 characters mm dd yy hh mm ss 17 characters hh mm ss 8 characters 6 ee Comma 1 ch
73. ange Review the specified value The maximum line position specified in the file creation instruction is outside the setting range Review the specified value The maximum line position file processing when the maximum line position is reached or CompactFlash card utilization of FIFO files specified in the file creation instruction is outside the setting range Review the specified value The data type specified in the file creation instruction is outside the setting range Review the specified value The column position specified in the file writing reading instruction is outside the setting range Review the specified value Data of multiple data types was attempted to be read from a file for which a type other than mixed type is specified in the file creation instruction Review the data type in the existing file or data type to be read The file specified in the file writing instruction has already reached the maximum line position and will not accept any more additional writing Delete the file or specify another file The specified line is not found in the file Check whether the file is corrupt and whether its contents agree with the specification Check whether the file contains a line larger than the maximum line position specified in the file creation instruction Data was not read correctly from the file Check whether the file is corrupt and whether its contents agree with the specification Data was
74. aracter Bit 1 character Decimal 16 bit 6 characters Decimal 32 bit 11 characters Hexadecimal 16 bit 4 characters 7 data Hexadecimal 32 bit 8 characters The maximum data size is 16 kB for each Index One character string should be within 1 kB 512 full width characters Real numbers Floating point data Exponent type 447 4HF E 14 characters Character string Varies depending on the character size 512 half width full width characters maximum 8 CR LF Return code at line end Line feed Files created by the user The contents of files created by the user should be same as files created by the CF ADP refer to Subsection 7 1 1 For characters available in files refer to Subsection 7 1 3 For cautions on file creation refer to the following description Caution e Cautions on creating the 1st column Enter the line number in decimal number 1 to 32767 in 6 digits or less Enter the line number consecutively in ascending order Use a line number only once Do not use plus in the line number e Cautions on creating the 2nd column Year Month Day Hour Minute Seconds Enter the date and time in the specified configuration Enter Index data CF LF so that the 2nd column area is secured e Enter data in the 3rd column and so on Up to 254 data points can be entered e Make sure to separate data with comma e Use CR LF as the line feed code e Cautions on rea
75. ases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion 117 FX3U CF ADP User s Manual Revised History Revised History Date 6 2009 9 2010 9 2014 11 2014 4 2015 Revision A BE E Description First Edition FX3UC 32MT LT 2 was added The notation change of Compliance with EC directive Errors are corrected GX Works2 FX 30P was added Supplement was written for D8419 D8439 Preparing the power cable by yourself is deleted Subsection 5 1 2 Errors are corrected The notation change of Power on off timing Errors are corrected A part of the cover design is changed FX3U CF ADP USER S MANUAL MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN FX3U CF ADP U E MODEL CODE 09R720 JY997D35401E Effective April 2015 MEE Specifications are subject to change without notice
76. associated with the specified file ID When is K512 H200 the FLDEL instruction formats the CompactFlash card e Specify the file deletion method or format type using G2 When is K 1 HOFFFF or KO to K63 specify the deletion method KO The FLDEL instruction deletes the specified file K1 The FLDEL instruction deletes the association between the file name and the file ID but does not delete the file itself However when the file ID specified in is 0 the FLDEL instruction deletes the file without regard to the setting of G2 When is K512 H200 specify the format type k256 H100 The FLDEL instruction formats the CompactFlash card in FAT16 format For details refer to Subsection 8 4 1 52 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 4 FNC 301 FLDEL File delete CF card format 8 4 1 Detailed explanation of setting data B Details of the setting data in the FLDEL instruction are as shown below File ID K 1 HOFFFF The FLDEL instruction deletes all files 46 bit bi 2 KO to K63 The FLDEL instruction deletes a file associated with the specified file ID a oinary F K512 H200 The FLDEL instruction formats the CompactFlash card 3 When is K 1 HOFFFF or KO to K63 2 Specify the deletion method 5 KO The FLDEL instruction deletes the specified file K1 The FLDEL instruction deletes the association between the file name and the file ID but does
77. buffer inside the CF ADP is erased when a instantaneous or long power interruption occurs 5 When the data type is a data name K8 the user can specify only the head line before writing other data Index and DATE TIME are added automatically 6 The FLWR instruction may require several scans to acquire data Take proper measures such as saving acquired data in another device if data consistency is required 7 Itis necessary to set the device number in multiples of 16 when a bit device is specified in and the data type is set to anything other than bit type When a word device is specified in and the data type is set to bit the FLWR instruction acquires data to be written from the least significant bit of the specified device 8 When is K7 or K8 OOH which indicates the end of the string must be added to the end of the character string 57 uononpou uoneoyioads INQ wasis OO uoneinByuoy uo ejesu Aa Buum QI suonouny iojog Be fa Co o 3 3 5 a uoneue dxy SUONONASU weiboug QO paiddy qay 49 sojdwex 3 Buyoousejqno 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write 8 5 2 Writing data of same type m data points of the same type in one line are written as follows Additional writing or overwriting is available Line position Used channel File ID Source data Data write parameter
78. ce Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases a Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design b Failure caused by unapproved modifications etc to the product by the user c When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided d Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced e Relay failure or output contact failure caused by usage beyond the specified Life of contact cycles f
79. channel specified in the instruction 1 FX3U FX3UC 32MT LT 2 PLC e When using channel 1 ch1 ch2 ch1 Communication Analog FX3u CNV BD FX3U FX3UC 32MT LT 2 special adapter special adapter special adapter Main unit e When using channel 2 ch2 ch2 ch1 Analog Analog COMMunication FXsu FX3uc 32MT LT 2 a eal ite Main unit oar special adapter special adapter Caution on using the CF ADP The CF ADP is handled in the same way as communication expansion boards and communication special adapters and occupies one communication channel 20 3 System Configuration FX3U CF ADP User s Manual 3 4 Assignment of channels 2 FX3UC D DS DSS PLC O e When using channel 1 ch1 S ch2 ch1 Communication Analog FX3uc D DS DSS 7 special adapter special adapter special adapter Main unit 8 a e When using channel 2 ch2 ch2 ch1 wa skS uoneinByuoy Communication FX3uc D DS DSS special adapter special adapter special adapter Main unit uonele su Aa Caution on using the CF ADP The CF ADP is handled in the same way as communication special adapters and occupies one communication channel Buum QI suo oun slojeg N urwwesboId uo euejdx SUONONASU weiboug QO paiddygav 49 OO sojdwex 3 Buyoousajqno 21 4 Installation FX3U CF ADP User s Manual 4 Installation INSTALLATION PRECAUTIONS N WARN N G
80. created successfully F Q Remains ON while a new 32 bit z SET M60 decimal type file is being 3 created 2 m5 o To next page To next page San oc BU S328 Ss L 1 O e 4 n F Q O Q 85 9 Program Examples FX3U CF ADP User s Manual 9 2 Program Example 1 From previous page From previous page y A 32 bit decimal type file is created The file name is set to M60 M8404 M8405 FNC209 DWORD 01 l i Remains CF ADP CF card MOV DWORD_01 ON while a unit ready is new 32 bit mounted FNC 12 D10 Time stamp setting decimal MOV type file is Tee being k Eg D11 Data type setting created ee MOV pA K1000 D12 Maximum line value setting ae FNC 12 l Processing when the maximum e D13 i line value is reached FNC300 k1 D10 K1 File create FLCRT M8329 Remains ON while a new 32 bit RST meo decimal type file is being Abnormal created end DAs D8418 D102 The error code is stored Remains ON while a new 32 bit M8029 decimal type file is being Execution created completion Remains ON while data names SET M61 are being written to the 32 bit decimal type file Data names are written to the 32 bit decimal type file M61 M8404 M8405 FNC209 l 4 H kK H Device1 D200 Data name in the 1st column Remains CF ADP CF card MOV ON while unit ready is data mounted FNC209 D204 Data name in the 2nd column names are MOV eee FNC209 written to Device3 D208 sro
81. cted step number storange device D8418 D8438 D8415 D8414 D8435 D8434 Program Example X000 Start command ma FNC 300 m m Ka FLCRT M8329 Abnormal ii FNC 12 Check the step DMOV D8414 D50 number in which the error occurred in the ch1 FNC 12 Check the error code D8418 D53 of the error occurred M8029 Execution in the ch1 completion Cautions on programming Number of times data is written to the CompactFlas Using a CF ADP instruction together with another instruction CF ADP applied instructions cannot be used if they specify a channel used by the RS instruction RS2 instruction inverter communication instructions or MODBUS Read Write instructions Caution on when two or more application instructions for the CF ADP are driven simultaneously When two or more application instructions for the CF ADP are driven simultaneously after performing from the application command for the CF ADP with the smaller step number in a program and completing instructions execution the next application instructions for the CF ADP is executed Caution on writing during RUN CF ADP instruction cannot be written to during RUN mode When the user writes an applied instruction for the CF ADP during RUN mode execution of the instruction is canceled h card The number of times data is written to the CompactFlash card is limited When data is directly written to the CompactFlash card data is written to the CompactFlash
82. d in a control cabinet with a 35mm 1 38 wide DIN46277 DIN rail mounting or M4 screw direct mounting When the CF ADP is connected to a FX3uc PLC the direct mounting method is not possible 22 4 Installation FX3U CF ADP User s Manual 4 1 CF ADP Connection 4 1 CF ADP Connection An expansion board should be installed before connection of the CF ADP An expansion board is not required aj when the CF ADP is connected to a FX3uc D DS DSS PLC This section explains an example where the CF ADP is connected to a FX3u PLC For connection to another PLC refer to the respective PLC manual 2 Refer to the FX3u Hardware Edition D Refer to the FX3uc Hardware Edition 8 s Remove the special adapter connector cover 7 A in the figure on the right from the expansion 3 board SL It is assumed that an expansion board has been installed in 2S advance For the expansion board installation method refer 5 to the respective PLC manual S Refer to the FX3u Hardware Edition Refer to the FX3uc Hardware Edition Slide the special adapter connecting hooks B in the figure on the right of the main unit uonejesu upwards B 5 Connect the CF ADP C in the 5 figure on the right to the main unit as shown in the figure on the right j 6 Slide the special adapter connecting hooks B in the figure on the right of the main unit downwards to secure the CF ADP C in the figure on the right 7 a 8
83. d mounting processing Confirm that the SLOT LED or M8405 M8425 turns ON and then execute the instruction again 702 Data name not set in head record suonouny aiojeg Ni The specified file ID does not exist oh felled Spe Wicauom eu Check whether the specified file ID has been used urwwesboId The specified file ID is outside the setting range 802 CF file ID number error Specify the file ID within the range from 0 to 63 The specified file ID already exists If the specified file already exists the same file cannot be created or confirmed because parameters set at file creation are changed When the file has already been created confirm the parameters When the file has not been created yet delete the existing file or specify another file ID The maximum line position of the target file to be associated is larger Existing file line position larger than specified than the maximum line position of the file specified in the file creation maximum line position instruction Review the maximum line position in the file creation instruction 803 CF file ID duplication error uoneue dxy SUONONASU weiboug QO paiddygav 49 OO 804 m gt lt S 3 Iel D op Data cannot be written to the line position specified in the file writing instruction Specify line position smaller than Index value existing in the file 1 or Maximum line position specified in the file creation instruction 805 Outside
84. dditionally to the file DWORD_01 stored in the CompactFlash card e When X002 turns ON 10 data points of 32 bit decimal type are read from the final line in the 32 bit decimal type file DWORD_01 Data reading should be executed after data writing e When X003 turns ON the 32 bit decimal type file DWORD_01 is deleted 2 Example of a 32 bit decimal type file in csv format after writing When a csv file is created and then data is written to the file 20 times its contents are as shown below Numeric values are stored in shaded areas o 100000 300000 500000 700000 ME 00000 e 2o097arezs set0 8 so 500 s000 80000 500000 50000 250000 450000 680000 20000 20000 Device4 Device5d e zooarare2a se24 e 80 e00 e000 e0000 200000 20000 220000 420000 620000 83 uoneue dxy UOI ONPO U uoneoyioads N9 waisig Od uoneinByuoy uo ejesu Aa Buum QI suopouny iojog Ni urwwesboId SUOI ONSU paddy dav 49 O O e 4 n F Q O Q 9 Program Examples FX3U CF ADP User s Manual 9 2 Program Example 1 9 2 3 Device Assignments Device No X000 X001 X002 X003 MO M1 M2 M3 M20 M21 M22 M23 M28 M60 M61 DO to D4 D10 D11 D12 D13 D20 D21 D22 D23 D24 D28 D30 D31 D40 D41 D42 D43 D50 D100 D102 D104 D106 D108 D110 D112 D170 D200 to D239 D400 to D419
85. ding data from and writing data to files created by the user Associate the file name with the file ID using the FLCRT instruction Files created by the user cannot be overwritten e Cautions on reading data from files created by the user When reading data from a file using the FLRD instruction match the data type for each saved data point Specify the same data type If the data types do not agree data cannot be read normally 36 7 Before Programming FX3U CF ADP User s Manual 7 1 File format available in the CF ADP 7 1 3 Characters available in files I 2 Following characters are available in files j Type Available characters Display type Number of digits Remark HHH Index 0 to 9 space HHHH is used by the system 2 DATE TIME Oto SJ 37 Selectable 1 to 19 digits The display format is selectable a ie s 5 a aA aa ee HHHHH o Do not add to a positive value Decimal 16 bit 0 to 9 space HHHHH Add a space ee a a a FHA o Do not add to a positive value Decimal 32 bit O to 9 space HHHH HHHH 11 digits dd a spaca Hexadecimal lio to 9 A to F a to P HHHH 4 digits 16 bit Hexadecimal Jaa manra am tren 32 bit 0 to 9 A to F a to f HHA 8 digits 0 to 9 E e space Do not add to a positive value 7 HAE Ht Add a space AWallabie numere Valles HHHHHHHHE Make sure to add or to
86. e 2 4 Error code 3 6 Error code 4 8 Error code 5 Program Example 1 Program Example 1 When X000 turns ON the FLSTRD instruction reads the status information D100 stores the final line position of a file whose ID is 1 and D101 stores the final digit position Channel number 1 is used X000 e FNC305 K1 K1 M8329 RST Abnormal end M8029 pret wo Execution completion FNC 12 D1 hey e100 FNC 12 D1 D101 how ort 79 UOI ONPO U uoneoyioads INQ wasis OO uoneinByuoy uo ejesu Aa Buum QI suoyoun4 aiojeg N ae fe Co o 3 3 5 a uoneue dxy SUONONASU weiboug QO paiddy qay 49 sojdwex Buyoousajqno 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 8 FNC 305 FLSTRD FX3U CF ADP status read 2 Program Example 2 When X000 turns ON the FLSTRD instruction checks whether or not a file whose ID is 1 exists M100 turns ON when a file whose ID is 1 exists Channel number 1 is used X000 ce MO DE K1 FLSTRD M8329 RST Abnormal end M8029 RST Execution completion 3 Program Example 3 When X000 turns ON the FLSTRD instruction reads the capacity of the CompactFlash card D101 and D100 store the data capacity of the CompactFlash card D103 and D102 store the used space of the CompactFlash card and D105 and D104 store the free space of the CompactFlash card Channel number 1 is u
87. e Make sure to shut down all phases of the power supply externally before installing the FX3U CF ADP Failure to do so may cause electric shock or damage to the product INSTALLATION PRECAUTIONS NC AUTION Use the product within the generic environment specifications described in PLC main unit manual Hardware Edition Never use the product in areas with excessive dust oily smoke conductive dusts corrosive gas salt air Cl2 H2S SO2 or NO2 flammable gas vibration or impacts or expose it to high temperature condensation or rain and wind If the product is used in such conditions electric shock fire malfunctions deterioration or damage may occur Do not touch the conductive parts of the product directly Doing so may cause device failures or malfunctions Install the product securely using a DIN rail or mounting screws Install the product on a flat surface If the mounting surface is rough undue force will be applied to the PC board thereby causing nonconformities When drilling screw holes or wiring make sure that cutting and wiring debris do not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions Be sure to remove the dust proof sheet from the PLC s ventilation port when installation work is completed Failure to do so may cause fire equipment failures or malfunctions Connect the FX3U CF ADP securely to special adapter connector Loose connections may cause malfunctions Con
88. e electric shock or malfunctions Before modifying or disrupting the program in operation or running the PLC carefully read through this manual and the associated manuals and ensure the safety of the operation An operation error may damage the machinery or cause accidents STARTUP AND MAINTENANCE PRECAUTIONS CAUTION Do not disassemble or modify the PLC Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric representative Turn off the power to the PLC before attaching or detaching the following devices Failure to do so may cause device failures or malfunctions Peripheral devices display modules expansion boards and special adapters 1 O extension units blocks FX Series terminal block and the special function units blocks Battery and memory cassette 101 uononpou uoneoyioads INQ wasis OO uoneinByuoy uo ejesu Aa Buum QI suonouny aiojeg Ni urwwesboId uo euejdx SUONONASU weiboug QO paiddygav 49 OO m gt lt S 3 Iel D op 10 Troubleshooting FX3U CF ADP User s Manual 10 1 Troubleshooting procedure 10 1 Troubleshooting procedure 10 1 1 LED status check The table below describes details for LED statuses eee Color Description Error corrective action display e Correctly connect the power cable e Correctly connect the wiring to the external Power is not being supplied from the extern
89. e is stored Turns ON when the error information of the CF ADP is read normally Turns ON when the error information error flag of the CF ADP is read successfully Error information of the CF ADP Turns ON when the CompactFlash card is unmounted Turns ON when the CompactFlash card is full Turns ON when an error occurs in the CF ADP Turns ON when the CF ADP hardware is defective Turns ON when the CompactFlash card is defective 99 UOI ONPO U uoneoyioads N9 wasis OO uoneinByuoy uo ejesu Aa Buum QI suonouny aiojog Ni Burwwwes6o14 uoneue dxy SUONONASU paddy dav 49 OO 1 O e 4 n F Q O Q 10 Troubleshooting FX3U CF ADP User s Manual 10 Troubleshooting INSTALLATION PRECAUTIONS N WARN N G Make sure to shut down all phases of the power supply externally before installing the FX3U CF ADP Failure to do so may cause electric shock or damage to the product INSTALLATION PRECAUTIONS NC AUTION Use the product within the generic environment specifications described in PLC main unit manual Hardware Edition Never use the product in areas with excessive dust oily smoke conductive dusts corrosive gas salt air Cl2 H2S SO2 or NO2 flammable gas vibration or impacts or expose it to high temperature condensation or rain and wind If the product is used in such conditions electric shock fire malfunctio
90. ecause data is written to the CompactFlash card every time the instruction is executed the user should pay attention to the number of times data is written to the CompactFlash card For example if data is written to the CompactFlash card every minute data is written 100 000 times in approximately 2 months Even if the power is turned OFF after data is written normally the written data is not cleared When data is written to the internal buffer inside the CF ADP When the Internal buffer inside the CF ADP is specified as the writing destination in the applied instruction for the CF ADP data is written to the internal buffer inside the CF ADP This type of writing is not counted as a data write to the CompactFlash card Data writing from the buffer inside the CF ADP to the CompactFlash card is counted as a data write to the CompactFlash card However attention is required because data is cleared in the following cases Data is cleared at the following times and data is written from the internal buffer inside the CF ADP to the CompactFlash card at the following times Times when the internal buffer inside the CF ADP is cleared When the file deletion command or file formatting command is executed When the CompactFlash M card is pulled out When the power is turned OFF using any procedure other than the specified power OFF procedure Times when data is written from the internal buffer inside the CF ADP to the Compac
91. ed The data stored in the 1st data type is written The data stored in the 2nd data type is written To next page FNC 12 K2 D32 pee ey FNC 12 K3 D33 To e FNC302 K5 R200 D50 D20 K2 ee pe Gaal al kel To next page Specify the data column position in the writing destination The 2nd column is specified Total number of written points 3 points is specified Writing destination The CF card is specified Data writing Only mixed type data is specified Specify the data writing type The bit type is specified Specify the line position of the writing destination The overwriting target is set to Index 1 Specify the data column position in the writing destination The 2nd column is specified Number of written points 2 points is specified Writing destination The CompactFlash card is specified Data writing The data stored in the 1st data type is written Specify the data writing type The 16 bit decimal type is specified Specify the line position of the writing destination The overwriting target is set to Index 1 Specify the data column position in the writing destination The 2nd column is specified Number of written points 1 point is specified Writing destination The CompactFlash card is specified Data writing The data stored in the 2nd data type is written 67 wasis OO uoneinByuoy uo ejesu Aa Buum QI suono
92. es Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2009 MITSUBISHI ELECTRIC CORPORATION FX3U CF ADP User s Manual Outline Precautions 1 This manual provides information for the use of the FX3U CF ADP CF card special adapter The manual has been written to be used by trained and competent personnel The definition of such a person or persons is as follows Any engineer who is responsible for the planning design and construction of automatic equipment using the product associated with this manual should be of a competent nature trained and qualified to the local and national standards required to fulfill that role These engineers should be fully aware of all aspects of safety with aspects regarding to automated equipment Any commissioning or maintenance engineer must be of a competent nature trained and qualified to the local and national standards required to fulfill the job These engineers should also be trained in the use and maintenance of the completed product This includes being familiar with all associated manuals and documentation for the product All maintenance should be carried out in accordance with established safety practices All operators of the completed equipment should be trained to use that product in a safe and coordinated manner in compliance with established sa
93. ewal stop 9 R W of special data registers D8406 and D8426 M8418 M8438 CF ADP instruction error Turns ON when an error occurs in an instruction for the CF ADP R W Cleared when the PLC mode is changed from STOP to RUN 2 When an instruction for the CF ADP is driven while the system is updating the status of special data registers execution of the instruction for the CF ADP may be delayed by several scans If this delay is regarded as a problem use this flag to stop the updating of the status wasis OO M8329 Instruction execution abnormal end o D d D uoneinByuoy uo ejesu Aa Buum QI 2 Special data registers R Read only W Write only R W Read or Write Device Description R W D8067 Error code for operation error Stores the error code when an operation error occurs R suonouny D8402 D8422 Step number of executing CF ADP T i Stores the step number of an instruction for the CF ADP R f 1 D8403 D8423 instruction g D8406 D8426 CF ADP status Stores the status information of the CF ADP R S ae fe Co o 3 3 5 a D8408 D8428 CF ADP version Stores the version of the CF ADP R D8414 D8434 Error step number of M8418 Error step Stores the step number of an instruction for the CF ADP where an a D8415 D8435 number of M8438 1 error occurs Stores the error code when an error occurs in an instruction for the D8418 D8438 Error code for CF ADP instruction
94. expansion boards and special adapters Z I O extension units blocks FX Series terminal block and the special function units blocks Z Battery and memory cassette 5 5 1 Which Power Supply Cable to Use waisks GO The cable for connecting the CF ADP power supply connector with the power supply is described here uoneinByuoy 5 1 1 Power supply cable A dedicated power supply cable offered as an accessory of the CF ADP is available Model name Length Remarks FX2NC 100MPCB 1m 3 3 Accessory of CF ADP uonele su Aa TI gt Q a O Nn slojeg N urwwesboId uo euejdx SUONONASU weiboug QO paiddygav 49 OO sojdwex 3 Buyoousajqno 29 5 Wiring FX3U CF ADP User s Manual 5 2 Power Supply Wiring 5 2 Power Supply Wiring 5 2 1 Power supply wiring Grounding FX3U PLC Main unit Power connector Black Red Green Power connector Black Red Green L Grounding Grounding Grounding Stabilized Stabilized power supply power supply 24V DC 24V DC 1 The expansion board is required when connecting with the FX3UC 32MT LT 2 PLC Power on off timing The power supply of the CF ADP should be turned ON simultaneously with or earlier than that of the PLC main unit However when the power supply of the CF ADP is turned on earlier than that of the main unit the power supply of the main unit should be turned on within 5 seconds after the power supply of the C
95. f buffered data to the CompactFlash card after data is written to the buffer 10 times Specify the line position of the writing destination Specify the data column position in the writing destination Specify the data reading type Specify the line position from which data is read Column position from which data is read Number of read data points Number of data points existing in the specified Index Error code when existence of a file whose file ID is 1 is confirmed Error code when the 32 bit decimal type file is created Error code when data names are written to the 32 bit decimal type file Error code when data is written to the 32 bit decimal type file Error code when buffered data is forcibly written to the CompactFlash card Error code when data is read from the 32 bit decimal type file Error code when the 32 bit decimal type file is deleted File ID information read when the 32 bit decimal type file is created Data name data written to the 32 bit decimal type file 32 bit decimal data written to the 32 bit decimal type file 32 bit decimal data read from the 32 bit decimal type file 84 9 Program Examples FX3U CF ADP User s Manual 9 2 Program Example 1 9 2 4 Sequence Program O This program example describes the sequence program for channel 1 ch1 z Rewrite the channel No with the actual system configuration to be used gt For explanation of operations refer to Subsection 9 2 1
96. fer to the following manual 2 Refer to the FX3u Hardware Edition D Create mounting holes in the i mounting surface according to the external dimensions diagram wasis OO Fit the CF ADP to the mounting holes and tighten with M4 screws A in the figure on the right O O D gt n Q ma jad es O gt Also fit the main unit to the mounting holes and tighten with M4 screws For the main unit connection method refer to the following Refer to the FX3u Hardware Edition It is assumed that the CF ADP has been connected in advance For the CF ADP connection method refer to the following uonejesu Buum QI Refer to Section 4 1 For the screw positions and number of screws in the CF ADP refer to the dimensional outline drawing as follows Refer to Section 1 2 For the screw positions and number of screws in the main unit refer to the following manual Refer to the FX3u Hardware Edition suoyoun4 slojeg N urwwesboId uo euejdx SUONONASU weiboug QO paiddygav 49 OO sojdwex 3 Buyoousajqno 25 4 Installation FX3U CF ADP User s Manual 4 4 Inserting and Removal Procedures 4 4 Inserting and Removal Procedures 4 4 1 hT Inserting the CompactFlas card The CompactFlash M card can be inserted when the CF ADP is power off When the power supply of CF ADP is ON and it inserts the CompactFlash M card make sure to perform of
97. fety practices The operators should also be familiar with documentation that is connected with the actual operation of the completed equipment Note the term completed equipment refers to a third party constructed device that contains or uses the product associated with this manual This product has been manufactured as a general purpose part for general industries and has not been designed or manufactured to be incorporated in a device or system used in purposes related to human life Before using the product for special purposes such as nuclear power electric power aerospace medicine or passenger movement vehicles consult with Mitsubishi Electric This product has been manufactured under strict quality control However when installing the product where major accidents or losses could occur if the product fails install appropriate backup or failsafe functions into the system When combining this product with other products please confirm the standards and codes of regulation to which the user should follow Moreover please confirm the compatibility of this product with the system machines and apparatuses to be used If there is doubt at any stage during installation of the product always consult a professional electrical engineer who is qualified and trained in the local and national standards If there is doubt about the Operation or use please consult your local Mitsubishi Electric representative Since the examples within this man
98. final column position the line position after writing varies depending on the file type and setting e When the processing is stopped by the maximum line position in a normal file Line position value after writing Maximum line position K1 K 32768 when the maximum line position is K32767 e Inthe case of a normal file in which processing returns to the head of the file from the end of the file ring buffer file Line position after writing K1 e Inthe case of FIFO file Line position after writing K1 In either case the column position after writing is K1 56 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write 8 5 1 Detailed explanation of setting data Details of the setting data in the FLWR instruction are as shown below File ID ii KO to K63 16 bit binary Head of devices which store data to be written hT Specify the head of devices which store the data to be written to the CompactFlas card Specify the data writing type KO Mixed type K1 Bit type K2 Decimal type 16 bit K3 Decimal type 32 bit K4 Hexadecimal type 16 bit 16 bit binary K5 Hexadecimal type 32 bit K6 Real numbers Floating point data Exponent expression type 32 bit K7 Character string 512 half width full width characters maximum K8 Data name Character string consisting of up to 32 half width full width characters Index DATE TIME are added auto
99. g the CompactFlash M card or power off the CF ADP Doing so may cause data corruption or malfunction uogejesu Open the CF card cover 5 Push the EJECT button C in the figure on the right of the CF ADP to push out the CompactFlash card and remove it Z CAUTION T When ejecting the CompactFlash M card support it by hand S since it may pop out Failure to do so may cause the CompactFlash M card to fall leading to failure or damage of the card 7 UW as 4p CompactFlash EJECT button C z card Ke m5 o Zan ae gt ren BSS m a O 33 P3 4 27 5 Wiring FX3U CF ADP User s Manual 5 Wiring DESIGN PRECAUTIONS N WARN ING Make sure to include the following safety circuits outside the PLC to ensure safe system operation even during external power supply problems or PLC failure Otherwise malfunctions may cause serious accidents 1 Above all the following components should be included an emergency stop circuit a protection circuit an interlock circuit for opposite movements such as normal vs reverse rotation and an interlock circuit to prevent damage to the equipment at the upper and lower positioning limits 2 Note that when the PLC main unit detects an error during self diagnosis such as a watchdog timer error all outputs are turned off Also when an error that cannot be detected by the PLC main unit occurs in an input output control block output control may be disabled Extern
100. gramming 7 4 General Rules for Applied Instructions 7 4 General Rules for Applied Instructions 7 4 1 Expression and operation type of applied instructions Instruction and operands Function numbers FNCOO FNCLILJILJ and symbols mnemonic codes are assigned to the applied instructions of the PLC For example a symbol of FLWR Data write is assigned to FNC302 Some applied instructions consist of the instruction area only but many applied instructions consist of the instruction area and the operand Command An operand that will not be affected by the execution of the instruction is referred to as a input source This symbol represents a source If the operand device number can be modified by an index register e will be added and the S will be modified to CS If there are two or more sources the modified sources will become Gi S2 and so on An operand that will be affected by the execution of the instruction is referred to as a destination This symbol represents a destination If the device numbers can be indexed by index registers and if there are two or more destinations the modified destinations will become 1 D2 and so on The operands not corresponding to source and destination are indicated as m and n If the device number can be indexed by index registers and if there are two or more operands the modified operands will become m1 m2 n1 n2 and so on
101. gramming software aoa e with RS 422 USB converter between a FX PLC and PC PC connection cable and interface 18 3 System Configuration FX3U CF ADP User s Manual 3 2 Applicable PLC 3 2 Applicable PLC O 5 aj 3 2 1 Connectable PLC Model name Applicability 7 4 Ver 2 61 and later 3 FX3U Series PLC Only one CF ADP unit can be connected to a main unit aj Ver 2 61 and later z 42 FX3UC Series PLC Only one CF ADP unit can be connected to a main unit The version number can be checked by reading the last three digits of device D8001 D8101 1 An expansion board is required to connect the CF ADP with FX3U FX3UC 32MT LT 2 PLCs 2 FX3UC 32MT LT 2 Ver 2 70 or later is applicable wa skS uoneinByuoy 3 2 2 Applicable versions of the programming tool Use the programming tool with the following version number to create programs for the CF ADP of the FX3u FX3UC Series PLC Programming tool Applicability GX Works2 SWODNC GXW2 J Ver 1 07H or later SWODNC GXW2 E Ver 1 08J or later uonele su Aa GX Developer Ver 8 82L or later 5 FX 30P Ver 1 20 or later amp Caution If a programming tool with the wrong version number is used programming will not be possible 3 3 Connection with PLC suopouny The CF ADP connects with a FX3u FX3uc PLC via a special adapter connector Only one CF ADP unit can be connected to the FX3u FX3uc PLC An expansion board is required to connect
102. he CF ADP where an error has occurred S 1 Detailed contents B These devices store the step number of an instruction for the CF ADP where an error has occurred 2r When communication port ch1 is used D8415 D8414 stores the value Ta When communication port ch2 is used D8435 D8434 stores the value 2 If an error has occurred in two or more instructions these devices store the step number of the instruction for the CF ADP where an error occurred first If no error has occurred these devices store 1 2 Cautions on use These devices store 32 bit data Appendix A 2 11 Error code for CF ADP instructions D8418 D8438 These devices store the error code when an error is caused by an instruction for the CF ADP 1 Detailed contents These devices store the error code of an error caused by an instruction for the CF ADP When communication port ch1 is used D8418 stores the value When communication port ch2 is used D8438 stores the value 2 Error codes For error codes refer to Chapter 10 Appendix A 2 12 Operation mode display D8419 D8439 These devices store the communication type being used 1 Detailed contents These devices store the code of the communication type currently being used in the communication port D8419 stores the communication type code currently used in communication port ch1 D8439 stores the communication type code currently used in communication port ch2 The table below shows the details of t
103. he codes Code Description 0 Programming communication Programming communication PP modem mode Protocol dedicated to computer link N N Network RS instruction RS2 instruction Parallel link Inverter instruction Variable analog potentiometer expansion board is used MODBUS communication CF ADP instruction 11 FX3U ENET ADP OO CO N OD Oo BI OJ N gt O 1 When a CF ADP applied instruction is executed the communication function code K10 CF ADP applied instruction operation is stored in Operation mode display D8419 D8439 corresponding to the channel specified in the instruction 113 Appendix A Related Devices FX3U CF ADP User s Manual Appendix A 2 Details of related devices MEMO 114 Appendix B Version Information FX3U CF ADP User s Manual Appendix B 1 Version information Appendix B Version Information P D jad D 49 SL w lt O 9 Appendix B 1 Version information UOISIO UONEWOJUI Appendix B 1 1 Version check method 1 Checking the nameplate The CF ADP version is indicated by SERIAL on the label attached to the left side of the module when viewed from the front MODEL FX3u CF ADP DC24V 130mA i eft side SERIAL MADE IN JAPAN i ES Deccccccscacced Meweuunweucuaed Version 2 Checking the CF ADP instruction In CF ADP users can obtain the CF ADP version information by FLSTRD instruction Program Example ee
104. hen removing a CompactFlas card by hand as it may pop out Failure to do so may cause the CompactFlash card to fall from the FX3U CF ADP and break Turn off the power to the PLC before attaching or detaching the following devices Failure to do so may cause device failures or malfunctions Peripheral devices display modules expansion boards and special adapters 1 O extension units blocks FX Series terminal block and the special function units blocks Battery and memory cassette WIRING PRECAUTIONS N WARN ING Connect the DC power supply wiring to the dedicated terminal described in this manual If an AC power supply is connected to a DC input output terminal or DC power supply terminal the PLC will burn out Connect the DC power supply wiring to the dedicated connector described in this manual If an AC power supply is connected to a DC power supply connector the PLC will burn out When drilling screw holes or wiring make sure that cutting and wiring debris do not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions 100 10 Troubleshooting FX3U CF ADP User s Manual STARTUP AND MAINTENANCE PRECAUTIONS N WARN ING Make sure to connect the battery for memory backup correctly Do not charge disassemble heat short circuit or expose the battery to fire Doing so may rupture or ignite it Do not touch any terminal while the PLC s power is on Doing so may caus
105. imal data respectively This program does not describe such values X000 1 MO M8424 M8425 e CF ADP CF card is unit mounted ready Only mixed type data is specified The data stored in the 1st data type is written The data stored in the 2nd data type is written To next page e D30 FNC 12 KO MOV FNC 12 K 1 D31 eTe FNC302 K5 D100 D30 D20 K2 Eae Mc ls ca i Re FNC302 K5 D100 D40 D20 K2 rim om veo am na a FNC302 K5 Y10 D50 D20 K2 rie 6 a p20 To next page Specify the data writing type Mixed type data is specified Specify the line position of the writing destination Additional writing is specified Specify the data column position in the writing destination Additional writing is specified Total number of written points 5 points is specified Writing destination The CompactFlash specified card is Data writing Only mixed type data is specified Specify the data writing type The 32 bit hexadecimal type is specified Specify the line position of the writing destination Additional writing is specified Specify the data column position in the writing destination Additional writing is specified Number of written points 1 point is specified Writing destination The CompactFlash specified card is Data writing The data stored in the 1st data type is written Specify the data writing type The b
106. inal device is reached an error occurs 70 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 6 FNC 303 FLRD Data read 8 6 2 Reading data of the same type from a file I O a m data points of the same data type in one line are read as follows ee ite File ID Data read parameter Read data oa es ot e ane n 2 op 2 aj 5 So K Data type ificati Command specification input p K P S2 1 Line position ee K KEKE Device Column position S2 3 K m Points Program Example wasis OO e Explanation of operation When X000 turns ON two decimal 16 bit data points are read from the 4th column in Index 3 in the following file and stored in R1000 and R1001 Channel 1 is used in this program uoneinByuoy e Content of file File ID K10 The data name is already written 4 After the FLRD instruction is executed p ee Device which stores the read data Read data uo ejesu Aa Buum QI R1000 K 444 R1001 K555 Total number of data D200 e Sequence program X000 T suo oun SET aiojog N 2 Specify the data reading type 3 MO M8404 M8405 FNC 12 i CF ADP CF card is MOV l Decimal 16 bit type is specified unit mounted e ready FNC 12 np Line position from which data is 12 3 I g e o 3 3 Co read oo MOV Index 3 is specified Column position from which data FNC 12 D is read MOV The 4th column is specified m5 QO
107. indicate whether the CF ADP is ready for operation When the CF ADP becomes ready for operation one of these devices automatically turns ON When communication port ch1 is used M8404 turns ON When communication port ch2 is used M8424 turns ON 111 gJ s dd Pp9 LeJ Y uonewoju UOISIO Appendix A Related Devices FX3U CF ADP User s Manual Appendix A 2 Details of related devices Appendix A 2 5 CF card mount status M8405 M8425 hI M These devices indicate the CompactFlas card status Detailed contents When the CompactFlash card is mounted one of these devices turns ON When communication port ch1 is used M8405 turns ON When communication port ch2 is used M8425 turns ON Appendix A 2 6 CF ADP status renewal stop M8410 M8430 Stops the communication executed by the system to update the status of special data registers D8406 and D8426 Detailed contents Stops the communication executed by the system to update the status of special data registers D8406 and D8426 1 When communication port ch1 is used M8410 turns ON When communication port ch2 is used M8430 turns ON 1 When an instruction for the CF ADP is driven while the system is updating the status of special data registers execution of the instruction for the CF ADP may be delayed by several scans If this delay is regarded as a problem use this flag to stop updating of the status Appendix A 2 7 CF ADP instruction erro
108. ints Data reading UOI ONPO U uoneoyioads INQ mixed type oe p FNC303 i file e Ko D40 R140 D50 K1 lene FNC 12 K D40 i MOV AG Number of read data points FNC303 Data reading a Specify the data reading type wajsis Q9 uoneinByuoy M8329 Remains ON while data is being read from the mixed type file Abnormal yP uo ejesu Aa l end a D8418 D122 The error code is stored M8029 RST Remains ON while data is being Execution read from the mixed type file 5 completion Turns ON when data is read SET M26 successfully from the mixed type file amp The mixed type file is deleted M7 M8404 M8405 Remains ON CF ADP CF card FLDEL while the unit ready is nm See mounted M2229 Bey Kaus a a mice a file is being PE ype file is being deleted S deleted end g Ala D8418 D124 The error code is stored M8029 RST M7 Remains ON while the mixed F type file is being deleted Execution ao completion i EEE urns when the mixed type SET M27 file is deleted successfully a END 8 258 o V S 2g T 1 O e 4 n F Q O Q 97 9 Program Examples FX3U CF ADP User s Manual 9 4 Program Example 3 9 4 Program Example 3 9 4 1 Operation details When X010 turns ON error codes and error code information error flag of the CF ADP are read 9 4 2 Device Assignments Device No Contents of operation X010 Reads error codes and error code information
109. ion error flag of the CF ADP is being read M8329 Abnormal end M8029 Execution completion M64 M8404 M8405 l CF ADP CF card unit ready is Turns ON when the error M8329 information of the mounted CF ADP is read Abnormal normally end M8029 Execution completion M40 Turns ON when the CompactFlash card is unmounted M41 Turns ON when the CompactFlash card is full M42 Turns ON when an error occurs in the CF ADP M43 Turns ON when the CF ADP hardware is defective M44 SET M10 RST M30 FNC305 H4 D1 K1 FLSTRD Hoo oio Kt RST M10 D8418 D126 FNC 12 MO RST M10 SET M64 FNC305 H500 D132 K1 RST M64 FNC 12 D841 D128 ee oe RST M64 SET M30 a FNC 12 i D1 K4M4 j Turns ON when the CompactFlash card is defective END Remains ON while the error information error flag of the CF ADP is being read Turns ON when the error information error flag of the CF ADP is read successfully Error information of the CF ADP are read Remains ON while the error information error flag of the CF ADP is being read The error code is stored Remains ON while the error information error flag of the CF ADP is being read Turns ON when the error information of the CF ADP is read normally Up to 5 error codes of the CF ADP are read and stored in D130 to D141 Turns ON when the error information of the CF ADP is read normally The error cod
110. ion from which data is read The 1st column is specified Number of read data points 1 point is specified Data reading The data stored in the 3rd data type is read The error code is stored 74 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 7 FNC 304 FLCMD FX3U CF ADP command 8 7 FNC 304 FLCMD FX3u CF ADP command Outline The FLCMD instruction gives instruction for operation to the FX3U CF ADP 1 Instruction format TNC 304 _ 16bit instruction s2ptinsiucton EES MCSE FLCMD Continuous o Egga FLCMD ses 5 steps YL Operation 2 Set data Instruction for operation Refer to Subsection 8 7 1 16 bit binary n Used channel number contents of setting K1 ch1 K2 ch2 16 bit binary 3 Applicable devices T e ae Ee ad ce _ i ft A Except special data register D Explanation of function and operation 1 16 bit operation FLCMD Command input FNC304 ne OT ie channel number Instruction for operation The FLCMD instruction gives instruction for operation to the CF ADP The contents of instruction are as follows e When is K 1 the FLCMD instruction forcibly writes all buffered data stored in the buffer inside the CF ADP to the CompactFlash card e When is KO to K63 the FLCMD instruction forcibly writes the buffered data of the specified file ID stored in the buffer inside the CF ADP to the CompactFlash card e When is K256 H1
111. it type is specified Specify the line position of the writing destination Additional writing is specified Specify the data column position in the writing destination Additional writing is specified Number of written points 2 points is specified Writing destination The CompactFlash specified card is Data writing The data stored in the 2nd data type is written 64 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write From previous page From previous page S S Specify the data writing type FNC 12 K2 Deo The 16 bit decimal type is 2 T 3 O Specify the line position of the 2 FNC 12 S writing destination 3 MOV Additional writing is specified Specify the data column The data stored in the 3rd ee FNC 12 position inthe wind data type is written MOV destination Additional writing is specified FNC 12 Number of written points MOV 2 point is specified FNC 12 Writing destination MOV wasis OO uoneinByuoy The CompactFlash card is specified Data writing FNC302 R100 oe The data stored in the 3rd device FLWR is written M8329 RST Abnormal end FNC 12 D8438 D200 The error code is stored MOV M8029 RST Execution completion uo ejesu Aa Buum QI suo oun aiojeg N I g e o 3 3 ro SUOI ONISU uoneue dxy weiboug QO paiddy qay 49 sojdwex Buyoousaj
112. le format available in the CF ADP Calculation example 2 When data consists of 50 character strings each of which consists of 20 ASCII characters Contents of data Byte count Index 6 Comma 1 Year Month Day Hour Minute Seconds 47 yy mm dd hh mm ss Comma 1 Data points data Character string 20 ASCII characters 20 bytes x50 CR LF 2 Total 6 1 17 1 20 x50 2 1076 bytes lt 16KB Caution e When overwriting data match the data type and byte count in the line e Data is not overwritten or read normally if the data type or byte count is different 39 UOI ONPO U uoneoyioads N9 wajsis Q9 uoneinByuoy uo ejesu Aa Buum QI TI gt Q z O N urwwesboId 10 g uo euejdx suonon sSu weiboug QO paiddygav 49 OO s jdwex4 Buyoousajqno 7 Before Programming FX3U CF ADP User s Manual 7 1 File format available in the CF ADP 7 1 5 Data writing destination 1 When data is written to the CompactFlas Data can be written to two destinations the CompactFlash card and the internal buffer inside the CF ADP CF ADP Main unit Writing destination 2 Internal buffer inside CF ADP m Sequence program 1 CompactFlash Writing card destination h card When the CompactFlash card is specified as the writing destination in the applied instruction for the CF ADP data is directly written to the CompactFlash card B
113. lied instructions cccccceccceceeceeceeeeeceeeeeseeeeeeseeesseeeeseaes 44 7 4 2 Programming using Instruction execution complete flag and Instruction execution abnormal end flag ccccecseeeeeeeeeeeeeeeseaeeeeeeaeeeeeeeseeeeeeeseeeeeessaeeeeeeeas 45 8 CF ADP Applied Instructions Explanation 47 Ded CReADP Instructions type Saien a e tine einen nad tenlemienenan 47 8 2 Common items in CF ADP Instructions 2 csdc26 seeicsinice Mcshaeroucetaediclesieledhesendadhasiwnchaen caeeehaan 47 8 2 F ONGUOM aNd ODI Atl O Miesa diese a ects nda nein a e aiiai 47 9 2 2 Ca uti ns on programmi scenes esc acess hd etek as reseed eal eh Segre raa 48 8 3 FNC 300 FLCRT File create Gneck isisccwsces setuid desiemsirceacesvoee tan nel adatbeceaansdvaceaesOvdsbaned wncaeseriee oes 49 8 3 1 Detailed explanation of Setting data ce cccccccccceeeseeeeeeeeseeeeeeeseeeeeeeeseeeeeeeeseeeeeeseaeeeeeeseeneeeeeeas 50 8 4 FNC 301 FLDEL File deletesCF Card format ccccecccccecceceeeeeeeeeeeeeeeeseeeesaeeeeseeeeseeeeesaneeees 52 8 4 1 Detailed explanation of Setting data ceccccccssecceccesseeeeceesecececeesececseeusecesseeseeeesseeeeessessseeeseees 53 6 0 PNG 30225 Rey Data Wie sissies oat na a e N 55 8 5 1 Detailed explanation of setting data cc ecccccccseceeeeseeeeeeeeeeeeeeeeseeeeeeeeseeeeeeeeseeeeeessaeeeeetsaenseeeeeeas 57 G20 2 Writing data of same type encarta a aae d o eh ec ce es ee 58 8 5 3 Writi
114. matically 0b E 2 a Specify the line position of the writing destination or specify additional writing 4 Line position of the writing destination K1 to specified maximum number of lines 16 bit binary Additional writing K 1 A Specify the data column position in the writing destination 2 Column position K1 to K254 16 bit binary Additional writing K 1 Number of written data point nie Writing destination S3 4 KO CompactFlash card 16 bit binary K1 Buffer inside the CF ADP Line position after writing oe Col ition after writi oe OD a ee ion atter writing 16 bit binary Channel number used by the CF ADP n K1 ch1 16 bit binary K2 ch2 Cautions 1 The FLWR instruction is completed abnormally if a CompactFlash card is not mounted 2 The user should pay close attention to the number of times data is written when the writing destination is set to the CompactFlash card because data is written every time the FLWR instruction is executed For example if data is written to the CompactFlash card every one minute data is written 100 000 times in approximately 2 months 3 Even if the writing destination is set to the buffer inside the CF ADP data is written to the CompactFlash card in the case of overwriting 4 The FLWR instruction writes data to the CompactFlash card after the internal buffer inside the CF ADP becomes full when the writing destination is set to the buffer Data stored in the internal
115. me of the PLC errors from the LED lights on the PLC For details related to the PLC main unit wiring special auxiliary relays and special data registers refer to the following respective manuals Refer to the FX3U Hardware Edition Refer to the FX3uc Hardware Edition 10 2 1 POWER POW LED on flashing off The table below describes details for the LED statuses Status PLC Status Error corrective action ON Power of the specified voltage is being The power supply is normal supplied to the power supply terminal One of the following causes may have ocourmeg e Check the supply voltage Power and current of the specified PPly F e After disconnecting cables other than the power cable turn the power ON Flicker voltage is not being supplied to the power again and check for changes in the state If no improvement is obtained supply terminal consult your local Mitsubishi Electric representative Incorrect external wiring Internal errors in the PLC One of the following causes may have occurred e If the power is not OFF check the power supply and the power supply The power supply is OFF las p pp y re If power is being supplied correctly consult your local Mitsubishi Electric Incorrect external wiring OFF representative Power of the specified voltage is not being supplied to the power supply terminal The power cable is broken e After disconnecting cables other than the power cable turn the po
116. mming panel Programming software Generic name for programming software GX Works2 Generic name for SWODNC GXW2 J SWODNC GXW2 E programming software package GX Developer Generic name for SWOD5C GPPW J SWOD5C GPPW E programming software package FX PCS WIN E Generic name for FX PCS WIN or FX PCS WIN E programming software package Handy programming panel HPP Generic name for FX 30P FX 20P E and FX 10P E Indicator GOT1000 series Generic name for GT15 GT11 and GT10 GOT 900 series Generic name for GOT A900 series and GOT F900 series GOT A900 series Generic name for GOT A900 series GOT F900 series Generic name for GOT F900 series Generic name for ET 940 series ET 940 series Only manuals in Japanese are available for these products 10 FX3U CF ADP User s Manual Generic Names and Abbreviations Used in the Manual Generic name or abbreviation Description Manual FX3U Hardware Edition FX3U Series User s Manual Hardware Edition FX3UC Hardware Edition FX3uUcC Series User s Manual Hardware Edition Programming manual FX3S FX3G FX3GC FX3U FX3uUc Series Programming Manual Basic and Applied Instructions Edition Communication control Edition FX Series User s Manual Data Communication Edition Analog control Edition FX3S F X3G F X3GC F X3U FX3uUC Series User s Manual Analog Control Edition Positioning control Edition FX3S F X3G FX3GC F X3U FX3uUC Series User s Manual Positioning Control Edition 11 FX3U CF
117. n an error occurs the PLC turns ON the special auxiliary relay M8329 instruction execution abnormal end and aborts execution of the instruction After that the PLC stores error codes in the special data register for error code storage and turns ON the error flag 1 Checking the error status by monitoring special data registers Monitor the special data registers shown below to check the error code and step number where the error has occurred The error code and error occurrence step number are stored in the data registers for the channel number specified in the CF ADP applied instruction Error code storage device Error detected step number storage device D8418 D8438 D8415 D8414 D8435 D8434 2 Checking the error status by executing the FLSTRD instruction Execute the FLSTRD instruction FNC305 for the CF ADP to check the error code of the 5 latest errors For details of the instruction refer to Chapter 8 For details of error codes refer to Subsection 10 1 3 102 10 Troubleshooting FX3U CF ADP User s Manual 10 1 Troubleshooting procedure 10 1 3 Error Code List and Action 3 z The list below shows error codes and corrective actions 1 Error code list emor Error definition Error corrective action code DP O 1 Parity Framing Overrun error je Communication character error 5 2 3 Communication SUM error Check the connection to the CF ADP 4 Data format error s 7 Something may be wrong wi
118. n data is read successfully from the 32 bit decimal type file 88 FX3U CF ADP User s Manual 9 Program Examples 9 2 Program Example 1 From previous page Y The 32 bit decimal type file is deleted M3 M8404 M8405 S k _H1 Remains ON CF ADP CF card while the 32 unit ready is M8329 bit decimal mounted type file is Abnormal being deleted end M8029 Execution completion From previous page FLDEL oo FNC 12 D8418 D112 T SET M23 END File delete Remains ON while the 32 bit decimal type file is being deleted The error code is stored Remains ON while the 32 bit decimal type file is being deleted Turns ON when the 32 bit decimal type file is deleted successfully 89 UOI ONPO U uoneoyioads INQ wasis OO uoneinByuoy uo ejesu Aa Buum QI suonouny aiojog Ni Burwwwes6o14 uoneue dxy SUOI ONSU paddy dav 49 OO 1 O e 4 n F Q O Q 9 Program Examples FX3U CF ADP User s Manual 9 3 Program Example 2 9 3 Program Example 2 9 3 1 Operation details e When X004 turns ON the following file is created inside the CompactFlash card If a file whose file ID is 0 already exists in the CompactFlash card file creation and data name writing are aborted mses in FILE below represents a numeric value from 0000 to 0999 File ID 0 File name FILE Data type Mixed e When X005 turns ON 7 data poi
119. n unit and input output extension block The number of connectable units however depends on the type of main unit To check the number of connectable units refer to the User s Manual Hardware Edition of the main unit to be used for your system I O extension unit block Generic name for special function unit and special function block Special function unit block or The number of connectable units however depends on the type of main unit Special extension unit To check the number of connectable units refer to the User s Manual Hardware Edition of the main unit to be used for your system Special function unit Generic name for special function unit Generic name for special function block The number of connectable units however depends on the type of main unit To check the number of connectable units refer to the User s Manual Hardware Edition of the main unit to be used for your system Special function block Optional unit Generic name for FX3U FLROM 16 FX3U FLROM 64 FX3U FLROM 64L FX3u FLROM 1M Generic name for GT05 MEM 128MC GT05 MEM 256MC GT05 MEM 512MC GT05 MEM 1GC card GT05 MEM 2GC Memory card adaptor Generic name for GT05 MEM ADPC Memory cassette hT CF card or CompactFlas Peripheral unit Peripheral unit Generic name for programming software handy programming panel and indicator Programming tool Programming tool Generic name for programming software and handy progra
120. nd memory cassette 9 1 System Configuration The system configuration shown below explains the program examples The CF ADP differs in assignment of the channel number by a system configuration Change the channel number if necessary in accordance with the actual system configuration For details of assignment of the channel number refer to the Section 3 4 FX3U CNV BD FX3U PLC FX3U CF ADP ch1 e Program example 1 A 32 bit decimal type file is created written read and deleted For details refer to Section 9 2 e Program example 2 A file saving different types of data is created written read and deleted For details refer to Section 9 3 e Program example 3 Error codes and error information error flag of the CF ADP are read For details refer to Section 9 4 82 9 Program Examples FX3U CF ADP User s Manual 9 2 Program Example 1 9 2 Program Example 1 9 2 1 Operation details 9 2 e When X000 turns ON the following file is created If a file whose file ID is 1 already exists in the CompactFlash card file creation and data name writing are aborted File ID 1 File name DWORD_01 Data type Decimal type 32 bit e When X001 turns ON 10 data points of 32 bit decimal type stored in D400 to D419 are written additionally to the internal buffer of the CF ADP When the number of times of additional writing to the internal buffer reaches 10 later data will be written a
121. nect the power connector of the power supply cable securely to the CF ADP power supply connector Loose connections may cause malfunctions When inserting a CompactFlash card into the FX3U CF ADP push it into the CF card slot until the EJECT button pops out Loose connections may cause malfunctions Before inserting removing a CompactFlash card into from the FX3U CF ADP set the CF card ACCESS switch to OFF and confirm that the BUFFER LED and ACCESS LED are both OFF Failure to do so may corrupt data within the CompactFlash card HIM hT When removing a CompactFlas card from the FX3U CF ADP make sure to support the CompactFlas card by hand as it may pop out Failure to do so may cause the CompactFlash card to fall from the FX3U CF ADP and break Turn off the power to the PLC before attaching or detaching the following devices Failure to do so may cause device failures or malfunctions Peripheral devices display modules expansion boards and special adapters I O extension units blocks FX Series terminal block and the special function units blocks Battery and memory cassette Only one CF ADP unit can be connected to the left side of the main unit or special adapter An expansion board is required to connect the CF ADP with the FX3U FX3UC 32MT LT 2 PLCs For details refer to the respective PLC manual Refer to the FX3U Hardware Edition Refer to the FX3uc Hardware Edition The CF ADP may be installe
122. ng data of different tyPOS ce ceecccccseseeeeeceeeeeeeeseeeeeeeaeeeeeeeseeeeeeeseeeceeesseeeeeeseaeeeeeeeeeseeeeeeeeas 62 6 0 PNG 3094 FERD V Data Tedd ena ence rach ated et eee teens nee aatemalina S 69 8 6 1 Detailed explanation of Setting data ccccccccssecceccesseeeeceesececeneusecececeueeeesseauseeessuaeseessegsseeeeenes 70 8 6 2 Reading data of the same type from a fil oe eecccccceeeeeeeeeeeeeeeseeeeeeeeseeeeeeesseaeeeeeseeeeeeeesaeeeeeeeeas 71 8 6 3 Reading data of different types from a fil ceecccccceeceeeceeeceecceueeeeesceeseeeeseueeeeeseeeeessuaneeeenenas 72 8 7 FNC 304 FLCMD FX3U CF ADP command ccccecccceseececeeeeeeeeeesaeeeeseeeesseeeeseueesseeeessneeess 195 8 7 1 Detailed explanation of Setting data ceccccccssecccccssseeeecesecececeesecessceeseeesseeuseeessaaeeeetsesseeeeeeses 76 FX3U CF ADP User s Manual Table of Contents 8 8 FNC 305 FLSTRD FX3U CF ADP Status read cece ccccccceececeeeeeseeceseeeeeseeeessueeeseeesseeesaes 77 8 8 1 Detailed explanation of Setting data ccccccccssececccssseeeeceesecececeesececseeueeeesseuseeeeceaaeeeessasseeesenes 78 8 9 Contents of Related DeViCeS cecinere annak tla e e thet dbnientie eae 81 9 Program Examples 82 OA System GCOMMGUE AU OM 2s sce sauiiceeccleutesb a detente tel aaae aoa ate Taaa eaaa naa ea id ahead 82 9 2 wa 218 2 19 0 E XAMDE A lene nn ee aes ee nn nee 83 921 01
123. nment that is used to create data or program when reading data amp 2 4 Control codes such as line feed codes CR and LF half width commas and double quotation 3 marks are not available 5 Mitsubishi does not recommend the following symbols They may be automatically converted by some application software used for data processing 8 When using the following symbols confirm the application software specifications ms Apostrophe caret backslash slash at mark and equal sign see 6 The expression of date and time depends on the setting of the region Check the used method S22 7 When data is read in floating point format the data point is converted from the head to the position 2 which can be read as a numeric value if characters outside the floating point specification are 9 contained in the data ua a O 3 P3 37 FX3U CF ADP User s Manual 7 Before Programming 7 1 File format available in the CF ADP 7 1 4 Data size calculation When calculating the data size use the following formula in accordance with the byte count shown in the table below Contents of data Used characters Mion Gu bytes 6 digits expressed in a decimal number from 1 to 32767 index Space is put in for unused digits 0 bylos Plus signs are used in some systems yyyy mm dd hh mm ss 19 bytes yy mm dd hh mm ss 17 bytes year Month Day dd mm yyyy hh mm ss 19 bytes Hour Min
124. not delete the file itself 3 However when the file ID specified in is 0 the FLDEL instruction deletes the file 16 bit binary oS itself without regard to the setting of a g o When is K512 H200 S Specify the format type K256 H100 The FLDEL instruction formats the CompactFlash card in the FAT16 format 4 Channel number used by the CF ADP ai n K1 ch1 16 bit binary a K2 ch2 O Cautions When the file ID KO FIFO file or K 1 all files is specified it may take approximately 1 minute to delete the files depending on the number of stored files Program Example Buum OT 1 Program Example 1 This program deletes the file whose ID is 1 when X000 turns ON Channel number 1 is used X000 e MO FNC301 K1 KO K1 FLDEL M8329 RST Abnormal end M8029 RST Execution completion suoyoun4 aiojeg N U O ro Q og 3 3 5 ro 2 Program Example 2 This program deletes all files when X000 turns ON m5 o Channel number 1 is used sae oO Cc TE X000 S32 1 SET Qa MO oe FLDEL M8329 3g Abnormal end Execution 1 0 completion O S WD 5 S a 53 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 4 FNC 301 FLDEL File deletesCF card format 3 Program Example 3 This program formats the CompactFlash card in the FAT 16 format when X000 turns ON Channel number 1 is used X000 e MO FNC301 H200 H100 K1 FLDEL M832
125. not written correctly to the file hT Check whether the CompactFlas card is mounted correctly whether the CompactFlash card is full and whether the CompactFlash card is ready for data writing The file was not created correctly hT Check whether the CompactFlas card is full and whether the CompactFlash card is ready for data writing The file was not deleted correctly Check whether the deletion target file is ready for deletion The file was not open correctly Check whether the CompactFlash whether the file is ready for opening card is mounted correctly and A FIFO file was not able to be created hT Check whether the CompactFlas card is mounted correctly and whether the CompactFlash card utilization specified in the file creation instruction is exceeded Buffered data was not able to be written to the CompactFlash card Check whether the CompactFlash whether it has sufficient free space card is mounted correctly and In the case of FIFO file check whether the CompactFlash card utilization specified in the file creation instruction is not exceeded The column position specified for overwriting in the file writing instruction does not exist in the overwriting target data Review the specified column position 106 10 Troubleshooting FX3U CF ADP User s Manual 10 1 Troubleshooting procedure zor Error definition Error corrective action code 2 Data
126. ns deterioration or damage may occur Do not touch the conductive parts of the product directly Doing so may cause device failures or malfunctions Install the product securely using a DIN rail or mounting screws Install the product on a flat surface If the mounting surface is rough undue force will be applied to the PC board thereby causing nonconformities When drilling screw holes or wiring make sure that cutting and wiring debris do not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions Be sure to remove the dust proof sheet from the PLC s ventilation port when installation work is completed Failure to do so may cause fire equipment failures or malfunctions Connect the FX3U CF ADP securely to special adapter connector Loose connections may cause malfunctions Connect the power connector of the power supply cable securely to the CF ADP power supply connector Loose connections may cause malfunctions When inserting a CompactFlash card into the FX3U CF ADP push it into the CF card slot until the EJECT button pops out Loose connections may cause malfunctions Before inserting removing a CompactFlash card into from the FX3U CF ADP set the CF card ACCESS switch to OFF and confirm that the BUFFER LED and ACCESS LED are both OFF Failure to do so may corrupt data within the CompactFlash card h card from the FX3U CF ADP make sure to support the CompactFlash W
127. nts of different types bit type 16 bit decimal type 32 bit decimal type 16 bit hexadecimal type 32 bit hexadecimal type real number and character string are written directly and additionally to the file FILE stored in the CompactFlash card e When X006 turns ON 7 data points of different types are read from the final line in the file FILEQOOO Data reading should be executed after data writing e When X007 turns ON the file FILE is deleted 9 3 2 Example of a mixed type file in csv format after writing When a csv file is created and then data is written to the file 20 times its contents are as shown below Numeric values are stored in shaded areas DATE TIME it DEC 16bit DEC 32bit HEX 16bit HEX 32bit Character string 20087979 2558500 0 A E aroro 235006 0 ABCD 2000r oro 235008 0 ABCDE Index oO Ea pe See a ae 200 99 23 59 20 1 8 700000 111A _ AAAATI1A ARC DEF 2008 91 9 23 59 22 0 7 800000 11B AAAAT1B 1 70E 00 ABCDEFGH _2009 9 9 23 59 24 A 8 900000 tte E 1 80E 00 ABCDEFGH Paina 2 e E a AAAA111D ABCDEFGHIJ raoosr eva 235038 0 ABODE sasssa 1 90 o 222 ps62200 tioro AB m zone arezaseas o 100 aoo aas eabausso v2ievo0 A 0 2009 9 9 23 59 26 oO 2009 9 9 23 59 28 2009 9 9 23 59 30 Do 2 4 1 2 3 4 5 T 10 0 30 0 50 70 11 12 13 14 15 16 17 18 19 9 3
128. o the equipment at the upper and lower positioning limits 28 2 Note that when the PLC main unit detects an error during self diagnosis such as a watchdog timer error all outputs are turned off Also when an error that cannot be detected by the PLC main unit occurs in an input output control block output control may be disabled External circuits and mechanisms should be designed to ensure safe machinery operation in such cases CAUTION h card itself may be damaged Do not turn the power OFF buffered data is erased Also files or CompactFlas while the ACCESS LED is lit or flickering Do not apply excessive pressure to the power supply cable or power supply connector Excessive pressure may cause damage or error Observe the following items Failure to do so may cause incorrect data writing through noise to the PLC and result in PLC failure machine damage or other accident 1 Do not bundle the control line together with or lay it close to the main circuit or power line As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or power line Noise may cause malfunctions 2 Ground the shield wire or shield of a shielded cable Do not use common grounding with heavy electrical systems During access ACCESS LED is lit or flickering to CompactFlash card do not remove the CompactFlash card 15 or power off the FX3U CF ADP 28 Failure to do so may cause CompactFlash card failures or malfuncti
129. of M8000 o P e ee i DSW Ra S The M8029 will function me as the instruction X000 D z execution complete flag ser mo Sa 2 of the lower DSW instruction MO FNC305 9 The M8029 will function Se as the instruction T 3 execution complete flag Program for DSW of the upper FLSTRD instruction instruction Completion of instruction execution M1 Teei H300 D200 Lower FLSTRD instruction h Buyoousejqno 45 FX3U CF ADP User s Manual 7 Before Programming 7 4 General Rules for Applied Instructions 2 To use at a position other than just below the CF ADP instructions If two or more CF ADP instructions are used in a program the Instruction execution complete flag M8029 and Instruction execution abnormal end flag M8329 will be turned on or off after execution of each instruction If it is necessary to use the Instruction execution complete flag M8029 or Instruction execution abnormal end flag M8329 at a point other than just below the instruction turn on or off another bit device just below the instruction and use the contact as the command contact Switches instruction execution complete flag of the DSW instruction from M8029 to M100 Switches the instruction execution complete flag of the FLCRT instruction from M8029 to M200 Completion of instruction execution MO E FNC300 K1 DO 4 D10 K1 FLCRT oK og oo K M80
130. on program S X000 1 SET MO M8404 M8405 ENC209 PIename a kK __ TEST 01 The file name is set to CF ADP CF card is MOV TEST_01 CSV unit ready mounted wajsis GO uoneinByuoy uo ejesu Aa Buum QI FNC300 P K1 D1 K1 The fil ted FLCRT oK o oo K athe a File File ID name 6 M8329 T RST S Abnormal end 5 M8029 RST Execution completion ID table image l 7 sane represents a numeric value from 0000 to 0999 ihe eee wee FILE in the file name is fixed 8 Example File ID 1 TEST 01 CSV The file ID 1 is associated with the file name Rag 1 a lTEST_01 CS V ace ee SU T E o E e represents the file name created by the user KI 32 Buyoousajqno 41 7 Before Programming FX3U CF ADP User s Manual 7 1 File format available in the CF ADP 7 1 7 FIFO file When the file ID is set to KO the CF ADP creates FIFO files FIFO files execute FIFO first in first out in units of files for the CF ADP With the FIFO function the CF ADP keeps the latest data and deletes old data so that the total capacity of FIFO files and other files do not exceed the specified CompactFlash M card use ratio When the FIFO file exceeds the maximum number of lines set in the file creation instruction the following file is created e When created files does not exceed the CompactFlash card capacity specified CompactFlash M card use ratio The CF ADP creates files
131. onouny iojog Ni Explanation of function and operation U O ro Q og 3 3 5 ro 1 16 bit operation FLRD Command input wag ere channel number 255 Number of data points existing in the specified S line 2 Device which stores the read data Data read parameter 9 File ID ve The FLRD instruction reads corresponding number of data from the position determined by the line position 5g and column position in the file specified by the file ID and stores the read data to a device specified in Q1 When reading data from a file in which only the same type of data exists in one line refer to Subsection 8 6 2 1 0 When reading data from a file in which different types of data exist in one line refer to Subsection 8 6 3 Gs 69 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 6 FNC 303 FLRD Data read 8 6 1 Detailed explanation of setting data Details of the setting data in the FLRD instruction are as shown below File ID Hap KO to K63 16 bit binary Specify the data reading type KO Mixed type K1 Bit type K2 Decimal type 16 bit 5 K3 Decimal type 32 bit 16 bit binary D K4 Hexadecimal type 16 bit 5 K5 Hexadecimal type 32 bit o Real numbers Floating point data Exponent expression type 32 bit 3 Character string 512 half width full width characters maximum oO Specify the line position from which data is read POE
132. ons If the power is turned OFF while the CompactFlash card is being accessed ACCESS LED is lit or flickering the GENE S2fcty Precautions uD Read these precautions before use 2 INSTALLATION PRECAUTIONS N WARNING m e Make sure to shut down all phases of the power supply externally before installing the FX3U CF ADP 22 Failure to do so may cause electric shock or damage to the product 100 CAUTION a e Use the product within the generic environment specifications described in PLC main unit manual Hardware Edition Never use the product in areas with excessive dust oily smoke conductive dusts corrosive gas salt air Cl2 H2S SO2 or NO2 flammable gas vibration or impacts or expose it to high temperature condensation or rain and wind If the product is used in such conditions electric shock fire malfunctions deterioration or damage may occur e Do not touch the conductive parts of the product directly Doing so may cause device failures or malfunctions e Install the product securely using a DIN rail or mounting screws e Install the product on a flat surface If the mounting surface is rough undue force will be applied to the PC board thereby causing nonconformities e When drilling screw holes or wiring make sure that cutting and wiring debris do not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions e Be sure to remove the dust proof sheet from
133. ot exceed 20 C below the upper limit of the CompactFlash card operating temperature Example When the upper limit of the CompactFlash card operating temperature is 75 C the upper limit of the ambient temperature is 55 C Power supply specification Item Specification Power supply voltage 24V DC 20 15 Ripple p p within 5 Adapter driving power supply Renee pees Operation continues when the instantaneous power failure is shorter than 1ms power failure time Current consumption flee p Connect a 24V DC power supply to the power supply connector Interface driving power supply 50mA 5V DC 5V DC power is supplied internally from the main unit Performance specification Item Data transfer method Clock data DOS file system The maximum data capacity The maximum file size Data format The number of the maximum files FIFO functional file Data storage directory File name type Number of I O occupied points Number of connectable units to the main unit Specification Depends on the applied instruction sent from the main unit Operates based on the clock data in the main unit FAT16 2GB 512MB Per 1 file CSV format 63 file When the FIFO function is not used 1 pattern The file name is automatically assigned e Standard file FX3U_CF DATA The directory name is fixed e FIFO file FX3U_CF DATA FIFO The directory name is fixed 8 3 file name The extension is fixed to CSV
134. ot exceed 512 HIM Check whether the CompactFlas card is formatted and whether it is ready for data writing The CompactFlash card is not formatted correctly Check whether the CompactFlash card is mounted correctly HIM Format the CompactFlas card or replace it with another one Access to the file management information file has failed hT Check whether the CompactFlas card is mounted correctly The file management information was not able to be read from the CompactFlash card When reading or deleting a file confirm that the target file exists The file management information was not able to be created in the CompactFlash card Check whether the CompactFlash card is ready for data writing The file management information was not able to be read from the CompactFlash card When reading or deleting a file confirm that the target file exists The file management information is corrupt The file management information does not exist in the CompactFlash card 104 10 Troubleshooting FX3U CF ADP User s Manual 10 1 Troubleshooting procedure poe Error definition Error corrective action code 2 600 Parity Framing Overrun error 601 Communication character error Check the connection to the main unit 603 Outside channel number range 2 604 Undefined command error a Q 606 Address error inside adapter Something may be wrong with the hardware 5 Contact your local Mi
135. qno 65 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write 2 When overwriting data in a previously written area e Set the data writing parameters line position and column position in accordance with the written points e Use matching settings in a series of FLWR instructions However even if matching settings are used data is written to a column position continuing from the final data of the previous instruction e Only data of the same type as the original data can be used for overwriting When the data type is a character string only a character string not longer than the original character string can be used for overwriting e Itis not possible to add data additionally after the final data of an already written line e The time stamp is updated at the time of overwriting e The line position after writing is the specified line position The column position after writing is the column position next to the final written data point However if data is written up to the end of a line the line position after writing is the line position next to the written line position and the column position after writing is K1 Program Example e Explanation of operation When X000 turns ON the data stored in M15 bit type data stored in M16 bit type and data stored in R200 16 bit decimal type overwrites respectively the Index 1 in the following file The writing destination is
136. r M8418 M8438 These devices turn ON when an error occurs in an instruction for the CF ADP Detailed contents These devices indicate that an error occurs in an instruction for the CF ADP When communication port ch1 is used M8418 turns ON When communication port ch2 is used M8438 turns ON When either of these devices turns ON D8418 or D8438 stores the error code Cautions on use These devices do not turn OFF even if the next instruction is completed normally Cleared when the PLC mode is changed from STOP to RUN Appendix A 2 8 CF ADP status D8406 D8426 These devices store the status information of the CF ADP 1 Detailed contents These devices store the status information of the CF ADP as ON or OFF of bO to b15 Bit No Description bO An error has occurred in the CF ADP b1 to b15 Not applicable Appendix A 2 9 CF ADP version D8408 D8428 These devices store the version information of the CF ADP Detailed contents These devices store the version information of the CF ADP When communication port ch1 is used D8408 stores the value When communication port ch2 is used D8428 stores the value 112 Appendix A Related Devices FX3U CF ADP User s Manual Appendix A 2 Details of related devices Appendix A 2 10 Step number of an instruction for the CF ADP where an error has occurred g D8415 D8414 D8435 D8434 T g These devices store the step number of an instruction for t
137. r the data name exceeds 32 full width characters Something may be wrong with the hardware Contact your local Mitsubishi Electric representative Check whether a CompactFlash card having sufficient free space is mounted correctly When a CompactFlash something may be wrong with the hardware Contact your local Mitsubishi Electric representative card is mounted correctly Something may be wrong with the hardware Contact your local Mitsubishi Electric representative Shutdown of the supply voltage is detected Check whether the power is supplied correctly Something may be wrong with the hardware Contact your local Mitsubishi Electric representative hT hT M The CompactFlas card slot card is not mounted in the CompactFlas hT hT Mount the CompactFlas card slot card correctly in the CompactFlas The CompactFlash card may be defective Replace the CompactFlash card with another one The CompactFlash card is not formatted correctly Format the CompactFlash card or replace it with another one The CompactFlash card may be defective Format the CompactFlash card or replace it with another one The CompactFlash card is full Delete unnecessary data or replace the CompactFlash card with another one A folder was not able to be created in the CompactFlash card Check whether the number of files and folders in the root directory in the CompactFlash card does n
138. rd Unit kB 1 MB 1024 kB 1 GB 1024 MB 1 048 576 kB Capacity less than 1 kB is regarded as 1 kB Free space of the CompactFlash card Unit kB 1 MB 1024 kB 1 GB 1024 MB 1 048 576 kB Capacity less than 1 kB is regarded as 1 kB File ID list File ID The file name is associated with the file ID and the file ID is used in Sequence programs applied instructions CF ADP version information 34 7 Before Programming FX3U CF ADP User s Manual 7 1 File format available in the CF ADP 7 Before Programming j This chapter describes several items that should be known before programming 2 e File format available in the CF ADP a e Files created by the user F e Characters available in files e Data size calculation e Data writing destination wasis OO O File ID 5 FIFO file a 3 e Directory structure e Date time setting e General rules for applied instructions uo ejesu Aa 1 File format available in the CF ADP j Files in the csv format are available in the CF ADP Files are created by the CF ADP and by the user Buum QI 7 1 1 Files created by the CF ADP Files in the csv format created by the CF ADP are as follows The CF ADP can read and write files whose data is separated by comma and line feed by CR LF One line can store up to 254 data points For characters available in files refer to Subsection 7 1 3 CSV file rem SS EL AD name name n
139. replacement by the user maintenance of on site equipment start up test run and other tasks Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice Product application 1 In using the Mitsubishi MELSEC programmable logic controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable logic controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable logic controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programmable logic controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable logic controller range of applications However in certain c
140. ription R W D8067 Error code for operation error Stores the error code when an operation error occurs R Step number of executing CF ADP gh ers rae Stores the step number of an instruction for the CF ADP R instruction D8406 D8426 CF ADP status Stores the status information of the CF ADP R D8408 D8428 CF ADP version Stores the version of the CF ADP R D8414 D8434 Error step number of M8418 Error step Stores the step number of an instruction for the CF ADP where an R D8415 D8435 number of M8438 error occurs x Stores the error code when an error occurs in an instruction for the D8418 D8438 Error code for CF ADP instructions CF ADP R D8419 D8439 Operation mode display Stores the communication function status being executed R 1 Cleared when the PLC mode is changed from STOP to RUN 110 Appendix A Related Devices FX3U CF ADP User s Manual Appendix A 2 Details of related devices Appendix A 2 Details of related devices This section explains devices used during CF ADP Appendix A 2 1 Instruction execution complete M8029 When execution of CF ADP instructions is completed this device turns ON 1 Detailed contents When execution of CF ADP instructions is completed M8029 turns ON and remains ON for 1 scan 2 Cautions on use M8029 is used as the instruction execution complete flag for other instructions Such as positioning instructions When using M8029 place the contact just
141. s CF ADP R ADP RBS D8419 D8439 Operation mode display Stores the communication function status being executed R z 5 O 1 Cleared when the PLC mode is changed from STOP to RUN S as T Ten O D 3 Buyoousajqno 81 9 Program Examples FX3U CF ADP User s Manual 9 1 System Configuration 9 Program Examples STARTUP AND MAINTENANCE IN G PRECAUTIONS WARN e Make sure to connect the battery for memory backup correctly Do not charge disassemble heat short circuit or expose the battery to fire Doing so may rupture or ignite it e Do not touch any terminal while the PLC s power is on Doing so may cause electric shock or malfunctions e Before modifying or disrupting the program in operation or running the PLC carefully read through this manual and the associated manuals and ensure the safety of the operation An operation error may damage the machinery or cause accidents STARTUP AND MAINTENANCE PRECAUTIONS CAUTION e Do not disassemble or modify the PLC Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric representative e Turn off the power to the PLC before attaching or detaching the following devices Failure to do so may cause device failures or malfunctions Peripheral devices display modules expansion boards and special adapters I O extension units blocks FX Series terminal block and the special function units blocks Battery a
142. s number Ss 4 Specify a matching value type File ID Source data Data write parameter ale Boer Used ene Instruction name g number D i Specify a matching FLWR K Pouce Di value type n i Specify a The data stored Specify a 53 Specif tchina Specify a matching in the 2nd data matching Ss me ae oe er device Hea type is written file ID Device b channe t 1 DTE number S3 K t 3 4 Specify a matching value type Line position Used channel a P File ID Source data Data write parameter after writing nbe D Sz Sx S3 K Devica S3 1 Specify a matching FLWR K value type n Specify a The data stored Specify a j Specify a matching Specify a matching in the final data matching Ss vale ee j device Pra type is written file ID Device c i u 1 63 3 K u MAET G 4 Specify a matching value type Cautions 1 Do not use another applied instruction for the CF ADP in between a series of FLWR instructions Set a common driving condition among a series of FLWR instructions 2 Set matching values to the file ID and writing destination line position 3 Make sure that the total number of devices in one line is 254 or less St tte su lt 254 4 Use values after completion of a series of FLWR instructions for the line position after writing and column position after writing 62 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR
143. s executed After the FLWR instruction is executed 4 rss orere omer peaz ons ot a aooererszsssoo m 222 soa aaa sss her 11 22 33 3 2009 9 10 23 59 00 55 The time at which a of D14 is instruction is executed is WENER Line position after data is written by the FLWR instruction Line position after writing DO K4 Column position after writing D1 K1 58 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write e Sequence program It is assumed that D10 to D14 store values This program does not describe such values X000 1 e FNC 12 K2 D20 ele ae FNC 12 K 14 D21 l MOV FNC 12 K1 D22 FNC 12 K5 D23 oe S MO M8404 M8405 CF ADP CF card is unit ready mounted M8329 Abnormal end FNC 12 D8418 D100 ev 0418 100 M8029 RST Execution completion Specify the data writing type Decimal 16 bit type is specified Specify the line position of the writing destination Additional writing is specified Specify the data column position in the writing destination The head position is specified Number of written points 5 points is specified Writing destination The CompactFlash card is specified Data writing Data is written additionally to Index 3 The error code is stored 59 UORonNpou uoneoyioads INQ wasis OO uoneinByuoy uo ejesu Aa Buum QI
144. s removed hag oe 3 Ground ise x Green G o 2 Black 1 Red aiojag NI Burwweibog Unit mm inches MASS Weight 0 3kg 0 66lbs CF card not attached uo euejdx3 SUONONSU DIN rail mounting groove 9 DIN rail DIN46277 35mm 1 38 width CF card slot Nameplate Special adapter connector Special adapter slide lock EJECT button Special adapter connector cover DIN rail mounting hook weiBoig QO paiddygay 40 OO sojduexy Direct mounting hole 2 holes of 4 5 0 18 CF ADP power supply connector mounting screw M4 screw Status LEDs CF card cover CF card ACCESS switch Special adapter connector Special adapter fixing hook Bunooysaiqna I The above is different from the actual page as it is provided for explanation only 12 1 Introduction FX3U CF ADP User s Manual 1 1 Outline uononpou 1 introduction 1 1 Outline uoneoyioads INQ The CF card special adapter FX3U CF ADP hereinafter abbreviated as CF ADP stores data to and reads data from the CompactFlash card in accordance with applied instructions for the CF ADP sent from the FX3U FX3uUC PLC Data is stored in CSV format on the CompactFlash card Only one CF ADP unit can be connected to a single main unit For system configuration refer to Chapter 3 wasis OO uoneinByuoy Data can be saved in the CompactFlash card in files with the FIFO first in first out function Dat
145. sed X000 e MO FNC305 200 K1 FLSTRD M8329 RST Abnormal end M8029 RST Execution completion FNC 12 D100 Ts mee FNC 12 po D102 DMOV FNC 12 D4 D104 R w DOi 80 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 9 Contents of Related Devices 8 9 Contents of Related Devices S The tables below show special auxiliary relays and special data registers used in CF ADP instructions aj FNC300 FLCRT to FNC305 FLSTRD For details on the related devices refer to Appendix A 2 The channel number of the device corresponds to the channel number specified in the CF ADP applied 2 instruction D 1 Special auxiliary relays F R Read only W Write only R W Read or Write 9 Device n ot RN escription M8029 Instruction execution complete Turns ON when the execution of CF ADP instructions is completed R and remains ON for 1 scan Turns ON when the execution of CF ADP instructions has ended abnormally and remains ON for 1 scan M8067 Turns ON when an operation error occurs M8402 M8422 CF ADP instruction executing edhe ON while an instruction for the CF ADP is being M8404 M8424 CF ADP unit ready Remains ON when the CF ADP is ready for receiving commands TM M8405 M8425 CF card mount status ON CompactFlash ae mounted status R OFF CompactFlash card unmounted status Stops communication executed by the system to update the status M8410 M8430 CF ADP status ren
146. sh card D30 Specify the line position of the writing destination D31 Specify the data column position in the writing destination D40 Specify the data reading type D41 Specify the line position from which data is read D42 Column position from which data is read D43 Number of read data points D50 Number of data points existing in the specified line D114 Error code when existence of a file whose file ID is 1 is confirmed D116 Error code when a mixed type file is created D118 Error code when data names are written to the mixed type file D120 Error code when data is written to the mixed type file D122 Error code when data is read from the mixed type file D124 Error code when the mixed type file is deleted D180 File ID information read when the mixed type file is created D300 to D336 Data name data written to the mixed type file RO 16 bit decimal data written to the mixed type file R11 R10 32 bit decimal data written to the mixed type file R20 16 bit hexadecimal data written to the mixed type file R31 R30 32 bit hexadecimal data written to the mixed type file R41 R40 Real number data written to the mixed type file R50 to R54 Character string data written to the mixed type file R100 16 bit decimal data read from the mixed type file R111 R110 32 bit decimal data read from the mixed type file R120 16 bit hexadecimal data read from the mixed type file R131 R130 32 bit hexadecimal data read from the mixed type file R141 R140 Real number data read
147. t your local Mitsubishi Electric representative Turn off the power to the PLC before attaching or detaching the following devices Failure to do so may cause device failures or malfunctions Peripheral devices display modules expansion boards and special adapters 1 O extension units blocks FX Series terminal block and the special function units blocks Battery and memory cassette DISPOSAL PRECAUTIONS Please contact a certified electronic waste disposal company for the environmentally safe recycling and disposal of your device 6 TRANSPORTATION AND STORAGE PRECAUTIONS Failure to do so may cause failures in the PLC After transportation verify operation of the PLC and check for damage of the mounting part etc The PLC is a precision instrument During transportation avoid impacts larger than those specified in the general specifications of the PLC main unit manual by using dedicated packaging boxes and shock absorbing palettes FX3U CF ADP User s Manual FX3U CF ADP User s Manual Manual revision 4 2015 Foreword This manual describes the FX3U CF ADP CF card special adapter and should be read and understood before attempting to install the hardware Store this manual in a safe place so that you can take it out and read it whenever necessary Always forward it to the end user This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licens
148. tFlash card When data to be buffered exceeds the capacity of the internal buffer inside the CF ADP When the buffer force write command is executed When data writing is executed for a buffered file ID with the CompactFlash M writing destination When the CF card ACCESS switch is set from ON to OFF hT card specified as the When an applied instruction to unmount the CompactFlas card is executed When the Index is returned to the head among buffered data ring buffer Or when data writing is executed for the specified maximum number of lines if Stops execution is selected as the processing to be executed when the maximum number of lines specified during file creation is reached When the overwrite applied instruction is executed while data is buffered 40 7 Before Programming FX3U CF ADP User s Manual 7 1 File format available in the CF ADP 7 1 6 File ID F Applied instructions for the CF ADP use the file ID for specifying files Accordingly the file name saved in the z CompactFlash card is associated with the file ID and controlled by the ID table When a file whose file ID is 1 and file name is TEST _01 CSV is created using the file creation program shown below the file ID and file name are associated with each other as shown in Example 1 in the ID table 2 image After each file is created the user should use the file ID for specifying the file instead of using the file oD name Z File creati
149. ten to it a specified number of times Generally at the end of the operational life the CompactFlash card has reduced capabilities Please use it ensuring sufficient availability 17 5 a Ss Q Q Q z O uoneoyinads wasis OO uoneinByuoy uo ejesu Aa Buum QI suonouny aiojeg Ni urwwesboId uo euejdx SUONONASU weiboug QO paiddygav 49 OO sojdwex 3 Buyoousajqno 3 System Configuration FX3U CF ADP User s Manual 3 1 General configuration 3 System Configuration 3 1 General configuration Other special adapters FX3U CF ADP Expansion board FX3U FX3UC PLC x rami gogggaggaeaeess n USB Cable RS 232C Cable CompactFlash card CompactFlash Memory card card adapter Lf Z An expansion board is required to connect the CF ADP with the FX3U FX3UC 32MT LT 2 PLCs Component list Part name Model name Remarks An expansion board is required to connect the CF ADP with the CF card special adapter FX3U CF ADP FX3U FX3UC 32MT LT 2 PLCs PLC FX3U FX3UC PLC GT05 MEM 128MC GT05 MEM 256MC CompactFlash card GT05 MEM 512MC CompactFlash cards available for the CF ADP GT05 MEM 1GC GT05 MEM 2GC Memory card adapter GT05 MEM ADPC The memory card adapter is used to convert a CF card into a memory card Type Il PC software PC USB cable RS 232C cable GX Works2 GX C PLC pro
150. th mixed type instructions 8 Response error Check the parameter contents execution order etc in mixed type instructions 9 Outside parameter device range Check the parameter contents The CF ADP is being started up or the power is OFF 16 Command code error in mixed type specification Something may be wrong with mixed type instructions 18 Outside channel number range in mixed type Check the parameter contents execution order etc in mixed type specification instructions 21 The contents specified by the 1st parameter such as the file ID are 22 outside the setting range 23 Something is wrong with the file name 24 The file name exceeds 8 half width characters The file name contains unavailable reserved words Reserved words CON PRN AUX CLOCK NUL COMO COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COMO LPTO LPT1 LPT2 LPT3 LPT4 LPT5 LPT6 LPT7 LPT8 LPT9 26 Outside line range The line number is outside the setting range The line number is outside the setting range Something may be wrong with mixed type instructions Check the parameter contents execution order etc in mixed type instructions 28 Outside column number range The column number is outside the setting range wajsis Q9 uoneinByuoy Check the power supply for the CF ADP and its connection uo ejesu Aa Buum QI 25 Reserved word in file name suoyoun4 27 Outside line range in mixed t
151. the PLC will burn out Connect the DC power supply wiring to the dedicated connector described in this manual If an AC power supply is connected to a DC power supply connector the PLC will burn out When drilling screw holes or wiring make sure that cutting and wiring debris do not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions STARTUP AND MAINTENANCE PRECAUTIONS WARN NG e Make sure to connect the battery for memory backup correctly Do not charge disassemble heat short circuit or expose the battery to fire Doing so may rupture or ignite it e Do not touch any terminal while the PLC s power is on Doing so may cause electric shock or malfunctions e Before modifying or disrupting the program in operation or running the PLC carefully read through this manual and the associated manuals and ensure the safety of the operation An operation error may damage the machinery or cause accidents 28 5 Wiring FX3U CF ADP User s Manual 5 1 Which Power Supply Cable to Use STARTUP AND MAINTENANCE 3 PRECAUTIONS CAUTION z O Do not disassemble or modify the PLC Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric representative 2 Turn off the power to the PLC before attaching or detaching the following devices Failure to do so may cause device failures or malfunctions DP Peripheral devices display modules
152. them 1 These wires are used to improve the conductivity between the door and control cabinet FX3U CF ADP User s Manual Associated Manuals Associated Manuals Only the installation manual is packed together with the FX3U CF ADP special adapter For a detailed explanation of the FX3U CF ADP special adapter refer to this manual For the hardware information and instructions on the PLC main unit refer to the respective manuals Refer to these manuals v Refer to the appropriate equipment manual A Fora detailed explanation refer to an additional manual number Manual for the Main Unit FX3u Series PLCs Main Unit Model code Describes FX3U Series PLC specification for I O wiring Supplied FX3U Series and installation extracted from the FX3U User s Manual A Manual Hardware Manual JY997D50301 Hardware Edition For details refer to FX3U Series User s Manual Hardware Edition Additional FA U SANES eros Describes FX3U Series PLC specification details for I O User s Manual JY997D16501 _ Q9R516 Manual ae wiring installation and maintenance Hardware Edition FX3uc Series PLCs Main Unit Describes FX3UC D DS DSS Series PLC specification for I O wiring and installation extracted from the FX3uUC Supp ee ee alice JY997D50501 Series User s Manual Hardware Edition Manual Hardware Manual For details refer to FX3UC Series User s Manual Hardware Edition Describes FX3UC 32MT L
153. ting Channel 1 is used in this program For details on sequence programs refer to next page e Content of file File ID K10 The data name is already written Before the FLWR instruction is executed DATE TIME Datat Datas CRILF 5 2009 9 9 23 59 04 111 4444 55 After the FLWR instruction is executed 2009 9 10 23 59 30 1111 2222 1234 2345 5 CR LF The time stamp is updated The The at the time of overwriting existing existing data is data is overwrittenjoverwritten by the by the value value stored in stored in D10 D11 s 200ererezase0a 11 22 33 4444 55 CRIC Line position after data is written by the FLWR instruction Line position after writing DO K2 Column position after writing D1 K5 60 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write e Sequence program It is assumed that D10 and D11 store values This program does not describe such values X000 1 e FNC 12 K2 D20 eee MOV FNC 12 K3 D22 eT FNC 12 K2 D23 ace MO M8404 M8405 CF ADP CF card is unit ready mounted M8329 Abnormal end FNC 12 D8418 D100 ee beet 100 M8029 RST Execution completion Specify the data writing type Decimal 16 bit type is specified Specify the line position of the writing destination Index 2 is specified as the target of overwriting Specify the data column position in
154. tion RS instructions FX2N 232IF FX Series User s Manual Additional Manual O9R715 Describes installation specifications for the FX3U CF ADP CF card special adapter extracted from the FX3u FX3U CF ADP Installation Manual Supplied Manual FX3U CF ADP User s Manual Generic Names and Abbreviations Used in the Manual Generic Names and Abbreviations Used in the Manual Generic name or abbreviation Description PLC FX3U series Generic name for FX3U Series PLC Generic name for FX3U Series PLC main unit FX3UC series Generic name for FX3uc Series PLC FX3uc PLC or main unit Generic name for FX3UC Series PLC main unit Expansion board Generic name for expansion board The number of connectable units however depends on the type of main unit To check the number of connectable units refer to the User s Manual Hardware Edition of the main unit to be used for your system Expansion board Special adapter Generic name for high speed input output special adapter communication special adapter analog special adapter and CF card special adapter Special adapter The number of connectable units however depends on the type of main unit To check the number of connectable units refer to the User s Manual Hardware Edition of the main unit to be used for your system CF ADP Abbreviated name for FX3U CF ADP Extension equipment Generic name for input output powered extensio
155. tion executing complete flag M8029 after all processing for the CF ADP are finished Program Example X001 SET Command is latched MO FNC a ll ae Processing is executed Command FLSTRD input M8029 RST Command is reset Instruction execution complete M8329 RST Command is reset Instruction execution abnormal end 3 Instruction execution complete flag M8029 When processing for the CF ADP has been completed normally the instruction execute complete flag M8029 turns ON and remains ON for one scan 47 UONonNpou uoneoyioads INQ wasis OO uoneinByuoy uo ejesu Aa Buum QI suonouny iojog a O a Q 3 2 Q uo euejdx SUONONASU weiboug QO paiddy qay 49 sojdwex 3 Buyoousajqno 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 2 Common Items in CF ADP Instructions 8 2 2 4 Operation when an error occurrs When an error occurs the instruction execution abnormal complete flag M8329 turns ON and execution of the instruction is aborted After that the error code is stored in the error code storage register and the error flag turns ON The user can check the error code and error detected step number using the following data registers The error code and error occurrence step number are stored in the data registers for the channel number specified in the CF ADP applied instruction Error code storange device Error dete
156. tsubishi Electric representative 607 Consecutive execution serial number error Consecutive execution serial number error serial one number The data type specified during file creation is different from the data type to be written wasis OO 609 Outside data type range 610 Outside transfer point number range uoneinByuoy 611 Total transfer point number error Transfer point number error minimum value error or 612 maximum value error in each type 613 Outside single type or mixed type command range 614 Mixed type data in single type command uo ejesu Aa Check the version of the main unit Something may be wrong with the hardware Contact your local Mitsubishi Electric representative Mismatch between total number of points and sum of 615 number of points of each type 616 Deletion method error 617 Outside FAT format range 619 Outside error code clear command range Buum QI 620 Divided character string receiving error 700 Command execution error 701 Command sequence error The data name can be written only in the head line Check whether data does not exist in the writing target file 703 ACCESS switch OFF error Check whether the ACCESS switch is set to ON Check whether the SLOT LED or M8405 M8425 CF card mounting status is ON If the SLOT LED or M8405 M8425 is OFF pull out the 704 Access error in unmounted status CompactFlash card once and insert it again or execute CompactFlash car
157. tten 9 File ID x g 39 Oo WO D 3 Buyoousajqno 55 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write The FLWR instruction writes data specified by the device to a file stored in the CompactFlash card specified by the file ID or to the buffer inside the CF ADP The FLWR instruction can overwrite data in the line position specified by the device 1 and can write additional data K 1 When the writing destination is the buffer inside the CF ADP the FLWR instruction can only execute additional writing When writing is completed the line position and column position after writing are as follows e When data in 1 line is written additionally Line position after writing Written line position K1 Column position after writing K1 e When a line having existing data is overwritten Line position after writing Written line position if data is not written to the final column position of the specified line position Line position next to the written line position if data is written to the final column position of the line Column position after writing Column position next to the final written data point K1 if data is written to the final data point in the line K1 if data is written to the final data point in the line Both additional writing and overwriting are executed to the maximum number of lines specified during file creation If data is written up to the
158. ual technical bulletin catalog etc are used as reference please use it after confirming the function and safety of the equipment and system Mitsubishi Electric will not accept responsibility for actual use of the product based on these illustrative examples The content specification etc of this manual may be changed for improvement without notice The information in this manual has been carefully checked and is believed to be accurate however if you notice any doubtful point error etc please contact your local Mitsubishi Electric representative Registration CompactFlash is a trademark of SanDisk Corporation in the United States and other countries MODBUS is a registered trademark of Schneider Electric SA The company name and the product name to be described in this manual are the registered trademarks or trademarks of each company FX3U CF ADP User s Manual Table of Contents Table of Contents SAFETY PRECAUTIONS siasiiccisdecisvivcaatvcedisnencteesen cess cacndeaceatadaaiesactadvaaiaraadeaupensicaiasdenadvaceiys 1 SCAN ANOS encss sas ee cre a tt et eb ales nee sais cet Sank Lets clas a aaah cee liu el tous 7 Cerminicalonor Wh CUlL SIAN aAnGS erein a E 7 Compliance with EC directive CE Marking ccccccccseeceeeeeeeeeeeseeeeeseeeeeesaeeseeeseeeeesseeeeesseeeeesaaeeeeeeas 7 PASSOGIALEG WiaANI Ua Sinise ceceeehcsetsh ocacacicss cies oe A Sad Sateen 9 Generic Names and Abbreviations Used in the Manual
159. unavailable in the unmounted status Program Example 1 Program Example 1 When X000 turns ON the data saved in the file whose ID is 1 stored in the buffer inside the CF ADP is forcibly written to the CompactFlash card Channel number 1 is used X000 ao bi FNC304 K1 K1 M8329 RST Abnormal end M8029 RST Execution completion 2 Program Example 2 When X000 turns ON the CompactFlash M card is set to the mounted status Channel number 1 is used X000 0 ihe FNC304 H1 K1 M8329 RST Abnormal end M8029 RST Execution completion 3 Program Example 3 When X000 turns ON error codes stored in the CF ADP are cleared Channel number 1 is used X000 e oe FNC304 H500 K1 M8329 RST Abnormal end M8029 RST Execution completion 76 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 8 FNC 305 FLSTRD FX3U CF ADP status read 8 8 FNC 305 FLSTRD FX3uU CF ADP status read Outline The FLSTRD instruction reads the status including the error information and file information of the FX3U CF ADP 1 Instruction format FNC 305 _ 16 bit instruction 32 bit Instruction FLSTRD Continuous o E ggd FLSTRD or T7 steps VAL Operation 2 Set data Contents of status to be read Refer to Subsection 8 8 1 16 bit binary Head device to which the read status is written Refer to Subsection 8 8 1 16 bit binary n Used channel number contents of setting K1 ch1 K2
160. under the instruction whose execution completion is to be checked Appendix A 2 2 Instruction execution abnormal end M8329 When execution of CF ADP instructions has ended abnormally this device turns ON 1 Detailed contents When execution of CF ADP instructions is has ended abnormally M8329 turns ON and remains ON for 1 scan 2 Cautions on use M8329 is used as the instruction execution abnormal end flag for other instructions When using M8329 place the contact just under the instruction whose instruction execution abnormal end is to be checked Appendix A 2 3 CF ADP instruction executing M8402 M8422 When an instruction for the CF ADP is executed one of these devices turns ON 1 Detailed contents When an instruction for the CF ADP is executed and communication with the CF ADP starts one of these devices turns ON When communication port ch1 is used M8402 turns ON When communication port ch2 is used M8422 turns ON The CF ADP instruction executing flag M8402 or M8422 turns ON and D8403 and D8402 or D8423 and D8422 store the step number of the instruction which is using the communication port 2 Cautions on use While the CF ADP instruction executing flag M8402 or M8422 remains ON another instruction for the CF ADP cannot be executed Appendix A 2 4 CF ADP unit ready M8404 M8424 When the CF ADP is ready for receiving commands one of these devices remains ON 1 Detailed contents These devices
161. uny iojog a O a Q 3 2 gt Q uo euejdxg suonon Su weiboug QO paiddy qay 49 sojdwex 3 Buyoousejqno 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 5 FNC 302 FLWR Data write From previous page From previous page M8329 RST Abnormal end FNC 12 D8438 D100 MOV M8029 The error code is stored Execution completion 68 8 CF ADP Applied Instructions Explanation FX3U CF ADP User s Manual 8 6 FNC 303 FLRD Data read 8 6 FNC 303 FLRD Data read z S Outline The FLRD instruction reads data from the CompactFlash card 2 g 1 Instruction format _ FNC 303 __ 16 bit instruction 32 bit Instruction 1 C 3 Land FLRD er 11 steps PERR KA Soe wasis OO Q O 2 Set data 2 Q File ID Refer to Subsection 8 6 1 16 bit binary Data read parameter Refer to Subsection 8 6 1 16 bit binary 4 5 Device which stores the read data Refer to Subsection 8 6 1 g Number of data points existing in the specified line Refer to Subsection 8 6 1 16 bit binary n Used channel number contents of setting K1 ch1 K2 ch2 16 bit binary 3 Applicable devices Word Devices Others te a SSeS X Y M T C S De b knx Kny knM kns T C D R jumen y z Mody KH E a P A S a ed S Tiere S a T S AAi S ee T S A dded ee S eee eee A Except special data register D Buum OT su
162. ute Seconds dd mm yy hh mm ss 17 bytes mm dd yyyy hh mm ss 19 bytes mm dd yy hh mm ss 17 bytes Decimal 16 bit 6 bytes Decimal 32 bit 11 bytes Hexadecimal 16 bit 4 bytes data Hexadecimal 32 bit 8 bytes Real numbers Floating point data 14 bvtes Exponent expression type 7 HHFAAHE y Character string Character string size 512 half width full width characters maximum 1024 bytes maximum CR LF Return code at line end 2 bytes e Calculation formula Written byte count Fixed value Expression of date and time Sum Symbol Remark B Decimal 6 digits Comma The expression of date and time depends on the setting of the region Check the used method a Comma Line feed of data Fixed value 9 bytes Index 6 bytes Comma 1 byte Return code at line end 2 bytes Expression of date and time a in the above table Sum of data Add Comma 1 byte data b in the above table for the number n Sum of data gt Comma 1 byte data b in the above table 1 Calculation example 1 When there are 254 floating point data points Contents of data Byte count Index 6 Comma Year Month Day Hour Minute Seconds 19 yyyy mm dd hh mm ss Comma 1 data Real numbers Floating point data 14 CR LF 2 n of data data points n lt 254 Data points x254 Total 6 1 19 1 14 x254 2 3838 bytes 3 75KB 38 7 Before Programming FX3U CF ADP User s Manual 7 1 Fi
163. was not read correctly from the line position specified in the file reading instruction 10T Dala reacmg el Check the contents of the file and the data type specified in the file reading instruction 2 Target data was attempted to be overwritten with data of a different type in the file writing instruction Or the file contains data whose type is ce 1002 Data type mismatch different from the type of data to be read specified in the data reading Z instruction Check the contents of the file and the data type specified in 8 the file writing instruction o The data specified in the file reading instruction does not exist in the file Check whether the data specified in the file reading instruction exists in the file 1003 Data not found waisig Od QO O The character string exceeds 512 full width characters the data name 1004 Character string size error exceeds 32 full width characters or the total size of one line exceeds 5 16 kB Refer to the following manual for error codes Nos 3000 or later 3000 Refer to the FX3u Hardware Edition Refer to the FX3uc Hardware Edition uo ejesu Aa Buum QI suonouny aiojeg Ni urwwesboId uo euejdx SUONONASU weiboug QO paiddygav 49 OO m gt lt S 3 Iel D op 107 10 Troubleshooting FX3U CF ADP User s Manual 10 2 Diagnostics on the PLC Main Unit 10 2 Diagnostics on the PLC Main Unit The following describes so
164. wer ON again and check for changes in the state If no improvement is obtained consult your local Mitsubishi Electric representative 10 2 2 BATT BAT LED on off The table below describes details for the LED statuses Status PLC Status Error corrective action ON The battery voltage is low Immediately replace the battery The battery voltage is higher than the value OFF with D8006 oe 108 10 Troubleshooting FX3U CF ADP User s Manual 10 2 Diagnostics on the PLC Main Unit 10 2 3 ERROR ERR LED on flashing off The table below describes details for the LED statuses Status PLC Status Error corrective action 1 Stop the PLC and turn the power ON again If the ERROR ERR LED goes out a watchdog timer error may have occurred Adopt any of the following measures Review the program Set the maximum value D8012 lower than the watchdog timer value Check that the input used for input interrupt or pulse catch is not being abnormally turned ON and OFF in one scan Check that the frequency of the pulse duty 50 input to the high speed counter is not exceeding the specified range Add WDT instructions A watchdog timer error may have occurred Add some WDT instructions to the program and reset the watchdog ON or the hardware of the PLC may be timer several times in one scan damaged Change the watchdog timer value Change the watchdog timer setting D8000 in the program so that the setting is larger
165. when an error that cannot be detected by the PLC main unit occurs in an input output control block output control may be disabled External circuits and mechanisms should be designed to ensure safe machinery operation in such cases DESIGN PRECAUTIONS C AUTION Observe the following items Failure to do so may cause incorrect data writing through noise to the PLC and result in PLC failure machine damage or other accident 1 Do not bundle the control line together with or lay it close to the main circuit or power line As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or power line Noise may cause malfunctions 2 Ground the shield wire or shield of a shielded cable Do not use common grounding with heavy electrical systems During access ACCESS LED is lit or flickering to CompactFlash card do not remove the CompactFlash card or power off the CF ADP Failure to do so may cause CompactFlas card failures or malfunctions If the power is turned OFF while the CompactFlash card is being accessed ACCESS LED is lit or flickering the buffered data is erased Also files or CompactFlash card itself may be damaged Do not turn the power OFF while the ACCESS LED is lit or flickering Do not apply excessive pressure to the power supply cable or power supply connector Excessive pressure may cause damage or error hT DISPOSAL PRECAUTIONS NC AUTION Please contact a certified electronic waste
166. written to the CompactFlash card Up to 254 data points can be written to one line Forcibly writing data of a specified file stored in the internal buffer to the CompactFlash card Reading the number from the final line in a specified file stored in the CompactFlash card hTM Reading the data from a specified line in a specified file stored in the CompactFlas card Up to 254 data points can be read from one line Writing the data name Up to 254 data points names can be written Formatting the CompactFlash M card Sending a mount command to the CompactFlash card Sending an unmount command to the CompactFlash M card 33 UONonNpouj uoneoyioads INQ wajsis Q9 uoneinByuoy uo ejesu Aa 5 5 suonoun4 alojeg N BurwwesboId uo euejdx SUONONASU weiboug QO paiddygav 49 OO sojdwex 3 Buyoousajqno 6 Functions FX3U CF ADP User s Manual 6 2 Status information 6 2 Status information The user can read the following status information using applied instructions for the CF ADP Detecting that a CompactFlash card is mounted Detecting that the CompactFlash card is full Detecting errors that have occurred in the CF ADP Reading error codes of the CF ADP Data capacity of the CompactFlash card Unit kB 1 MB 1024 kB 1 GB 1024 MB 1 048 576 kB Capacity less than 1 kB is regarded as 1 kB Used space of the CompactFlash ca
167. ype specification slojeg N 3 TM Q ee Rang rangen ol Compectriash carg The CompactFlash card utilization or operation when the maximum 29 utilization operation when the maximum line number l Index value has been reached is outside the setting range has been reached a 30 Outside time stamp setting range The time stamp is outside the setting range 31 Outside data format specification range The data format is outside the setting range 8 The data format is incorrect mso0 a i Xx no TI 32 Data format error in mixed type specification Solnetning May Pe Wrong wiin mixed type iste ae Check the parameter contents execution order etc in mixed type z222 i O instructions o2 g It is possible that data name was written while a mixed type instruction T 33 Data name writing error while a mixed type was being executed instruction is being executed Check the parameter contents execution order etc in mixed type 9 instructions Muas 34 FLDEL instruction format specification error Parameters in the FLDEL instruction are outside the setting range 5 g 35 Devices specified by parameters are outside the setting range F3 The number of written points read points specified by the parameter is 36 Device point number range error i outside the setting range The number of written points read points specified by the parameter is outside the setting range Something may be wrong with mixed type instructions Check
168. z MITSUBISHI T ELECTRIC FX3U CF ADP USER S MANUAL GHEE S2 ety Precautions SD Read these precautions before use Before installation operation maintenance or inspection of this product thoroughly read through and understand this manual and all of the associated manuals Also take care to handle the module properly and safely This manual classifies the safety precautions into two categories and CAUTION WARN NG Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions resulting in medium or slight CAU Tl O N personal injury or physical damage Depending on the circumstances procedures indicated by may also cause severe injury It is important to follow all precautions for personal safety Store this manual in a safe place so that it can be taken out and read whenever necessary Always forward it to the end user 1 DESIGN PRECAUTIONS WARNING Make sure to include the following safety circuits outside the PLC to ensure safe system operation even during external power supply problems or PLC failure Otherwise malfunctions may cause serious accidents 1 Above all the following components should be included an emergency stop circuit a protection circuit an interlock circuit for opposite movements Such as normal vs reverse rotation and an interlock circuit to prevent 15 damage t
Download Pdf Manuals
Related Search
Related Contents
English (UK) www.moulinex.com ホビーキャストNX 取扱説明書 RGB and S-LOG Output Option KanexPro SP-HD1X44K video splitter CONNAISSANCES DE BASES N568B & N568LC User Manual User`s Manual PW-100Fb - Sanwa Electric Instrument Co., Ltd. Copyright © All rights reserved.
Failed to retrieve file