background image

Cat. No. W366-E1-10

CX-Simulator Ver. 1.9

SYSMAC
WS02-SIMC1-E

OPERATION MANUAL

Summary of Contents for CX-Simulator 1.9

Page 1: ...Cat No W366 E1 10 CX Simulator Ver 1 9 SYSMAC WS02 SIMC1 E OPERATION MANUAL...

Page 2: ......

Page 3: ...SYSMAC WS02 SIMC1 E CX Simulator Ver 1 9 Operation Manual Revised December 2009...

Page 4: ...h appears in some displays and on some OMRON products often means word and is abbreviated Wd in documentation in this sense In this manual PLC is used as the abbreviation for Programmable Controller V...

Page 5: ...e However data of more than 50 words can be acquired WindowsMe 2000 Supported Serial Number Entry on Installing Added Version 1 2 The following functions have been added to the CX Simulator with the u...

Page 6: ...ter going online program transfer to the CX Simulator can be started immediately Windows XP Supported Version 1 4 The following functions have been added to the CX Simulator with the upgrade from Vers...

Page 7: ...ettings Tab is a PLC setting specific to the OMRON FB library Therefore this setting is disabled when using CX Simulator version 1 5 Free Running Timers in Auxiliary Area words A000 and A001 are disab...

Page 8: ...or when it starts Connecting the CX Simulator to virtual PT screens Automatically executed Refer to the operation manual for CX Designer version 2 0 or higher for de tails Version 1 8 The changes that...

Page 9: ...have been made from version 1 9 to version 1 94 of the CX Simulator to enable support of new functions are explained here Support for Windows 7 Note This upgrade accompanies the upgrade of CX One ver...

Page 10: ...stems begins at version 2 0 The unit version of the CS1D CPU Units for Duplex CPU Systems begins at version 1 1 The unit version of the CP1H CP1L CPU Units begins at version 1 0 ex cept for the CP1H Y...

Page 11: ...it Manufacturing Information In the IO Table Window right click and select Unit Manufacturing informa tion CPU Unit The following Unit Manufacturing information Dialog Box will be displayed Unit versi...

Page 12: ...nameplate Meaning CPU Units on which no unit version is given Lot No XXXXXX XXXX OMRON Corporation MADE IN JAPAN Units on which a version is given Ver Lot No XXXXXX XXXX Ver OMRON Corporation MADE IN...

Page 13: ...n 4 0 Unit version 3 0 Unit version 2 0 CJ1 H CPU Units CJ1 CPU H CJ1 CPU P Pre Ver 2 0 Unit version 4 0 Unit version 3 0 Unit version 2 0 CJ1M CPU12 13 CJ1M CPU22 23 Pre Ver 2 0 Unit version 4 0 Unit...

Page 14: ...nctions added for unit version 4 0 and supported by the CX Programmer CX Programmer version 7 0 or higher and CX Simulator version 1 7 or higher are required to use these functions Additional function...

Page 15: ...ns on the CX Simulator OK Input output variables in function blocks OK Text strings in function blocks OK Number Text String Conversion Instructions NUM4 NUM8 NUM16 STR4 STR8 and STR16 OK New applicat...

Page 16: ...instructions GETID 286 OK Additional in struction func tions TXD 235 and RXD 236 instructions support no protocol communications with Serial Commu nications Boards with unit version 1 2 or later OK CS...

Page 17: ...CPU Units via Networks OK Online Network Connections without I O Ta bles OK Communications through a Maximum of 8 Network Levels OK Connecting Online to PLCs via NS series PTs OK OK from lot number 0...

Page 18: ...mproved Read Protection Using Passwords OK Write Protection from FINS Commands Sent to CPU Units via Networks OK Online Network Connections without I O Tables OK Communications through a Maximum of 8...

Page 19: ...Levels OK OK OK Connecting Online to PLCs via NS series PTs OK OK from lot number 030201 OK OK from lot number 030201 OK Setting First Slot Words OK for up to 64 groups OK for up to 8 groups OK for u...

Page 20: ...0 CX Programmer version 6 20 or higher is required to use CP1H Y with unit version 1 1 CPU Unit CP1H CPU Unit Model CP1H X CP1H XA See note 1 CP1H Y See note 2 Unit version Function Ver 1 1 or later...

Page 21: ...s OK OK OK OK CS1D CPU Units for Du plex CPU Systems unit version 1 Functions added for unit version 1 1 Not using new functions OK OK OK OK OK Note 1 As shown above there is no need to upgrade the CX...

Page 22: ...H CPU H CS1H H CS1D CPU Units for Duplex CPU Systems CS1D CPU H CS1D H or CS1H H CS Series CS1D CPU Units for Single CPU Systems CS1D CPU S CS1D S CJ2 CPU Units CJ2H CPU6 EIP CJ2H CJ1G CPU H CJ1G CPU...

Page 23: ...e to a CPU Unit with a later unit version An attempt was to download a PLC Setup containing settings supported only by later unit ver sions or a CPU Unit to a previous unit version Check the settings...

Page 24: ...xxv...

Page 25: ...g Methods for the CX Simulator 38 3 2 Starting and Going Online from the CX Programmer 39 3 3 Starting and Exiting from CX Simulator Menus 42 3 4 Outline of Operation Procedure 44 3 5 Creating a New P...

Page 26: ...rams 151 SECTION 8 DEBUGGING USING VIRTUAL EXTERNAL INPUTS 157 8 1 Outline of Virtual External Input Function 158 8 2 Debugging Using Virtual External Inputs 159 8 3 Generating Virtual External Inputs...

Page 27: ...leshoot ing Use this manual together with the CJ2 CPU Unit Software User s Manual W473 CJ Series CJ2 CPU Unit Software User s Manual CJ2H CPU6 EIP CJ2H CPU6 W473 Provides the following information on...

Page 28: ...SYSMAC CS CJ Series Programming Manual W394 and NS V1 V2 Series Setup Manual V083 CP1H X CP1H XA CP1H Y SYSMAC CP Series CP1H CPU Unit Operation Manual W450 To learn the basic specifi cations of the...

Page 29: ...ebug user programs Section 5 describes how to debug Serial Communications functions Section 6 describes how to debug Network Communications functions Section 7 describes how to connect with applicatio...

Page 30: ...xxxi...

Page 31: ...above warranty period OMRON will re place the defective media without charge If OMRON is unable to replace the defective media or correct the Software the liability of OMRON and the User s remedy shal...

Page 32: ...xxxiii Application Considerations SUITABILITY FOR USE THE USER SHALL NOT USE THE SOFTWARE FOR A PURPOSE THAT IS NOT DESCRIBED IN THE ATTACHED USER MANUAL...

Page 33: ...other reasons EXTENT OF SERVICE The license fee of the Software does not include service costs such as dispatching technical staff ERRORS AND OMISSIONS The information in this manual has been careful...

Page 34: ...ode Monitor indicates select Operation Mode from the PLC menu and then select Monitor Select System Status Settings UM Setting indicates select the Settings button from the System Status window and th...

Page 35: ...xxxvi...

Page 36: ...ained in this section is important for the safe and reliable application of the Programmable Controller You must read this section and understand the information contained before attempting to set up...

Page 37: ...this manual close at hand for reference during operation WARNING It is extremely important that a PLC and all PLC Units be used for the speci fied purpose and under the specified conditions especially...

Page 38: ...or is con nected online with the CX Programmer or other applications When the CX Simulator is disabled or not connected to the Simulator the actual sys tem may be activated Confirm the destination is...

Page 39: ......

Page 40: ...Functions 13 1 4 Applicable PLC models and Computers 14 1 4 1 Applicable PLC models 14 1 4 2 Computer 15 1 5 Operation List Arranged by Purpose 16 1 5 1 Setting Operation Environment 16 1 5 2 Program...

Page 41: ...PLC 3 Emulation for units other than network communications units and Serial Communications Boards Units is not available They are registered only for calculating the I O refresh time and peripheral s...

Page 42: ...S CJ CP Series Actual external I O CX Programmer User program CX Simulator CX Programmer User program Debugging program Various input data generation tools External inputs generation Virtual Units Vir...

Page 43: ...adder Engine with FinsGateway ver sion 2 or higher Two types are available Virtual Controller Link Unit and Virtual Ethernet Unit The CX Programmer also performs FINS communications with the Lad der E...

Page 44: ...l Ex ternal Input Tool Multipoint Data Collec tion Tool Possible to acquire trace data of more than 50 words from an actual PLC and to input to the Ladder Engine using the Data Replay Tool For network...

Page 45: ...cations Unit Inner Board Virtual Inner Board No opera tions 1 Registered for calcu lating I O refresh time and periph eral servic ing time 1 Exclud ing Serial Communi cations Board System configuratio...

Page 46: ...ion Con troller Link Unit Ethernet Unit and Serial Communications Board Unit performs virtual operation Peripheral ser vicing Available None Only for cycle time calculation Con troller Link Unit Ether...

Page 47: ...System NT Link or No protocol Operation of each unit Other units Available None Force set reset Available Available Differential monitor Available Available Data trace Available Available Change set...

Page 48: ...e it as a tentative time for operation on the actual PLC Dedicated debugging function Adding dedicated debugging functions to the CX Simulator enables more detailed debugging than that of CX Programme...

Page 49: ...ated to serial communications Debugging network communications possible The CX Simulator can debug network communications by send receive of FINS commands to application programs in the computer or th...

Page 50: ...entative commu nications target Receive external FINS com mands possible The CX Simulator can receive external FINS commands from external net worked computers or actual PLCs Display FINS send mes sag...

Page 51: ...s inputs to the Ladder Engine using the data replay function Replay inputs using the data reply file Replay data of the data reply file a CSV format text file as inputs to ladder engine The data repla...

Page 52: ...developing a monitoring program or a data collection program on the computer debugging communications functions was done with the actual PLC connected If the CX Simulator is used together on the othe...

Page 53: ...NSJ5 TQ0 M3D NSJ5 SQ0 M3D and NSJ8 TV0 M3D Note 1 In this manual always assume that CS CJ series PLC also implies CP series PLCs unless otherwise specified When performing simula tions for a CP series...

Page 54: ...the installation procedure for the CX One Cat No Model Manual name Contents W463 CXONE AL C V4 AL D V4 CX One Setup Manual An overview of the CX One FA Integrated Tool Package and the CX One installat...

Page 55: ...p Run button Pause the program execution Debug Console Pause button Stop the program Debug Console Stop button Repeat scan from the beginning Debug Console Scan Replay button Reset Debug Console Reset...

Page 56: ...rameters System Status Set Double click the unit used for network com munications Change the node number of the network communications unit In the above operation change the value of FINS node address...

Page 57: ...ies PLC Required vs CX Simulator Own settings required In CS CJ series PLCs word allocation does not de pend only on slot position and it is not necessary to allocate words to an empty slot If a Unit...

Page 58: ...t Auxiliary Relay Area AR Auxiliary Area A 000 to A 959 For CJ2 series PLCs A 000 to A 1471 and A 10000 to A 11535 Same as shown at left Refer to 9 3 I O Memory Alloca tion for details DM Area DM Area...

Page 59: ...Alloca tion Instruction variations Up differentiation Available Same as shown at left Down differentiation Available for LD AND OR RSET and SET Same as shown at left Immediate refreshing Available for...

Page 60: ...Subroutines Equivalent Interrupt Control Equivalent Step Equivalent Basic I O Unit IORF IORD IOWR TKY HKY 7SEG and DSW available Nothing is executed for the IORF IORD or IOWR instructions Serial Comm...

Page 61: ...ice or the DATE 735 instruction Adjusted to the clock of the com puter when the CX Simulator is started I O Memory Any range of I O Memory can be saved as a file in a Memory Card flash ROM or EM file...

Page 62: ...7 600 115 200 bps are not standard for RS 232C Same as shown at left The actual speed will vary de pending on the hardware of the computer Network communications timing Performed as peripheral servici...

Page 63: ...Comparison of the CX Simulator and SYSMAC CS CJ series PLCs Section 1 6 24...

Page 64: ...TION 2 Setup 2 1 Installing and Uninstalling the Software 26 2 1 1 Required Software 26 2 1 2 Preparations 26 2 1 3 Precautions 27 2 1 4 Installing the CX Simulator 28 2 1 5 Uninstalling the CX Simula...

Page 65: ...CD ROM always uninstall the CX Simulator using the following procedure before installing it from its individual CD ROM The CX Simulator will not operate properly if it is installed without first unins...

Page 66: ...CX Server is uninstalled from the control panel it may no longer be possible to use certain Units Do not uninstall the CX Server Driver Management Tool or the CX Server from the control panel 2 1 3 Pr...

Page 67: ...t Explorer version 5 0 or higher must be installed in advance to use the CX Server Installer Install Internet Explorer version 5 0 in advance if it is not already installed 2 1 4 Installing the CX Sim...

Page 68: ...utton 4 The License Agreement Dialog Box will be displayed Read the license agreement completely and if you accept all of the terms select the I accept the terms of the license agreement Option and cl...

Page 69: ...egistered in the computer will be entered for the user name and company name Enter the license number and click the Next Button The license number is given on the Software License Registration Card pr...

Page 70: ...nd receives FINS com mands via Controller Link or Ethernet from another computer In this case however a virtual communications unit for FinsGateway must be installed in advance Note Even with one of t...

Page 71: ...of the Start menu Then click the Next Button 9 The Ready to Install the Program Dialog Box will be displayed Click the Install Button The installation will be initiated by the installation program To...

Page 72: ...isplayed when the installation is com plete Click the Finish Button If it is necessary to restart the computer the following dialog box will be displayed Click the Finish Button If a check mark has be...

Page 73: ...lator from a computer 1 2 3 1 Select Start Settings Control Panel Add Remove Applications 2 Select CX Simulator from the dialog box 3 Click the Change Remove Button This is called Add Remove Programs...

Page 74: ...Installing and Uninstalling the Software Section 2 1 35 5 When the uninstallation is complete the following dialog box will be dis played Click the Finish Button...

Page 75: ...Installing and Uninstalling the Software Section 2 1 36...

Page 76: ...3 5 2 Open Existing PLC 55 3 5 3 Folder Used in CX Simulator 56 3 6 Each Part of the Windows 58 3 6 1 Basic Windows Arrangement 58 3 6 2 Basic Windows Transition 59 3 7 System Status Setting Window 6...

Page 77: ...s will be performed Used when a PLC data directory will be specified and UM or I O memory data saved or read Select PLC Supported Automatically selected according to CX Programmer project PLC Unit Reg...

Page 78: ...Simulator The procedure used to start the CX Simulator from the CX Programmer and create an online connection is described below The CX Programmer version 3 0 or higher must be installed on the compu...

Page 79: ...e CX Programmer the following Debug Console window will be displayed for the CX Simulator Name Function Title bar The title is displayed along with the current cycle count The cycle count will be disp...

Page 80: ...imulator dialog box will return to the task tray The CX Simulator will automatically return to PROGRAM mode The CX Simulator dialog box will be restored to the original position if PLC Simulator Onlin...

Page 81: ...a computer s serial port When performing communications via a FinsGateway network When specifying a PLC data directory and saving or reading UM or I O memory data for the Ladder Engine 3 3 1 Starting...

Page 82: ...5 When completing inputting parameters the Ladder Engine will be started up and each window for the Debugger s connection to the CX Simulator the Debug Console and the System Status Setting will be d...

Page 83: ...Run Either turning the mode of the Ladder Engine to MONITOR by the CX Programmer or pressing the Continuous Run button of the Debug Console leads to a trial run Refer to the CX Programmer Operation M...

Page 84: ...heck the results of the virtual run by the time chart monitor or spreadsheet software Refer to 8 5 Checking the Result 7 Switching to the actual PLC Disconnect the Simulator and check the program agai...

Page 85: ...f the Ladder Engine displayed in the Connection Guidance Refer to 3 8 Connecting to the CX Programmer Version 2 1 or Lower 6 CX Programmer Communications Setting Set the communications setting for the...

Page 86: ...nged to check the interrupt operation Refer to 4 4 Task Debugging 10 5 Serial Network Communications Display the contents of serial network communications to debug with actual communications Refer to...

Page 87: ...me the PLC CPU model and others must be set in the Create a new PLC The following shows the procedure for Create a new PLC in the PLC setup wizard Note When setting the PLC CPU model in Create a new P...

Page 88: ...g the OK button will display the PLC Data folder Settings window Here input the name of the new PLC data folder Selecting the folder is also possible by clicking the Browse button PLC Data Folder Sett...

Page 89: ...he Ladder Engine to perform network communications with external devices At least one virtual network communications unit one of Controller Link unit Ethernet unit or simulator communications unit is...

Page 90: ...ge the Unit number Note Set the Unit numbers so as not to overlap each other Register the Units for the number actually to be used Mismatching number will cause incorrect calcu lation of the I O refre...

Page 91: ...communications settings are explained in 6 Debugging Network Communications 8 Click the OK button Exit the Register Network Communications window and return to the Network communications settings win...

Page 92: ...l Port Settings window shown below 11 Set Comm Settings COM port name and Enable COM port log as re quired Note The detail of Serial Port Settings will be explained in 5 Debugging Serial Communication...

Page 93: ...X Simulator CX Simulator Debug Console and Status will be displayed The Work CX Simulator window The Ladder Engine of the Simulator will be connected to the CX Programmer The CX Simulator Debug Consol...

Page 94: ...Sys tem Status Setting when starting the CX Simulator will display the Select PLC dialog box 2 Select Open an existing PLC and specify the folder Recently used PLC data folders are selected from the l...

Page 95: ...ng information peculiar to the created PLC and file memories able to be accessed by the PLC Contents of the PLC data folder are as follows PLC Data folder PLC model setting file PLC ini Break conditio...

Page 96: ...nds to CS CJ CP series CPU Unit file memory function which is fixedly allocated for each file system Name Root Folder Name Note PLC file memory Memory card CARD No limited capacity following the capac...

Page 97: ...ow and the System Status Setting window The CX Simulator Debug Console window executes operation for the Ladder Engine The System Status Setting window displays the status of the Ladder Engine and set...

Page 98: ...C selection PLC setting wizard PLC unit registration Network communications setting Network communi cations registration Serial communications setting Serial port setting Time related PLC opera tion s...

Page 99: ...ay network communications set Serial communications set and others Transition of System Status Setting Window System Status Setting Outline display mode Detail display mode Setting PLC selection PLC s...

Page 100: ...f the Ladder Engine UM Settings Display Display the UM area able to be accessed by the Ladder Engine and the object name Setting Menu Display button Display the setting menu Message Display button Dis...

Page 101: ...ite Other than the above Green Starting Communications Unit NETWORK white Other than the above Setting Menu Pressing the Settings Menu button displays the setting menu Name Function Select PLC Create...

Page 102: ...splay the values of present minimum maximum and average recent 8 times virtual cycle times unit ms Virtual Ladder Diagram Exe cution Time Display the present value of the virtual execution time only f...

Page 103: ...ils Serial Communications Setting Set for the Serial communications Unit Refer to 5 2 Serial Communications Settings for details UM Setting Change the UM setting PLC Clock Setting Set the cycle time m...

Page 104: ...ncel button will return to the Register PLC Unit window Note Restarting the Ladder Engine will clear the I O memory areas according to the PLC Setup and read the Autoexec file automatically 3 7 4 UM S...

Page 105: ...editing online by the CX Programmer UM Execution Enable Set whether to execute programs on the UM enable or not Disabling both of UM1 and UM2 simultaneously is not possible OK Save the current settin...

Page 106: ...ally estimated cycle time in the actual PLC Simulated Cycle Time The elapsed time in the actual computer Scan interval Specify the execution interval for Continuous step run and Continuous scan run in...

Page 107: ...Disable the watchdog timer WDT The Watch Cycle Time in the PLC Setup and the WDT instruction setting are disabled When disabled a CPU error will not occur even if the cycle time exceeds the setting DI...

Page 108: ...ox will be displayed before initialization Yes Initialize the following I O memory areas CIO W DM EM No Close the dialog box without initializing the memory 3 Clicking the OK button will initialize th...

Page 109: ...struction Data length Send data RXD 235 Occurrence time cycle counter Instruction STUP 237 Occurrence time cycle counter Instruction Data length Setting data Note If a non display character is include...

Page 110: ...procedure for connecting the CX Programmer ver sion 2 1 or lower with the CPU Unit in the Ladder Engine of the CX Simulator Application programs other than the CX Programmer can be connected in the s...

Page 111: ...teway Communications Unit to connect the Ladder Engine to the CX Programmer Connecting to the CX Simulator will bring the CX Simulator to the following The FinsGateway Communications Unit is started T...

Page 112: ...CX Simulator Close Exit the window with the present settings Note Correct the Node address of FinsGateway Communications Unit only if it overlaps with the node address of the Network Communications Un...

Page 113: ...o the CX Programmer Double click the PLC name in the Project Tree of the CX Programmer to display the Change PLC window 4 Change the Network Type to the network type selected by the target Communicati...

Page 114: ...onnect operation to fail 2 Do not set items to the local network table when setting the routing table to the CX Simulator The local network table will automatically be changed when Connect is executed...

Page 115: ...and Scan Run for the Ladder Engine are performed Transition of Debug Console Window Debug Console Step run display Task control I O break condition File operation menu Data replay menu I O break cond...

Page 116: ...d during Step Run the program will be executed to its end Continuous Scan Run Execute Scan Run at a fixed interval continuously Scan Replay Return the I O memory status to the one before the scan star...

Page 117: ...work Refer to 3 8 Connecting to the CX Programmer Version 2 1 or Lower for details Console Display Settings Change the display settings of the Debug Console window File Exit system Exit the CX Simulat...

Page 118: ...nus above may grayed out depending on the function selected The gray displayed menu can not be used during the function execution The following explains the basic operation by the menu I O Condition O...

Page 119: ...in the File name box will display the file name Alternatively input the file name of the Save all file Files of type Select the extension to specify the type of file displayed in the File name box Ope...

Page 120: ...this button when the file name and the folder for save are determined Cancel Cancel saving the file and close the dialog box 2 Select a drive and folder for Save all 3 Input a file name in the File n...

Page 121: ...ewer automatically for Alarms will start the Alarm Display program when an alarm occurs Checking Popup a window automatically for Messages will automatically display the Messages window when its conte...

Page 122: ...Close the dialog box to cancel exiting the CX Simulator 2 Clicking the Yes button will display the dialog box for saving the Debugger setting 3 Clicking the Yes button will save the current setting t...

Page 123: ...on FINS address for monitoring I O Condition The FINS address for the Ladder Engine is displayed as the initial value Changing it during the execution is not possible Synchronized Specify whether or n...

Page 124: ...Input the execution file using Browse Start Monitor the I O Condition whose execution flag is D in the set execution file Not selectable if the execution file is not input Stop Stop I O condition mon...

Page 125: ...or not to execute IO Condition D o N on E rror When registering the equation N is set as the initial value If the contents of the condi tional equation and output equation can not be ana lyzed E rror...

Page 126: ...ts set in the Insert Equation insert by Operator button and paste from the clipboard are possible DEL button Delete the contents of Output Equation and button Insert the character string and as a logi...

Page 127: ...nput in the window the current input data will be discarded Save If the file already opened by Open in the File menu exists save the current data to the existing open file If a file is not open this s...

Page 128: ...the output file will be that of the data replay file csv Output template If the data to be monitored into the output file is set to the other data replay file the file can be specified as the output...

Page 129: ...sing Exit Exit the Data Replay Tool forcibly Status Bar Type Display the type of the input data Operation Status Display the operation status of the Data Replay Tool Destination FINS address for Conne...

Page 130: ...file can be selected by browsing Read Read the Command Log settings from the file Save Save the Command Log settings to the file Clear All Clear the filter check for all of the registered items of the...

Page 131: ...dress Specify the FINS node address to be added to the Registration List Specifying will target all of the machine numbers Name Specify the name of the FINS address to be added to the Registration Lis...

Page 132: ...the CX Simulator Keyword Display the Help Index dialog box Return Return to the window displayed just before Print Print the selected topic Help Index Search for the topic in the online help using the...

Page 133: ...the task Instruction Code Mnemonic Display Display instruction codes and operands Break Point Display Display the break points set in the program Executing Point Dis play Display the program address...

Page 134: ...Index Help About Display the version information Content of Pop up Menu Clicking a mnemonic code and right clicking will display the pop up menu Name Function Start point Set Set the start point to t...

Page 135: ...rtup interval Display the time unit ms for the clock interrupt task Task status display For a cyclic task display the execution status Initial Ready Run or Wait For an interrupt task display Run if it...

Page 136: ...p About Display the version information Content of Pop up Menu Clicking the task line and right clicking will display the pop up menu Name Function Execution Mode Turn the selected cyclic task to Exec...

Page 137: ...ST OR item select Select conditions registered in OR LIST with check boxes OR item add Add the conditions set in Register I O Break Condi tion to OR LIST OR LIST OR item delete Delete the selected con...

Page 138: ...dition address See the table below Word condition operator Select from or NOT value change Word condition value Input the value to be compared in binary 0000 to FFFF OK button Register the present I O...

Page 139: ...Area IO 0 to 6143 Work Area W 0 to 511 Holding Are H 0 to 511 Auxiliary Area A 0 to 959 DM Area D 0 to 32767 EM Area E _ E0_0 to E0_32767 and EC_0 to EC_32767 Timer Area TIM T 0 to 4095 Counter Area C...

Page 140: ...Stop 105 4 2 5 Pause 106 4 2 6 Other Operation 106 4 3 Step Run and Break 107 4 3 1 Operations for Step Run 107 4 3 2 Break Setting 107 4 3 3 Break Point 108 4 3 4 Start Point Setting 109 4 3 5 I O Br...

Page 141: ...ible even during a scan when in Step Run Detect a rising falling edge differ ential monitor Differential monitor is possible even during a scan when in Step Run Online Editing Online Editing is possib...

Page 142: ...us Run Step Run Step Run Continuous Step Run Pause Stop Scan Replay Reset Follow the settings Same as the Moni tor mode Changed only by the CX Programmer setting Note The Ladder Engine runs in the Mon...

Page 143: ...start time to the next start time In Continuous Scan Run on the other hand fixes the time from the cycle end time to the next start time Continuous Run Continuous Run repeats a single scan cycle from...

Page 144: ...t the top Continuous Step Run The Continuous Step Run repeats Step Run at a fixed interval 4 2 4 Stop The Stop stops executing the ladder diagram for Continuous Run Scan Run Continuous Scan Run Contin...

Page 145: ...execution status to the first of the scan when pausing The Scan Replay returns all of the status including values changed by the program execution to that of the scan start As long as it is within a...

Page 146: ...art and pauses when set as Online Editing enabled for Scan Re run Step Run Cycle Time during Step Run The cycle time during Step Run including pausing for both virtual cycle time and computer cycle ti...

Page 147: ...ile executing a ladder diagram in the CX Programmer s Set Values window which used to be impossible Following diagram shows an example of IR usage extracted from the sample in 6 2 Index Registers of C...

Page 148: ...oint set set the start point at the top of the rung the left hatched part in the diagram Program address Instruction word Mnemonic Operand 000000 LD 000000 000001 AND 000001 000002 LD 000002 000003 AN...

Page 149: ...cting the task in the Task Control Step Run will be executed with a start point set at the top of the task and a break point at the bottom of the task automatically While the program is being executed...

Page 150: ...Condition operators and values for I O Condition to be set are shown below I O Condition Value Contents ON The bit value is ON 1 OFF The bit value is OFF 0 NOT Hold if the value is changed Word Condi...

Page 151: ...nsole IO Break Condition and click the Add in the list AND LIST OR LIST for registering I O break condition to register I O break condition Display the Register IO Break Condition window 2 Select eith...

Page 152: ...ined with AND operators and OR LIST Conditions are combined with OR operators with logical operators AND OR The relationship between AND LIST and OR LIST is expressed by the following logic expression...

Page 153: ...tep Run window and the program pauses In addition continuing the running in this condition will cause the execution to pause again in the following case 1 the I O break condition expression changes tr...

Page 154: ...e of an interrupt task can be monitored with the task execution time in the Task Control Starting interrupt tasks successively during the program execution in Task Control enables to monitor the execu...

Page 155: ...The next cycle execution task is executed after the Block Run Interrupt Task Execution Execution of an interrupt task has two types depending on the program exe cution status Executing an interrupt ta...

Page 156: ...identified by the task number if the task is started in the Task Control Interrupt factor Task number Power OFF interrupt task 1 Scheduled interrupt task 2 3 I O interrupt task 100 to 131 External int...

Page 157: ...Task Debugging Section 4 4 118...

Page 158: ...al Devices via Serial Communications 127 5 3 2 Access to External Device Using Serial Communications 128 5 3 3 Precautions in Using Serial Communications 128 5 4 Connecting PT via NT Link 130 5 5 Exam...

Page 159: ...ocols and Units The CX Simulator supports Host Link SYSMAC WAY NT Link and No protocol as a protocol for serial communications These protocols support differently depending on a Unit that performs ser...

Page 160: ...tings Selection Yes Communications mode Yes Data bits Stop bits Parity Baud rate Yes No protocol mode delay Yes CPU Unit s Unit Number in Host Link Mode Yes PLC Setup Area RS 232C Port Set tings No pr...

Page 161: ...low shows differences in operation of Status Area and Auxiliary Area when set as communications are not actually performed Messages Instruction Contents TXD RS 232C Port Send Ready Flag Always ON RS 2...

Page 162: ...Communications Unit or Inner Board in the Unit Selection List and click Serial Communications Unit or Serial Communications Board and then press the key to register to the Registered PLC Unit List Not...

Page 163: ...Serial Communications Settings Selecting Status Settings Serial comms settings will display Serial Communications Settings The displayed Unit address 00H shows the RS 232C port of the CPU Unit 10H to...

Page 164: ...ate via a COM port on the computer 10 Setting a COM port name Specify a COM port to perform actual serial communications A COM port name COM 1 to COM 4 can be selected in the list and also can be inpu...

Page 165: ...to set Serial Communications mode Start bits Data length Stop bits Parity Baud rate etc according to the manuals for each Serial Communications Unit Note DIP switch setting for RS 232C port communica...

Page 166: ...r from the program Note Be sure to specify the CX Simulator s network number and its node number 1 and 10 in default when performing FINS communications via Host Link Note A connection cable for PLC c...

Page 167: ...ng to process data read from a barcode reader in more practical way 5 3 3 Precautions in Using Serial Communications Using Programmable Terminal via NT Link Even when connecting a PT via NT Link the P...

Page 168: ...Disabled When Serial Communications on the CX Simulator become disabled for example when the RS 232C Port Error Flag A39204 in the Auxiliary area turns ON while executing serial communications on the...

Page 169: ...OM port name Note Do not select a COM port name that overlaps with the one allocated in actual communications or the Serial Data File 6 Press the OK button to exit the Serial communications registrati...

Page 170: ...communications portion by file I O instead of actual serial communications Display the Serial Comm Setting window by Status Settings Serial Comm Setting Set the communications settings for the Serial...

Page 171: ...uction issue is dis played The Send Message Format of SEND RECV CMND The content of FINS command sent by each command is displayed as a message A sample of message display when debugging serial commun...

Page 172: ...e For Host Link communications a single issue of instruction causes a com mand send write to the output file and a response receive read from the input file In this case it is necessary to create a re...

Page 173: ...causes automatic reception of data from the input file 9 Execute Step Run etc to confirm the process of data received 10 Repeat the debugging procedures 7 to 9 depending on the contents of serial inpu...

Page 174: ...INS Commands from the External Devices via Network Communications 142 6 3 3 Precautions when Using Network Communications 142 6 4 Example of Debugging Network Communications 143 6 4 1 Outline of Debug...

Page 175: ...ing FinsGateway or the CPU Unit of FinsGateway Thus debugging network communications is pos sible with the CPU Unit itself or the CPU Unit of FinsGateway as a tentative destination Also receiving FINS...

Page 176: ...mmunications Unit is the CX Simulator s own commu nications unit supporting only FINS communications When the Controller Link Unit or Ethernet Unit is not used this unit will be used default 2 This un...

Page 177: ...Area when set as actual communications are not performed message are shown below Instruction words Contents Network Communications Error Flag Always OFF An error does not occur Network Communications...

Page 178: ...t or Ethernet Unit and press the key to add to the Unit Selection List Note If Network Communications Units are added deleted anew the Ladder En gine will be restarted Note Register at least one Netwo...

Page 179: ...PLC Unit window and register the Unit in the Unit Registration List 4 Press the OK button to register the Network Communications Unit 5 The Network Communications settings will be displayed in the Sy...

Page 180: ...list according to the purpose The following items can be selected Comm Settings Contents None Communications instructions are not processed de fault Messages Display the contents of the messages sent...

Page 181: ...setting the routing tables refer to Section 3 of the CX Integrator Operation Manual W464 6 3 3 Precautions when Using Network Communications Duplicate FINS Address If the node address for the network...

Page 182: ...Communications Set tings to display the Network Communications Settings window Set the Communications settings as Messages for the communica tions unit to be debugged 3 Set the Communications setting...

Page 183: ...th actual FINS communications performed FINS commands can be sent only within the same computer Thus to debug FINS communications the CPU Unit of Fins Gateway will be regarded as a tentative destinati...

Page 184: ...is set as the destination Caution When the CX Simulator is used together with the Data Link function the Memory Mapping function of the FinsGateway or the Cyclic Server of the FinsServer Series the o...

Page 185: ...ay data link setting Refer to the operation manuals attached to the hardware such as Controller Link support board for data link function itself Refer to Section 5 FinsServer Series Common Functions C...

Page 186: ...ROLLER DATA READ Reads CPU Unit information Configura tion Read 05 02 CONNECTION DATA READ Reads the model numbers of the specified Units 06 01 CONTROLLER STATUS READ Reads the CPU Unit s status infor...

Page 187: ...15 CREATE DELETE DIRECTORY Creates or deletes a folder 23 01 FORCED SET RESET Force sets force resets or clears the forced status of the specified bits Forced Status 23 02 FORCED SET RESET CANCEL Can...

Page 188: ...ation Programs 7 1 Outline of Connection 150 7 1 1 What is Connection with Application 150 7 2 Connection with Application Programs 151 7 2 1 Connection Methods 151 7 2 2 Coexist in the Same Computer...

Page 189: ...CX Simulator can debug application programs that perform communica tions with OMRON s PLC e g a monitor program and a data collection pro gram without an actual PLC connected only on a computer Note W...

Page 190: ...er Engine returns a FINS response Connection via net work is not available for slave initiation from the Ladder Engine Communications using SEND from a sequence program to an applica tion program 7 2...

Page 191: ...e the FINS network address displayed when Connect as that to be used by the application program If multiple networks exist the routing table for FinsGateway must be changed For instructions on changin...

Page 192: ...Note When connecting via Ethernet the Runtime version of FinsGateway is sepa rately required for the computer with the CX Simulator 1 2 3 1 Start the FinsGateway Service Manager to activate the CPU U...

Page 193: ...ogram If the node address set by the application program can not be changed change the node address of the network communications unit in the System Status Settings Network Communications Settings win...

Page 194: ...egrator Operation Manual W464 7 Set the relay network table for the Ladder Engine 8 Set the Run mode of the Ladder Engine to Continuous Run in the Debug Console window 9 Execute the application progra...

Page 195: ...Connection with Application Programs Section 7 2 156...

Page 196: ...format text file 167 8 3 4 Multipoint Data Collection Tool 169 8 3 5 Messages Displayed in the Error history 172 8 3 6 I O Condition Expressions 172 8 3 7 Ladder Program for Debugging 175 8 4 Running...

Page 197: ...sing the Data Replay Tool Also long term data that can not be saved by the CX Programmer s data tracing can be saved using Data Trace Recording Tool Multipoint Data Col lection Tool Possible to take i...

Page 198: ...enerate virtual external inputs to run the program Refer to 8 4 Running by Virtual External Inputs 5 Checking the result Check the result caused the program execution The time chart monitor ing the da...

Page 199: ...r programs Create a ladder program that inputs to a ladder program for applications Running by Virtual External Inputs Contents Data Replay Tool Read data in sequence from the data file command log da...

Page 200: ...r Commercial tool Spreadsheet etc I O Condition Tool Ladder Engine Command log file flg Data trace file cdt Data Replay Tool I O Condi tion Tool Ladder program for debugging Data Replay file csv Comme...

Page 201: ...Inputs for replaying with Data Replay Tool Setting for Creating Command Log Set for saving the command log in the CX Simulator Debug Console Re play Command log Settings 1 2 3 1 Select Settings in the...

Page 202: ...the command log When deleting the items in the list of FINS address filter select the item to be deleted in the list and click the Delete button FINS Command Filter Specify the FINS command filter wh...

Page 203: ...FINS Command Replay possible 04 01 Execution Controls Start Possible 04 02 Execution Controls Stop Possible Access time info MR SR FINS Command Replay possible 07 01 Read time info Not possible 07 02...

Page 204: ...Read task flag status Not possible 01 01 DC Read Index Register PV Not possible 01 01 BC Read Data Register PV Not possible 01 01 07 Read Clock Condition bit Not possible Write IOM area MR SR PM FINS...

Page 205: ...an be used as inputs 2 Refer to the Data Trace Time Chart Monitoring of CHAPTER 4 Refer ence of PART 1 CX Programmer in the CX Programmer Operation Manual W446 for how to operate the data trace and ti...

Page 206: ...Cycle counter Value 1 Value 2 Value n CR LF No Name The number of characters Remarks 1 Creator s ID Indefinite length File creator s ID possible to omit usually a program name to be saved 2 Data cate...

Page 207: ...e the data for input of the Data Replay File using spreadsheet software such as MS Excel as follows Note It is not required to input date and time data when using a Data Replay File as inputs Specifyi...

Page 208: ...lly running PLC and to replay the data along with the program using the CX Simulator allowing confirming the operations Note Refer to 8 4 Running by Virtual External Inputs for replay with Data Replay...

Page 209: ...ms in the unit of 10 ms Acquire data as every cycle data Check here to save the sampled data as every cycle data independently of the PLC s cycle count This is effective when acquiring data in order...

Page 210: ...ad the registered addresses from an actual PLC The actual intervals at which a response is returned from the PLC may differ from the specified interval depending on the cycle process timing on the act...

Page 211: ...st possible baud rate Further exit all other applications Otherwise data may not be acquired normally In this case the Multipoint Data Collection Tool displays an error message to stop sampling 8 3 5...

Page 212: ...the Run window of the I O Condition Tool 2 Select Settings in the File menu to display the Configuration window of the I O Condition Tool 3 Select Bit Condition or Word Condition and set logical expre...

Page 213: ...sion Registration button to register the input condition expressions the delay time and the output expressions as the I O Con dition expression The expression is evaluated when registered N o is shown...

Page 214: ...erlap the task number with that of ladder program for applications If the task number overlaps the task in the UM2 will not be executed Besides if the following items overlap a program error will occu...

Page 215: ...each tool to the Ladder Engine are performed asyn chronously with scan of the Ladder Engine In this case like operation to an actual PLC scan from each tool to the Ladder Engine is will not be perform...

Page 216: ...ool Command log file flg Data Trace file cdt Data Replay file csv Data Replay Tool Ladder Engine Data Replay file csv FINS command Replay file Output file Read data from input file Read output data fr...

Page 217: ...tput Data File The Output Data File is a text file of the same format as the Data Replay File csv The data to be output to the file must be registered in advance at the 1st line parameter line of the...

Page 218: ...he Command log file flg Data Trace File cdt and Data Replay File csv can be specified 3 Specify the output file as required Only the Data Replay File csv can be specified as the output file If an exis...

Page 219: ...me it with Scan Run Note While executing asynchronously the data will be replayed even while the Ladder Engine is not executing a ladder program Getting monitor data using the Data Replay Tool The Dat...

Page 220: ...ion Tool 2 Input IO condition file to the execution file Browsing files using the Browse button or Open in the File menu is also possible 3 Check the target FINS address Usually there is no need to ch...

Page 221: ...ints Synchronous Scan Run Break on I O Break Condition Synchronous Scan Run Note When the computer cycle time is 10 ms or more hold of conditions may fail to be caught In this case use in the virtual...

Page 222: ...s for Application program area UM1 and Debugger program area UM2 in UM Execution Enable followed by clicking the OK button 5 Select Save all in the CX Simulator Debug Console File menu to save the sta...

Page 223: ...itor or the data trace of the CX Programmer Displaying the data of virtual external inputs and its results simultaneously allows to confirm the operation results and timing of the ladder program Note...

Page 224: ...e data The Data Replay File output by the Data Replay Tool is a CSV format text file thus enabling to check with graphing by reading it to spreadsheet software such as MS Excel The following shows an...

Page 225: ...Checking the Result Section 8 5 186...

Page 226: ...Peripheral Servicing 191 9 2 Cycle Time and Time 192 9 2 1 Cycle Time 192 9 2 2 Maximum CPU Occupancy and Execution Time 198 9 2 3 Differences with CS CJ CP Series 199 9 3 I O Memory Allocation 200 9...

Page 227: ...cute the ladder diagram for applications Run process Execute the user program Error process Clear the I O memory area when an error occurs excluding when executing a FALS Clear I O memory area and che...

Page 228: ...M Hold Bit when startup Hold 1 Startup Cleared Changing the mode Cleared Startup Hold Changing the mode Hold Clear Force set reset Processed as follows depending on Force set reset Hold Bit and PLC Se...

Page 229: ...ag C C0000 to C4095 Timer PV T T0000 to T4095 Counter PV C C0000 to C4095 Task Flag TK TK0 to TK31 Index Registers IR IR0 to IR15 Data Registers DR DR0 to DR15 Force set reset Bit Differential Flag In...

Page 230: ...pheral Port Serial Communications Port Inner Board Bus Service Periph eral Servic ing Fixed Event ser vice Will be serviced for every cycle if required Allocate the fixed time defined by the system to...

Page 231: ...ion words Sum of the instruction execution time 3 Minimum Cycle Time Calculation Specifying Minimum Cycle Time in PLC Setup waits for cycle time to complete with the WDT resetting Calculate the cycle...

Page 232: ...ycle time When Minimum Cycle Time is not specified the cycle time is 0 ms In Minimum Cycle Time there is no waiting time and only the cycle time is set 4 I O refresh The accumulated I O refresh time f...

Page 233: ...2 ms Calculating Cycle Time An example of calculating the cycle time when only Basic I O Units are mounted Condition Item Contents 96 point Input Unit CS1W ID291 4 Units CPU Rack for 8 slots 96 point...

Page 234: ...of virtual time The CX Simulator can execute two program areas the program area for ap plications UM1 and for debugging UM2 However only the execution time of instructions in UM1 is added as the virtu...

Page 235: ...5 311 15 s 1 word vs 1000 words error will occur for one Block Transfer instruction execution I O Refresh Time For the Special I O Unit CPU Bus Unit or Inner Board using such a Unit that varies in I O...

Page 236: ...itional time for Minimum Cycle Time The cycle time specified as Minimum Cycle Time The computer cycle time 1 2 4 5 4 I O Refresh Not processed in the computer cycle time 0 ms 5 Peripheral Servicing An...

Page 237: ...hen the CPU occupancy overrides the Minimum Cycle Time to set the wait time 9 2 2 Maximum CPU Occupancy and Execution Time Set the following maximum CPU occupancy in the Maximum CPU Occupancy of the S...

Page 238: ...cycle time So if synchronization is required operate the CX Simulator in the computer cycle time High speed Timer When executing a program in the computer cycle time the High speed Timer and 1 ms Tim...

Page 239: ...Default 0 This setting determines whether or not the status of the Forced Status Hold Bit A50013 is re tained at startup When you want all of the bits that have been force set or force reset to retain...

Page 240: ...quent banks will be used as file memory This setting will be disabled if bit 7 is set to 0 Same as CS CJ series PLC The EM file memory allo cates the hard disk of the same capac ity actually Periphera...

Page 241: ...only when pin 5 of the DIP switch on the front of the CPU Unit is OFF The default settings are host link mode 1 start bit 7 data bits even parity 2 stop bits and a baud rate of 9 600 bps Not used Com...

Page 242: ...e start code is en abled 1 in bits 12 to 15 of 165 Same as CS CJ series PLC 00 to FF Default 00 End code Set this end code only when the end code is enabled 1 in bits 8 to 11 of 165 Same as CS CJ seri...

Page 243: ...tting in bits 0 to 14 Leave this setting at 0 for a maximum cycle time of 1 s Same as CS CJ series PLC Watch Cycle Time Watch Cy cle Time Setting 001 to FA0 10 to 40 000 ms 10 ms units Default 001 1 s...

Page 244: ...lator Words Bits Name Function Settings Function Settings A050 to A089 Basic I O Unit Infor mation A bit will turn ON to indicate when a fuse has blows The bit num bers correspond to the fuse num ber...

Page 245: ...8 to 15 Seconds bits 0 to 7 4 Day of month bits 8 to 15 Hours bits 0 to 7 5 Year bits 8 to 15 Month bits 0 to 7 Error code Error con tents Address of Aux Area word with details or 0000 Seconds 00 to...

Page 246: ...series PLC A20110 Online Ed iting Wait Flag ON when an online editing proc ess is waiting If another online editing com mand is received while waiting the other command won t be recorded and an error...

Page 247: ...OFF This word is used for the SEND2 CMND2 PMCR2 and RECV2 network instructions only The communications load can be checked with this bit CJ2 series PLCs only 0 to 64 Same as CS CJ series PLC A219 A21...

Page 248: ...ntain the 0 01ms unit present cycle time in 8 digit hexadecimal with the leftmost 4 digits in A267 and the rightmost 4 digits in A266 0 to FFFFFFFF 0 to 42 949 672 95 ms 0 01 ms units CJ2 series PLCs...

Page 249: ...program address will be stored in A298 and A299 1 Error Flag ON 0 Error Flag OFF Same as CS CJ series PLC A295 A29509 Indirect DM EM BCD Error Flag This flag and the Access Error Flag AER will be turn...

Page 250: ...This error occurs when a region of memory is access illegally CPU Unit operation will stop and the ERR ALM indicator will light when this flag goes ON The following operations are considered illegal...

Page 251: ...h correspond to differentiation instructions has been exceeded CPU Unit opera tion will stop and the ERR ALM indicator will light when this flag goes ON The task number where the error occurred will b...

Page 252: ...Error Log Reset Bit from OFF to ON When the Error Log Pointer has reached 14 20 decimal the next record is stored in A195 to A199 when the next error occurs 00 to 14 hexadeci mal Same as CS CJ series...

Page 253: ...backup data or source comments has been failed When the detected error is cleared this flag will turn OFF CJ2 series PLCs only 0 No error 1 Error Not used A330 to A335 A33000 to A33515 Special I O Un...

Page 254: ...successfully 1 Error 0 No error Same as CS CJ series PLC A34309 File Write Error Flag ON when data cannot be written to file memory because it is write protected or the data ex ceeds the capacity of...

Page 255: ...is decremented each time that 1 024 words are transferred Data re maining in transfer 1 024 word or 1 KW units Not used All These words contain the CPU Unit s internal clock data in BCD The clock can...

Page 256: ...ink mode 1 Error 0 No error Same as CS CJ series PLC A39205 RS 232C Port Send Ready Flag No protocol mode ON when the RS 232C port is able to send data in no protocol mode 1 Able to send 0 Un able to...

Page 257: ...232C Port Recep tion Counter No protocol mode Indicates in binary the number of bytes of data received when the RS 232C port is in no protocol mode Same as CS CJ series PLC A39400 to A39407 Periphera...

Page 258: ...rogram contains a function that is not supported by the unit ver sion of the CPU Unit CJ2 series PLCs only 0 No error 1 Error Not used A40106 FALS Error Flag Fatal error ON when a non fatal error is g...

Page 259: ...Output Unit s slot or vice versa so the Input and Output Units clash in the regis tered I O table 1 Error 0 No error Not used A40111 Too Many I O Points Flag Fatal error ON when the number of I O poi...

Page 260: ...when the power was turned ON CPU Unit operation will stop and the ERR ALM indicator on the front of the CPU Unit will light The location where the error occurred is indicated in A40300 to A40308 and A...

Page 261: ...table The CPU Unit will continue operating and the ERR ALM indicator on the front of the CPU Unit will flash The unit number of the Unit where the setting error occurred is written to A427 This flag w...

Page 262: ...nner Board itself The CPU Unit will continue oper ating and the ERR ALM indicator on the front of the CPU Unit will flash The Inner Board will stop operating and details on the error will be written t...

Page 263: ...R ALM indicator on the front of the CPU Unit will flash The bit in A360 to A391 that cor responds to the FAL number specified in FALS 006 will be turned ON and the corresponding error code will be wri...

Page 264: ...Error occurred 1 Error 0 No error Not used A404 A40408 to A40415 I O Bus Error Rack Number Contains the 8 bit binary rack number 00 to 07 where an I O Bus Error occurred 1 Error 0 No error Not used A...

Page 265: ...of interrupt inputs will be written here when there are more than 32 interrupt in puts 3 The unit number of the Slave Unit will be written here when a unit number is duplicated or the number of I O p...

Page 266: ...umber Duplication Flags The corresponding flag will be turned ON when an Expansion I O Rack s starting word address was set from a Programming Device and two Racks have overlapping word allocations or...

Page 267: ...r Informa tion When an error occurs in a data exchange between the CPU Unit and the Inner Board the Inner Board Error Flag A40208 and the appropriate bits in A424 will be turned ON The meaning of the...

Page 268: ...his flag indi cates the cause of the error A42615 will be ON if a Special I O Unit was refreshed from the in terrupt task while it was already being refreshed A42615 will be OFF if the inter rupt task...

Page 269: ...nk operating level 1 A44212 PLC Link operating level 0 1 Unit mounted 0 Unit not mounted Not used 9 3 3 Auxiliary Area Read Write Area Address CS CJ series PLC CX Simulator Words Bits Name Function Se...

Page 270: ...Initializing Flag A30200 to A30215 will be turned ON Both the restart bit and initializing flag will be turned OFF automatically when ini tialization is completed 0 to 1 Re start 1 to 0 Re start com p...

Page 271: ...es tablished 0 Not es tablished Same as CS CJ series PLC A508 A50815 Sampling Start Bit When a data trace is started by turning this bit from OFF to ON from a Programming Device the PLC will begin st...

Page 272: ...00 to FFFF hexadeci mal Same as CS CJ series PLC A523 Total Power ON Time Contains the total time that the PLC has been on in 10 hour units The data is stored in binary and it is updated every 10 hour...

Page 273: ...as occurred at the RS 232C port they are auto matically turned OFF when the RS 232C port is restarted These flags are not valid in pe ripheral bus mode and only bit 5 is valid in NT Link mode Bits 0 a...

Page 274: ...Board is defined and used at the Inner Board The contents of these words is retained when the power is turned ON Not used A61901 Peripheral Port Set tings Changing Flag ON while the peripheral port s...

Page 275: ...e been changed It is also possible for the user to indicate a change in serial port settings by turning these flags ON 1 Chang ing 0 Not changing Not used Communi cations Board Set tings Changing Flag...

Page 276: ...ng subdirecto ries is limited to 65 characters In the Ladder Engine the length of the whole directory from the directory the Card of the PLC data directory or the EM di rectory allocated to the file s...

Page 277: ...Other Functions Section 9 4 238...

Page 278: ...0 1 4 Data Replay Tool 243 10 1 5 Data Trace Recording Tool 244 10 2 Alarms and Remedies 245 10 3 Other Tips for Troubleshooting 247 10 3 1 Connection Impossible from CX Programmer 247 10 3 2 If Netwo...

Page 279: ...table of CX Simulator Ladder Engine Setting of the routing table is wrong Reset the routing table of the Ladder Engine using the CX Integrator so that it does not overlap with the network No used by F...

Page 280: ...then reinstall the CX Simulator Failed to switch the current UM Failed to gain the access rights of CX Simulator Ladder Engine Another applica tion program is writing to the UM After the application...

Page 281: ...dder Engine Failed to get the current IOM Wrong address specification or range of I O memory for I O conditions Check the I O conditions settings File format is invalid The specified execution file ha...

Page 282: ...ndition Tool Failed to read the Command log data Operation exit The file has a wrong format Specify a Command log file of a correct format Failed to read the CSV text data Operation exit A wrong forma...

Page 283: ...PLC Data Trace was started in man ual mode failed to start in auto mode Not possible of automatic saving by the command line Create the setting file again and start by the com mand line Failed to exec...

Page 284: ...is read only etc Delete the PLC data folder and all files folders in it and create a new PLC again Failed to create a folder for the EM files The PLC data folder is read only etc Delete the PLC data f...

Page 285: ...ror The network address in the local table records must be 0x00 or over 0x80 Wrong routing in formation 1 Disconnect and Connect and then try again 2 Exit the CX Simulator and restart Routing table er...

Page 286: ...eway was started after connecting the CX Simulator Read a Parameter Area File std to the Ladder Engine Changed the routing table by the CX Integrator In the above cases once disconnect the CX Simulato...

Page 287: ...FINS address for the Ladder Engine is set correctly Setting a routing table is required when communicating from an external net work to the Ladder Engine 10 3 3 A Compare Error Occurs when Editing Onl...

Page 288: ...the check mark of Cycle Time Monitoring Time default 1 000 ms of the PLC PLC Setup Timer Interrupt tab to adjust the cycle time moni toring time 10 3 5 Others A gap occurs between the time of the Ladd...

Page 289: ...Other Tips for Troubleshooting Section 10 3 250...

Page 290: ...mode for the Ladder Engine When using the tool for the Ladder Engine perform Continuous Run in the Computer Cycle Time mode 2 For the details of the data tracing refer to Trace Memory Sampling TRSM 0...

Page 291: ...nk 2 A PLC connected via Ethernet 3 A PLC connected via Host Link 4 The Ladder Engine works as synchronous process Note The Data Trace Recording Tool assuming that FinsGateway is used the RUNTIME vers...

Page 292: ...ter the interval in the text box unit ms 10 to 2550 Per cycle Trace per cycle of the ladder program Abort Value Specify the value for exiting the data tracing Type Specify either of after getting spec...

Page 293: ...he Stop to stop Exit button Exit the Data Trace Recording Tool Exit the tool after the PLC completes tracing if the PLC is exe cuting tracing Option Settings Add Recording If the file specified by the...

Page 294: ...IO 0 to 6143 4 0 to 15 2 Work Area W 0 to 511 3 0 to 15 2 Holding Area H 0 to 511 3 0 to 15 2 Auxiliary Area A 0 to 959 3 0 to 15 2 Timer Area T 0 to 4095 4 None 0 Counter Area C 0 to 4095 4 None 0 Wo...

Page 295: ...2 Input example CIO000101 CIO 1word 1 bit Note How to specify for an EM bank Specify with hyphen Number of banks Decimal after the EM address Example E32767 12 for address 32767 and bank 12 Operation...

Page 296: ...Address side for the word address The Sampling Ad dress Editing window will be displayed 4 Click the list of Bit address and key in the address of the I O memory area to be saved 5 Click the OK button...

Page 297: ...ing serial numbers for multiple saving will be displayed 15 Holding of the abort value will automatically stop tracing Click the Stop button to forcibly stop tracing during execution Stating from the...

Page 298: ...ons Unit refer to the manual attached to the RUNTIME version of the Fins Gateway Setting the Serial Communications Unit 1 2 3 1 Select the FinsGateway Service Manager in Start Program Omron FinsGatewa...

Page 299: ...How to Use Data Trace Recording Tool Appendix 260 3 Click the Network Setting button to display the FinsGateway Network Navigator window Network Setting button...

Page 300: ...n to display the SerialUnit property 5 Select the node tab and click the property button to display the Add Edit Serial Node dialog box 6 Select SYSMAC WAY CV in the protocol of the Add Edit Serial No...

Page 301: ...race Recording Tool Appendix 262 7 Click the Close button to display the following message box Selecting Yes to return to the Network setting window 8 Click the Exit button to return to the FinsGatewa...

Page 302: ...ded Correction made throughout the manual 03 May 2002 Contents revised to reflect the upgrade from version 1 1 to 1 2 and from version 1 2 to 1 3 04 December 2003 Contents revised to reflect the upgra...

Page 303: ...age 138 Added note Page 148 Added information to note Page 149 Added information to note Page 150 Added note Page 151 Changed information in note Page 225 Changed table Page 226 Changed table Page 232...

Page 304: ......

Page 305: ......

Reviews: