background image

 

< 6.  Maintenance Functions >

6-1

 

TI 34M6A82-01E

2nd Edition : Nov. 1, 2002-00

 

6. Maintenance 

Functions 

These are functions to monitor the FA-M3’s operation status and errors. The following 

functions are available. 

 Display Alarm 

This function displays any error and alarm status, which is currently generated. 

 Display System Log 

The FA-M3 stores events such as errors and power on along with time information in the 

CPU. You can use this function to display, save to file or print the system log. 

 Display User Log 

By executing a User Log instruction, an operation history of the user system such as 

errors, etc. can be stored to the CPU.  You can use this function to display, save to file, 

and print the user log. 

 Compare 

This function compares the executable program in a project with the executable program 

downloaded to the CPU. 

Summary of Contents for FA-M3 Vitesse

Page 1: ...TI 34M6A82 01E FA M3 Training Text FA M3 Programming Tool WideField2 for Ladder TI34M6A82 01E 2002 11 2nd Edition Technical Information...

Page 2: ...e training system and training kit recommended by Yokogawa When operating measurement and control devices for actual plant equipment be sure to read the warning labels pasted on the devices and cautio...

Page 3: ...ctions 4 5 4 5 Creating a Ladder Program 4 7 5 Ladder Program Training 5 1 5 1 Training Kit System Configuration 5 1 5 2 Exercise 1 Circuit Design Using Physical Addresses 5 5 5 3 Exercise 2 Circuit D...

Page 4: ...book should be read together with the other FA M3 instruction manuals for a deeper understanding of the topics introduced herein Please note that the contents of the book are subject to change without...

Page 5: ...nts Comparable to Large PLCs 8192 points 0 0175 s per basic instruction For F3SP53 58 For F3SP58 59 No more worries about memory capacity or performance The use of add on sequence CPUs with memory ded...

Page 6: ...d Furthermore with the use of tag names and other logical signal names you can start programming even before determining terminal allocations Structured ladder programming Like a scroll Ordinary PC FA...

Page 7: ...on the type and the number of input output points Special module s Many types are available such as analog input output and communication A location where you install a module is called a slot Main Un...

Page 8: ...1 312 313 314 315 316 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 Power supply module Slot numbers 101 to 116 Slot n...

Page 9: ...U must be installed in slot 001 of the main unit 2 In addition to the main CPU sequence CPUs may also be installed in slots 002 to 004 of the main unit acting as add on sequence CPU modules 3 Input Ou...

Page 10: ...m Configuration 1 6 TI 34M6A82 01E 2nd Edition Nov 1 2002 00 1 3 FA M3 Configuration 1 3 1 Main Unit Module Names Base module Power supply module CPU module Input output and special modules Figure Ext...

Page 11: ...ots 4 6 9 13 16 Number of I O slots 3 5 8 12 15 Power consumption 50mA 5V DC Weight 140g 200g 310g 420g 550g The number of I O slots that can be used when 1 CPU module is installed Model and Specifica...

Page 12: ...47 138 F3BU06 0N 205 196 F3BU09 0N 322 313 138 F3BU13 0N 439 430 196 F3BU16 0N 527 517 138 313 CAUTION Make sure that the total power consumption of all the installed modules does not exceed the capac...

Page 13: ...F3PU20 F3PU30 Power Supply Modules The following figure shows the power supply modules with their covers removed F3PU26 Power Supply Module The following figure shows the power supply module with its...

Page 14: ...Configuration 1 10 TI 34M6A82 01E 2nd Edition Nov 1 2002 00 1 3 4 CPU Modules Components and their Functions F3SP21 F3SP25 F3SP28 F3SP35 F3SP38 CPU Modules The external view of a F3SP53 F3SP58 F3SP59...

Page 15: ...r the types of available ROM packs and their specifications see the General Specifications GS 34M6C01 01E The major functions of ROM packs are listed below Can store both programs and data Programs an...

Page 16: ...ended shared registers R 3072 Number of file registers B 32768 262144 Number of link registers W 8192 16384 Number of special registers Z 1024 Number of labels 1024 Number of input interrupt processin...

Page 17: ...uction is provided to log errors and operation statuses of a user system Number of PC link modules to be installed 6 max Macro instructions Available Users can create and register user defined macro i...

Page 18: ...4 M0001 to M9984 9984 100 s timer T0001 to T0016 T0001 to T0016 T0001 to T0016 Up to 16 timers can be set up 1 ms timer 10 ms timer Timer 100 ms timer Continuous timer 100 ms timer T T0001 to T2048 T0...

Page 19: ...d counters combined 3072 max The number of 100 s or 1 ms timers is set to 0 by default 1024 Number of timers and counters combined 3072 max The number of 100 s or 1 ms timers is set to 0 by default 10...

Page 20: ...701 Y00702 X00601 Input from an extemal device Output Relay Y Output relays are used for outputting the control results of the program to external devices such as an actuator X00602 Y00701 Y00702 X006...

Page 21: ...shared relays registers acting as an add on CPU E0513 E0010 I0001 I0001 CPU1 CPU2 I0003 Y00703 X00603 E0513 E0010 Note ON OFF information can be exchanged between the CPUs by using the shared relays...

Page 22: ...When the timer times out its timeout relay is set to ON The timer is reset at the falling edge of the timer input and the current value returns to the set value X00301 Y00603 T0001 TIM T0001 3s X00502...

Page 23: ...o OFF When the input condition is set to ON again the timer starts counting from the maintained values When the input condition is set to OFF after the continuous timer times out the timer is reset th...

Page 24: ...01 Current value C0001 Count up relay C0001 Count input X00502 Reset input Count input Data Register D Data registers are memory which store computation results of the program and one point consists o...

Page 25: ...n on a 16 bit or 32 bit basis using application instructions X00502 1 B0001 MOV X00503 B0001 D0001 MOV Index Register V Index registers are used for performing index modification for devices The value...

Page 26: ...program design by tag names Programs can be created before terminals are allocated Up to 70 000 tag names and I O comments in multiple blocks and component macros can be collectively managed Individu...

Page 27: ...Provides information on the use and operation of instructions Provides function overviews with usage information Provides possible causes of errors and troubleshooting tips Keywords facilitate high sp...

Page 28: ...ironment always log in as the system administrator before installing maintaining or removing the WideField2 software Users without administrator access rights are not allowed to install maintain or re...

Page 29: ...ems CAUTION Exit from all other applications such as a virus checking program and IME before installing the software Procedure 1 Insert the product CD ROM into the CD ROM drive 2 Move to the root fold...

Page 30: ...Next The License Agreement dialog box opens 5 Click Yes The Customer Information dialog box will be displayed TIP The license agreement document is also provided with the product Click Yes only if you...

Page 31: ...ov 1 2002 00 6 Enter the Serial Number and click Next The Choose Destination Location dialog box is displayed TIP The Serial Number is given on the registration card provided with the product 7 Select...

Page 32: ...the components you wish to install and click Next Installation begins TIP The components available for installation include the WideField2 program files the sample program files and the instruction ma...

Page 33: ...Access Rights Yes button Adds to folder security the right for restricted users to access the folder and allows restricted users to continue with installation No button Continues installation without...

Page 34: ...user Procedure 1 Insert the product CD ROM into the CD ROM drive 2 Move to the root folder on the CD ROM using the Explorer or other means 3 Select SETUP EXE from the files listed The InstallShield wi...

Page 35: ...2 Installing FA M3 Programming Tool WideField2 SF620 ECW 2 10 TI 34M6A82 01E 2nd Edition Nov 1 2002 00 6 Click Finish...

Page 36: ...Edition Nov 1 2002 00 2 2 3 Starting WideField2 This section describes how to start the WideField2 software Procedure 1 Select Programs WideField2 WideField2 from the Start menu WideField2 runs CAUTIO...

Page 37: ...tle bar displays the name of the open project the name of the active window and the name of the file being edited Figure Layout of Title Bar Menu Bar The menu bar displays names of menus which are ava...

Page 38: ...for instructions and comments You can create a circuit by selecting instructions from the instruction palette To switch between showing and hiding the instruction palette use View Instruction Palette...

Page 39: ...nvoke this window double click the icon for a CPU Type e g F3SP58 6H in the project window Define Program Components dialog box To invoke this window double click Component Definition in the project w...

Page 40: ...Log Message on the Define Program Components dialog box has been previously set to Yes User Log Message will be displayed in the project window Double clicking User Log Message invokes the User Log Me...

Page 41: ...ne file having the same name as the project can be created within a project Number of message characters Up to 32 alphanumeric characters and special characters User log message file YUMS Number of me...

Page 42: ...Name Up to 8 alphanumeric characters beginning with a letter String may also include special characters hyphen and _ underscore Sampling Trace Setup File YTST File Name Up to 254 characters The chara...

Page 43: ...Structure Separator Period Number of lines in 1 Circuit Up to 25 lines Number of Instructions in 1 Circuit Up to 128 instructions Continuation lines Up to 3 continuation lines per line Circuit Number...

Page 44: ...ame name as the project with different extensions as follows Project file YPJT Executable program file YPRG Configuration file YC where is the numeric digit portions of the CPU model User log message...

Page 45: ...file and select the Open button 4 Select File New 5 On the New screen select block enter TIMER1 in the file name field and click the OK button TIP A macro is a sequence of instructions that are defin...

Page 46: ...A M3 The settings are reflected as soon as you connect to the FA M3 Procedure for Setting Up Communication 1 Select Tool Setup Environment and click the Setup Communication tab The following screen wi...

Page 47: ...ny changes When an RS 232C via modem is used set only the timeout for ENQ ACK communication and the number of retries 3 Perform the following setting for an Ethernet connection Setting for the remote...

Page 48: ...struction palette using the mouse click on the desired input location and then enter the parameter s in the parameter field s 2 Using function keys Move the cursor to the desired input location select...

Page 49: ...line you wish to delete to the ending position 2 Using function keys Entering a vertical connection line Press the vertical connection line function key F8 move the vertical line cursor to the input...

Page 50: ...t be substituted for T961 CAUTION For the 3FSP25 CPU module T961 is the start address for the continuous timers For the 3FSP58 CPU module T1921 is the start address for the continuous timers To confir...

Page 51: ...am Components screen for project name TEST1 is displayed 2 Click on TIMER1 displayed in the Block List as shown below to activate it enclose it in a box 3 Check that the block name field for Block Num...

Page 52: ...Download Some macro block is being edited Save first You are in Run or Debug Mode Terminate Download is completed Enter Run mode 2 The TEST1 program is downloaded to the CPU and enters run mode 4 5 4...

Page 53: ...Out Set and Reset instructions It serves no other useful purpose 1 Close the Edit Block window or block monitor window currently displayed 2 Select File New 3 Enter the file name of the block as SETR...

Page 54: ...e block list column and press the Select button See figure below 9 Click OK 10 Select Online Download and download the project 11 Select Online Program Monitor and display the SETRST block monitor 12...

Page 55: ...am and download them 1 Close the Edit Block and Block Monitor window currently displayed 2 Select Project Define Program Components 3 Register the TIMER1 and SETRST blocks as shown below and click OK...

Page 56: ...supply module 001 002 003 004 005 006 007 008 009 SP25 AD04 DA02 XD32 YD32 CPU module A D module D A module DC Input module TR output module Training kit specifications 12VDC data input 16 toggle swi...

Page 57: ...shows an example for accessing terminal number 1 of a 32 point DC input module The physical address of an input output relay is represented by one alphabetic character and five numeric digits The rela...

Page 58: ...6 8 X00808 07 9 X00809 08 10 X00810 09 11 X00811 10 12 X00812 11 13 X00813 12 14 X00814 13 15 X00815 14 16 X00816 15 17 X00817 Rotary 18 X00818 binary switch 19 X00819 for 1st digit 20 X00820 21 X0082...

Page 59: ...Y00905 04 6 Y00906 05 7 Y00907 06 8 Y00908 07 9 Y00909 08 10 Y00910 09 11 Y00911 10 12 Y00912 11 13 Y00913 12 14 Y00914 13 15 Y00915 14 16 Y00916 15 17 Y00917 7 segment 18 Y00918 indicator 19 Y00919 f...

Page 60: ...01 to ON an output indicator Y00901 is turned on Even when you set this input switch X00801 to OFF the output indicator remains on When you set another input switch X00802 to ON the output indicator Y...

Page 61: ...Nov 1 2002 00 Creating a New Block DEMO1 1 Select File New and enter DEMO1 as the file name of the block 2 Close the Local Device Properties screen 3 Create the circuit shown in the following diagram...

Page 62: ...wn in the figure below 5 Edit Delete a circuit comment Move the position cursor to the circuit comment and press the ENTER key Modify the comment and press the ENTER key Double click the circuit comme...

Page 63: ...you wish to enter an I O comment press the Ctrl F8 keys and enter the comment Alternatively you can also select Edit Ladder Symbol I O Comment Enter Startup SW as I O comment to X00801 as shown below...

Page 64: ...mpty Line Selecting Lines Lines must be selected for line operations copy move delete They can be selected using the mouse or the keyboard To select lines using the mouse change the mouse cursor into...

Page 65: ...in line units The circuit comments and subcomments are also deleted Figure Deleting Lines Procedure for Deleting Lines 1 Select the line s 2 Select Edit Delete Line or press the Delete key The follow...

Page 66: ...are uncertain whether the lines should be deleted or not Circuit comments and sub comments are also deleted temporarily Figure Deleting Temporarily 1 Select the line s 2 Select Edit Temporary Delete...

Page 67: ...from the screen The move function is activated 3 Bring the position cursor to the place for inserting the lines To copy and paste to another screen bring the position cursor to the paste position on...

Page 68: ...ling an Operation You can undo the previous operation You can recover an instruction or comment you have just deleted using the Delete key The entered instruction reverts to its status prior to deleti...

Page 69: ...the instruction is overwritten 2 Select Edit Undo 3 The timer instruction is recovered CAUTION Operations can be cancelled only when the input deleted line is in the screen area Once you scroll the s...

Page 70: ...nd select Edit Hide Circuit The circuits up to the next circuit comment are hidden The circuit comment is highlighted 2 Show Circuit Bring the position cursor to the hidden circuit comment and select...

Page 71: ...e program JISYU1 1 Select Project Define Program Components 2 Enter DEMO1 into block number 1 using the Select button 3 Click the OK button to save the changes 5 2 4 Downloading and Monitoring a Block...

Page 72: ...2 In Exercise 2 you use tag names to design circuits instead of using physical addresses When designing circuits copy the ladder diagram you created in DEMO 1 and modify it by adding devices When you...

Page 73: ...displayed 2 Select File New enter DEMO2 and click OK 3 In the Local Device Properties screen enter a title of you choice in the title field select 1 for the number of timers and counters respectively...

Page 74: ...cal file register T00001 Local timer C00001 Local counter Addresses of local devices range from 1 to the number of local devices defined for each block For example if 32 internal relays I are allocate...

Page 75: ...circuit Do you want to continue is displayed Click Yes 3 On the Read Circuit screen turn on the Reads global device checkbox and click OK 4 The addresses used in DEMO2 block are displayed 5 Define the...

Page 76: ...er definable color Tag names yet to be assigned with physical addresses are displayed in blue 2 Select File Save 3 Select Edit Block Tag Name Definition 4 Click Functions Read Circuit with the Reads g...

Page 77: ...evice type The Number of Devices Currently Registered column displays the total number of local devices used in all blocks in the project Taking this into consideration set a starting number so that a...

Page 78: ...splay Format To change the display format of the details screen to hexadecimal select View Display Format Hexadecimal You can also select string or floating point display formats 3 Switching between T...

Page 79: ...e FA M3 connected select Online Device Monitor The Device Type sub menu appears Figure Device Type Sub menu 2 From the Device Type sub menu select the device for monitor display The monitor screen for...

Page 80: ...tes whether the I O device is used or not used by the program Figure I O Configuration Screen 4 If Local Device is selected the following dialog box appears Select the block or macro of the local devi...

Page 81: ...e forced set reset The forced set reset can be carried out on the program monitor or the device monitor screens Devices that can be Forced Set Reset Devices that can be forced set reset are as follows...

Page 82: ...e device at the position cursor Selecting Cancel All Forced Set Reset releases all devices regardless of the location of the position cursor Changing the Preset Value of a Timer Counter 1 First bring...

Page 83: ...DEMO1 If X00803 is set to ON the program stops DEMO1 and starts DEMO2 The CPU reads four input voltages through channels 1 4 of the analog input module in slot 5 and constantly outputs a value of 200...

Page 84: ...ion Slot number where the analog input module is installed Data position number of analog input value in channel 1 First device number for storing the read data Number of data values to be read The ab...

Page 85: ...vices Operation Control Setup Data Register Initial Data Setup DIO Setup FA Link Sampling Trace Setup Communication Setup ROM Setup Interrupt only available for F3SP28 38 53 58 and 59 Setup Shared Ref...

Page 86: ...thod Comments Capacities of Internal Relay I and Data Register D Set using the keys or the spin buttons Capacities of Timer T and Counter C Set using the keys or the spin buttons The starting number a...

Page 87: ...4 4 Defining Program Components and Downloading Figure Power Failure Local Tab Table Input Items for Setting Device Extensions Setting Item Setting Method Comments Setup Data Lock up Range at Power F...

Page 88: ...Run or Stop radio buttons Program Execution Mode Click on the All Blocks or Specified Blocks radio button Scan Monitoring Time Set the time using keyboard input Momentary Power Failure Detection Mode...

Page 89: ...are instructions for starting and stopping a block To use these instructions in a program the program execution mode on the Operation Control tab in the configuration should be set to Specified Block...

Page 90: ...will be started 3 Confirm that Configuration is set to Setup and click OK 4 Select Project Configuration and click the Power Failure Local tab 5 Set the starting number for the four data registers use...

Page 91: ...t DEMO3 in the Select Block Run Block Monitor window and start active status 1 or stop active status 0 the block by selecting Debug Maintenance Start Block or Stop Block The ACT INACT instructions of...

Page 92: ...you are monitoring so that the actual content of the block and the content displayed in the monitor is no longer the same online editing cannot be started In this case close and reopen the monitor win...

Page 93: ...s displayed 5 Delete 2000 enter D1 and click OK 6 Select Debug Maintenance Exit Online Editing 7 Click Yes to write the changes to the CPU 8 Change the input voltage 0 5V and check that the needle of...

Page 94: ...System Log The FA M3 stores events such as errors and power on along with time information in the CPU You can use this function to display save to file or print the system log Display User Log By exe...

Page 95: ...number Instruction number where the alarm was generated or the module slot number where the I O error occurred Displaying the Alarm Display Screen 1 While connected to the FA M3 select Debug Maintena...

Page 96: ...not read Program is protected or hardware failure Momentary power failure 02 0000 Momentary stop occurred Inter CPU communication error 03 0000 Hardware failure Replace the hardware 04 2101 Invalid in...

Page 97: ...b unit power supply Check the optical FA bus or the optical FA bus 2 cables Sub unit transmitter switching has occurred 13 0000 Transmitter cable breakage in loop connected remote I O system Replace t...

Page 98: ...th the oldest data and stores new data Display System Log Screen Layout Figure Display System Log Screen Date time The date and time of logging is displayed as yyyy mm dd hh mm ss Message Log messages...

Page 99: ...change to Redisplay System Log 2 Selecting Debug Maintenance Redisplay System Log will read the most recent system log from the CPU and redisplay it Saving the System Log File 1 With the system log di...

Page 100: ...file to be read from the displayed list of log files and then click the Open button 3 The contents of the specified log file will be displayed Clearing the System Log This clears the system log store...

Page 101: ...orrect Correct the FA link setting Program error Program is incorrect Replace the hardware Instruction error Error occurred during instruction execution Modify the program Subroutine error Subroutine...

Page 102: ...ieces of user log data can be recorded per CPU The date and time of generation the main code 1 word and the sub code 1 word are recorded as user log data You can store up to 64 messages corresponding...

Page 103: ...6 Maintenance Functions 6 10 TI 34M6A82 01E 2nd Edition Nov 1 2002 00 Defining User Log Message 1 Select Project User Log Message 2 Enter the messages for main code 1 and main code 2 as shown below...

Page 104: ...the block list in the project window 2 Add the User Log Save instruction shown below and save the file TIP Meaning of instruction operands ULOG S1 S2 S1 Main Code Describes the main code 1 64 represe...

Page 105: ...oad the program 4 Turn off X802 turn on X801 and then turn if off again 5 Turn on X802 and then turn if off again Displaying the Display User Log Screen 1 Select Debug Maintenance Display User Log whi...

Page 106: ...e file name in the File Name field and click the Save button 3 The user log will be saved with file extension yulg Reading from a User Log File This reads the user log saved to a file 1 Select File Op...

Page 107: ...Log This clears the user log stored in the CPU 1 With the Display User Log screen open select Debug Maintenance Clear Log Figure Clear User Log Confirmation Dialog 2 Selecting Yes will clear the user...

Page 108: ...guration settings Contents of programs in each block Compares instructions devices and labels in 1 circuit units User log messages Number of registered user log messages and their contents Position of...

Page 109: ...e comparison first uploads a program and then compares it Selecting the Cancel button will stop the compare Processing Status Figure Compare Dialog Box 3 If no discrepancies were found as a result of...

Page 110: ...pling trace function is used for storing states and contents of specified devices sequentially in the sampling trace memory of the CPU only for F3SP25 and higher models The tracing results can be disp...

Page 111: ...cted when power is turned off By setting up sampling trace to sample devices when a user system generates an error you can save device statuses before and after an error Offline sampling trace setup c...

Page 112: ...ecuted You can sample data of a specified contact at any point during a scan using the TRC instruction in a program When the END instruction is executed You can sample data of a specified contact at t...

Page 113: ...oint by specifying a delay count There are two ways to specify a delay count Specifying a negative delay count Specifying a positive delay count 1 Specifying a negative delay count When you specify a...

Page 114: ...ems following the specified number of data items collected after a trigger condition is established are stored in the sampling trace buffer The following illustration shows an example when you specify...

Page 115: ...YU1 and enter online mode with WideField2 2 Select Tool Sampling Trace to display the SmpTrace screen 3 Select Online Sampling Trace Setup 4 Enter data as shown below When specifying tag names or loca...

Page 116: ...r Trigger is replaced with End of Tracing 5 Select Online Sampling Trace Result 6 The Trace Results window is displayed as shown below 7 To save the results select File Save As To open the saved file...

Page 117: ...blocks 1 to 32 are M0001 to M0032 and M2001 to M2032 M0001 to M0032 and M2001 to M2032 have identical values and those for blocks 33 to 1024 are M2033 to M3024 CAUTION Do not write to special relays t...

Page 118: ...ck 0 1 s 0 1 s Generates a 0 2 sec clock M040 1 sec clock 0 5 s 0 5 s Generates a 1 sec clock M041 2 sec clock 1 s 1 s Generates a 2 sec clock M042 1 min clock 30 s 30 s Generates a 1 min clock M047 1...

Page 119: ...Indicates whether the system runs from ROM or RAM M136 Run at power on flag ON Runs at power on OFF Others Indicates that the system has entered the Run mode when the power is turned on or reset M137...

Page 120: ...Error OFF Normal operation Indicates that the CPU cannot access an input output module The slot number of the corresponding module is loaded into special registers Z33 Z40 M204 Scan timeout ON Error...

Page 121: ...EE ALSO For more information refer to the special relay special register section in the FA Link FA Link H Optical FA Link H Module Instruction Manual IM34M5H43 01E Table FA Link Module Status Item FA...

Page 122: ...st scan time Stores the latest scan time on a 100 s basis Tolerance Scan time for one control process Z008 Minimum peripheral processing scan time Minimum scan time Stores the latest scan time on a 10...

Page 123: ...I O error If an I O error occurs in a slot the slot number is stored as a bit pattern in any of these registers Z033 Main unit Z034 Subunit 1 Z035 Subunit 2 Z036 Subunit 3 Z037 Subunit 4 Z038 Subunit...

Page 124: ...ample 10ms is stored as 100 Z057 Constant scan time Constant scan time value Stores value in units of 1 ms For example 10ms is stored as 10 Z058 Scan time monitoring time Scan time monitoring time val...

Page 125: ...FA link Unit 1ms Z262 Local station status 0 During initialization 1 Offline 2 Online System 4 FA link Z263 Cyclic transfer time System 4 FA link Unit 1ms Z267 Local station status 0 During initializ...

Page 126: ...the output refresh Unit 10 s Z111 1 Sensor control block maximum execution time Maximum sensor control block execution time Unit 10 s Z121 to Z128 2 CPU type information CPU type code and firmware rev...

Reviews: