Home
User`s Manual (Application) SH(NA)-081369-D
Contents
1. SD1552 Dot matrix LED Dot matrix LED The dot matrix LED lighting status on the C Controller S System to module is stored SD1561 o j 3th to 4th columns L 4st column 7th dot Se ee Ast column 1st dot 7th to 8th columns Reserved 9th to 10th columns 2st column 7th dot enn eonran 2st column 1st dot 13th to 14th columns Reserved S185 Faas ad 4st dot 1st column 19st column 7th dot 19st column 1st dot Reserved 20st column 7th dot Dot matrix LED 20st column 1st dot Reserved SD1570 CC Link module channel CC Link module channel Channel number 81 to 88 of the CC Link module 1st S Initial number 1st module number 1st module module controlled SD1571 CC Link module channel CC Link module channel Channel number 81 to 88 of the CC Link module 2nd S Initial number 2nd module number 2nd module module controlled SD1572 CC Link module channel CC Link module channel Channel number 81 to 88 of the CC Link module 3rd S Initial number 3rd module number 3rd module module controlled SD1573 CC Link module channel CC Link module channel Channel number 81 to 88 of the CC Link module 4th S Initial number 4th module number 4th module module controlled SD1574 CC Link module channel CC Link module channel Channel number 81 to 88 of the CC Link module 5th S Ini
2. Time Measured value ms 2 Time Measured value us 2 4 Set 0 when the time Set value is not specified 2 Set 0 when the time Measured value is not specified 24 Failure information The failure information is a part of system information S At error occurrence APPENDICES APPENDIX Appendix 6 Special Register List 179 A D112 Detailed information 2 Detailed information 2 Detailed information 2 information category code is S At error occurrence information category information category code stored b15 b8 b7 bo Not used Fixed to 0 Information category code The following codes are stored into the information category code 0 N A 2 Drive number and file name 3 N A 4 Parameter information 5 System configuration information SD113 Detailed information 2 Detailed information 2 Detailed information 2 corresponding to the error code S At error occurrence to SDO is stored SD143 There are three types of information to be stored as shown in 2 4 and 5 The type of the detailed information 2 can be obtained from SD112 The value of the Detailed information 2 information category code which is to be stored to SD112 corresponds to the number 2 4 and 5 in the following figures 2 Drive number and file name b15 bo SD113 15 210 spiral otwithout
3. 4033H Device Data cannot be written to the specified device since it is for Do not write data to the specified device Or do not turn it ON specification system use OFF error 4040H Intelligent The request cannot be executed to the specified Intelligent Check whether the specified module is an Intelligent function function function module module which has the buffer memory module specification error 4041H Intelligent The access range exceeded the buffer memory range of the Check the start address and number of access points and function specified Intelligent function module access within the range that exists in Intelligent function module module specification error 4042H Intelligent The specified Intelligent function module cannot be accessed e Check whether the specified Intelligent function module function operates normally module e Check whether the specified module has hardware failure specification error 4043H Intelligent The specified Intelligent function module does not exist Check the I O number of the specified Intelligent function function module module specification error 4044H Intelligent A bus error occurred during the access to Intelligent function Check whether the specified Intelligent function module other function module modules or Base unit have hardware failure module specification error 4050H Protect error The request cannot be executed because the write protect Turn OF
4. CPU No 1 1 The device data for CPU No 1 is transferred to the refresh area in CPU No 1 2 The device data in the refresh area of CPU No 1 is sent to CPU No 2 CPU No 2 3 Device data in the refresh area of the CPU No 1 is read to a user program by executing the C Controller module dedicated function CCPU_FromBufHG_ISR 4 Device data for CPU No 2 is written to the fixed cycle communication area of CPU No 2 by executing the C Controller module dedicated function CCPU_ToBufHG_ISR 5 Device data in the fixed cycle communication area of CPU No 2 is sent to CPU No 1 CPU No 1 6 The device data stored in the refresh area of CPU No 2 is transferred to the devices for CPU No 2 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules 137 Refresh behavior of programmable controller CPU When a programmable controller CPU and a multiple CPU system are configured register a multiple CPU synchronous interrupt program 145 on the interrupt routine and enable the registered routine When a multiple CPU synchronous interrupt program 145 is not registered on the interrupt routine or the registered routine is disabled on the C Controller module side the refresh function of the programmable controller CPU does not operate e CPU number based data assurance enabled O Data is updated x Data is not updated 1 2 3 4 5 6
5. b15 bo sp81_ 15 76543210 With or without specification 5D82 VO No7 C O No SD83 E aN aan Slot No ses unftNo sia Sa o Base unit No SD84 cpu module Power supply Power supply mo SD85 av Nik NeT No CPU module No SD86 acia Network No Station No Station No Without specification 1 OXFFFF a 87 a 2 3 4 OXFF Base unit No Slot No 5 6 7 0 L_0 to 11 Slot No 0 Main base unit L 1 to 7 Extension base unit level 1 to 8 Extension base unit level 8 when the number of base is excee 15 87 0 CPU module Power suppl No module No L1 to 2 Power supply mc 1 to 4 CPU No 1 to No 4 en 0 to 120 0 for a master station 6 Frequency information ene bO 45 210 With or without specification SD82 L E Number of times sD83 Number of times ka Set value Set value 1 H A SD84 L Number of times __ Numberoftimes L Measured value 2 H SD85 Measured value 1 Set 0 when the number of times Set value is not specified 2 Set 0 when the number of times Measured value is not specified 7 Time information b15 b0 SD81 pa SD82 i Time Set value ms 1 Time Set value ms SD83 a L Time Set value us SD8a me Set valuelus 1 Time Measured value ms Time Measured value us SD85 43210 With or without specification
6. 140 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 5 Interrupt from Other CPU Interrupt from C Controller module The following figure explains how to interrupt from C Controller module other CPU a Execute the CCPU_DedicatedDInst function User program of C Controller module other CPU F Issue an interrupt Execute an interrupt routine P interrupt program Interrupt routine of C Controller module E EE a ET MN E E E E emcee E E interrupt program Interrupt routine is in wait state interrupt program Interrupt routine is in wait state interrupt program x A 1 Execute the CCPU_WaitEvent function Notify an interrupt event User program of C Controller U d modde ASA amp IR ser program is restarted User program is in an interrupt event wait state 1 The interrupt event is notified after the interrupt routine interrupt program is completed HFunction The function used for an interrupt from C Controller module other CPU is shown below CCPU_DedicatedDInst Executes dedicated instructions categorized as D or DP The C Controller module dedicated function CCPU_DedicatedDInst can also execute an interrupt to a motion CPU 7 MULTIPLE CPU SYSTEM FUNCTIONS 441 7 5 Interrupt from Other CPU Interrupt from programmable controller CPU The following figure explains how to interrupt from programmable controller CPU Sequence progr
7. Es SLMP Connection Module fag UDP Connection Module Ly Active Connection Module 5 Unpassive Connection Module Ej Fullpassive Connection Module Connection Connection Connection Connection Connection No 1 No No No 4 No 5 Host Station cemento Coun t MELSOFT MELSOFT MELSOFT MELSOFT SLMP Conn Connection Connection Connection Connection ection Mod Module Module Module Module ule Specification Use when specify open method by E IMEI CNET rannactinn Restriction C Controller module does not support the Active Connection Module Unpassive Connection Module Fullpassive Connection Module or UDP Connection Module 108 6 Ethernet COMMUNICATION FUNCTIONS 6 7 Parameter Settings The following shows the setting items for External Device Configuration No Connection numbers for distinguishing the settings for each user connection It is set in ascending order from 1 within the following range C Controller module 1 to 16 Model Name Names of target devices are displayed Communication Method Set the communication method with the target device Broadcast Send Broadcast Receive e Fixed Buffer Procedure Exist Fixed Buffer No Procedure Random Access Buffer Predefined Protocol 2 Socket Communication MELSOFT Connection e SLMP Protocol Select the communication protocol f
8. x O O OO O x x O O OO O x O O O O O O e CPU number based data assurance disabled O Data is updated x Data is not updated 1 2 3 4 5 6 x O O OO O O x O O OO O O O O O O O O 4 38 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules Usage 1 from Modules 2 3 Interrupt timing Configure the refresh settings Page 123 Setting refresh area Register a multiple CPU synchronous interrupt program 145 on the interrupt routine 37 Page 43 Interrupt Function Enable the registered interrupt routine 57 Page 43 Interrupt Function from Modules The multiple CPU synchronous interrupt program 145 is executed at the timing for the cycle of the fixed cycle communication The cycle of the fixed cycle communication can be changed in Fixed Scan Communication Setting gt Page 126 Fixed cycle communication setting Considerations The following describes the considerations for the multiple CPU synchronous interrupt program e Do not create a multiple CPU synchronous interrupt program of which execution processing time is longer than the cycle of the fixed cycle communication If so the multiple CPU synchronous interrupt interval cannot be guaranteed For a multiple CPU synchronous interrupt program 145 the settings for the execution time monitoring and the operation at the time of
9. CAUTION Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less Failure to do so may result in electric shock or malfunction Use applicable solderless terminals and tighten them within the specified torque range If any spade solderless terminal is used it may be disconnected when the terminal screw comes loose resulting in failure Check the rated voltage and signal layout before wiring to the module and connect the cables correctly Connecting a power supply with a different voltage rating or incorrect wiring may cause fire or failure Connectors for external devices must be crimped or pressed with the tool specified by the manufacturer or must be correctly soldered Incomplete connections may cause short circuit fire or malfunction Securely connect the connector to the module Poor contact may cause malfunction Do not install the control lines or communication cables together with the main circuit lines or power cables Keep a distance of 100mm or more between them Failure to do so may result in malfunction due to noise Place the cables in a duct or clamp them If not dangling cable may swing or inadvertently be pulled resulting in damage to the module or cables or malfunction due to poor contact Do not clamp the extension cables with the jacket stripped Check the interface type and correctly connect the cable Incorrect wiring connecting the cable to a
10. MELSEC iQ R C Controller Module User s Manual Application Explains the functions devices and parameters of C Controller Print book SH 081369ENG this manual module e Manual EPUB PDF MELSEC Q R C Controller Module User s Manual Startup Explains the performance specifications module startup procedure Print book SH 081367ENG and troubleshooting of C Controller module e Manual EPUB PDF MELSEC Q R C Controller Module Programming Manual Explains the programming specifications and dedicated functions of C e Manual SH 081371ENG Controller module EPUB PDF CW Workbench CW Sim Operating Manual Explains the system configuration specifications functions and e Manual SH 081373ENG troubleshooting of CW Workbench CW Sim EPUB PDF CW Configurator Operating Manual Explains the system configuration parameter settings and operation e Manual SH 081382ENG methods for the online function of CW Configurator EPUB PDF e Manual refers to the Mitsubishi FA electronic book manuals that can be browsed using a dedicated tool e Manual has the following features e Required information can be cross searched in multiple manuals e Other manuals can be accessed from the links in the manual The hardware specifications of each part can be found from the product figures e Pages that users often browse can be bookmarked 16 TERMS Unless otherwise specified this manual uses the following terms Base unit A gene
11. mdDevRstEx Resets turns OFF bit device s mdDevSetEx Sets turns ON bit device s mdRandREx Reads device s randomly mdRandWEx Writes device s randomly mdReceiveEx Reads devices in batch mdSendEx Writes devices in batch 4 BASIC FUNCTIONS 4 4 I O Module Intelligent Function Module Access Function 4 5 Interrupt Function from Modules The following processes can be performed by issuing interrupt request from an input module Intelligent function module interrupt module and other CPU modules To perform the interrupt function from module setting module parameters for each module is required For more details refer to the user s manual for the respective modules The routine registered with the C Controller module dedicated function CCPU_EntryInt can be executed as an interrupt routine interrupt program e The user program of which status is interrupt event wait state by using the C Controller module dedicated function CCPU_WaitUnitEvent can be re executed CCPU_Entrylnt Registers a routine so that the routine can be called when an interrupt occurs CCPU_Enablelnt Enables the registered routine CCPU_Enablelnt_ISR CCPU_Disablelnt Disables the registered routine CCPU_Disablelnt_ISR CCPU_WaitUnitEvent Waits for an interrupt event notification from Intelligent function module or an interrupt module Factor of interrupt pointer number The following shows the interrupt fact
12. Aircraft or Aerospace Medical applications Train equipment transport equipment such as Elevator and Escalator Incineration and Fuel devices Vehicles Manned transportation Equipment for Recreation and Amusement and Safety devices handling of Nuclear or Hazardous Materials or Chemicals Mining and Drilling and or other applications where there is a significant risk of injury to the public or property Notwithstanding the above restrictions Mitsubishi may in its sole discretion authorize use of the PRODUCT in one or more of the Prohibited Applications provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail safe redundant or other safety features which exceed the general specifications of the PRODUCTs are required For details please contact the Mitsubishi representative in your region CONSIDERATIONS FOR USE Considerations for the Wind River Systems product C Controller module has an embedded real time operating system VxWorks manufactured by Wind River Systems Inc in the United States We Mitsubishi make no warranty for the Wind River Systems product and will not be liable for any problems and damages caused by the Wind River Systems product during use of C Controller module For the problems or specifications of the Wind River Systems product refer to the corresponding manual or consult Wind River Systems
13. This chapter explains the basic functions of C Controller module 4 1 Program Monitoring Function WDT The program monitoring function is a function to monitor and detect errors on the hardware and user programs from the watchdog timer WDT an internal timer of C Controller module System watchdog timer A timer to monitor the system of C Controller module Use this to detect an error in hardware and system software User watchdog timer A timer to monitor user programs Use this to detect an error in user programs Setting monitoring timer Set the monitoring timer of a watchdog timer dog timer O CPU Parameter gt RAS Setting gt WDT Watchdog Timer Setting WDT Watchdoe Timer Setting 2 System WDT Setting Monitoring time ildi Monitoring time Set the execution monitoring time to the system WDT 20 to 2000 ms 10 ms units 1000 ms Set the user watchdog timer within the range of 100 ms to 10000 ms 10 ms unit with the C Controller module dedicated function CCPU_StartWDT If the monitoring range is not set with the C Controller module dedicated function the user watchdog timer does not work 4 BASIC FUNCTIONS 4 1 Program Monitoring Function WDT Timeout of watchdog timer The following shows the timeout conditions and the process of a watchdog timer Conditions for timeout System watchdog timer In case of failure of C Controller module hardware and
14. Writes values to word devices consecutive device number in 1 word unit 0003 Writes values to bit devices consecutive device number in 1 point unit 0002 e Writes values to bit devices consecutive device number in 16 point unit Writes values to word devices consecutive device number in 1 word unit Read Random 0403 ooo Reads values from word devices in 1 word unit or 2 word unit by specifying device number Nonconsecutive device numbers can be specified 0002 Reads values from word devices in 1 word unit or 2 word unit by specifying device number Nonconsecutive device numbers can be specified Write Random 1402 0001 Writes values to bit devices in 1 point unit by specifying device number Nonconsecutive device numbers can be specified ooo e Writes values to bit devices in 16 point unit by specifying device number Nonconsecutive device numbers can be specified e Writes values to word devices in 1 word unit or 2 word unit by specifying device number Nonconsecutive device numbers can be specified 0003 Writes values to bit devices in 1 point unit by specifying device number Nonconsecutive device numbers can be specified 0002 e Writes values to bit devices in 16 point unit by specifying device number Nonconsecutive device numbers can be specified e Writes values to word devices in 1 word unit or 2 word unit by specifying device number Nonconsecutive device numbers can be specified Read Block 0406 0000 Reads data by specifying multipl
15. CPU No 2 preparation OFF CPU No 2 This device turns ON when the access from other CPU S Status change completed preparation not module to the CPU No 2 is enabled after powering ON or completed resetting the module ON CPU No 2 preparation completed sm222 CPU No 3 preparation OFF CPU No 3 This device turns ON when the access from other CPU S Status change completed preparation not module to the CPU No 3 is enabled after powering ON or completed resetting the module ON CPU No 3 preparation completed SM223 CPU No 4 preparation OFF CPU No 4 This device turns ON when the access from other CPU S Status change completed preparation not module to the CPU No 4 is enabled after powering ON or completed resetting the module ON CPU No 4 preparation completed 1 These devices are used as an interlock to access the CPU No 1 when the multiple CPU synchronization setting is configured with asynchronous mode APPENDICES APPENDIX Appendix 5 Special Relay List 175 Appendix 6 Special Register List The following shows how to read the list of special register SD No Indicates the number of the special register Name Indicates the name of the special register Content Indicates the content of the special register Details Indicates the details of the special register Set by when to set Set side and set timing of special register Set by S Set by system When to set System Set when a fixed c
16. Connection with LAN Do not connect with LAN and set the direct connection Since the data will be sent to all the target devices on the LAN this may increase the line load and affects communication with other target devices Connections that are not a direct connection e Do not use a configuration in which C Controller module and target devices are connected via hub Direct connection will not be established when the devices are connected via hub If two or more Ethernet ports are set to Enable in the network setting on the personal computer a direct connection cannot be established Review the setting of the personal computer so that only the Ethernet port for the direct connection is set to Enable and the other Ethernet ports are set to Disable Conditions that cannot communicate directly A direct connection may not be established if any of the following conditions are met In this case review the settings The examples of the error occurrence are as follows When all the bits of the C Controller module side IP address that correspond to 0 part of the personal computer side subnet mask are ON or OFF IP address for C Controller module 64 64 255 255 IP address for personal computer 64 64 1 1 Subnet mask for personal computer 255 255 0 0 e When all the bits of the C Controller module side IP address that correspond to the host address of each class of the personal computer side IP address are ON or OFF
17. Direct access Transient transmission Message communication Access to other station device Access by link refresh This method is used to access the device of C Controller module from user program using link refresh Data in the devices are transmitted cyclically to other stations by reading from writing to link devices in Network modules by link refresh CC Link IE Controller C Controller module Network module Device U link relay Per pregam link register Link Access to devices refresh 1 Link refresh cannot be performed for SB SW Use the direct access 5 ACCESS FUNCTION USING NETWORK MODULE 5 4 Access Function of Each Network Module 79 Direct access This method is used for direct access of Network module devices from user program The link device data in the Network module is transmitted cyclically to other stations C Controller module Direct access User program CC Link IE Controller Network module Link device Message communication The message communication function can be used via the CC Link IE Controller Network module controlled by C Controller module Number of channels For CC Link IE Controller Network module up to eight channels can be used for message communication C Controller module CC Link IE Controller CC Link IE Controller Sending side Network module Network module C Contr
18. For details of devices refer to the following manual MELSEC iQ R CPU Module User s Manual Application User device Input x A device that provides CPU module with commands and or data using an external device such as pushbutton transfer switch limit switch or digital switch Output Y A device that outputs the operation results of the program to a device such as external signal light digital HMl electromagnetic switch contactor solenoid Internal relay M A device that is used as an auxiliary relay within the CPU module Data register D A device that stores numerical values Link relay B A device that is used in a C Controller module when refreshing data between a Network Link register w module and C Controller module System Device Special relay SM An internal relay internal register of which specification is defined in C Controller module Special register sD where the status of the C Controller module is stored For details of the special relay refer to the following section 5 Special Relay List For details of the special register refer to the following section Special Register List Link direct device Link input Jn x A device that directly accesses link relays and or link registers in a Network module on the Link output Jn Y CC Link IE Controller Network and or CC Link IE Field Network Link relay Jn B Link special relay Jn SB Link register Jn w Link special register Jn SW
19. OThe data is written from the program At END processing of each CPU the data is read The data read completion from each CPU is notified to the CPU No 1 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 2 7 4 Data Communication Between CPU Modules 9 130 Communication through direct access when C Controller module is on the receiving side When the CPU number based data assurance is enabled the data is assured C Controller module CPU No 2 Programmable controller CPU CPU No 1 Programmable controller CPU CPU No 3 Fixed cycle Fixed cycle Fixed cycle Without refresh communication communication communication area area i function o Device lt 6 fee a Notifies the contents equivalent to read completion in each refresh cycle Device Device DINC DO me OThe data is written from the program At the multiple CPU synchronous interrupt program 145 execution the data is written OAt the multiple CPU synchronous interrupt program 145 execution the data is read OAt the multiple CPU synchronous interrupt program 145 execution the data is refreshed OThe data read completion from each CPU is notified to the CPU No 1 Programmable controller CPU CPU No 4 Fixed cycle communication area Device The update to the following data is not performed until the notification of the data read completion is received from other CPUs No 2 to No 4 7 MULTIPLE CP
20. gt Fixed Scan Communication Setting gt Fixed Scan Interval Setting of Fixed Scan Communication Window E Fixed Scan Communication Setting E Fixed Scan Interval Setting of Fixed Scan Communication 0 05ms Unit Setting Not Set Fixed Scan Interval Setting Not Set by 0 05ms 0 888ms Fixed Scan Interval Setting Set by 0 05ms Fixed Scan Communication Function and Inter module Synchronization Function Not Cooperated Fixed Scan Communication Function Operation Image Display lt Detailed Setting gt Displayed E AA ICT 0 05 ms Unit Setting Set whether to set the fixed cycle interval settings in 0 05 ms unit Not Set Not Set Set Fixed Scan Interval Setting Not Set by Configure the cycle of fixed cycle communication interval by 0 222ms 0 888ms 0 05ms selecting from the items of the setting range 0 444ms Set the same settings only for the CPUs which are used by the 0 888ms fixed cycle communication function e 1 777ms 3 555ms e 7 111ms Fixed Scan Interval Setting Set by 0 05 ms Set any value as a fixed cycle communication interval in 0 05 ms 0 10 ms to 10 00 ms 0 10ms unit Fixed Scan Communication Function and Inter Set whether to operate the fixed cycle communication between Not Cooperated Not module Synchronization Function CPUs matched with the cycle set in Synchronization Setting Cooperate Cooperated within the Modules The maximum area size which can be set in the f
21. module channel number 2nd module Network module 2nd module controlled 184 APPENDICES APPENDIX Appendix 6 Special Register List SD1588 CC Link IE Field Network CC Link IE Field Network Channel number 181 to 188 of the CC Link IE Field S Initial module channel number module channel number Network module 3rd module controlled 3rd module 3rd module SD1589 CC Link IE Field Network CC Link IE Field Network Channel number 181 to 188 of the CC Link IE Field S Initial module channel number 4th module channel number 4th Network module 4th module controlled module module SD1590 CC Link IE Field Network CC Link IE Field Network Channel number 181 to 188 of the CC Link IE Field S Initial module channel number 5th module channel number 5th Network module 5th module controlled module module SD1591 CC Link IE Field Network CC Link IE Field Network Channel number 181 to 188 of the CC Link IE Field S Initial module channel number 6th module channel number 6th Network module 6th module controlled module module SD1592 CC Link IE Field Network CC Link IE Field Network Channel number 181 to 188 of the CC Link IE Field S Initial module channel number 7th module channel number 7th Network module 7th module controlled module module SD1593 CC Link IE Field Network CC Link IE Field Network Channel number 181 to 188 of the CC Link IE Field S Initial module chan
22. CPU Buffer Memory Setting gt lt Detailed Setting gt Window CPU Buffer Memory Send Receive Direction Display between CPUs No 1 RI2GCPU V Host Station No 2 RI200PU Y No 3 ROSCPU No 4 R32CPU Go G2048 GPU Buffer Memory CPU Buffer Memory CPU Buffer Memory CPU Buffer Memory 512 K Points 512 K Points 512 K Points 512 K Points Refresh Refresh Refresh Refresh 594287 0 Points Set 0 Points 0 Points Set 0 Points Set ae Ml a Mt bel No 1 Send Data a a a a 2 0 K Points ES ES 2 173 Refresh Mm No 1 Receive Data Mm No 1 Receive Data m No 1 Receive Data 8 at 145 Exe gt 2 2 2 S Han o 0 Points Set o 2 o U3E 1 HG0 3 No 2 Receive Data 3 3 3 0 K Points 3 3 3 Refresh A No 2 Send Data E No 2 Receive Data 3 No 2 Receive Data At 145 Exe USE 1 HGO O Points Set U3E2 HG0 No 3 Receive Data AM 0 K Points No 3 Receive Data No 3 Send Data No 3 Receive Data Refresh At 145 Exe or USE2 HGO 0 Points Set UsES HGO No 4 Receive Data i il 0 K Pointel No 4 Receive Data No 4 Receive Data No 4 Send Data Refresh At 145 Exe o U3E3 HG0 0 Points 98 Setting button in each refresh area Click the button to configure the refresh settings used for data 0 points communication between CPU modules Send Receive Direction Display between Click the button to display the arrow that indicates the send re
23. E ERROR LED Minor Error Continue Error Display ERROR LED Minor Error Continue Set whether to turn the ERROR LED ON when a minor error occurred Display Display Error Do Not Display tin in multiple CPU function Set whether to stop all CPUs when a major or moderate error occurs on each CPU in a multiple CPU configuration Page 118 Stop setting 4 BASIC FUNCTIONS 4 10 RAS Function 57 58 Error clear function This function clears all the existing continuation errors at once Continuation error occurs No continuation error occurs a Power shutoff Battery error ZA Clear the error CW Configurator Error that can be cleared Only the following continuation errors can be cleared 1000H Power shutoff 1080H ROM write count error 1100H Memory card access error 1120H SNTP clock setting error 1124H Default gateway gateway IP address error 1128H Own node port number error 1129H Open specification port number error 112DH Specified IP address error 112EH Connection establishment failed 1133H Socket communications response send error 1134H TCP connection timeout 1152H IP address error 1155H Connection number acquisition error 1157H Receive buffer securement error 1165H UDP IP send failed 1166H TCP IP send failed 1
24. File access fails Check the following items The CARD RDY LED is OFF when the read write target is an SD memory card Insert an SD memory card or re insert an SD memory card The USB RDY LED is OFF when the read write target is a USB Mass Storage Class compliant device Connect a USB Mass Storage Class compliant device or reconnect a USB Mass Storage Class compliant device The SD memory card is write protected when write target is the SD memory card Cancel the write protection of the SD memory card Refer to the manual for the SD memory card used There is no free space in the write target drive Secure a free space in the write target drive Change the write target to another drive The user program that uses the write target file is running Stop the user program that uses the write target file A file system error occurred in an SD memory card or a USB Mass Storage Class compliant device Restore the file system in the SD memory card or the USB Mass Storage Class compliant device Format the SD memory card with CW Configurator Use an applicable SD memory card Format the USB Mass Storage Class compliant device with the supported file system by using a personal computer Page 27 Drive names and file systems Do not partition the drive of USB Mass Storage Class compliant device The network is in the overloaded conditions Disconnect the other Ethernet devices and e
25. Link special register Sw When using a C Controller module dedicated function specify the offset of the buffer memory For details of respective link device buffer memory addresses refer to the user s manual of the specified Network module 5 ACCESS FUNCTION USING NETWORK MODULE 5 2 Cyclic Transmission 75 76 5 3 Transient Transmission This section explains about transient transmission using C Controller module There are two methods available for transient transmission message transmission using the channel of the Network module which is controlled by C Controller module and direct access to devices of other stations Message communication This method is used to read write data using the channel of a controlled Network module from C Controller module The message communication function allows data communication similar to link dedicated instructions i e SEND RECV instructions Data flow The following figure shows and explains the data flow of message communication C Controller module Network Network C Controller module Sending side module module Receiving side Channel 1 Channel 1 User program 1 gt pe erie mes 4 User program Channel 2 Channel 2 Channel 3 2 o ode Channel 4 E 1 be Channel 5 H Channel 8 Channel 8 Network No 1 1 The sending side C Controller module sends data by specifying the
26. MITSUBISHI ELECTRIC Mitsubishi Programmable Controller series MELSEC Q R C Controller Module User s Manual Application R12CCPU V SAFETY PRECAUTIONS Read these precautions before using this product Before using this product please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly In this manual the safety precautions are classified into two levels AN WARNING and JN CAUTION A WARNING Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury CAUTION Indicates that incorrect handling may cause hazardous conditions resulting in minor or moderate injury or property damage Under some circumstances failure to observe the precautions given under A CAUTION may lead to serious consequences Observe the precautions of both levels because they are important for personal and system safety Make sure that the end users read this manual and then keep the manual in a safe place for future reference Considerations for using this manual O Replace the terms used in the following pages in this manual with the terms shown on the right respectively Corresponding page SAFETY PRECAUTIONS CONDITIONS OF USE FOR THE PRODUCT and COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES 1 Programmable controller gt C Controller module 2 Programmable controller system
27. SlotNo Base unit No SD116 eP modue Power supp L Power supply module No No module No H SD117 Network Ni 1 CPU module No SD118 elworis No H Network No Station No 2 Station No 145 87 0 Base unit No Slot No L0 to 11 Slot No 0 Main base unit L 1107 Extension base unit level 1 to 7 8 Extension base unit level 8 when the number of base is exceeded 15 87 0 CPU module Power supph No module Ro L4 to 2 Power supply module 1 to 2 1 to 4 CPU No 1 to No 4 0 for a master station 4 APPENDICES APPENDIX 80 Appendix 6 Special Register List stem information The special registers related to the system information are as follows module implemented module 1 which is divided by 16 is stored Example 1 Last input number 010FH SD250 0011H Example 2 Last input number OFFFH SD250 0100H SD200 Switch status CPU switch status RESET The switch status of the CPU module is stored as S when RESET STOP STOP RUN switch follows RUN switch changed 0 RUN 1 STOP SD201 LED status Status of CPU LED This device stores the information that indicates LED S Status change status of the CPU module in the following bit patterns 0 OFF 1 ON 2 Flashing high speed low speed
28. The maximum number of continuation errors and stop errors to be displayed is 15 and 2 respectively If already 15 continuation errors have been displayed then next continuation error will not be displayed If the error of the same code has been displayed the date and time of occurrence and the detailed information about the relevant error is updated Operation at error detection of Intelligent function module If an error is detected with the self diagnostic function C Controller module operates in accordance with the setting of CPU Module Operation Setting at Error Detected as follows Page 57 Operation setting upon an error detection in Intelligent function module When Stop is selected in CPU Module Operation Setting at Error Detected When an error is detected the operation depends on the setting of Output Mode upon CPU Error in the Module Parameter of each module e When Clear is set Output to the corresponding module is turned OFF e When Hold is set Output to the corresponding module is retained Point For the setting method of module parameter refer to the manual for each module When Continue is selected in CPU Module Operation Setting at Error Detected C Controller module does not stop 4 BASIC FUNCTIONS 4 10 RAS Function 55 56 Set whether the error is detected DO CPU Parameter gt RAS Setting gt Error Detections Setting Window Error Detections Setting Module V
29. b15 s p2 bit 68 br i pm b3 i 60 FORERO EU RETO REET ET O TER o 0 o M 1 READY 2 ERROR 3 BUS RUN 4 USER 5 USB RDY 6 CARD RDY 7 Reserved 8 RS SD RD SD203 CPU operating status CPU operating status The operating status of the CPU module is stored as S System follows 0 RUN 1 Reserved 2 STOP 3 PAUSE SD228 Multiple CPU system Number of CPU modules The number of CPU modules in the multiple CPU system S Initial information is stored one to four including empty CPU SD229 CPU module number in The host station CPU number is stored when a multiple S Initial multiple CPU system CPU system is configured SD230 CPU No 1 operating status The operation information for each CPU number is S At error occurrence SD231 CPU No 2 operating status stored Information for a number of multiple CPUs which l is indicated in SD228 is stored SD232 CPU No 3 operating status a b15 _b14 b8 b7 b6 b5 b4 b3 b0 D233 CPU No 4 operating status Empty Fryer Oia Pb waning ats mal BAU 1i Manii i A Masels oror Fr Reset i 3 Major error Stop error flag 0 No stop error 1 Stop error SD241 Number of extension base 0 Main base unit only The maximum number of the implemented extension S Initial unit 1 to 7 Number of extension base units is stored base units SD242 Determination of Identification of the base Determines whether or not MELSEC Q series module S Initial mountability of MELSEC Q type can be mounted
30. compliance with the noise immunity standards for Ethernet cable RS 232 cable and USB cable is required MEthernet cable For a twisted pair cable to be connected to the connector of 10BASE T 100BASE TX 1000BASE T use a shielded twisted pair cable MRS 232 cable For RS 232 cable be sure to ground the shield part of a shield cable 11 CONTENTS SAFETY PRECAUTIONS suid tossed eta p anni at ojal iii depiladora dde 1 CONDITIONS OF USE FOR THE PRODUCT sico ci ax a Gu eee kaa eee See wes eee 10 CONSIDERATIONS FOR USE coco in E ee ete ae ee a eee i ea ee ee 10 INTRODUCTIONS sicario cies one te sao ke aed ee ae AR A eae eee 11 COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES 000 000 0000 0c eee 11 RELEVANT MANUALS 2 005 4020 00600 00 40 pe C4000 OE ES ak Seed ee ages le fee eed 16 TERMS iio eii peine ies 17 PART1 PROGRAMMING CHAPTER 1 EXECUTING PROGRAMS 20 1 1 Execution Order mos cor AAA AR AAA A A e D 20 1 2 Initial PROCESSING ois wiii A RA 20 1 3 VO Access VMINGs ss corsa o ca A e re 20 CHAPTER 2 OPERATION PROCESSING IN C Controller module 22 2 1 Operation Processing Depending on Operating Status o ooocoococoonnnnnona eee 22 2 2 Operation Processing at Momentary Power Failure 0 000 c eee eee cece nee 23 CHAPTER 3 MEMORY CONFIGURATION OF C Controller module 24 3 1 Memory Configuration mo cuco e eevee gle 24 Progra M MEMON cies esea eid ae ee rare A eRe egal Reg a EGG A aye d
31. excess can be configured by RAS Setting of CPU parameter Page 56 Error Detections Setting Page 56 Operation settings when an error is detected e To ensure the data transmission at the following cycle of the fixed cycle communication set Program Execution Section Exceed 145 to Detect in the RAS setting of the CPU parameter An error can be detected if data have been written at the timing when data cannot be sent in the cycle of the fixed cycle communication Multiple CPU synchronous interrupt program of the CPU No 1 Multiple CPU synchronous interrupt program of the CPU No 2 Send data of CPU No 2 Fixed scan communication cycle Fixed scan communication cycle Send data A of CPU No 2 is written Eea od eee ne Send data A of CPU No 2 is received at the next scan Send data B of CPU No 2 is received after two scans Send data B of CPU No 2 is written a E Data communication section by system y gt WA Data is sent at the next scan because it has been written before data communication Data is sent after two scans because it has been written before data communication 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules 139 7 5 Interrupt from Other CPU An interrupt from other CPU module can restart the user program that is wait
32. information of the error by performing module information ON or diagnostics using CW Configurator and review the RESET parameter setting corresponding to the displayed number parameter number 154 APPENDICES APPENDIX Appendix 1 Error Code List 22E0H Parameter In the multiple CPU system the system Check the detailed information parameter Parameter At write verification parameter settings differ from those of information of the error by performing module information power ON error other CPU modules diagnostics using CW Configurator and correct System or RESET In the multiple CPU system the system the system parameters corresponding to the configuratio parameters in the host CPU module are displayed number parameter number in the CPU n overwritten and the settings differ from No 2 or later The CPU for which the module information those of other CPU modules synchronization setting and fixed cycle communication setting are used set the same system parameters between the CPU modules used e Rewrite the system parameters of all the modules The system parameter settings must be same in all the CPUs 2400H Module The module information at powered ON Check the detailed information system configuration System Always verification differs from the information of modules information of the error by performing module configuratio error actually mounted diagnostics using CW Conf
33. module Read data from O x Non processing other CPU module Buffer memory of an Intelligent function module Read data O O Write data x Error x Error u Set the I O state outside the group O System Parameter gt Multiple CPU Setting gt Other PLC Control Module Setting gt I O Setting Outside Group Window El Other PLC Control Module Setting LE VO Setting Outside Group hput Status Outside Group Not Imported Output Status Outside Group Not Imported Displayed AA PAE A Input Status Outside Group Set the input state outside the group e Not Imported Not Imported Import Output Status Outside Set the output state outside the group Not Imported Not Imported Group Import 4 4 6 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 1 Out of Group I O Fetch Importing input X data When Import is set for the input status in I O Setting Outside Group the ON OFF data from input module and Intelligent function module controlled by other CPUs can be imported Modules from which input X data can be imported Input X data can be imported from the following modules mounted on the main extension base unit e Input module 1 O combined module e Intelligent function module 1 For MELSEC iQ R series the areas assigned to the output portion unused area are not imported The ON OFF state is retained Point Input X data can also be imported from a user program with the C Contro
34. to 7 and 24 in the following figures 2 Drive number and file name b15 b0 15 210 SD81 ena With or without specification i Drive No Drive No SD83 L_File name 1st character SD84 j 2nd character SD85 File name First 8 3rd character SD86 characters of Unicode SD87 character string 4th character Sth character SD88 A 6th character SD89 7th character SD90 8th character 4 Parameter information bts bO 45 76543210 SD81 z With or without specification SD82 PRT paramore E Parameter type SD83 H Parameter storage destination VO No T 1O No SD84 7 SD85 Parameter No e Parameter No i Network No sD86 Network No tig L Station No SD87 Station No E System information SD88 410015 87 0 sD89 aia sp90 call Parameter type ii 1 System parameter SD91 dvstemintomat n tt 2 CPU parameter spg2 gt a 3 Module parameter if 4 Module extended parameter SOYA a 5 Memory card parameter SD94 e I Jii Parameter storage destination 3095 zal 2 SD memory card SD96 EN 4 Data memory sparl 41 0 No i OxFFFFH if an I O No is not assigned 0 for a master station 5 System configuration information
35. 0000 Reads the content of a file Write File 1829 0000 Writes content to a file Close File 182A 0000 Unlocks a file with open processing 400 6 Ethernet COMMUNICATION FUNCTIONS 6 2 Communication with SLMP EProcessing points for Test random write Set the processing points within the value which can be obtained with the following formula Number of word access points x 12 Number of double word access points x 14 lt 1920 e For bit devices 1 point equals 16 bit for word access As for double word access 1 point equals 32 bit e For word devices 1 point equals 1 word for word access As for double word access 1 point equals 2 word The following shows the applicable devices I O device Input 9CH OH to FFFH Hex Output 9DH OH to FFFH Hex Internal user device Internal relay 90H Device number within the range in the C Controller module of the Dec Data register ASH target station can be specified Dec Link relay AOH Hex Link register B4H Hex Internal system device Special relay 91H 0 to 2047 Dec Special register A9H 0 to 2047 Dec 4 ASCII code cannot be used 6 Ethernet COMMUNICATION FUNCTIONS 4 4 6 2 Communication with SLMP 0 6 3 File Transfer Function FTP server The server function of FTP File Transfer Protocol which is a protocol used to transfer files with target devices is supported The target device with FTP client function can access the files in the C Co
36. 1 1 Execution Order MEMO 1 EXECUTING PROGRAMS 21 1 3 I O Access Timing 22 2 OPERATION PROCESSING IN C Controller module This chapter explains the operation processing in C Controller module 2 1 Operation Processing Depending on Operating Status The operating status of C Controller module are as follows e RUN e STOP e PAUSE Operation processing in RUN state RUN state indicates that performing output Y to each module and writing data to the buffer memory from the user program in C Controller module are available The program using the C Controller module dedicated function Output when entering the RUN state C Controller module outputs the following depending on the setting of the output Y when the module state is changed from STOP to RUN K Page 52 Output Mode Setting Function from STOP to RUN e Output Y state saved at the STOP state Operation processing in STOP state STOP state indicates that performing output Y to each module and writing data to the buffer memory from the user program in C Controller module are disabled The module status can be changed with the RESET STOP RUN switch or remote STOP function If the stop error occurred in a C Controller module the module will be in STOP state The program using the C Controller module dedicated function Output when entering the STOP state C Controller module saves the output status right before the C Controller module is
37. 100 000 times it is registered in the event history Page 60 Event history function Point A e Since the operation of the program memory data memory is checked at factory acceptance test the initial value of the write count index is not 0 e Since C Controller module always checks data in the program memory data memory the write count index value may be increased 3 MEMORY CONFIGURATION OF C Controller module 3 2 Memory Operation 3 4 Files This section explains the files of C Controller module Drive names and file systems The following shows the drive names and file systems correspond to each memory CPU built in memory Program memory 0 FAT16 Data memory 14 FAT16 System memory SYSTEMROM FAT16 Memory card SD memory card 12 FAT16 FAT32 USB device USB Mass Storage Class compliant USBO FAT16 FAT32 device File type and storage destination memory The following shows the file type and storage destination memory O Storable x Not storable User program O x x O O Script file O x x O x File register x O x x x CPU parameter x x O O x System Parameter x x O O x Module parameter x x O O x Module extended x x O O x parameter Memory card parameter x x x O x Event history x x O O x Arbitrary folder file x x O O 3 MEMORY CONFIGURATION OF C Controller module 3 4 Files 27 28 File and folder configuration The followi
38. 4 4 7 Inter module Synchronization Function 5 52 E To interlink with the cycle of the fixed cycle communication of the multiple CPU system function set Fixed Scan Communication Function and Inter module Synchronization Function under Fixed Scan Communication Setting to Cooperate Page 126 Data Communication Between CPU Modules 4 8 Output Mode Setting Function from STOP to RUN This function sets the mode of the output Y when C Controller module operating status is switched from STOP to RUN T CPU Parameter gt Operation Related Setting gt Output Mode Setting of STOP to RUN Window Output Mode Setting of STOP to RUN Output Mode of STOP to RUN Output the Output Y Status before STOP Output Mode Setting of Set the operation of the output Y Output the Output Y Status before Output the Output Y Status before STOP to RUN when the operating status is switched STOP STOP from STOP to RUN Clear the Output Y the Output Y Status before STOP After the output Y status before the operating status turns into STOP state is output the user program is executed learing output Y The output Y is turned OFF and the output Y status is output after the program operations are executed The following shows the considerations on outputs when changing the status from STOP to RUN after forcing the output Y ON at STOP status When Output the Output Y Status before STOP is sel
39. 7 5 Interrupt from Other CPU Setting data n1 Start input output number of the target CPU divided by 16 User BIN 16 bits The values to be specified actually are as follows CPU No 1 3E0H CPU No 2 3E1H CPU No 3 3E2H CPU No 4 3E3H n2 Interrupt pointer number 0 to 15 User BIN 16 bits D1 D1 0 Device that is turned ON for one scan upon completion of the instruction processing System Bit D1 1 Device that is turned ON for one scan upon abnormal completion of the instruction processing For abnormal completion D1 0 also turns ON D2 Device where the completion status data is stored System Word 1 Can be omitted only when both of D1 and D2 are omitted Control details Make an interrupt occur to C Controller module when the execution command of the D P GINT instruction rises OFF gt ON using a sequence program When received an interrupt from programmable controller CPU C Controller module restarts the user program that is waiting for an interrupt event by the CCPU_WaitEvent function Error details In any of the following cases an interrupt completes abnormally and an error code is stored in the device specified with the completion status storage device D2 0010H The instruction request from programmable controller CPU to C Controller module exceeds the Check and correct the allowable value sequence program 2282H The interrupt pointer number set with the D P GINT instruction is o
40. CH1 belongs to the 223 255 255 254 different network from CH2 Subnet Mask Set the subnet mask pattern of the default gateway when IP 128 0 0 0 to 255 255 255 address of the default gateway is set and perform communication 255 255 255 252 0 with a target device on another network via a router All the devices on a sub network must be the same subnet mask This setting is not required when communicating in a single network Default Gateway Set the IP address for the device default gateway which is Blank relayed for the access to the target device on other network 0 0 0 1 to Set the value that satisfies the following conditions 223 255 255 254 The IP address class is any of A B and C The subnet address of the default gateway is the same as that of C Controller module on the own station The host address bits are not all 0 or all 1 CH2 Set whether to use the Ethernet port CH2 Not Use Not Use Use IP address Same as CH1 0 0 0 1 to 223 255 255 254 Subnet Mask 128 0 0 0 to 255 255 255 252 Default Gateway Blank 0 0 0 1 to 223 255 255 254 and CH2 respectively 6 Ethernet COMMUNICATION FUNCTIONS 6 7 Parameter Settings When using both CH1 and CH2 the IP address and subnet mask should be set with different values for CH1 107 External device configuration Select the method and protocol used for communication with a target device DO Module Parameter gt Basic Settings gt
41. CPU module I O module or Intelligent function module Please consult your local Mitsubishi representative 2241H Parameter The I O numbers set in the system e Check if the system configuration displayed on the Parameter At power error module parameters differ from those of the System Monitor window of CW Configurator information ON RESET module actually mounted matches the actual system configuration fixed cycle The target module is not mounted on the Check the detailed information parameter processing slot where the system parameters and information of the error by performing module execution module parameters are set diagnostics using CW Configurator and review instruction The module type set in parameter differs the parameter setting corresponding to the execution from that of the module actually displayed value parameter number If the same or module mounted error code is displayed again the possible cause access is a hardware failure of the data memory in the CPU module I O module or Intelligent function module Please consult your local Mitsubishi representative 2242H Parameter The Intelligent function module has Check the detailed information parameter System At power error module detected a module parameter error information of the error by performing module configuratio ON or diagnostics using CW Configurator and check the n RESET module corresponding to the displayed number I O information number I
42. External Device Configuration gt lt Detailed Setting gt 1 Select the target device to be connected in Module List and drag it to List of devices or Device map area Ethernet Configuration Edit View Close with Discarding the Setting Close with Reflecting the Setting i Module List x Ethernet Selection Find Module M4 gt 2 az i MAC El Ethernet Device General MELSOFT Connection Module Fixed Buffer e Setting Host Station Ea gt gt mE T da Active Connection Module 5 Unpassive Connection Module lt m Eg Fullpassive Connection Module E Ethernet Device COGNEX Connection El COGNEX Vision System Sl 5 Ethernet Device Panasonic Industria El Laser Displacement Sensor 4 o E Host Station Connected Coun SLMP Conn Outline ection Mod ISLMP Connection Module ule Use when specify open method by SLMP _ e 2 Set the items 3 Select Close with Discarding the Setting and close the External Device Configuration window In setting External Device Configuration setting the target device in order starting from the connection No 1 is required To use the specific connection number set MELSOFT Connection Module to the connection number which is not used e When using only the connection No 5 Ethernet Configuration Edit View Close with Discarding the Setting Close with Reflecting the Setting
43. Fixed The check is not conducted Compares with the parameter of Scan Communication Setting and the smallest CPU number Synchronization Setting within the Modules Fixed Scan Communication Setting The CPUs with no fixed cycle communication setting are not checked The CPUs with a fixed cycle communication setting will be compared to the parameters with those of the CPU of the smallest number Synchronization Setting within the The CPUs with no inter module synchronization setting are not checked Modules The CPUs with an inter module synchronization setting will be compared to the parameters with those of the CPU of the smallest number CPU parameters number of points for the The CPUs with no fixed cycle communication setting are not checked refresh setting The CPUs with a fixed cycle communication setting will be compared to the parameters with those of the CPU of the smallest number Ex An error is detected in CPU No 2 and 3 by parameter check and CPU No 1 and 4 starts up normally Operation in error CPU No 1 CPU No 2 CPU No 3 CPU No 4 ystem parameter System parameter CPU parameter CPU parameter CPU parameter O Set if the next number is the same it refers to the same parameter X No setting Presence of parameters System parameters other than Fixed Scan Communication Setting A O 1 O 5 O 1 O 1 and Sy
44. However depending on the error occurrence status or the instruction to execute the C Controller module may not be able to detect the error Configure safety circuits external to the system to ensure that the entire system operates safely even in such a case Error checking methods The following are the error checking methods Checking with special relays or special registers When C Controller module detects any error the special relays SMO SM1 turns ON and an error code corresponding to the error is stored in the special register SDO If more than one error is detected the latest error code is stored in the special register SDO Use the special relay SMO SM1 and special register SDO in the program for the C Controller module or mechanical interlock In addition up to 16 error codes latest errors occurred on the system will be stored in the special registers SD10 to SD25 The error codes for the 17th and onwards will not be stored Checking with CW Configurator The error occurrence of the entire system latest errors occurred and event history can be checked on the module diagnostic screen QA CW Configurator Operating Manual e In the C Controller module maximum 16 latest errors occurred can be displayed In addition if an additional error occurs after a stop error the error information is not updated Error logs can be checked using the event history function Page 60 Event history function Point
45. Inc Contact information is available on the following website e Wind River Systems Inc http Avww windriver com INTRODUCTION Thank you for purchasing the Mitsubishi MELSEC iQ R series programmable controllers This manual describes the performance specifications procedures up to operation wiring and communication examples to use the module listed below Before using the product please read this manual and relevant manuals carefully and develop familiarity with the performance of MELSEC iQ R series programmable controller to handle the product correctly When applying the example programs provided in this manual to an actual system ensure the applicability and confirm that it will not cause system control problems Please make sure that the end users read this manual Relevant product R12CCPU V COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES Programmable controller system To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment certain measures may be necessary Please refer to one of the following manuals e LA MELSEC iQ R Module Configuration Manual e LI Safety Guidelines included in a base unit The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage Directives Additional measures To ensure that this product meets the requirements of the EMC and Low Voltage Directives
46. Intelligent function module Please other CPU modules consult your local Mitsubishi representative 2120H Memory card The memory card was removed without the Disable the memory card and then remove it Drive file Always error card being disabled information 2121H Memory card An error has been detected in the memory Re insert the memory card If the same error code is Drive file Always error card displayed again the possible cause is a hardware information failure of the memory card Replace the memory card 2180H Invalid file An invalid file has been detected Check the detailed information drive file Drive file At power information of the error by performing module information ON or diagnostics using CW Configurator check the file RESET name and write the specified file If the same error code is displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 21A0H File The file specified in the CPU parameters Check the detailed information drive file Drive file At specification doe not exist information of the error by performing module information instruction error The file specified in the boot file setting diagnostics using CW Configurator check the file Parameter execution of the memory card parameters does not name and write the specified file If the same error information interrupt exist in the memory card code is displayed again the possible cau
47. Lb Interrupt to motion CPU When an interrupt is issued to a motion CPU the motion CPU starts an interrupt program C Controller module Motion CPU gt Interrupt program User program The CCPU_DedicatedDInst function 7 MULTIPLE CPU SYSTEM FUNCTIONS 14 7 6 Issuing an Interrupt to Other CPU 5 APPENDIX Appendix 1 Error Code List C Controller module stores the error code in the special register SD when an error is detected using a self diagnostic function If an error occurs when the data communication is requested from the engineering tool Intelligent function module or network system the C Controller module returns the corresponding error code to the request source The error details and cause can be identified by checking the error code e Module diagnostics of CW Configurator QA MELSEC iQ R C Controller Module User s Manual Startup e Check with special registers SDO latest self diagnostics error code SD10 to SD25 self diagnostics error code e Check with the C Controller module dedicated function CCPU_GetErrInfo LA MELSEC iQ R C Controller Module Programming Manual Check with the dot matrix LED L1 MELSEC iQ R C Controller module User s Manual Startup 1 Select ERROR in the operation selection mode Error code system All error codes are given in hexadecimal format 4 digits 16 bit unsigne
48. MELSEC iQ R series bus interface Channel No 12 6E03H settings CC Link IE Controller Network Channel No 151 to 158 6E06H CC Link IE Filed Network Channel No 181 to 188 6E07H CC Link Channel No 81 to 88 6E04H Module parameter The list of module parameters is shown below Basic Settings Own Node Settings A012H External Device Configuration A031H Application Settings FTP Server Settings A037H Time Setting A039H Security A034H Telnet Server Settings A03BH 1 0 Assignment Setting Base Power Extension Cable Setting 7002H Module Name 7000H Slot Start XY 7002H Input module setting Input response time setting 7102H Interrupt setting 7800H Refresh Setting Output module setting Setting of error time output mode 7101H Refresh Setting Intelligent function module Basic setting 7100H setting Application setting 7200H Interrupt setting 7800H Refresh settings 7400H Network module setting Required Settings 7100H Station Type 7700H Basic Settings 7310H Refresh Setting 7401H Application Settings 7311H Interrupt Settings 7800H Interlink Transmission Settings 7500H APPENDICES APPENDIX 4 Appendix 7 Parameter List 87 Memory card parameter This section shows the list of memory card parameters Boot Setting Boot File Setting 2000H Setting of File Data Usage in Setting of File Data Usage in Memory Card 2010H Memory Card 188 APPEN
49. Module access Module access device Un G A device that directly accesses from the CPU module to the buffer memory of an Intelligent device function module mounted on the main base unit and extension base unit CPU buffer memory CPU buffer memory access U3En G A device that accesses memory used for reading writing data among CPU modules in a access device device multiple CPU system or for the CPU module built in function such as Ethernet function Fixed cycle communication U3En HG area access device File register File register ZR A device that retains data while the power is OFF It exists in the file storage area of the device label memory Pointer Interrupt pointer l A device that performs a corresponding routine when using the interrupt function APPENDICES APPENDIX Appendix 4 Device List 173 Appendix 5 Special Relay List The following shows how to read the list of special relay SM No Indicates the number of the special relay Name Indicates the name of the special relay Content Indicates the content of the special relay Details Indicates the details of the special relay Set by when to set Set side and set timing of special register Set by S Set by system When to set Error occurrence Set if an error occurs Status change Set only when the status is changed Do not change the special relay set by system with the operations such as program execution or device test Doing
50. Refer to the following manual LA SLMP Reference Manual Precautions Before performing remote RESET Close each user program in the C Controller module before performing remote RESET Performing remote RESET while the user program is being operated may damage the user program and data files MStatus after the completion of remote RESET After performing the remote RESET operation the operating status of the C Controller module or programmable controller CPU will be in the status set with the switch Remote RESET at error stop If remote RESET is performed when the C Controller module in a single CPU system or CPU No 1 in a multiple CPU system has stopped due to an error the C Controller module or programmable controller CPU will be in the status set with the switch Remote RESET with CW Configurator After the remote RESET is performed the communication between CW Configurator and C Controller module will be disconnected In this case reconnect the connection with CW Configurator Remote RESET when CPU No 1 is a programmable controller CPU in a multiple CPU system For remote RESET of programmable controller CPU refer to the manual for the programmable controller CPU to be used WT he host CPU is other than bus master CPU CPU No 1 The parameter Enable is set to Remote Reset is set in the bus master CPU No 1 Unset Error The bus master CPU No 1 is STOP CPU is RUN PAUSE Error e The bus master CPU No 1 i
51. SD262 Number of points assigned The number of points of the device Y currently set is S Initial for Y L stored as 32 bit data SD263 Number of points assigned for Y H SD264 Number of points assigned The number of points of the device M currently set is S Initial for M L stored as 32 bit data The number of points assigned is SD265 Number of points assigned stored even when the number of points assigned to M is for M H 32K points or less SD266 Number of points assigned The number of points of the device B currently set is S Initial for B L stored as 32 bit data The number of points assigned is SD267 Number of points assigned stored even when the number of points assigned to B is for B H 32K points or less SD280 Number of points assigned Number of points assigned The number of points of the device D currently set is S Initial for word devices for D L stored as 32 bit data The number of points assigned is SD281 Number of points assigned stored even when the number of points assigned to D is for D H 32K points or less SD282 Number of points assigned The number of points of the device W currently set is S Initial for W L stored as 32 bit data The number of points assigned is SD283 Number of points assigned stored oven when the number of points assigned to W is for W H 32K points or less SD306 Number of points assigned Number of points assigned The number of points of the device ZR currently set is S Initial for file regi
52. Station No 2 Data assurance ik refresh Data assurancez Station No 3 Station No 3 Data assurance Data assurance Station No 4 Station No 4 Data assurance A amp A For details of station based block data assurance function and the other data assurance functions refer to the user s manual for each Network module 5 ACCESS FUNCTION USING NETWORK MODULE 5 2 Cyclic Transmission HFunctions to be used The devices can be accessed from user program using function s of dedicated function library C Controller module Network module User program Device Link device C Controller module dedicated functions MELSEC data link functions refresh Following are the functions used to access devices by link refresh CCPU_WriteDevice Writes data to devices and internal system devices of C Controller module CCPU_ReadDevice Reads data from devices and internal system devices of C Controller module mdDevRstEx Resets turns OFF bit device s mdDevSetEx Sets turns ON bit device s mdRandREx Reads device s randomly mdRandWEx Writes device s randomly mdReceiveEx Reads devices in batch mdSendEx Writes devices in batch When the station based block data assurance function is enabled access the devices using the CCPU_WriteDevice CCPU_ReadDevice function If the mdSendEx mdReceiveEx mdRandWEx mdRandREx function is used inconsistency of data may occur MDevices specifi
53. The possible cause is a hardware failure of the information module or Intelligent function module module where the error has been detected during the initial processing Please consult your local Mitsubishi representative 2441H Module major An error has been detected in the The possible cause is a hardware failure of the error Intelligent function module when a function module where the error has been detected Please was executed consult your local Mitsubishi representative 2442H Module major An error has been detected in the The possible cause is a hardware failure of the At module error Intelligent function module when a function module where the error has been detected Please access was executed consult your local Mitsubishi representative 2443H Module major An error has been detected in the I O The possible cause is a hardware failure of the System At module error module or Intelligent function module module where the error has been detected Please configuratio access consult your local Mitsubishi representative n information 2450H Module major A major error has been notified from the e Check the connection status of the extension System Always error Intelligent function module The I O module or Intelligent function module is not mounted properly or was removed during operation cable Check the detailed information system configuration information of the error by performing module diagnostics using
54. Utilities INCLUDE_FS_EVNET_UTIL File System Monitor INCLUDE_FS_MONITOR file system shell commands INCLUDE _DISK_UTIL_SHELL_CMD file upload path initialization INCLUDE_WVUPLOAD_FILE floating point show routine INCLUDE_WH_FP_SHOW formatted IO INCLUDE_FORMATTED_IO formatted output routines INCLUDE_FORMATTED_OUT_BASIC fpp formatting for printf INCLUDE_FLOATING_POINT FTP client INCLUDE_FTP full featured memory allocator INCLUDE_MEM_MGR_FULL General BSP macros INCLUDE_BSP_MACROS get name info INCLUDE_GETNAMEINFO get serv by name INCLUDE_GETSERVBYNAME GNU compiler support routines INCLUDE_GNU_INTRINSICS GTF support INCLUDE_GTF gtf_timer_start INCLUDE_GTF_TIMER_START handle show routines INCLUDE_HANDLE_SHOW hardware fpp support INCLUDE_HW_FP hash library INCLUDE_HASH high resolution timestamping INCLUDE_TIMESTAMP Highly Reliable File System INCLUDE_HRFS host table INCLUDE_HOST_TBL APPENDICES APPENDIX 190 Appendix 8 VxWorks Component List Host target breakpoint synchronization INCLUDE_WDB_BP_SYNC host target modules and symbols synchronization INCLUDE_WDB_MDL_SYM_SYNC ICMP show routines INCLUDE_ICMP_SHOW ICMP v4 INCLUDE_ICMPV4 IF INCLUDE_IF iflndex Initialization INCLUDE_IFINDEX IGMP v2 v3 INCLUDE_IGMP Include Protocol Framework INC
55. When no module is mounted the value series module 0 MELSEC Q series is fixed to 0 module is not mountable i be bat eos There is no Base unit on Fixed to 0 amp which MELSEC Q series e Ao a lo MELSEC Q series module mountable module can be mounted Extension base unit level 2 MELSEC Q series module mountable 1 MELSEC Q series poo cc cb es Extension base unit level 7 MELSEC Q series module mountable module is mountable There 1 Fixed to 0 when no module is mounted is a Base unit on which MELSEC Q series module can be mounted SD243 Number of base slots Number of base slots The number of slots of the Base unit which is specified S Initial SD244 in the base power supply extension cable setting in the system parameters is stored When the number of slots of the Base unit is not specified in the system parameter that of the mounted Base unit is stored b15 b12b11 b8 b7 b4 b3 bo SD243 Extension 3 Extension 2 Extension 1 Main SD244 Extension 7 Extension 6 Extension 5 Extension 4 SD250 Latest I O for implemented Latest I O number for The value of the last I O number of the mounted module S Initial APPENDICES APPENDIX Appendix 6 Special Register List 181 SD260 Number of points assigned Number of points assigned The number of points of the device X currently set is S Initial for bit devices for X L stored as 32 bit data SD261 Number of points assigned for X H
56. as the event history by C Controller module refer to the event list 3 Page 60 Event history function Event history file The storage destination memory and file size for event history files can be changed in the event history setting 37 Page 60 Event history settings Storage destination memory The storage destination memory is set to either the data memory or SD memory card When an SD memory card is selected disable the write protect switch of the SD memory card If it is enabled an event history will not be stored Reading the event history file in the SD memory card using CW Configurator is possible If the write protect switch of SD memory card is enabled the write error will occur because during system operation an attempt to write an event occurred will failed as the write protect switch is enabled An error can be checked with the Module Diagnostic function immediately after the error occurred but the same information can not be checked after power cycle or reset since errors are not saved Point Pe ya at case a a en oc A For a system for which file write occurs frequently or the system of which state frequently changes because of the unstable communication the file size of the event history must be larger enough to store a greater number of events In this case using an SD memory card is recommended as the storage memory File size If the specified size is exceeded the records are deleted from the oldest one and
57. be sure to check the specifications of the command e Reboot by executing the VxWorks reboot function or pressing ctl IX Reset the C Controller module to reboot VxWorks e Execution of command in which arguments are included without specifying those argument with the result that 0 is specified to an argument Before executing a command be sure to check command specifications argument specifications Ex Do not execute the close command with no argument specified Doing so will close the resources reserved in the VxWorks system When the following command is executed interrupt is prohibited for long period of time and no processing called from the interrupt routine will be performed As a result an interrupt that occurs at certain intervals such as multiple CPU synchronous interrupt may be delayed e Execution of command to display the status Show MMessage display on the shell Message s issued by VxWorks during Telnet connection may be displayed on the shell For the messages of VxWorks refer to manuals of VxWorks and CW Workbench 6 Ethernet COMMUNICATION FUNCTIONS 4 6 5 Telnet Function 05 6 6 Security Function By restricting the access to C Controller module for each communication route the optimal security for the network environment can be applied IP filter function This function identifies the IP address of the access source and prevents access from specified illegal IP addresses Set t
58. dete ent dat ee ae ed e E a oe ee ai 60 4 11 Security FUNCION ooo ewe ccd lane white wei ocd a aoe Sta See aid wd ates aed en eS 63 Individual identification information 0 0 0 0 6 eet eet eee ee 63 File access restriction s asi aois sasia ea na ee ea ELAES E koa a Uai eee ent e es 63 SONICS SCUINGS ree i na a aloe mes ated AEM aoe dhe A T OEE AAA E di 65 Locked OUt wicca ea eis anaa a iip i ie iad de a o ae iad ee Roth boia a aE 66 CHAPTER 5 ACCESS FUNCTION USING NETWORK MODULE 67 5 1 Data Communication via Network ooooccoccccnnnnnn ee eee eee eee 67 5 2 Cyclic Transmissions sexs 2c acentetety a er ia ai 68 ACCESS DY link refresh ai a aa di a rom ada ance subis 70 Direct ACCESS ec A A A A it bees 74 Buffer Memory ACCeSS ois siaa a bet a bak A E be wee 75 5 3 Transient Transmission 22 iii A A a ee ele 76 Message COMMUNICATOR sss seei d cc cee bd A A ed ae eh ad ade ue eae a 76 Access to other station device 2 tnt ee 78 5 4 Access Function of Each Network Module 00 0 cece eee eee eee eee eee eee 79 CC Link IE Controller Network module 00 0c ect teen ee 79 CC Link IE Field Network Module eiis ene e eee ea eee weg ta hen Sa E dae es 81 CG Link MOdUIES oasis Ph ed age ae E Rares Pe hare aed 84 5 5 PrOCOSSINY TIME oxida A A 85 Link refresh time ee oi A da td 85 FROIOSIT CY CIS a OA ESO CO E O 87 Transmission delay time of cyclic transMissi0N oooocccccccccccc raa naarn e nrar erara 88 Reducti
59. e C Controller module dedicated function CCPU_ToBuf e MELSEC data link function mdSendEx mdRandWEx 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 4 7 1 Out of Group I O Fetch 7 7 2 Operation Settings This section explains the operation settings for a multiple CPU system Stop setting Set whether to stop or continue the operation in all CPUs if a major or moderate error occurred on each CPU O System Parameter gt Multiple CPU Setting gt Operation Mode Setting gt Stop Setting Operation Mode Setting E Stop Setting se PLG No 1 Major All Station Stop Moderate All Station Stop vee PLG No 2 Major All Station Stop Moderate All Station Stop vee PLG No 3 Major All Station Stop Moderate All Station Stop i PLG No 4 Major All Station Stop Moderate All Station Stop Displayed AAA A AA PLC No 1 Specify whether to stop the operation of all CPUs if a major or moderate error occurred on CPU No 1 PLC No 2 Specify whether to stop the operation of all CPUs if a major or moderate error occurred on CPU No 2 PLC No 3 Specify whether to stop the operation of all CPUs if a major or moderate error occurred on CPU No 3 PLC No 4 Specify whether to stop the operation of all CPUs if a major or moderate error occurred on CPU No 4 e Major All Station Stop Moderate All Station Stop e Major All Station Stop Moderate All Station Continue e Major All Station Continue Moderate All Station Co
60. error failure of the CPU module or Base unit Please has been detected consult your local Mitsubishi representative 2631H Multiple CPU A multiple CPU synchronization error has e Take measures to reduce noise System At power synchronization been detected Reset the CPU module If the same error code is configuratio ON RESET signal error displayed again the possible cause is a hardware n or fixed failure of the CPU module or Base unit Please information cycle consult your local Mitsubishi representative processing execution 3000H Boot function The boot setting in the memory card Review the boot setting in the memory card Drive file At power execution error parameters is incorrect parameters information ON or RESET 3001H Boot function When the boot function was executed the Reset the CPU module and perform the boot Drive file At power execution error file format processing failed function again If the same error code is displayed information ON or again the possible cause is a hardware failure of the RESET CPU module Please consult your local Mitsubishi representative 3004H Boot function When the boot function was executed the e Review the boot setting Drive file At power execution error CPU built in memory capacity was Delete unnecessary files in the CPU built in information ON or exceeded memory RESET 3042H User WDT The user watchdog timer controlled by the Reset the CPU module Always error system has detected a
61. error n RESET information 2070H Base unit An unsupported Base unit is connected e Disconnect the unsupported Base unit If all the System At power configuration A GOT is connected to the MELSEC Q Base units are supported the possible cause is a configuratio ON or error series extension base unit with a bus hardware failure of the CPU module or Base unit n RESET Please consult your local Mitsubishi representative Disconnect the GOT connected to the MELSEC Q series extension base unit information APPENDICES APPENDIX Appendix 1 Error Code List 151 2080H Inter module An inter module synchronization signal The possible cause is a hardware failure of the CPU System At power synchronization error has been detected module Base unit I O module or Intelligent function configuratio ON or configuration module Please consult your local Mitsubishi n RESET error representative information 20E0H Module A module that cannot be recognized by Mount the applicable modules System Always unrecognized the module is mounted e Review the system parameters in the CPU No 2 or configuratio In the multiple CPU system the module later and match the number with those of the n cannot be recognized because the smallest numbered CPU module information control CPU setting of the system The possible cause is a hardware failure of the I O parameter setting differs from that of the module or
62. execution of the C Controller module dedicated function CCPU_WaitUnitEvent the user program performs processing as a single interrupt event notification EWhen using the function in multiple user programs Do not set the same CPU number and same interrupt event number in multiple user programs Doing so results in uncertainty as to which user program receives an interrupt event 4 BASIC FUNCTIONS 4 4 5 Interrupt Function from Modules 5 46 4 6 Fixed Cycle Processing Function The fixed cycle processing function is a function to refresh with Network modules or to perform communication with external devices The following processes are performed with the fixed cycle processing function e Refresh processing with Network modules Link refresh e Reset processing of watchdog timer e Self diagnostics processing Setting fixed cycle processing interval The following shows the setting method for the cycle that the fixed cycle processing function operates DO CPU Parameter gt Operation Related Setting gt Refresh Cycle Setting E Refresh Cycle Setting Refresh Cycle 100 ms Refresh Cycle Set the interval that the fixed cycle processing function operates 1 to 2000 ms 1 ms 100 ms units error will occur when the following expression is not satisfied e Setting time of the program monitoring function WDT gt Cycle of the fixed cycle processing Checking interval The following shows the method to check the in
63. from user program The link device data in the Network module is transmitted cyclically to other stations CC Link IE Field C Controller module Network module User program Link device Direct access Dedicated function library RX RY RWw RWr Buffer memory access This method is used to access the buffer memory of Network module from user program The data in the buffer memory is refreshed with link device and transmitted cyclically to other stations CC Link IE Field C Controller module Network module User program Buffer memory Link device Buffer memory access Dedicated function library RX RY RWw SB SW 82 5 ACCESS FUNCTION USING NETWORK MODULE 5 4 Access Function of Each Network Module Message communication The message communication function can be used via the CC Link IE Field Network module controlled by C Controller module Number of channels For CC Link IE Field Network module up to two channels can be used for message communication C Controller module CC Link IE Field Network CC Link IE Field Network C Controller module on other Sending side module Station No 4 module Station No 5 station Receiving side Channel 1 a Channel 1 Channel 2 User program J 4 User program oe E Network No 1 5 ACCESS FUNCTION USING NETWORK
64. gt C Controller system O For details on a fail safe circuit for C Controller module refer to the following section E Page 196 General Safety Requirements Design Precautions NWARNING O Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller Failure to do so may result in an accident due to an incorrect output or malfunction 1 Emergency stop circuits protection circuits and protective interlock circuits for conflicting operations such as forward reverse rotations or upper lower limit positioning must be configured external to the programmable controller 2 When the programmable controller detects an abnormal condition it stops the operation and all outputs are e Turned off if the overcurrent or overvoltage protection of the power supply module is activated e Held or turned off according to the parameter setting if the self diagnostic function of the CPU module detects an error such as a watchdog timer error All outputs may be turned on if an error occurs in a part such as an I O control part where the CPU module cannot detect any error To ensure safety operation in such a case provide a safety mechanism or a fail safe circuit external to the programmable controller For a fail safe circuit example refer to General Safety Requirements in the MELSEC Q R Module Configur
65. interrupt program execution timeout will occur as the system processing has been suspended for a long time User watchdog timer If the user program cannot complete the processing within the time specified using the C Controller module dedicated function CCPU_StartWDT and also cannot execute the C Controller module dedicated function CCPU_ResetWDT timeout will occur Processing at timeout A watchdog timer error occurs and C Controller module will be in the following status The BUS RUN LED turns OFF and the ERROR LED flashes If a system watchdog timer error occurred the READY LED also turns OFF Resetting watchdog timer The following shows how to reset a watchdog timer System watchdog timer C Controller module resets system watchdog timer while executing fixed cycle processing User watchdog timer User program resets user watchdog timer by executing the C Controller module dedicated function CCPU_ResetWDT 4 BASIC FUNCTIONS 4 1 Program Monitoring Function WDT 33 34 4 2 Clock Function C Controller module has clock data internally This clock is used to manage time for functions controlled by the system including time stamp for the event history Poin tP e The clock is running continuously using the internal battery of C Controller module while the module is in OFF state or a power failure longer than the allowable momentary power failure time occurred e For the time stamp of a file the time
66. module other CPU at the time of the CCPU_WaitEvent function execution the user program is restored from the interrupt event wait state at the same time as the function execution In addition when multiple interrupt events have been notified to the same interrupt event number at the time of the CCPU_WaitEvent function execution the user program processes them as a single interrupt event notification If the same CPU number and the same interrupt event number are set in more than one user program it will be undefined which one of the user programs receives the interrupt event 144 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 5 Interrupt from Other CPU abnormal complete program 7 6 Issuing an Interrupt to Other CPU This function allows C Controller module to issue an interrupt to other CPUs C Controller module and motion CPU An interrupt cannot be issued to programmable controller CPU CCPU_DedicatedDInst Executes dedicated instructions categorized as D or DP TA upt to C Controller module other CPU When an interrupt is issued to C Controller module other CPU the C Controller module restarts the user program that is waiting for an interrupt event by the C Controller module dedicated function CCPU_WaitEvent C Controller module C Controller module other CPU User program User program The CCPU_DedicatedDInst function In an interrupt event wait state Execution restart
67. module are different Set the same segment to both the personal computer and C Controller module If it is relayed on another segment LAN via the gateway contact the network administrator of the connected LAN The duplicate IP addresses with the personal computer and the C Controller module exist in the connected LAN Contact the LAN network administrator to eliminate the IP address duplication As a result of C Controller module replacement PING does not respond normally Reset all devices on the network to which the C Controller module is connected The IP address outside range is specified Check the following items and specify a right IP address The IP address starts with a number from 1 to 233 excluding 127 e No space is included in the IP address The system in a multiple CPU system is faulty The self diagnostic error such as CPU module configuration error and parameter error e Reset the multiple CPU system and restart it Connect CW Configurator after the READY LED turned ON and write the correct parameters The network is in the overloaded conditions Disconnect the other Ethernet devices and establish the connection only with the C Controller module mmand is correct Perform the troubleshooting in accordance with the following symptoms HCW Configurator connection fails The Ethernet cable is not connected to the Ethernet port Connect the Ethernet cable The co
68. momentary power failure is recovered After the momentary power failure is recovered the C Controller module continues processing Check for the number of momentary power failure detection Since C Controller module retains number of momentary power failure inside the module it can be checked using the special register SD53 or the C Controller module dedicated function CCPU_GetPowerStatus Measurement of the watchdog timer WDT during a momentary power failure C Controller module continues measuring the watchdog timer if the operation is stopped due to the momentary power failure For example if a momentary power failure of 15 ms has occurred when the fixed cycle processing time is 190 ms while the monitoring time of the system watchdog time is set to 200 ms a watchdog timer error occurs When a power failure longer than the allowable time has occurred The initial start is performed and the operation processing will be the same as when the C Controller module is powered ON or reset 2 OPERATION PROCESSING IN C Controller module 2 2 2 Operation Processing at Momentary Power Failure 3 3 MEMORY CONFIGURATION OF C Controller module 3 1 Memory Configuration This section explains the memory configuration of C Controller module CPU built in memory RAM ROM a Device label Program memory memory NY r CPU buffer memory Data memory KY ON System memory III Memory card so nens so nens card US
69. of assigned points of link devices Link refresh time ms Br Br KM1 KM2 x RX RY 16 RWw RWr 5 ACCESS FUNCTION USING NETWORK MODULE 5 5 Processing Time 85 The processing time when using CC Link Network is as follows e Bq Total link refresh time sending side Br Total link refresh time receiving side e KM1 KM2 Constant Main extension base unit 1 0 0 36 x 10 RX Total number of points of link inputs to be refreshed RY Total number of points of link outputs to be refreshed RWw RWr Total number of points of link registers to be refreshed This is the total number of points of link devices set for the setting range of Refresh Setting and Network Range Assignment A Network Configuration Settings The number of points assigned to a reserved station is not included Link refresh time can be calculated with the following formula depending on the number of assigned points of link devices Link refresh time ms Br Br KM1 KM2 x RX RY 16 RWw RWr 86 5 ACCESS FUNCTION USING NETWORK MODULE 5 5 Processing Time Refresh cycle The following shows how to calculate the refresh cycle For the setting method of refresh cycle refer to the following section K5 Page 46 Fixed Cycle Processing Function de the refresh cycle Follow the procedure below to decide the refresh cycle 1 Calculation of the total link refresh time 2 Preliminary decision of the refresh cycle 3 Pre op
70. other areas cannot be changed O System Parameter gt Multiple CPU Setting gt Communication Setting between CPU gt Fixed Scan Communication Area Setting Window ac Fixed Scan Communication Area Setting Total K Word 0 K Word PLC No 1 Start XY U3E0 0 K Word PLC No 2 Start XY U3E1 0 K Word PLC No 3 Start XY U3E2 0 K Word PLC No 4 Start XY U3E3 0 K Word Displayed items Hem Description Setting range Defaut Total K Word The total value is displayed Entire system 0 to 24K words PLC No 1 Start XY U3E0 Set the send area size for CPU No 1 0 to 12K words OK word PLC No 2 Start XY U3E1 Set the send area size for CPU No 2 0 to 12K words OK word PLC No 3 Start XY U3E2 Set the send area size for CPU No 3 0 to 12K words OK word PLC No 4 Start XY U3E3 Set the send area size for CPU No 4 0 to 12K words OK word Precautions The maximum area size which can be set in the fixed cycle communication area varies depending on the fixed cycle interval 0 10 ms 12K words 0 15 ms 20K words Other than above 24K words 4 24 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules Point P When CPU of which fixed cycle communication function is set to Not Use exists setting the send area for the fixed cycle communication area to a CPU with the fixed cycle communication function set to Not Use that is unset with the h
71. output and also stops the refresh when the stop error occurred because of any failure of C Controller module or respective modules Point The inter module synchronous interrupt program 144 does not stop even if C Controller module is in the STOP state When the system parameter of the inter module synchronization function is rewritten while the C Controller module is in the STOP state it will not applied by switching to the RUN state and the C Controller module operates with the parameter before the rewrite Interaction with cycle of the fixed cycle communication of the multiple CPU system function The cycle of the fixed cycle communication of the multiple CPU system function can be matched with the inter module synchronization cycle By adjusting the cycle of the fixed cycle communication to the inter module synchronization cycle the input output of modules having different control CPUs can be synchronized The interaction with the multiple CPU system function is set with the parameter Page 126 Fixed cycle communication setting A D converter module controlled by CPU No 1 AJD converter module Ne controlled by CPU No 2 ojo ojf jo i The input output of modules a e i 1 controlled by different CPUs can be synchronized C Controller module CPU No 2 4 BASIC FUNCTIONS 4 4 7 Inter module Synchronization Func
72. processing once the DC input signal setting time has passed after XM turns ON which can be checked with the CCPU_X_In_BitEx function The DC input signal setting time is a time from when RA2 turns ON to when the DC input signal settles 100 Set the time to 0 5 seconds However setting the DC input signal settling time in the user program is not required when a voltage relay is used for RA2 APPENDICES APPENDIX 4 Appendix 10 General Safety Requirements 99 Fail safe measures for C Controller module failure Failures of C Controller module can be detected with the self diagnostic function However failures which occur in a part such as an I O control part may not be detected In this case all inputs or outputs may turn ON or OFF or normal operation and safety of the control target device may not be ensured depending on the failure Even though Mitsubishi programmable controllers are manufactured under strict quality control they may fail due to some reasons Configure fail safe circuits external to the C Controller module so that no machine is damaged and no accident occurs The system example and its fail safe circuit example are shown below gt a 2 e D fo oO Power supply X30 to X3F Y40 to Y4F module C Controller X00 to XOF X10 to X1F X20 to X2F Y50 to Y5F Y60 to Y6F Y70 to Y7F module gt Y80 to Y8F Mount an output module for fail safe purpose on the last
73. same error code is information displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3E40H Memory error An error has been detected in the memory Take measures to reduce noise Failure Always e Reset the CPU module If the same error code is information displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3E41H System WDT The system watch dog timer controlled by e Reset the CPU module Failure Always error the system has detected an error Or an e Lower the CPU usage rate of tasks with the higher information error occurred in the system software rate or make them inactivated The time set for the system watchdog e Review the user program timer monitoring time is too short Set the system watchdog timer monitoring time Tasks with the higher CPU usage rate is longer enough with consideration for the CPU in operation usage rate of the system task A program causing an error in the e Review the user program to prevent the station on memory or stack was executed which the station based block data assurance The operation that increase the CPU setting is enabled from being accessed when the usage rate of the system task writing stop error occurred parameter was performed Take measures to reduce noise The station on which the station based Check that the C Controller module i
74. setting of External Device Configuration of the C Controller module or the program the access from the target device is either passed or blocked according to the IP filter settings If the IP address set to External Device Configuration of the C Controller module is set to be blocked in the IP Filter Settings the IP filter setting is enabled and communication with the target device is blocked Considerations If there is a proxy server on the LAN block the IP address of the proxy server Otherwise the access from the personal computers that can access the proxy server cannot be prevented 106 6 Ethernet COMMUNICATION FUNCTIONS 6 6 Security Function 6 7 This section explains the settings required for communication with a target device in C Controller module Own node settings Parameter Settings Set the own node required for Ethernet communication O Module Parameter gt Basic Settings gt Own Node Settings E Own Node Settmes js IP Address E CH1 o CH IP ddress Subnet Mask Default Gateway IP Address Subnet Mask Default Gateway Displayed No setting Use 192 168 3 3 255 255 255 0 Not Use IP Address CH1 Set whether to use the Ethernet port CH 1 Not Use Use Use IP Address Set the same class and subnet address as the target device to be 0 0 0 1 to 192 168 3 3 communicated with Set the IP address so that
75. slot of the system In the example above the output module is mounted on Y80 to Y8F User program 2 Y81 O Y80 Y8F O 24V 0 5s 0 5s ov l 24 VDC C Controller module Output module 3 11 T2 A 2 Create a program to make Y80 repeats ON and OFF at the interval of 0 5 seconds 3 Since Y80 turns ON and OFF at the interval of 0 5 seconds use an output module without contact In the example above a transistor output module is used 2 APPENDICES APPENDIX 00 Appendix 10 General Safety Requirements Appendix 11 Calculation Method for Heat Generation of C Controller module The temperature inside the control panel in which C Controller module is installed must be 55 C or lower which is the operating ambient temperature of C Controller module Therefore it is required to know the average power consumption heat generation of the equipment and devices installed in the control panel for the heat release design of the panel For details on the calculation method refer to the following manual MELSEC iQ R Module Configuration Manual It should be noted that the terms in the left column shall be replaced with the one in the right column Programmable controller C Controller module Programmable controller system C Controller system APPENDICES APPENDIX 2 4 Appendix 11 Calculation Method for Heat Generation of C Controller module 0 Appendix 12 Added and Changed Funct
76. source module is not displayed Displaying event history The event history can be displayed using the menus of CW Configurator For details on the operating procedures and how to read the displayed information refer to the following manual LA CW Configurator Operating Manual Clearing event history The event history can be cleared on the event history window Once the event history is cleared all the event history stored in the specified storage memory is deleted For details on the operating procedures refer to the following manual LA CW Configurator Operating Manual 4 BASIC FUNCTIONS 4 10 RAS Function 4 11 Security Function This function prevents the assets stored in a personal computer or C Controller module in the MELSEC Q R series system from being stolen falsified operated incorrectly or executed improperly due to an unauthorized access Apply an appropriate security function in accordance with the situation Personal computer Outside Personal computer GOT Internet Intranet Protection for user assets in C Controller module Prevents property loss falsification incorrect E H operation and improper execution caused by an T fH unauthorized access User assets MELSEC iQ R series system Individual identification information The individual identification information of C Controller module can be read
77. status and reset status of other CPU modules 1240H Inter module The execution interval of the inter Check the detailed information time information of Time At interrupt synchronization module synchronous interrupt program the error by performing module diagnostics using information occurrence processing exceeded the setting value CW Configurator and take any of the following error The inter module synchronous interrupt corrective actions program 144 has not been completed e Review the process content of the inter module within the inter module synchronization synchronous interrupt program to complete the cycle process within the interval specified in Fixed Scan Interval Setting Modify the value specified to Fixed Scan Interval Setting to an appropriate value 1241H Inter module The execution interval of the inter Review the interrupt prohibited section and program At interrupt synchronization module synchronous interrupt program of which interrupt priority is high in order that the occurrence processing exceeded the setting value inter module synchronous interrupt program can be error A cycle which was not executed has executed been detected by the inter module synchronous interrupt program 144 1260H Multiple CPU The execution interval of the multiple Check the detailed information time information of Time At interrupt synchronization CPU synchronous interrupt program the error by performing module diagnos
78. the device name defined for each function Link input LX Dev_LX Link output Ly Dev_LY Link relay LB Dev_LB Link register LW Dev_LW Remote input RX Dev_LX Remote output RY Dev_LY Remote register RWw Dev_LW Rwr Dev_LW Link special relay SB Dev_LSB Link special register Sw Dev_LSW 5 ACCESS FUNCTION USING NETWORK MODULE 5 2 Cyclic Transmission Buffer memory access This method is used to access buffer memory of Network module from user program C Controller module Network module Network module User program Link Link device device Buffer memory access MUser program functions Following are the functions used to access buffer memory of Network module CCPU_ToBuf Writes data to the CPU buffer memory and Intelligent function module buffer memory in the module on the specified CCPU ToBuf ISR module position CCPU_FromBuf Reads data from the CPU buffer memory and Intelligent function module buffer memory in the module on the specified CCPU_FromBuf_ISR module position Link devices specified with a function buffer memory Respective link devices are assigned to a specific address in the buffer memory In the dedicated function library specify the device type with the device name defined for each function Remote input RX Dev_SPB Remote output RY Remote register RWw RWr Link special relay SB
79. when a remote programmable controller is controlled by an external device immediate action cannot be taken if a problem occurs in the programmable controller due to a communication failure To prevent this configure an interlock circuit in the program and determine corrective actions to be taken between the external device and CPU module in case of a communication failure wm Design Precautions WARNING O Do not write any data to the system area and write protect area of the buffer memory in the module Also do not use any use prohibited signals as an output signal from the CPU module to each module Doing so may cause malfunction of the programmable controller system For the system area write protect area and the use prohibited signals refer to the user s manual for the module used O f a communication cable is disconnected the network may be unstable resulting in a communication failure of multiple stations Configure an interlock circuit in the program to ensure that the entire system will always operate safely even if communications fail Incorrect output or malfunction due to a communication failure may result in an accident O To maintain the safety of the programmable controller system against unauthorized access from external devices via the network take appropriate measures To maintain the safety against unauthorized access via the Internet take measures such as installing a firewall Preca
80. where the error has been detected Please consult execution your local Mitsubishi representative 2463H Other CPU An error has been detected in other CPU Reset the CPU module If the same error code is System At power module major module displayed again the possible cause is a hardware configuratio ON or error failure of the host CPU module or other CPU module n RESET where the error has been detected Please consult information your local Mitsubishi representative 2470H Other CPU A major error has been notified from other Reset the CPU module If the same error code is System Always module major CPU modules displayed again the possible cause is a hardware configuratio error failure of the host CPU module or other CPU module n where the error has been detected Please consult information your local Mitsubishi representative 2480H Multiple CPU In the multiple CPU system an error has Check the detailed information system System Always error been detected in the CPU module where configuration information of the error by configuratio Stop is set in the Operation Mode performing module diagnostics using CW n Setting Configurator and remove the error information Any CPU module other than CPU No 1 is Remove the CPU module from the inapplicable mounted in the inapplicable slot slot An error occurs in the CPU module mounted in the inapplicable slot 2481H Multiple CPU In the multiple CPU system any of the Check the mounting st
81. 0 cee ee eee 186 PING 6 30 edit noes Sha wea bs 3 OE ed e 169 POWER LED vicio cc ee a 168 Processing at timeout 04 33 Program memory occ 24 READY LED said rr cad aad 168 Refresh cycl esa crura suena seas eee 46 Remote PAUSE o 37 Remote RESET 0 00 eee eee eee 37 Remote RUN STOP 0000 eee eee 36 SD memory card 00000 e eee 25 27 53 S CUIILY 33 4 4 44 ceeding dase shone ee deaee d 113 Service setting 200000 eee eee 65 Setting file attribute 64 Setting fixed cycle communication area 124 Setting refresh area 2 2 2 0 ee eee 123 SLMP cuicos eae ae Soe ee Sal 98 SNIP patada tia do 103 112 System MEMO ooo 24 System parameter oo 186 System watchdog timer aaao aaaea aaa aaa 32 Telet ass rd eat ecco eek aii a 104 114 169 TiM ZONE 0 es oe a aa a a 35 Transient transmission 2 0 67 USB Mass Storage Class compliant device 25 27 User watchdog timer 20000 32 MEMO 205 REVISIONS The manual number is given on the bottom left of the back cover February 2015 SH NA 081369ENG A First edition March 2015 SH NA 081369ENG B Added or modified parts Appendix 9 April 2015 SH NA 081369ENG C Added or modified parts Section 2 1 Section 7 4 Appendix 1 Appendix 3 May 2015 SH NA 081369ENG D Added or modified parts COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES TERMS Sect
82. 0 suma era rr a a a a 116 7 2 Operation Settings ivonne A ose as e a shana 118 Stop Setting di td a A debe de ba eee acne 118 Settings for synchronized startup s ccc eee eee eek de D eee 119 Clock ae afer O E canes feet a a eel ot Be 119 7 3 Multiple CPU Parameter Check o ooccocccccnnocn eee eee eee eee eee 120 7 4 Data Communication Between CPU Modules 000 cee eee eee eee eens 121 Used MEMON aterra id Blase Rast hs dee ie 121 Fixed cycle COMMUNMICATION SEUING dai fsa cd a lala arate 126 Error detection Setting 260046408 is a a a whe ea 126 CPU number b sed data assurance c 004 secs e kd ade eae RR ee aes 127 Functions that can be used for communication 0 0 00 eee 133 Communication using CPU buffer memory 00 00 00 c eee eee 133 Communication using fixed cycle communication area 1 0 0 tee 135 7 5 interrupt from Other CPU oc cecece cee ete eee eee eee ee eee eee eee eee eee ede eee ee eee 140 interrupt from C Controller Module s scesi ween a dy eased o beady culls 141 Interrupt from programmable controller CPU 1 2 2 0 0c eee eee 142 7 6 Issuing an Interrupt to Other CPU 2 0 eee eens 145 APPENDIX 146 Appendix Error Code Listes isi sss isaac ii aia 146 EfnOr COJO SM 2 i occu ii Ad aly ee RoE 146 Operation when an error OCCUIS ooo 148 Ho Wto cle ar STrOTS 2 2 0 Sd gee obec eon Ae Roh tered eee ie ie hte pd Wad wie A BAe one eee 148 Error COdGHISE ici ii wee haath awe
83. 100000 1100H Memory card Data cannot be written to the memory card Set the write protect switch of the memory card in Always access error because the write protect switch is in the the unlocked position locked position 1120H SNTP clock Time setting has failed when the CPU e Check if the setting of time setting function is At power setting error module is powered ON or reset correct ON or Check if the specified SNTP server is operating RESET normally and there is no failure on the network accessing the SNTP server computer 112EH Connection A connection could not be established in e Check the operation of the target device Always establishment the open processing e Check if the open processing has been performed failed in the target device e Review the port number of the module IP address port number of the target device opening method and the number of connections e When the firewall is set in the target device check if the access is permitted Check if the Ethernet cable is disconnected 1165H UDP IP send Data was not sent correctly with UDP IP e Check the settings for connection with the target Always failed device Check the operation of the target device or switching hub Since there may be congestion of packets on the line send data after a certain period of time e Check if the connection cable is disconnected Check that there is no connection failure with the switching hub 148 A
84. 167H Unsend data send error 1200H 1210H Module moderate error 1220H Other CPU module moderate error 1240H 1241H Inter module synchronization processing error 1260H 1262H Multiple CPU synchronization processing error 1830H Receive queue full 1831H Receive processing error 1832H Transient data error 1840H Memory card error 1843H Internal buttery failure 1846H Refresh cycle exceeded 2120H 2121H Memory card error 2400H 2401H Module verification error 2420H Fuse blown error 2441H 2442H Module major error 2450H Detection of module major error 2461H 2462H Other CPU module major error 2470H Other CPU module major error 2610H Inter module synchronization signal error 4 BASIC FUNCTIONS 4 10 RAS Function Using CW Configurator Clear errors with the module diagnostic function of CW Configurator QA CW Configurator Operating Manual MUsing user programs 1 Check the continuation error detected by the C Controller module dedicated function CCPU_GetErrInfo 2 Clear the cause of the currently detected continuation errors 3 Execute the C Controller module dedicated function CCPU_ClearError e Since this function clears all the detected continuation errors at once unintended errors may also get cleared e This function does not remove the cleared errors from the event history e Any errors occurred in a module other than the C Controller module cannot be cleared by this function 4 BASIC FUNCTIONS 4 10 RAS Fu
85. 34 number to be used for other communication devices these numbers cannot be used Use the following number for the port number e 1024 to 4999 or 5010 to 61439 Drive name of the SD memory card is not displayed properly Check the following items Drive name of the SD memory card is not displayed properly Format the SD memory card with CW Configurator Use an SD memory card supported by C Controller module L11 MELSEC iQ R C Controller Module User s Manual Startup Drive name of the USB Mass Storage Class compliant device is not displayed properly Check the following items e Format the USB Mass Storage Class compliant device with the supported file system by using a personal computer Page 27 Drive names and properly file systems Do not partition the drive of USB Mass Storage Class compliant device Drive name of the USB Mass Storage Class compliant device is not displayed APPENDICES APPENDIX 4 4 Appendix 3 Troubleshooting by Symptom 7 Appendix 4 Device List This section explains the available devices The following shows the device names that can be used and the range of use User device Bit device Input 4096 points XO to FFF HEX N A Output 4096 points YO to FFF HEX Bit device Internal relay 61440 points MO to 61439 DEC N A Link relay 655360 BO to 9FFFF HEX points Word device Data register 4184064 DO to 4184063 DEC points L
86. AUSE MELSEC iQ R C Controller Module Programming Manual Using SLMP Refer to the following manual SLMP Reference Manual Precautions The user program does not stop executing even if the C Controller module is in the remote PAUSE state To change the processing according to the operating status of the C Controller module use the C Controller module dedicated function CCPU_GetCpuStatus in the program Remote RESET Reset the C Controller module externally while the module is in the STOP state including the case in which the module is stopped due to an error Even when the RESET STOP RUN switch is on the RUN position the C Controller module can be reset while the module is in STOP state bling remote RESET To perform the remote RESET the remote RESET must be enabled T CPU Parameter gt Operation Related Setting gt Remote Reset Setting Remote Reset Setting Remote Reset Disable Displayed Remote Reset Set whether to enable the remote RESET Disable Disable Enable 4 BASIC FUNCTIONS 4 3 Remote Operation Function 37 38 Executing remote operations The following methods are available to execute remote RESET Using CW Configurator Refer to the following manual LA CW Configurator Operating Manual MUsing user program Execute the C Controller module dedicated function CCPU_Reset to perform remote RESET LA MELSEC iQ R C Controller Module Programming Manual MUsing SLMP
87. B device l USB Mass Storage Class compliant device 4 CPU built in memory is an abbreviation for the built in memory in C Controller module 2 When using a USB device check the firmware version of C Controller module 5 Page 202 Point The usage of the memory can be checked from CW Configurator QA CW Configurator Operating Manual Program memory Program memory is a memory that stores files such as user programs and script files System memory System memory is a memory that stores system files Writing files to the system memory is not available CPU buffer memory CPU buffer memory is a memory that is used for data communication among multiple CPUs 24 3 MEMORY CONFIGURATION OF C Controller module 3 1 Memory Configuration Device label memory The device label memory has the following areas Device area File storage area Data to be allocated The following table shows the data to be allocated to each area Device area User device File storage area File register Data memory Data memory is a memory to store the data such as parameter files or arbitrary folders files Parameter files written with CW Configurator are stored in the MELPRJ folder Page 28 Access to the MELPRJ folder A MELPRJ Parameter file and others Arbitrary folder Root folder Arbitrary file Arbitrary file SD memory card SD memory card is a me
88. CPU Modules 35 Processing order for fixed cycle communication area Device data of the host CPU is written to the fixed cycle communication area in the host CPU by execution of the C Controller module dedicated function CCPU_ToBufHG_ISR The data written to the fixed cycle communication area are read once sent to other CPU To write read data to from the fixed cycle communication area on a task use the C Controller module dedicated functions CCPU_ToBufHG CCPU_FromBufHG e C Controller module CPU No 1 lt gt C Controller module CPU No 2 C Controller module CPU No 1 C Controller module CPU No 2 CPU buffer memory CPU buffer memory 2 p Fixed cycle communication area of CPU No 1 Fixed cycle communication area of CPU No 1 5 Fixed cycle communication area of CPU No 2 Fixed cycle communication area of CPU No 2 1 3 6 4 User program User program Execution of the Execution of the CCPU_ToBufHG_ISR function CCPU_FromBufHG_ISR function Execution of the Execution of the CCPU_FromBufHG_ISR function CCPU_ToBufHG_ISR function CPU No 1 1 Device data of the user program is written to the fixed cycle communication area of CPU No 1 by executing the C Controller module dedicated function CCPU_ToBufHG_ISR 2 Device data in the fixed cycle communication area of CPU No 1 is sent to CPU
89. CW Configurator and check the module corresponding to the displayed number slot number e Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the module where the error has been detected Please consult your local Mitsubishi representative configuratio n information APPENDICES APPENDIX Appendix 1 Error Code List 155 2460H Other CPU An error has been detected in other CPU Reset the CPU module If the same error code is System At power module major modules during the initial processing displayed again the possible cause is a hardware configuratio ON or error failure of the host CPU module or other CPU module n RESET where the error has been detected Please consult information your local Mitsubishi representative 2461H Other CPU An error has been detected in other CPU Reset the CPU module If the same error code is module major module when a function was executed displayed again the possible cause is a hardware error failure of the host CPU module or other CPU module where the error has been detected Please consult your local Mitsubishi representative 2462H Other CPU An error has been detected in other CPU Reset the CPU module If the same error code is At fixed module major module when a function was executed displayed again the possible cause is a hardware cycle error failure of the host CPU module or other CPU module processing
90. D memory card When the memory initialization event occurs the event history is stored in the internal memory If the internal memory reaches the maximum allowable number for saving event history all subsequent events will be dropped Insertion of an SD memory card The event history which have been stored in the internal memory during absence of the SD memory card is stored to the SD memory card If the re inserted SD memory card contains an event history file of the same file size the C Controller module continues to store the event history information If the file size is different the C Controller module removes the existing event history file and creates a new event history file Parameter reflection timing The changed parameters will be enabled at any of the following timing e Power cycle e Reset Poit If the C Controller module operating status is changed from STOP to RUN after writing the changed parameters the changed parameters will not be enabled The changed parameters are enabled only after power cycle or reset of the C Controller module Event dropping If the event are detected frequently some events may be dropped In this case the event code HST LOSS which indicates that the event is dropped is displayed Point If the C Controller module is powered OFF or reset while sampling event history the status of the source module will be unknown Therefore the event code HST LOSS may be displayed and the
91. DICES APPENDIX Appendix 7 Parameter List Appendix 8 VxWorks Component List This section shows the list of the VxWorks components in C Controller module Address Space Allocator Show Routines INCLUDE_ADR_SPACE_SHOW address space shell commands INCLUDE_ADR_SPACE_SHELL_CMD ANSI assert INCLUDE_ANSI_ASSERT ANSI ctype INCLUDE_ANSI_CTYPE ANSI errno to erro string conversion function INCLUDE_ANSI_STRERROR ANSI locale INCLUDE_ANSI_LOCALE ANSI math INCLUDE_ANSI_MATH ANSI stdio INCLUDE_ANSI_STDIO ANSI stdio extensions INCLUDE_ANSI_STDIO_EXTRA ANSI stdlib INCLUDE_ANSI_STDLIB ANSI string INCLUDE_ANSI_STRING ANSI string duplication function INCLUDE_ANSI_STRDUP ANSI time INCLUDE_ANSI_TIME application initialization INCLUDE_USER_APPL arpLib INCLUDE_ARP_API Attach END to IPv4 INCLUDE_IPATTACH AUX clock INCLUDE_AUX_CLK basic memory allocator INCLUDE_MEM_MGR_BASIC basic MMU INCLUDE_MMU_BASIC basic network support INCLUDE_NETWORK Basic PPP Components binary semaphore creation routine INCLUDE_BASIC_PPP INCLUDE_SEM_BINARY_CREATE binary semaphores INCLUDE_SEM_BINARY Boot parameter process INCLUDE_NET_BOOT BPF Support BSD socket support INCLUDE_BPF INCLUDE_BSD_SOCKET BSP Memory Configuration INCLUDE_MEMORY_CONFIG buffer manager INCLUDE_BUF_MGR b
92. Execute the request after placing the CPU module into the operation cannot be executed STOP state related error 4013H CPU module Because the CPU module is not in the STOP state the request Execute the request after placing the CPU module into the operation cannot be executed STOP state related error 4021H File related The specified drive memory does not exist or has an error e Check the status of the specified drive memory error Back up the data in the CPU module and then initialize the memory 4022H File related The file with the specified file name or file number does not Check the specified file name and file number error exist 4023H File related The file name and file number of the specified file do not match Delete the file and then create a file again error 4024H File related The specified file cannot be handled Do not access the specified file error 4025H File related The specified file is currently processing a request from other Forcibly execute the request Or execute it again once the error engineering tool processing from other engineering tool has been completed 4026H File related Specifying the file password set to the target drive memory is Specify the file password set to the target drive memory and error required access it 4027H File related The specified range exceeded the file size Check the specified range and access within the range error 4028H File related The same file already exists Forcibl
93. F the write protect switch of the SD memory card switch of the SD memory card is ON 4052H Protect error Data cannot be written since the specified file attribute is the Do not write data to the specified file Or change the file read only attribute 4053H Protect error An error occurred when writing data to the specified drive Check the specified drive memory Or write data again after memory changing the target drive memory 4054H Protect error An error occurred when deleting data from the specified drive Check the specified drive memory Or delete data again after memory changing the target drive memory 4080H Other error Request data error Check the specified request data 4082H Other error The specified command cannot be executed since it is being Execute the command again once the request from other executed engineering tool has been completed 408BH Other error A remote request cannot be executed Execute the request again after placing the CPU module in the state where a remote request can be executed For the remote reset operation set Remote Reset to Enable with the parameter 4121H File related The specified drive memory or file does not exist Check the specified drive memory or file and execute the error request again 4122H File related The specified drive memory or file does not exist Check the specified drive memory or file and execute the error request again 4123H File related The specified drive me
94. Fixed cycle communication Fixed cycle communication i Fixed cycle communication area 1 1 1 1 1 Input data 1 1 1 1 O Read data from the fixed cycle communication area i Mago CPU synchronous interrupt program Inter module syctronousinterupt program utile CPU synchronous interrupt program Inter modus synchronous interrupt program Input Operation Output Normal program Input Operation Output Normal program refresh processing rs Operation processing Lao processing refresh utile CPU synchronous interrupt program lnr modue synchronous interrupt program Normal program Input Operation Output Normal program refresh processing refresh Output data a HERE 1 1 i O Set an output value 1 Output data 1 Operation processing Operation processing CPU No 2 Program execution processing Y Buffer memory f d Cycle of fixed cycle communication gt d Cycle of fixed cycle communication pe Cycle of fixed cycle communication gt Inter module synchronization cycle gt q Inter module synchronization cycle _ 4 Inter module synchronization cycle gt 1 pi 1 A Create the program so that the two cycles of the output differences are offset 1 Write the input value to the fixe
95. I O module or Intelligent function module Please consult your local Mitsubishi representative 2221H Parameter The set value is out of range Check the detailed information parameter Parameter At power error information by executing module diagnostics using information ON RESET CW Configurator and review the parameter setting fixed cycle corresponding to the displayed number parameter processing number If the same error code is displayed again execution the possible cause is a hardware failure of the data instruction memory in the CPU module memory card I O execution module or Intelligent function module Please or module consult your local Mitsubishi representative access 152 APPENDICES APPENDIX Appendix 1 Error Code List 2222H Parameter Use of the function that is not supported by Check the detailed information parameter Parameter At power error the module is enabled information of the error by performing module information ON or diagnostics using CW Configurator and review the RESET parameter setting corresponding to the displayed number parameter number If the same error code is displayed again the possible cause is a hardware failure of the data memory in the CPU module memory card I O module or Intelligent function module Please consult your local Mitsubishi representative 2224H Parameter A memory area cannot be ensured Check the detailed information parameter Param
96. IP address of C Controller module 64 64 255 255 IP address of personal computer 192 168 0 1 Subnet mask of personal computer 255 0 0 0 IP addresses of each class are as follows e Class A 0 0 0 0 to 127 255 255 255 e Class B 128 0 0 0 to 191 255 255 255 e Class C 192 0 0 0 to 223 255 255 255 Host addresses of each class are the 0 parts below e Class A 255 0 0 0 e Class B 255 255 0 0 e Class C 255 255 255 0 6 Ethernet COMMUNICATION FUNCTIONS 6 1 Connection with MELSOFT product or GOT 97 98 6 2 Communication with SLMP Device data can be read from written to a personal computer or HMI GOT using SLMP By reading writing device data the operation monitoring and data analysis in C Controller module can be performed For details on SLMP refer to the following manual LA SLMP Reference Manual Accessible ranges e The connected C Controller module can only be accessed e In a multiple CPU system the access to other CPUs which are not connected with Ethernet and communication with other stations via C Controller module cannot be performed Data communication frames data codes The following shows the data communication frames data codes that can be used for C Controller module O Applicable x Not applicable 4E frame ASCII code x Binary code x QnA compatible 3E frame ASCII code x Binary code O A compatible 1E frame ASCII code x Binary code x Setting method The setti
97. KLIB Socket API System Call support INCLUDE_SC_SOCKLIB spy INCLUDE_SPY Stack Application Logging Utility INCLUDE_APPL_LOG_UTIL stdio INCLUDE_STDIO stricmp INCLUDE_STRICMP strnicmp INCLUDE_STRNICMP Support for reboot hooks INCLUDE_REBOOT_HOOKS symbol shell commands INCLUDE_SYM_SHELL_CMD symbol table show routine INCLUDE_SYM_TBL_SHOW SYSCTL INCLUDE_SYSCTL SYSCTL CLI INCLUDE_SYSCTL_CLI sysctl System Call INCLUDE_SC_SYSCTL System Call Hook Support INCLUDE_SYSCALL_HOOKS System clock INCLUDE_SYSCLK_INIT system debug flag INCLUDE_EDR_SYSDBG_FLAG System Viewer class instrumentation INCLUDE_WINDVIEW_CLASS System Viewer library INCLUDE_WINDVIEW system defined timestamping INCLUDE_SYS_TIMESTAMP target loader INCLUDE_LOADER target loader shell command INCLUDE_MODULE_SHELL_CMD target symbol table INCLUDE_SYM_TBL target unloader INCLUDE_UNLOADER target resident kernel shell INCLUDE_SHELL task hook show routine INCLUDE_TASK_HOOKS_SHOW task hooks INCLUDE_TASK_HOOKS task shell commands INCLUDE_TASK_SHELL_CMD task show routine INCLUDE_TASK_SHOW task variables INCLUDE_TASK_VARS APPENDICES APPENDIX 4 Appendix 8 VxWorks Component List 93 TCP v4 INCLUDE_TCPV4 Telnet server INCLUDE_TELNET TELNET FTP password protection INCLUDE_SEC
98. LUDE_PROTOCOL_ FRAMEWORK inetLib INCLUDE_INETLIB initialize system symbol table INCLUDE_SYM_TBL_INIT 10 system INCLUDE_IO_SYSTEM IP v4 INCLUDE_IPV4 IPv4 interface address library INCLUDE_IFLIB Job Queue support INCLUDE_JOB_QUEUE job task INCLUDE_JOB_TASK kernel INCLUDE_KERNEL link BufPool INCLUDE _LINKBUFPOOL linked list library INCLUDE_LSTLIB logical set library INCLUDE_SET loopback interface support INCLUDE_LOOPBACK mapped files shell commands INCLUDE_MAPPED_FILES_SHOW_SHELL_CMD md5 INCLUDE_NET_MD5 memory allocator info routines INCLUDE_MEM_MGR_INFO memory show routine INCLUDE_MEM_SHOW message logging INCLUDE_LOGGING message queue creation and deletion library INCLUDE_MESSAGE_Q_CREATE_DELETE message queue info routines INCLUDE_MESSAGE_Q_INFO message queue show routine INCLUDE_MSG_Q SHOW message queues INCLUDE_MESSAGE_Q MIB2 ICMP Management APIs INCLUDE_MIB2_ICMP MIB2 IF Counter Instrumentation INCLUDE_MIB2_IF MIB2 TCP Management APIs INCLUDE_MIB2_TCP MIB2 UDP Management APIs INCLUDE_MIB2_UDP MMU global map INCLUDE_MMU_GLOBAL_MAP module manager INCLUDE_MODULE_MANAGER mutex semaphore creation routine INCLUDE_SEM_MUTEX_CREATE mutex semaphores INCLUDE_SEM_MUTEX MUX support INCLUDE_MUX netBufLib INCLUDE_NETBUFLIB netBufPool INCL
99. M B D W ESOO Seas Since C Controller module gives priority to STOP observe the following considerations ESTOP timing C Controller module is stopped when remote STOP is performed from either of a user program or CW Configurator EChanging the remote STOP state to RUN again Perform remote RUN MOutput Y status during remote STOP When Output Mode Setting of STOP to RUN is set to Output the Output Y Status before STOP in CW Configurator the output Y state is output when the state is changed from RUN to STOP at remote RUN MUser program during remote STOP The user program does not stop the execution even if the C Controller module is placed into the remote STOP state To change the processing according to the operating status of the C Controller module use the C Controller module dedicated function CCPU_GetCpuStatus in the program 4 BASIC FUNCTIONS 4 3 Remote Operation Function Remote PAUSE Change the C Controller module status to PAUSE externally while the RESET STOP RUN switch is on the RUN position Use this function to retain the output Y of the C Controller module in the RUN state in such system as process control Executing remote operations The following methods are available to execute remote PAUSE Using CW Configurator Refer to the following manual CW Configurator Operating Manual Using user program Execute the C Controller module dedicated function CCPU_Control to perform remote P
100. MODULE 5 4 Access Function of Each Network Module 83 CC Link module The following shows the functions to transmit data via CC Link module e access method The following access methods are available Cyclic transmission Buffer memory access Transient transmission Access to other station device nory access This method is used to access the buffer memory of Network module from user program The data in the buffer memory is refreshed with link device and transmitted cyclically to other stations C Controller module CC Link module User program Buffer memory Link device Buffer memory access Dedicated function library m RY RWw RWr SB SW 84 5 ACCESS FUNCTION USING NETWORK MODULE 5 4 Access Function of Each Network Module 5 5 Processing Time This section explains the processing time of the cyclic transmission related to Network module access For the processing time of the transient transmission refer to the processing time of each function Link refresh time The following shows the processing time of link refresh The processing time when using CC Link IE Controller Network is as follows e Bq Total link refresh time sending side Br Total link refresh time receiving side e KM1 KM2 Constant 0 36 x 107 Main base unit 1 0 0 97 x 103 Extension base unit 1 0 LB Total nu
101. No 2 CPU No 2 3 Device data in the fixed cycle communication area of CPU No 1 is read to a user program by executing the C Controller module dedicated function CCPU_FromBufHG_ISR 4 Device data of the user program is written to the fixed cycle communication area of CPU No 2 by executing the C Controller module dedicated function CCPU_ToBufHG_ISR 5 Device data in the fixed cycle communication area of CPU No 2 is sent to CPU No 1 CPU No 1 6 Device data in the fixed cycle communication area of CPU No 2 is read to a user program by executing the C Controller module dedicated function CCPU_FromBufHG_ISR 4 36 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules Programmable controller CPU CPU No 1 lt C Controller module CPU No 2 Programmable controller CPU CPU No 1 C Controller module CPU No 2 CPU buffer memory CPU buffer memory Fixed cycle communication area of CPU No 1 2 gt Refresh area Fixed cycle communication area of CPU No 2 5 Refresh area Device Fixed cycle communication area of CPU No 1 Fixed cycle communication area of CPU No 2 3 User program For CPU No 1 Execution of the CCPU_FromBufHG_ISR function lq For CPU No 2 Execution of the CCPU_ToBufHG_ISR function
102. ODUCT 1 Mitsubishi programmable controller the PRODUCT shall be used in conditions i where any problem fault or failure occurring in the PRODUCT if any shall not lead to any major or serious accident and ii where the backup and fail safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem fault or failure occurring in the PRODUCT 2 The PRODUCT has been designed and manufactured for the purpose of being used in general industries MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY INCLUDING BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT WARRANTY TORT PRODUCT LIABILITY FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS PRECAUTIONS OR WARNING CONTAINED IN MITSUBISHI S USER INSTRUCTION AND OR SAFETY MANUALS TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT Prohibited Application Prohibited Applications include but not limited to the use of the PRODUCT in e Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT e Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User
103. POSIX_ADVISORY_FILE_LOCKING POSIX AIO driver INCLUDE_POSIX_AIO_SYSDRV POSIX asynchronous lO INCLUDE_POSIX_AIO POSIX clocks INCLUDE_POSIX_CLOCKS POSIX directory utilities INCLUDE_POSIX_DIRLIB POSIX ftruncate INCLUDE_POSIX_FTRUNC POSIX Memory Mapped Files for RTPs INCLUDE_POSIX_MAPPED_FILES POSIX message queue show routine INCLUDE_POSIX_MQ_SHOW POSIX message queues INCLUDE_POSIX_MQ POSIX mman INCLUDE_POSIX_MEM POSIX process scheduling INCLUDE_POSIX_SCHED POSIX PSE52 support for RTPs INCLUDE_RTP_POSIX_PSE52 POSIX scheduling policies SCHED_FIFO SCHED_RR SCHED_OTHER support in RTPs INCLUDE _PX_SCHED_DEF_PLICIES POSIX semaphore POSIX semaphore show routine INCLUDE_POSIX_SEM INCLUDE_POSIX_SEM_SHOW POSIX Shared Memory Objects INCLUDE_POSIX_SHM POSIX signal INCLUDE_POSIX_SIGNALS POSIX thread CPU time clock INCLUDE_POSIX_THREAD_CPUTIME POSIX thread scheduler in RTPs INCLUDE_POSIX_PTHREAD_SCHEDULER POSIX threads INCLUDE_POSIX_PTHREADS POSIX timers INCLUDE_POSIX_TIMERS process shell commands INCLUDE_RTP_SHELL_CMD process show shell commands INCLUDE_RTP_SHOW_SHELL_CMD Pseudo terminal driver INCLUDE_PTYDRV public hostname setup INCLUDE_NET_HOST_SETUP RAM Disk INCLUDE_RAM_DISK RAM disk driver INCLUDE_RAMDRV random INCLUDE_KERN_RANDOM raw filesystem INCLUDE_
104. PPENDICES APPENDIX Appendix 1 Error Code List 1166H TCP IP send Data was not sent correctly with TCP IP e Check the settings for connection with the target Always failed device e Check the operation of the target device or switching hub Since there may be congestion of packets on the line send data after a certain period of time Check if the connection cable is disconnected e Check that there is no connection failure with the switching hub 1200H Module A moderate error has been notified from Check the detailed information system configuration System Always moderate error the Intelligent function module information of the error by performing module configuratio diagnostics using CW Configurator and remove the n error information 1210H Module An inter module synchronization signal Check the detailed information system configuration System Always moderate error error has been notified from the Intelligent information of the error by performing module configuratio function module diagnostics using CW Configurator and remove the n error information 1220H Other CPU A moderate error has been notified from Check the detailed information system System Always module other CPU modules configuration information of the error by configuratio moderate error executing module diagnostics using CW n Configurator identify the error module and information eliminate the error cause e Check the mounting
105. RAWFS RAW v4 INCLUDE_RAWV4 rBuff library INCLUDE_RBUFF read the bootline INCLUDE_BOOT_LINE_INIT Remote Command INCLUDE_REMLIB Reverse ARP client INCLUDE_RARP ring buffers INCLUDE_RING_BUF route INCLUDE_ROUTE APPENDICES APPENDIX 192 Appendix 8 VxWorks Component List route_storage INCLUDE_ROUTE_STORAGE Routing Socket INCLUDE_ROUTING_SOCKET RPC INCLUDE_RPC RTP INCLUDE_RTP RTP Hook Support INCLUDE_RTP_HOOKS RTP Show INCLUDE_RTP_SHOW RTP Startup Facility User defined code INCLUDE_RTP_APPL_USER run static initializers INCLUDE_CTORS_DTORS select INCLUDE_SELECT semaphore deletion routines INCLUDE_SEM_DELETE semaphore info routines INCLUDE_SEM_INFO semaphore show routine INCLUDE_SEM_SHOW SH 4A 32 Bit Address Extended Mode INCLUDE_SH4A_EXTENDED_32BIT_SUPPORT shared data region support in RTPs or kernel INCLUDE_SHARED_DATA Shared Data Show INCLUDE_SHARE_DATA_SHOW shared data show shell commands INCLUDE_SHARED_DATA_SHOW_SHELL_CMD shared library commands INCLUDE_SHL_SHELL_CMD Shared Library Show INCLUDE_SHL_SHOW shared library support in RTPs INCLUDE_SHL shell banner INCLUDE_SHELL_BANNER sigevent notification library INCLUDE_SIGEVENT signals INCLUDE_SIGNALS SIO INCLUDE_SIO SNTP client INCLUDE_SNTPC Socket API INCLUDE_SOC
106. Reducing refresh points using parameters In Refresh Setting set only the necessary range to be refreshed The refresh of only necessary range can reduce the link refresh time Network Range Assignment C Controller module Network Configuration Settings Device for Network module ee Set the range for which refresh is required Refresh Setting Range set with Network Range Assignment Network Configuration Settings 2S lsd e gt TT SS os Se lt gt R226526 KKK BS KEK _ KY 262926290622 PESCA 192822502 KEKE KKK 0923 poo SS aa ea ii a MReducing refresh points using direct access buffer memory access Excluding the rarely used link devices on own station from the link refresh range and using direct access or buffer access instead can reduce the link refresh time 5 ACCESS FUNCTION USING NETWORK MODULE 5 5 Processing Time 6 Ethernet COMMUNICATION FUNCTIONS This chapter explains about the communication function using Ethernet ports 6 1 Connection with MELSOFT product or GOT Monitoring C Controller module with CW Configurator and monitoring and testing C Controller module from GOT can be performed via Ethernet This function enables remote operations with long distance connection and high speed communication using Ethernet The section explains how to connect a C Controller module with a GOT or MELSOFT product such as CW Configurator MX Component Connection via a hu
107. S DNS resolver INCLUDE_DNS_RESOLVER DNS resolver debug output INCLUDE_DNS_RESOLVER_DEBUG DOS File System Consistency Checker INCLUDE_DOSFS_CHKDSK DOS File System FAT12 16 32 Handler INCLUDE_DOSFS_FAT DOS File System Old Directory Format Handler INCLUDE_DOSFS_DIR_FIXED DOS File System VFAT Directory Handler INCLUDE_DOSFS_DIR_VFAT DOS File System Volume Fomatter Module INCLUDE_DOSFS_FMT DOS filesystem backward compatibility INCLUDE_DOSFS dosfs File System Main Module dosFs2 INCLUDE_DOSFS_MAIN doubly linked lists INCLUDE_DLL ED amp R shell commands INCLUDE_EDR_SHELL_CMD ED amp R show routines INCLUDE_EDR_SHOW enable caches INCLUDE_CACHE_ENABLE enable guard pages for kernel task stacks INCLUDE_PROTECT_TASK_STACK enable non executable kernel task stacks INCLUDE_TASK_STACK_NO_EXEC END driver polled statistics support INCLUDE_END_POLLED_STATS END interface support INCLUDE_END error status table INCLUDE_STAT_SYM_TBL Ethernet interface support INCLUDE_ETHERNET Event Reporting Framework INCLUDE_ERF exception handling INCLUDE_EXC_HANDLING exception show routines INCLUDE_EXC_SHOW exception task INCLUDE_EXC_TASK Extended Block Device INCLUDE_XBD extended object library INCLUDE_OBJ_OPEN File System and Disk Utilities INCLUDE_DISK_UTIL File System Event
108. S Eee EOE goats 24 System Memo ce dda ded Mad od EEG A ee dee eee eee eee Eterna eee ade Ad AES 24 AA O 24 Devicellabel MEMORY cion o A a da das 25 Data MEMON cosita rr a ee ee Ee ne A A RA oe ae 25 SD MEMON Cald socia E A ee DEER 25 USB Mass Storage Class compliant device oooooooococorcoorrar eee tenes 25 3 2 Memory Operation iiooiosciosici ni A we a aa EE A Wade aS oS 26 3 3 Memory Lifetime coivasostrsan desir rica ee 26 3 4 Files iros e A A A A a A A 27 Drive names and file SYStEMS ecc ars A a Pads ica 27 File type nd stor ge destination MeMO cesses ck ee a ee ca 27 File and folder configuration oir otters in tee Phd ad Peed aang aw ee Peet 28 PART 2 FUNCTIONS CHAPTER 4 BASIC FUNCTIONS 32 4 1 Program Monitoring Function WDT ooocccccccncconon eee eee eee eens 32 Setting monitoring timer o o oooooocoororora nent ete n ene n nee 32 Thimeout of watchdog tiMe wo ios A ed geueds Ghee ebdghes eae eet eds 33 Resetting watchdog UTS Te sia si reojo pu E cil ea e ala R fs aa E EA ge dde 33 4 2 Clock FUNCION xiii a a A A A a ee EAE idle evel a E 34 Setting cl k data cies see de eee ea eae Ca Oa ee eee td kee aa 34 Setting MOZOS sisi sg a Yee hos PERE A eee aon Hoes Sok A ana da eer ae 35 4 3 Remote Operation Function lt lt ovisxisccrrcros rr 36 Remote PAUSE rt tati loteo led dde 37 Remote RESET oi A a A s bane aca 37 Remote operation and operating status of C Controller MOQuIe oo
109. T 8y LS x 2 LR Bp x 2 LT By LS x 2 SRtap x 3 STt az LS x 2 LR Bp x 2 Maximum value Enabled Normal value Maximum value LT lt LS Disabled Normal value Maximum value Enabled Normal value Maximum value 040000 O O O O 8 O REEERE When the CPU module on a relay station transfers link devices to other network by using the interlink transmission function among multiple network systems the transfer processing time of the CPU module on the relay station affects the transmission delay time For more details refer to the following manual MELSEC iQ R CC Link IE Controller Network User s Manual Application 5 ACCESS FUNCTION USING NETWORK MODULE 5 5 Processing Time 89 90 CC Link IE Field Network For information on the calculation formula for transmission delay time when using CC Link IE Field Network refer to the following manual LA MELSEC iQ R CC Link IE Field Network User s Manual Application With reference to above mentioned manual substitute the sequence scan time of the master station SM and the sequence scan time of the local station SL with the following processing time SM SL P R a e P Processing time on C Controller system e R Refresh cycle e a Link refresh time It does not take time for refresh when direct access or buffer memory access is used For information on the
110. TOP RUN PAUSE RUN STOP STOP RUN RUN STOP STOP Execution ofthe C STOP STOP Fa Controller ept PAUSE STOP PAUSE dedicated function Actual status STOP RUN STOP RUN E Actual status STOP STOP RUN 3 PAUSE RUN STOP sor RUN RUN STOP STOP Stop error STOP STOP occurred Error STOP STOP RUN a a Error STOP 4 BASIC FUNCTIONS 4 3 Remote Operation Function 39 40 The following table shows the operating status of C Controller module by remote operations with CW Configurator and SLMP No status change ns with CW Configurator and SLMP RESET STOP STOP STOP RESET RUN switch RUN RUN STOP PAUSE operation Operation with STOP STOP RESET CW Configurator PAUSE STOP RESET or SLMP Actual status STOP RUN STOP RESET Actual status STOP STOP RUN RUN PAUSE RESET PAUSE RUN RUN STOP RUN RUN STOP PAUSE Execution ofthe C STOP STOP RESET Controller medula PAUSE STOP RESET dedicated function Actual status STOP RUN STOP RESET Actual status STOP STOP RUN RUN PAUSE RESET PAUSE RUN RUN STOP RUN RUN STOP PAUSE Stop error STOP STOP T RESET occurred Error STOP Error STOP Error STOP STOP RUN RESET Error STOP Error STOP Error STOP 1 Setting Remote Reset Se
111. U SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules Communication through direct access when C Controller module is on the sending side When the CPU number based data assurance is enabled the data is not assured C Controller module Programmable controller CPU Programmable controller CPU Programmable controller CPU CPU No 1 CPU No 2 CPU No 3 CPU No 4 Fixed cycle Fixed cycle Fixed cycle Fixed cycle p communication communication communication communication l area area area area l l l l l Without refresh function 9 9 l I l Device Device Device l l L lt O gt E O glo Po Lo CCPU_ToBufHG_ISR OThe data is written from the program OAt the multiple CPU synchronous interrupt program 145 execution the data is read OAt the multiple CPU synchronous interrupt program 145 execution the data is refreshed OThe data read completion from each CPU is notified to the CPU No 1 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 4 7 4 Data Communication Between CPU Modules 3 ber bases data assurance setting Configure the CPU number based data assurance setting DO System Parameter gt Multiple CPU Setting gt Communication Setting between CPU gt PLC Unit Data Communication Setting between CPU GPU Buffer Memory Setting lt Detailed Setting gt o PLC Unit Data Enable notify the read completion to other PLC Jor sen Fixed Scan Communication Function Not Use Displ
112. UDE_NETBUFPOOL NetDrv for remote lO INCLUDE_NET_DRV netstat INCLUDE_NETSTAT netstat for IPv4 INCLUDE_NETSTAT_IPV4 network boot device configuration INCLUDE_NET_BOOT_CONFIG Network Daemon Support INCLUDE_NET_DAEMON network device netmask setup INCLUDE_NETMASK_GET Network function binding INCLUDE_NET_FUNCBIND network init INCLUDE_NET_INIT Network interface show routines INCLUDE_NET_IF_SHOW network remote I O access INCLUDE_NET_REM_IO Network route show routines INCLUDE_NET_ROUTE_SHOW Network Stack Memory Pool Configuration INCLUDE_NET_POOL NETWORK SYSCTL INCLUDE_NET_SYSCTL APPENDICES APPENDIX 4 4 Appendix 8 VxWorks Component List 9 NFS client All INCLUDE_NFS_CLIENT_ALL NFS server INCLUDE_CORE_NFS_SERVER NFS server All INCLUDE_NFS_SERVER_ALL NFS server V2 INCLUDE_NFS2_SERVER NFS server V3 INCLUDE_NFS3_SERVER NFS v2 client INCLUDE_NFS2_CLIENT NFS v3 client INCLUDE_NFS3_CLIENT non blocking message logging INCLUDE_NBIO_LOG object management INCLUDE_OBJ_LIB object management ownership INCLUDE_OBJ_OWNERSHIP old route INCLUDE_OLDROUTE persistent error log INCLUDE_EDR_ERRLOG persistent memory INCLUDE_EDR_PM PING client INCLUDE_PING pipes INCLUDE_PIPES pool allocation library INCLUDE_POOL POSIX advisory file locking INCLUDE_
113. URITY terminal driver INCLUDE_TTY_DEV terminal driver support INCLUDE_TYLIB TFTP client INCLUDE_TFTP_CLIENT timex INCLUDE_TIMEX TSFS upload path initialization INCLUDE_WVUPLOAD_TSFSSOCK UDP v4 INCLUDE_UDPV4 uipc_domain INCLUDE_DOMAIN_INIT unix compatible environment variables INCLUDE_ENV_VARS unloader shell command INCLUDE_UNLOADER_SHELL_CMD vi like editing mode INCLUDE_SHELL_VI_MODE VIO driver INCLUDE_WDB_VIO virtual memory show shell commands INCLUDE_VM_SHOW_SHELL_CMD Virtual Root File Sytem INCLUDE_VRFS VM library show routine INCLUDE_VM_SHOW VxWorks events INCLUDE_VXEVENTS VxSim virtual disk to emulate a VxWorks disk driver INCLUDE_VIRTUAL_DISK watchdog timers INCLUDE_WATCHDOGS watchdog timers creation and deletion library INCLUDE_WATCHDOGS_CREATE_DELETE WDB agent INCLUDE_WDB WDB banner INCLUDE_WDB_BANNER WDB breakpoints INCLUDE_WDB_BP WDB call functions INCLUDE_WDB_FUNC_CALL WDB callouts INCLUDE_WDB_DIRECT_CALL WDB eventpoints INCLUDE_WDB_EVENTPOINTS WDB events INCLUDE_WDB_EVENTS WDB exception notification INCLUDE_WDB_EXC_NOTIFY WDB gopher INCLUDE_WDB_GOPHER WDB memory access INCLUDE_WDB_MEM WDB network connection INCLUDE_WDB_COMM_NETWORK WDB post kernel initialization INCLUDE_WDB_POST_KERNEL_INIT WDB register ac
114. X x O O Remote output RY x O O Remote register RWw x O O RWr x O O Link special relay SB O O O Link special register SW O O O Link scan and link scan time In cyclic transmission each station on the network transmits data in the specified send area of the own station within the defined time interval The processing of data transmission of each station is called as link scan The authority of data transmission is given to each station during every link scan Time required for one cycle of data transmission e one link scan is called as link scan time To perform link scan on the network network range assignment settings are required Network range assignment Network range assignment settings are applicable to following networks CC Link IE Controller Network Network Range Assignment of the control station CC Link IE Field Network Network Configuration Settings of the master station CC Link Network Configuration Settings of the master station 5 ACCESS FUNCTION USING NETWORK MODULE 5 2 Cyclic Transmission Link device access function The link devices can be accessed from user program using function s of dedicated function library The following figure shows and explains how to access the link device in the controlled Network module from C Controller module User program C Controller module Link 1 gt A refresh Device Direct access Buffer memory acces
115. a BIN code SD5 The minute when SDO data was updated is stored as a BIN code SD6 The second when SDO data was updated is stored as a BIN code SD7 The day of the week when SDO data was updated is stored as a BIN code 0 Sun 1 Mon 2 Tue 3 Wed 4 Thu 5 Fri 6 Sat SD10 Self diagnostic error code Self diagnostic error code 1 Up to 16 types of error codes are stored to SD10 and S At error occurrence SD11 Self diagnostic error code 2 higher when the diagnostics detects errors The same error code as the one already stored in SD10 and higher SD12 Self diagnostic error code 3 ig not stored The 17th and succeeding error codes are SD13 Self diagnostic error code 4 not stored in addition to the case that 16 types of error SD14 Self diagnostic error code 5 codes have already been stored to SD10 to SD25 SD15 Self diagnostic error code 6 SD16 Self diagnostic error code 7 SD17 Self diagnostic error code 8 SD18 Self diagnostic error code 9 SD19 Self diagnostic error code 10 SD20 Self diagnostic error code 11 SD21 Self diagnostic error code 12 SD22 Self diagnostic error code 13 SD23 Self diagnostic error code 14 SD24 Self diagnostic error code 15 SD25 Self diagnostic error code 16 SD53 AC DC DOWN Number of times for AC DC Value is incremented by one each time when input S At error occurrence DOWN detection voltage drops to 85 AC power 65 DC power or less of the rated value while the CPU module is in operation an
116. addresses to be excluded from the specified range can be set at one setting Access from IP address below Set whether to allow deny the access from the specified IP addresses Allow Allow Deny Range Setting Select this when specifying IP address range Unselected IP Address Set the IP addresses to be allowed denied 0 0 0 1 to When a checkbox of Range Setting is selected set both start IP address 223 255 255 254 and end IP address within the range IP Address Excluded from Range When a checkbox of Range Setting is selected set the IP address to be 0 0 0 1 to excluded from the range in IP Address Up to 32 IP addresses can be set 223 255 255 254 within the specified range 6 Ethernet COMMUNICATION FUNCTIONS 41 6 7 Parameter Settings 3 Telnet Server Settings Set the Telnet server DO Module Parameter gt Application Settings gt Telnet Server Settings E Felnet Server Setimes i son Telnet Server Use Login Name target E Advanced Settings E Password Setting Current Password E bot New Password Confirm New Password Displayed AAA AENA Telnet Server Set whether to use the Telnet function of C Controller module e Not Use Use Use Login Name Set the login name to be used for file transfer request login from the Up to 12 characters target target device Advanced Password Set the password to be used for file transfer request login from the 8 to 32 character
117. am END END END END x Execute the D P GINT instruction ON D P GINT instruction Issue an interrupt Execute an interrupt routine interrupt program Interrupt routine of C Controller module interrupt ree ey Peewee nen n ee en eee ten eee e ne nen eee ne nee een netenenes program Interrupt routine is in wait state interrupt program Interrupt routine is in wait state interrupt program Execute the CCPU_WaitEvent function Notify an interrupt event 1 User program of C Controller A modue Reseeeeeessesessees User program is restarted User program is in an interrupt event wait state 1 The interrupt event is notified after the interrupt routine interrupt program is completed The dedicated instructions used for an interrupt from programmable controller CPU are shown below Instruction Execution condition Command DP GINT A H DP GINT n1 n2 Command DP GINT n1 n2 D1 D2 Command T y E ot Command D GINT n1 n2 D1 D2 O Applicable A Partly applicable n1 O O O n2 O O O D1 As As D2 A A 1 The setting data can be index modified Constant is excluded 2 Can be omitted only when both of D1 and D2 are omitted 3 Local devices cannot be used 442 7 MULTIPLE CPU SYSTEM FUNCTIONS
118. am using the C Controller module dedicated functions and MELSEC data link functions C Controller module Output the output signal Y in bit 1 point units ret CCPU_Y_Out_BitEx Read the input signal X in word 16 point units ret CCPU_X_In_WordEx Write data to the intelligent function module buffer memory ret CCPU_ToBuf PEELE LLL LL LL The following table shows the list of functions which can be used for accessing I O modules and Intelligent function modules CCPU_FromBuf CCPU_FromBuf_ISR Reads data from the CPU buffer memory or the intelligent function module buffer memory of the module on the specified position CCPU_ToBuf CCPU_ToBuf_ISR Writes data to the CPU buffer memory and the intelligent function module buffer memory of the module on the specified module position CCPU_X_In_BitEx Reads the input signal X in bit 1 point units CCPU_X_In_WordEx CCPU_X_In_Word_ISR Reads the input signal X in word 16 point units CCPU_Y_In_BitEx Reads the output signal Y in bit 1 point units CCPU_Y_In_WordEx CCPU_Y_In_Word_ISR Reads the output signal Y in word 16 point units CCPU_Y_Out BitEx Outputs the output signal Y in bit 1 point units CCPU_Y_Out_WordEx CCPU_Y_Out_Word_ISR Outputs the output signal Y in word 16 point units
119. arget devices FTP client can be logged in to C Controller module at one time e If a connection is attempted from other FTP client in the login state an error will occur without establishing the connection e If UDP communication is performed during file transfer an error such as timeout may occur Either communicate after the file transfer or communicate with TCP File write e Files with read only attributes and files that are locked from other devices functions cannot be written A write error occurs if attempted e The write files cannot be transferred if the SD memory card is write protected A write error occurs if attempted e When writing a large file to the SD memory card change the CPU operating status to STOP File deletion Determine the timing for deleting the files for the entire system including the C Controller module and peripheral devices 102 6 Ethernet COMMUNICATION FUNCTIONS 6 3 File Transfer Function FTP server 6 4 Time Setting Function Time information is collected from the time information server SNTP server connected on the LAN at the specified timing and the time in the C Controller module is set automatically Poin tr e The time information obtained from the time information server is Coordinated Universal Time UTC The obtained UTC time information is adjusted according to the time zone setting of the CPU module and is set to the CPU module e In the multiple CPU environment set the time only fo
120. ata with a user program To change the clock data with a user program be sure to use the C Controller module dedicated function CCPU_SetRTC If other clock data setting function is used the accurate clock data will not be set in the C Controller module 4 BASIC FUNCTIONS 4 2 Clock Function Setting time zone Set the time zone used in C Controller module Specifying the time zone enables the clock of C Controller module to work in the local time zone DO CPU Parameter gt Operation Related Setting gt Clock Related Setting Clock Related Setting Time Zone UTO 9 Comment er A ASA A ee Time Zone Sets the time zone used in C Controller module UTC 13 UTC 9 e UTC 12 e UTC 11 e UTC 10 UTC 9 30 e UTC 9 e UTC 8 e UTC 7 e UTC 6 30 e UTC 6 UTC 5 45 UTC 5 30 e UTC 5 UTC 4 30 e UTC 4 UTC 3 30 e UTC 3 e UTC 2 UTC 1 e UTC e UTC 1 UTC 2 UTC 3 UTC 3 30 e UTC 4 UTC 4 30 UTC 5 UTC 6 UTC 7 UTC 8 UTC 9 e UTC 10 UTC 11 UTC 12 Comment Enter a comment such as a name of the city for the time zone 1 to 32 characters To apply the time zone setting on the C Controller module reset the module or power cycle after writing parameters e In the multiple CPU system the time zone set in the CPU No 1 is used for other CPU modules If the time zone is set to the CPUs from No 2 to No 4 the setting is not applied Once the module is init
121. ation Manual 4 Outputs may remain on or off due to a failure of a component such as a relay and transistor in an output circuit Configure an external circuit for monitoring output signals that could cause a serious accident O In an output circuit when a load current exceeding the rated current or an overcurrent caused by a load short circuit flows for a long time it may cause smoke and fire To prevent this configure an external safety circuit such as a fuse O Configure a circuit so that the programmable controller is turned on first and then the external power supply If the external power supply is turned on first an accident may occur due to an incorrect output or malfunction O For the operating status of each station after a communication failure refer to manuals relevant to the network Incorrect output or malfunction due to a communication failure may result in an accident O When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller configure an interlock circuit in the program to ensure that the entire system will always operate safely For other forms of control such as program modification parameter change forced output or operating status change of a running programmable controller read the relevant manuals carefully and ensure that the operation is safe before proceeding Improper operation may damage machines or cause accidents O Especially
122. ation i ycle of fixed cycle communication Pe Cycle of fixed cycle communication processing dt Inter module synchronization cycle Inter module synchronization cycle gt nter module synchronization cycle gt i i alle CPU synchronous interrupt program Intermadal syrctonous Interrupt program Mutiple CPU synchronous interupt program internace synchronous interrupt program Input Operation Output Normal program Input Operation Output Normal program refresh processing refresh prog proa proses refresh processing refresh Muliple CPU synchronous interrupt program inter mode synchronous interrupt program Input Operation Output Normal program refresh processing refresh Input modules Do not set data here even Do not set data here even l gt MESES dala Link device SE though data can be output at Ou dat write data to the fixed though data can be output at En Link ciavice Acquire an input value ha heal Int cycle communication area the next inter module 6 Set an output value Normal program Operation processing Operation processing Input modules X Buffer memory synchronization cycle Ouiput data synchronization cycle Y Butter memory i Input data Fixed cycle communication area T 7 Fixed cycle communication 1 1 1 1 Fixed cycle communication Fixed cycle communication
123. ation with Ethernet port of CPU built in Ethernet Communication via GOT Transparent Communication via CC IE Field Ethernet adapter Protocol A CPU Mode ROPU Eterne Port Drect Connection Connection via HUB Please select Connection via HUB when you use HUB even if there is only one target device to communicate TH a a Port 9 1F Address IP Input Format irect is selected during communication the line loaded This might affect other devices Host Name communication Search for ROPU on network Response Wait Time 2 sec Display Only CPU Type of Project W Find S Selection IP Address Input Search for RCPU on the same network Unable to search for the followine reasons iod is different dule on network is checked in module parameter Connected via a router or subr Do not respond to search for C Set the protocol Set the module to be connected to PLC side I F Double click the icon of the set module to display the PLC side I F Detailed Setting window Select Ethernet Port Direct Connection for the connection method After the settings are completed click the OK button When connecting directly with C Controller module the setting above can also be performed by clicking the CPU Module Direct Coupled Setting button on the Specify Connection Destination window 6 Ethernet COMMUNICATION FUNCTIONS 6 1 Connection with MELSOFT product or GOT
124. atus and reset status of the System Always error CPUs other than CPU No 1 was CPU modules other than CPU No 1 configuratio disconnected from the Base unit during n operation Or any CPU module other than information CPU No 1 was reset 24C0H System bus An error has been detected on the system e Take measures to reduce noise System At module error bus e Reset the CPU module If the same error code is configuratio access displayed again the possible cause is a hardware n failure of the CPU module I O module Intelligent information function module Base unit or extension cables Please consult your local Mitsubishi representative 24C1H System bus An error has been detected on the system e Take measures to reduce noise System At module error bus e Reset the CPU module If the same error code is configuratio access displayed again the possible cause is a hardware n failure of the CPU module I O module Intelligent information function module Base unit or extension cables Please consult your local Mitsubishi representative 24C2H System bus An error has been detected on the system Check the connection status of the extension System At module error bus cable configuratio access e Take measures to reduce noise n always e Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module I O module Intelligent function module Base unit or exten
125. ayed PLC Unit Data Select this to prevent data inconsistency in each CPU e Disable not notify the read Disable not notify the read and to send received data in data communication completion to other CPUs completion to other CPUs between CPU modules by refresh Enable notify the read completion to other CPUs a assurance by program Prevent data inconsistency using a program when the data inconsistency control by system is not available MAccessing the CPU buffer memory A program reads data in order from the start address of the CPU buffer memory excluding the refresh area and writes send data in order from the end address to the start address excluding the refresh area by the write instruction Therefore data inconsistency can be prevented by setting a device for interlock at the head of data to be communicated MAccessing the fixed cycle communication area When accessing within a multiple CPU synchronous interrupt program 145 no interlock circuit is required with the CPU number based data assurance setting is enabled To access the fixed cycle communication area in a program other than the above or when the CPU number based data assurance setting is disabled an interlock circuit is required as with the access to the CPU buffer memory 4 32 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules Functions that can be used for communication The following shows the functions which are used for
126. b specify IP address When connecting with a C Controller module that has no network number and station number When connecting with multiple MELSOFT products or GOT Direct connection Connection without When connecting with a target device on 1 1 basis using one Ethernet cable without using a hub specifying IP address network number When connecting to a C Controller module of which IP address in unknown and station number 6 Ethernet COMMUNICATION FUNCTIONS 6 1 Connection with MELSOFT product or GOT 93 94 Connection via a hub The following shows the settings when performing connection via a hub Setting method ESettings on C Controller module 1 Set the IP address of the C Controller module in Own Node Settings under Basic Settings of the module parameter Page 107 Own node settings When connecting devices with specifying the network number and station number specify them in Own Node Settings under Basic Settings 2 Set the connection configuration in External Device Configuration under Basic Settings 7 Page 108 External device configuration Point Z Z ZII A When connecting multiple MELSOFT products with TCP IP connection drag MELSOFT Connection Module from the Module List to List of devices or Device map area in External Device Configuration under Basic Settings ESettings on CW Configurator side Set the connection route to C Controller module to Specify Conne
127. cable set Disable in Disable Direct Connection with MELSOFT under Security under the Application Settings Setting method DO Online gt Specify Connection Destination 1 Set PC side I F to Ethernet Board lo amem G ems OSEA 1 2 Double click Ethernet Board and open the PC USB tail 1060 Board Board Board Bus Metnorkno Staton no protec UDP side F Detailed Setting of Ethernet board window Li m m Ba Bia War Se O O a IP Address Host Name 19216833 z Module OPU Mode ROPU No Specification Other Station Other Station Gingle Network Gorevistence Network OPU Module Direct Coupled Setting Connection Test Time Out Seo 10 RetryTimes 0 OPU Type Detail COIECont COIEFIed Ethernet GO Link 024 NET 1 01H System Image COIE Dont COIEFIeld Ethernet GO Link 024 NET 1 004 Accessing Host Station Multiple CPU Setting Specify Redundant CPU Target CPU E Net Specited NIN 6 Ethernet COMMUNICATION FUNCTIONS 6 1 Connection with MELSOFT product or GOT 95 96 3 Network No Station No H This setting is an assignment for Ethernet board Please execute the following settings Network No Network No of Ethernet module set in parameter Station No Station No that does not overlap on the same loop Network No and station No are not necessary for the communication route shown below Communic
128. ceive CPUs button direction 7 MULTIPLE CPU SYSTEM FUNCTIONS 1 22 7 4 Data Communication Between CPU Modules Setting refresh area For data communication with a multiple CPU synchronous interrupt program 145 using the fixed cycle communication area setting the refresh area is required Set the refresh area in accordance with other CPU module with which data to be communicated 1 Click the Setting button in the refresh area to be set Send Receive Direction Display between CPUs No 1 RIZGGPU V Host Station No 2 RIZGOPU V No 3 ROBGPU No 4 R320PU _ ma es 524287 LO Pointe ita toon 0 Points E El No 1 Receive Dat E No 1 Receive Dat El No 1 Receive Dat raj 5 a A A 3 3 3 3 z E No 2 Send Data No 2 Receive Dat No 2 Receive Dat z At 45 Exe U3ES HG0 0 Points 148 2 Set the number of points in accordance with the communication destination CPU module 3 Click the OK button once the setting is completed 4 Set the number of points for all of the refresh area used for data communication HNN C Controller module Set the number of points for refresh area as show below e Refresh area at the END O points Refresh area at the execution of 145 0 points Programmable controller CPU Set the number of poi
129. cess INCLUDE_WDB_REG WDB RTP breakpoints INCLUDE_WDB_RTP_BP WDB RTP control support INCLUDE_WDB_RTP_CONTROL WDB RTP support INCLUDE_WDB_RTP WDB target server file system INCLUDE_WDB_TSFS WDB task breakpoints INCLUDE_WDB_TASK_BP WDB task creation INCLUDE_WDB_START_NOTIFY WDB task debugging INCLUDE_WDB_TASK WDB task exit notification INCLUDE_WDB_EXIT_NOTIFY WDB task hooks INCLUDE_WDB_TASK_HOOKS WDB task registers INCLUDE_WDB_TASK_REG WDB tasks INCLUDE_WDB_CTXT WDB user event INCLUDE_WDB_USER_EVENT WDB virtual 1 O library INCLUDE_WDB_VIO_LIB XBD Block Device INCLUDE_XBD_BLK_DEV XBD Disk Partition Handler INCLUDE_XBD_PART_LIB XBD Ram Drive INCLUDE_XBD_RAMDRV XDR INCLUDE_XDR APPENDICES APPENDIX 194 Appendix 8 VxWorks Component List Appendix 9 Processing Time of Functions This section explains the time required for processing a function of dedicated function library used in user program which is executed with the task priority set to 100 For the specifications of dedicated function libraries refer to the following manual LA MELSEC iQ R C Controller Module Programming Manual The processing time of each dedicated function library vary depending on the operation status of the operating system execution status of a user program and module configuration of the C Controller module system Refer to the fol
130. channel used in the own station and the channel used in the target station with the message send function of a user program 2 From the sending side channel data is transmitted to the receiving side channel 3 The receiving side C Controller module other station reads messages from the receiving side channel with the message receive function of a user program Point The message communication function can be used even if CPU module on sending station or receiving station is other than C Controller module For the target CPU module use the SEND RECV link dedicated instruction or a function equivalent to it If the data is transmitted with acknowledge to be received on the same channel of receiving station it is necessary to transmit next data only after acknowledgement of previously sent data is received i e receiving station has read the previously sent data using message receive function or RECV instruction An error will occur if the sending station transmits data on the same channel of the receiving station before the acknowledgement is received i e data on the receiving station has not been read In case of an error retry data transmission 5 ACCESS FUNCTION USING NETWORK MODULE 5 3 Transient Transmission Channel Each Network module has a data area used for message communication which is called channel By using multiple channels simultaneous access from the host station to other stations or simultaneous readin
131. chronous Startup Setting 030AH Other PLC Control Module Setting I O Setting Outside Group 0305H Synchronization Setting Use Inter module Synchronization Function in System within the Modules Select Synchronous Target Unit between Unit 0101H Synchronous Fixed Scan Interval Setting within the Modules 0101H Synchronous Master Setting within the Modules 0102H The system parameters in all CPUs must be the same in the multiple CPU configuration The CPUs in which Not Use is selected in Fixed Scan Communication Function or Synchronization Setting within the Modules are not regarded as a same system parameters Set the same system parameter settings in all CPUs in the multiple CPU configuration 186 APPENDICES APPENDIX Appendix 7 Parameter List CPU parameter The list of CPU parameters is shown below Name Setting Title Setting 3100H Comment Setting 3101H Operation Related Setting Remote Reset Setting 3202H Output Mode Setting of STOP to RUN 3203H Module Synchronous Setting 3207H Clock Related Setting 3209H Refresh Cycle Setting 6E02H RAS Setting WDT Setting 3500H Error Detections Setting 3501H CPU Module Operation Setting at Error Detected 3501H LED Display Setting 3502H Event History Setting 3504H Routing Setting Routing Setting 3800H Service Settings Service Settings 6E00H Security password settings 6E01H MELSEC data link function Timeout Value Setting
132. cocccccccoooc 39 4 4 I O Module Intelligent Function Module Access Function 0000 cece eee eee eee eee eee 42 4 5 Interrupt Function from ModuleS oococcooccccncn ee eee eee eee eee 43 Factor of interrupt pointer number 2 0 0 0 tent e eee 43 Using interrupt functions seie rr renni wkee a been edad e a E e EEE wA 44 4 6 Fixed Cycle Processing Function occ ci asus wees pee eee deal Ede eee aie 46 Setting fixed cycle processing intervals errer web ee Awad ew heehee da naw eo by edd pana pews 46 Checking intervals s diirisi niread todo ea th eee whe eda wa EEE Eran ea eRe oa tae 46 4 7 Inter module Synchronization Function 00000 c cece eee eee eee 47 Fixed cycle synchronization function 0 00 eee 48 Interaction with cycle of the fixed cycle communication of the multiple CPU system function 49 Parameter Seung dinar ir on amp ook tte dh sis do 51 4 8 Output Mode Setting Function from STOP to RUN oooocccccccnc eee eens 52 4 9 Memory Card FuNctiON 0 cedures ri A ES eRe Ree EES 53 Boot Operation ssis 22p a oy ea Geet a E dee Sede dee heen deed 53 Enable disable the use of file data on memory Card 54 4 10 RAS Function ec ceeweee ccee reac ri A de cee eee ewe eee es 55 Seli diagnostic UNCION ess sce eee eee eee de ee D pee dae eb ah edad a a ai 55 Error clear function tccsaakatnd da dat is Read deuce ha aoe Mey Papeete Sale ie 58 Event history FUNCION veis iid
133. communication using each memory area in multiple CPU system CCPU_FromBuf Reads data from the CPU buffer memory and the Intelligent function module buffer memory of the module on the specified module position CCPU_FromBuf_ISR CCPU_FromBufHG Reads data from the fixed cycle communication area of the module on the specified module position CCPU_FromBufHG_ISR CCPU_ToBuf Writes data to the CPU buffer memory and the intelligent function module buffer memory of the module on the specified module position CCPU_ToBuf_ISR CCPU_ToBufHG Writes data to the fixed cycle communication area of the module on the specified module position CCPU_ToBufHG_ISR Communication using CPU buffer memory Device data of the host CPU is written to the CPU buffer memory in the host CPU by execution of the C Controller module dedicated function CCPU_ToBuf The data written to the CPU buffer memory is transferred after the following processing is performed in other CPU C Controller module At execution of the C Controller module dedicated function CCPU_FromBuf Programmable controller CPU At END processing e C Controller module 1 lt gt C Controller module 2 C Controller module 1 C Controller module 2 CPU buffer memory 3 4 CPU buffer memory k 1 2 User program User program Execution of the CCPU_ToBuf function Exec
134. cted by other than the self diagnostic function of CPU module The error codes are not stored in SDO since these error are not detected by the self diagnostic function 4001H Common error An unsupported request was executed Check the command data of SLMP MC protocol The request was issued to CPU module which does not e Check the CPU module model name selected with the support the request engineering tool Check the target CPU module model name 4002H Common error An unsupported request was executed Check the command data of SLMP MC protocol Check the CPU module model name selected with the engineering tool Execute the request again If the same error code is displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 4003H Common error Command for which a global request cannot be performed was Check the command data of SLMP MC protocol executed 4004H Common error A request was issued to the system file Check the command data of SLMP MC protocol 4005H Common error The volume of data to be handled by the specified request is Check the command data of SLMP MC protocol too large 4008H Common error The CPU module is BUSY Execute the request again after arbitrary period of time has The buffer is not empty elapsed 4010H CPU module Because the CPU module is in the RUN state the request
135. ction Destination DO Online gt Specify Connection Destination 1 Set PC side I F to Ethernet Board Specify Connection Destination Connection pose lo E E E 2 Double click Ethernet Board and open the PC E Tir OTM A Networks Stan Ne Protea UP side I F Detailed Setting of Ethernet Board window PLO side VE Jl Hl IP Address Host Name 19216933 a No Specification Other Station Other Station ingle Network Do ewistence Network CPU Module Direot Coupled Setting OS Time Out Seo 10 RetryTimes 0 NET 1 004 Multiple CPU Setting Specity Redundant PU EEU eee 3 Not Specified gt Cancel 3 Set the protocol Network No uaa This setting is an assignment for Ethernet board Please execute the following settings Network No Network No of Ethernet module set in parameter Station No Station No that does not overlap on the same loop Network No and station No are not necessary for the communication route shown below Communication with Ethernet port of CPU built in Ethernet Communication via GOT Transparent Communication via CC IE Field Ethernet adapter Protocol UDP X 6 Ethernet COMMUNICATION FUNCTIONS 6 1 Connection with MELSOFT product or GOT 4 Set the module to be connected to PLC side I F GPU Mode RCPU Ethernet Port Direct Connection 9 Connection via HUB 5 Double click the icon of th
136. currence 3COFH Hardware A hardware failure has been detected e Take measures to reduce noise Failure Always failure e Reset the CPU module If the same error code is information displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3C10H Hardware A hardware failure has been detected Take measures to reduce noise Failure At power failure e Reset the CPU module If the same error code is information ON or displayed again the possible cause is a hardware RESET failure of the CPU module Please consult your local Mitsubishi representative 3C11H Hardware A hardware failure has been detected e Take measures to reduce noise Failure At fixed failure e Reset the CPU module If the same error code is information cycle displayed again the possible cause is a hardware processing failure of the CPU module Please consult your execution or local Mitsubishi representative instruction execution 3C12H Hardware The waveform error has been detected e Check the waveform of the voltage applied to the Failure Always failure in Power supply module Power supply module information A hardware failure of the Power supply e Reset the CPU module If the same error code is module CPU module Base unit or displayed again the possible cause is a hardware extension cable has been detected failure of the Power supply module CPU module Base unit or extension cables Please cons
137. d by the version of the e Check whether the specified route is supported related error specified CPU module Check the mounting status of the CPU module The communication target CPU module is not mounted e Check the stop error and take the corrective actions 4B04H Target module The connection destination specification I O number of the Invalid value has been set to the start I O number for the module in Target settings Change the start I O number to the one for the target module and perform data communication again APPENDICES APPENDIX Appendix 1 Error Code List 165 Appendix 2 Event List C Controller module collects information from each module including errors detected by the module operations performed for the module and errors occurred on the network and stores them in the data memory or on an SD memory card Page 60 Event history function When an event occurs its event code and description can be checked using CW Configurator For details on events occurred on each CPU module refer to the manual of each module used Guide for reference of event list The event list contains the following information Event code Indicates the ID number of each event System code Indicates event code for the event type System e Security code Indicates event code for the event type Security Operation code Indicates event code for the event type Operation Application code Indicates event code for th
138. d cycle communication area of CPU No 1 2 Set the output value by reading data from the fixed cycle communication area of CPU No 1 Considerations for interaction with cycle of fixed cycle communication are shown below e Selecting Use for the inter module synchronization function enable Cooperate to be selected for Fixed Scan Communication Function and Inter module Synchronization Function It cannot be selected when Not use is selected for the inter module synchronization function Even if I O Setting Outside Group is enabled in a program of other CPU importing the input or output from the module to be synchronized is not available Although it can be read by direct specification such as DX DY Un Gn or the C Controller module dedicated function CCPU_FromBuf inconsistency of data may occur To adjust the start of the inter module synchronization function among all CPUs confirm that the inter module synchronization function is available by checking the ready flag of CPU No n from SM220 to SM223 turns ON By using SM220 to SM222 in an interlock program the start of the inter module synchronization function can be matched among all CPUs 4 BASIC FUNCTIONS 4 7 Inter module Synchronization Function Parameter setting Set a module configuration diagram with CW Configurator to configure the inter module synchronization setting O System Parameter gt Synchronization Setting within the Modules gt Synchronization Setti
139. d integer The type of error includes the error which is detected through the self diagnostics function of each module and the common error which is detected during communication between modules The following table lists the error detection type and the error code ranges Detection by a self diagnostic 0001H to 3FFFH Error code specific to each module such as self diagnostic errors function of each module Detected during communication 4000H to 4FFFH Error in CPU module between CPU modules 5000H to 5FFFH Error in slice 1 O module 7000H to 7FFFH Error in serial communication module 9000H to 9FFFH Error in FA controller module BOOOH to BFFFH Error in CC Link module C000H to CFFFH Error in Ethernet module DOOOH to DFFFH Error in CC Link IE Field Network module E000H to EFFFH Error in CC Link IE Controller Network module FOOOH to FFFFH Error in MELSECNET H network modules or MELSECNET 10 network module 146 APPENDICES APPENDIX Appendix 1 Error Code List formation When an error is detected with a self diagnostic function the detailed information of the error cause is stored all together The A detailed information of each error code can be checked with CW Configurator The following detailed information is added to each error code Up to three types of information are stored for each error code The types differ depending on the error code Information of the latest error code can be checked with th
140. d stores it as a BIN code A counting cycle from 0 gt 65535 gt 0 is repeated SD60 Number of module with Number of module with The lowest I O number of module in which a fuse blew is S At error occurrence blown fuse blown fuse stored SD61 1 0 module verify error 1 0 module verify error The lowest I O number of the module in which an I O S At error occurrence APPENDICES APPENDIX Appendix 6 Special Register List 177 SD80 Detailed information 1 Detailed information 1 Detailed information 1 information category code is S At error occurrence information category information category code stored b15 b8 b7 bo Not used Fixed to 0 Information category code The following codes are stored into the information category code N A N A Drive number and file name Parameter information System configuration information Frequency information Time information 24 Failure information NOIA SA APPENDICES APPENDIX 1 78 Appendix 6 Special Register List SD81 to SD111 Detailed information 1 Detailed information 1 Detailed information 1 corresponding to the error code SDO is stored There are six types of information to be stored as shown in 2 4 to 7 and 24 The type of the detailed information 1 can be obtained from SD80 The value of the Detailed information 1 information category code which is to be stored in SD80 corresponds to the number 2 4
141. e Two or more parameters can be selected E Moduls Parameter 4 Click the Add button to add the file s Boot File Setting Set the file used for boot operation from the SD memory card 4 BASIC FUNCTIONS 4 9 Memory Card Function 53 54 files possible to be stored in the transfer destination memory because more than one file is bootable for a single setting e When a parameter file is set as a boot file the parameter file in the transfer destination C Controller module is overwritten In addition if a parameter file is not set as a boot file even when it is stored on the SD memory card the CPU module operates in accordance with the settings in the parameter file in it Enable disable the use of file data on memory card Set whether to use files data stored on a memory card Window a Setting af File Data Use ar Mot i Memay Card i Module Extended Parameter Not Use isla Module Extended Parameter Set whether to use the module extended parameters stored on the SD Not Use Not Use memory card Use 4 BASIC FUNCTIONS 4 9 Memory Card Function 4 10 RAS Function Self diagnostic function This function is for C Controller module to diagnose the presence of any abnormality by itself Self diagnostics timing If an error occurred when the C Controller module is powered ON or while it is in the RUN STOP state the detected error information is displayed and the operation is stopped Poin tP
142. e Power supply module Power supply voltage is not appropriate Supply the appropriate power voltage Q1 MELSEC iQ R Module Configuration Manual The rated output of the Power supply module exceeds the internal current Review the system configuration so that the internal current consumption consumption within the entire system does not exceed the rated output current of the module L1 MELSEC iQ R Module Configuration Manual The POWER LED turns ON when the power is restored to the system after all An error occurred in a module other than Power supply module the modules except the Power supply module have been removed Cycle the power adding modules to the system one by one An error occurred in the last module mounted immediately before the POWER LED turns OFF Replace the corresponding module If the POWER LED does not turn ON even after the corrective actions listed above are taken the possible cause is a hardware failure of the Power supply module Please consult your local Mitsubishi representative READY LED on C Controller module does not turn ON green Check the following items The ERROR LED is ON System watchdog timer error occurred Check if user tasks with higher priority occupy the system Take corrective actions against the occurrence of any system watchdog timer error CPU error code 3E41H The ERROR LED is flashing The hardware failure has occurred Take corrective actions according to the even
143. e blocks as regarding one block as n point of word 0002 devices or bit devices 1 point is 16 bit Nonconsecutive device numbers can be specified Write Block 1406 0000 Writes data by specifying multiple blocks as regarding one block as n point of word 0002 devices or bit devices 1 point is 16 bit Nonconsecutive device numbers can be specified Extend Unit Read 0601 0000 Reads data in the buffer memory of an Intelligent function module Write 1601 0000 Writes data in the buffer memory of an Intelligent function module Remote Remote Run 1001 0000 Performs remote RUN to the access target module Control Remote Stop 1002 0000 Performs remote STOP to the access target module Remote Pause 1003 0000 Performs remote PAUSE to the access target module Remote Reset 1006 0000 Performs remote RESET to the access target module Read Type Name 0101 0000 Reads model and model code of the access target module File Read Directory 1810 0040 Reads information list of the file File Search Directory 1811 0040 Reads fine number file size and existence of the specified file File New File 1820 0040 Reserves the storage area in the specified file Delete File 1822 0040 Deletes files Copy File 1824 0040 Copies the specified file Change File State 1825 0040 Changes the file attribute Change File Date 1826 0040 Changes the file creation date Open File 1827 0040 Locks the file in order that the file content is not changed form other devices Read File 1828
144. e channel Controller Network module 4th module controlled number 4th module number 4th module SD1582 CC Link IE Controller CC Link IE Controller Channel number 151 to 158 of the CC Link IE S Initial Network module channel Network module channel Controller Network module 5th module controlled number 5th module number 5th module SD1583 CC Link IE Controller CC Link IE Controller Channel number 151 to 158 of the CC Link IE S Initial Network module channel Network module channel Controller Network module 6th module controlled number 6th module number 6th module SD1584 CC Link IE Controller CC Link IE Controller Channel number 151 to 158 of the CC Link IE S Initial Network module channel Network module channel Network Controller module 7th module controlled number 7th module number 7th module SD1585 CC Link IE Controller CC Link IE Controller Channel number 151 to 158 of the CC Link IE S Initial Network module channel Network module channel Controller Network module 8th module controlled number 8th module number 8th module SD1586 CC Link IE Field Network CC Link IE Field Network Channel number 181 to 188 of the CC Link IE Field S Initial module channel number 1st module channel number 1st Network module 1st module controlled module module SD1587 CC Link IE Field Network CC Link IE Field Network Channel number 181 to 188 of the CC Link IE Field S Initial module channel number 2nd module
145. e event type Application Event type Indicates the type of each event Event category Indicates the category of each event Detected event Indicates the description of detected events Detailed information 1 to 3 Indicates the details of each detected event 166 Detailed information 1 Indicates the contents of Detailed information 1 to 3 Operation initiator information The following shows the information on the operation source e Connection port connection information such as Ethernet and USB 1 O number CPU number CPU number in a multiple CPU system Network number Station number IP address Event history file information Indicates information on the event history file Detailed code Indicates the detailed code specified with the C Controller module dedicated function CCPU_RegistEventLog Detailed information 2 Communication speed and communication mode Indicates information on the communication speed and the communication mode Communication status Indicates information on the communication status Security key operation information Indicates information on security keys Remote password information Indicates information on the remote password File password information Indicates information on the file password Disconnected IP address information Indicates information on the disconnected IP address Drive and f
146. e memory Take measures to reduce noise Failure At fixed Reset the CPU module If the same error code is information cycle displayed again the possible cause is a hardware processing failure of the CPU module Please consult your execution local Mitsubishi representative power ON or RESET 3C2FH Memory error An error has been detected in the memory Take measures to reduce noise Failure Always e Reset the CPU module If the same error code is information displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3C30H Memory error An error has been detected in the memory Take measures to reduce noise Failure At Format the memory Write all files to the CPU information instruction module and then reset it If the same error code is execution displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3C31H Memory error An error has been detected in the memory Take measures to reduce noise Failure Always e Format the memory Write all files to the CPU information module and then reset it If the same error code is displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3C32H Memory error An error has been detected in the memory Take measures to reduce noise Failure Always e Reset the CPU module If the
147. e power is turned OFF or the module is reset while initializing each memory or clearing values the memory will be partly initialized or the value is partly cleared In this case perform the memory operation again e If the power is turned OFF or module is reset while accessing each memory data corruption in the memory or file system error may occur Shut down the program memory and data memory with the C Controller module dedicated function CCPU_ShutdownRom and then power OFF or reset the module 3 3 Memory Lifetime This section explains the life duration of a flash ROM which is used for program memory data memory system memory Memory lifetime e The life of the flash ROM is represented as write count index value and writing data is allowed until it reaches to 100 000 times When the write count index value has reached to 100 000 times replace the C Controller module e Since C Controller module performs processing to extend the life to write data to the flash ROM the write count index value will not be the same as the actual count of writing If the write count index value exceeds 100 000 times the following symptoms may occur e Decrease of writing speed to the standard ROM e Unable to write data to memory Method for checking write index value The write count index value of the flash ROM can be obtained with the C Controller module dedicated function CCPU_GetCpuStatus from the user program If the write count index value exceeds
148. e set module to display the PLC side I F Detailed Setting window 6 Select Connection via HUB for the connection method and enter the station number and IP 7 tese e O via He when you use HUB even IP Address 192 168 3 3 TL HUB ie comected to otter davis and aiso Ethernet Fort IP Input Format DEG address or host name of the C Controller module Direct Connection is selected during communication the line becomes overloaded This might affect other devices Host Name communication Search for ROPU on network 7 After the settings are completed click the OK Response Wait Time 2 sec Display Only GPU Type of Pr a button Selection IP Address Input Search for ROPU on the same network Unable to search for the following reasons No response within a specific time period Connected via a router or subnet mask is different Do not respond to search for GPU module on network is checked in module parameter 8 Set Other Station Setting and Network Communication Route as necessary TP Address CPU Type Label Comment z Direct connection C Controller module and engineering tool can be directly connected with one Ethernet cable without using a hub By connecting them directly communication can be performed without setting an IP address or host name to Specify Connection Destination Point P To prohibit the direct connection using an Ethernet
149. e special register SD as well lt Special Register List Detailed information 1 Drive file information Indicates information on drive names and file names Parameter information Indicates information about parameters such as storage target and type System configuration information Indicates information about system configurations such as I O number and power supply number Frequency information Indicates information on the number of times such as number of writes to memory Time information Indicates information on time Failure information Indicates information on failures Detailed event code information Indicates the detailed code registered with the C Controller module dedicated function CCPU_RegistEventLog Script position information Indicates script step number Detailed information 2 Drive file information Indicates information on drive names and file names Annunciator information Indicates information about annunciators Parameter information Indicates information about parameters such as storage target and type System configuration information Indicates information about system configurations such as I O number and power supply number Detailed event log information Indicates the detailed information registered with the C Controller module dedicated function CCPU_RegistEventLog APPENDICES APPENDIX Appendix 1 Error C
150. ected When the output Y is forced ON when the operating status is STOP the status before it stopped is output If the output Y is OFF before entering the STOP state the ON state is not retained When Clear the Output Y is selected When the output Y is forced ON when the operating status is STOP the ON state is retained 4 BASIC FUNCTIONS 4 8 Output Mode Setting Function from STOP to RUN 4 9 Memory Card Function This section explains the functions that use an SD memory card Boot operation The files stored on the SD memory card are transferred to the storage memory which is automatically determined by the C Controller module when the module is powered OFF gt ON or reset To perform the boot operation enabling Memory card parameter execution under Service Settings is required gt Page 65 Service settings procedure 1 Configure the boot setting 2 Insert an SD memory card 3 Write the boot setting and boot file on the SD memory card 4 Power OFF gt ON or reset the C Controller module 1 Click lt Detailed Setting gt in Boot File Setting E Baat Setting i Boot File Setting lt Detailed Settine gt 2 Click on the Type column The maximum number of boot Data Name la ul files that can be specified is the same as the number of files that can be stored in the storage memory 3 Select the type for the boot fil
151. ecution Order The following shows the execution order of the programs in C Controller module Initial processing Y Program operation rocessin 1 2 Initial Processing The following shows the process when powering ON or resetting a module e I O module initialization e Parameter check e Multiple CPU system parameter consistency check 1 0 number assignment of mounted module e IP address setting of C Controller module e Network information setting for CC Link IE Controller Network e Network information setting for CC Link IE Field Network e Network information setting for CC Link Network Initial value setting for Intelligent function modules Script file execution 1 3 1 0 Access Timing This section explains the timings for reading input X and writing output Y Input X reading timing The read timings of input X are as follows When a dedicated function library such as CCPU_X_In_BitEx mdRandREx is executed in a user program e When input X data is read out from a peripheral device When performing device buffer memory batch monitoring of CW Configurator Output Y writing timing The write timings of output Y are as follows e When a dedicated function library such as CCPU_Y_Out_BitEx mdRandWEx is executed in a user program e When output Y data is written from a peripheral device When performing device buffer memory batch monitoring of CW Configurator 1 EXECUTING PROGRAMS
152. ed of lower case characters the file name may be displayed all in upper case characters when referred from FTP or Telnet File writing destination Do not write files to the program memory and data memory using a user program Since the write count of the flash ROM is limited doing so may reduce the life of C Controller module When writing files using a user program write files to an SD memory card USB Mass Storage Class compliant device or network device via FTP NFS netDrv etc 1 For details on devices refer to the manual of VxWorks MUninstallation of external memory If unmount process is performed while writing data to a user file in the following memory data corruption or file system error may occur Perform unmount process after the file being written is closed SD memory card e USB Mass Storage Class compliant device Creation of folder Do not create a folder in the root of C Controller module Creation of a folder may cause an error or an unintended folder may be created These errors also occur when transferring a folder to the root from FTP 3 MEMORY CONFIGURATION OF C Controller module 2 3 4 Files 9 MEMO 30 3 MEMORY CONFIGURATION OF C Controller module 3 4 Files PART 2 FUNCTIONS This part comprises the following chapters 4 BASIC FUNCTIONS 5 ACCESS FUNCTION USING NETWORK MODULE 6 Ethernet COMMUNICATION FUNCTIONS 7 MULTIPLE CPU SYSTEM FUNCTIONS 31 32 4 BASIC FUNCTIONS
153. ed on the I O points Remove the module mounted on 4096 points or System At power configuration 4096 points or later later configuratio ON or error The module is mounted over the Replace the module mounted on the last slot to n RESET boundary of I O points 4096 points the one that does not exceed 4096 points information 2009H Module There is no response from the I O module e Review the I O Assignment Setting in the System System Always configuration or Intelligent function module accessed Parameter configuratio error The possible cause is a hardware failure of the I O n module or Intelligent function module Please information consult your local Mitsubishi representative 2020H Module An unsupported module is mounted Remove the unsupported module If all the modules System At power configuration are supported the possible cause is a hardware configuratio ON or error failure of the CPU module Base unit I O module or n RESET Intelligent function module Please consult your local information Mitsubishi representative 2021H Module In a multiple CPU system the control CPU e Replace the MELSEC Q series Intelligent function System At power configuration of the MELSEC Q series Intelligent module with the one function version B configuratio ON or error function module which does not support a supporting a multiple CPU system n RESET multiple CPU system is set to other than Change the control CPU of the MELSEC Q series in
154. ed with a function Devices corresponding to each link device are shown below In the dedicated function library specify the device type with the device name defined for each function Link input LX M B D W ZR Dev_CCPU_M DevM Link output LY Dev_CCPU_B DevB 5 Dev_CCPU_D DevD Link relay Le Dev_CCPU_W Devw Link register LW Dev_CCPU_ZR DevZR Remote input RX Remote output RY Remote register RWw RWr Link special relay SB The access by link refresh is not allowed Link special register sw Use the direct access 5 ACCESS FUNCTION USING NETWORK MODULE 5 2 Cyclic Transmission 73 74 Direct access This method is used for direct access of Network module link devices from user program The following figure shows and explains the data flow for direct access of Network module link devices C Controller module Network module Network module User program Direct access Link Link device device MUser program functions Following are the functions used for direct access of Network module link devices CCPU_WriteLinkDevice Writes data to link devices of a Network module directly CCPU_ReadLinkDevice Reads data from link devices of a Network module directly Link devices specified with a function Devices corresponding to each link device which can be specified with a function are shown below In the dedicated function library specify the device type with
155. eee 174 Appendix 6 Special Register List 22266662000 ce0ee reece eee vee eee eee eee weed ede eee ee eee eee ees 176 Appendix 7 Parameter Lis ccoo A wd Gene Gee aged ed wader 186 System parameters o 6 000 4 es bee e ee eae 186 CPU Para Meter stetorus ed Renna ete deren ee eek eae cue ene aed aah wie ark de owe hee pa ears 187 Module parameters eaei aani at be chad a ee aliens AA AA Ra 187 Memory Card parameter coincida dador rated o od Dine 188 Appendix 8 VxWorks Component LiSt oooocccccccnnnrnr naan nnna nananana 189 Appendix 9 Processing Time of Functions 000 cece eee eee eee eee eee 195 C Controller module dedicated functions 00 eee 195 Appendix 10General Safety RequirementS ooooccoccccnnnn eee eee eee eee 196 When the ERR contact of Power supply module is not used 0 0 0 cece tee 196 When the ERR contact of Power supply module is used 0 000 cece tenes 198 Fail safe measures for C Controller module failure 2 2 0 0 00 ects 200 Appendix 11 Calculation Method for Heat Generation of C Controller module o ooooooooooo 201 Appendix 12Added and Changed Functions o cocccccccnn eee eee eee 202 INDEX 204 REVISIONS i i aog igp Dive ad Maw dt ga ewe ade EE ee ake Whee 206 WARRANTY sopa is bie bebe Ot bee ese Bee bens di 207 TRADEMARKS totes im can E pte claudia x diodo bosco er tade acters ele ame cee 208 15 RELEVANT MANUALS AA NEE EN
156. en after the error is cleared later 1 0 module verification is also performed for modules on the remote I O station SM80 Detailed information 1 in OFF Not used Turns ON if the detailed information 1 exists when SMO S Status change use flag ON In use turns ON SM112 Detailed information 2 in OFF Not used Turns ON if the detailed information 2 exists when SMO S Status change use flag ON In use turns ON SM600 Memory card usable flag OFF Unusable Turns ON when the module is in SD memory card S Status change ON Usable available state The flag turns ON after inserting an applicable SD memory card and it is in the available state SM601 Memory card protect flag OFF Not protected Turns ON when the write protect switch on the SD S Status change ON Protected memory card is ON SM603 Memory card drive 2 flag OFF Not inserted Turns ON while an SD memory card in inserted S Status change ON Inserted Regardless of the availability of an SD memory card and its type 4 4 APPENDICES APPENDIX 7 Appendix 5 Special Relay List ation The following table shows the special relays related to system information sm220 CPU No 1 preparation OFF CPU No 1 This device turns ON when the access from other CPU S Status change completed preparation not module to the CPU No 1 is enabled after powering ON or completed resetting the module ON CPU No 1 preparation completed smM221
157. end area of CPU No 1 Send area of CPU No 2 ease uo eoJunuuoo ajo o pexi4 Send area of CPU No 3 Send area of CPU No 4 CPU buffer memory Communication through direct access Reads writes data in the area of the host CPU or other CPUs 512K words fixed Fixed cycle communication area Communication through direct access Performs data communication between the host CPU area and other CPU areas in accordance with the set interval Can be set within the range of 0 to 24K words in total The send area per single CPU module can be set within the range of 0 to 12K words Page 124 Setting fixed cycle communication area 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 21 7 4 Data Communication Between CPU Modules EPrevention of 64 bit data inconsistency To avoid 64 bit data inconsistency access the specified start address of the CPU buffer memory in multiples of four similarly to the device to be specified Device Data is assured Fixed cycle communication HG1000 4 words 64 bits HG1004 lt Address of a multiple of 4 4 words 64 bits A HG1010 lt Address that is not a multiple of 4 Data is not assured 4 words 64 bits ry configuration Memory configuration can be checked with CW Configurator DO System Parameter gt Multiple CPU Setting gt Communication Setting between CPU gt
158. er based data assurance O With data inconsistency control by system X Without data inconsistency control by system Communication by refresh 2 x x x Communication through direct access X x o 1 The countermeasures by a program are required 2 Communication by refresh can not be performed since the CPU buffer memory does not have the refresh area 3 The access in the multiple CPU synchronous interrupt program 145 only CPU No 1 does not send receive the following data until it receives the notification of the data read completion from other CPU The timing of sending receiving data is the update interval of the CPU module of which scan time of the programmable controller CPU or refresh cycle of the C Controller module is the latest e C Controller module notifies the contents equivalent to the read completion in each refresh cycle e In the data communication through direct access to the CPU buffer memory excluding the fixed cycle communication area the data in the CPU buffer memory of other CPU is directly read after the execution of the read instruction Therefore it will not be subject to the CPU number based data assurance When the data in the CPU buffer memory of C Controller module is read by a programmable controller CPU using the refresh it will not be subject to the CPU number based data assurance 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 27 7 4 Data Communication Between CPU Modules Communication b
159. er memory by executing the C Controller module dedicated function CCPU_ToBuf 3 Device data in the refresh area of the programmable controller CPU is read to a user program by executing the C Controller module dedicated function CCPU_FromBuf 4 Device data of the CPU buffer memory in the C Controller module is transferred to a device for C Controller module in the programmable controller CPU 134 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules Communication using fixed cycle communication area Data communication using the fixed cycle communication area is performed by using a multiple CPU synchronous interrupt program 145 Multiple CPU synchronous interrupt Execute a multiple CPU synchronous interrupt program 145 at the timing of the cycle of the fixed cycle communication set to the parameter By using the multiple CPU synchronous interrupt function data can be communicated between CPU modules synchronously with the cycle of the fixed cycle communication The data communication timing between CPU modules is synchronized Cycle of fixed cycle communication _ gt t _ Cycle of fixed cycle communication gt i i i 1 Multiple CPU synchronous gt i i CPU module CPU No 1 interrupt program execution time Normal program Multiple CPU Multiple CPU synchronous interrupt program synchronous Refresh Opera
160. er the routine that corresponds to the interrupt from a module with the C Controller module dedicated function CCPU_Entrylnt 2 Enable the registered routine with the C Controller module dedicated function CCPU_Enablelnt CCPU_Enablelnt_ISR 3 When the interrupt from module is issued after the routine is enabled the registered routine is executed as an interrupt routine C Controller Module User program 1 Execute the CCPU_EntryInt function 2 Execute the CCPU_Enablelnt function Interrupt routine interrupt program registration table Interrupt routine interrupt program 1 Interrupt routine interrupt program 2 Empty pe Execute an interrupt routine interrupt program sek Lo I i i emia 1 92 1 03 1 04 aTe 3 Issue an interrupt 3 EEN A e E l E T T T y T Stopping interrupt routine Disable the registered routine with the C Controller module dedicated function CCPU_Disablelnt CCPU_Disablelnt_ISR When an interrupt from module is issued to the routine disabled with the C Controller module dedicated function CCPU_Disablelnt CCPU_Disablelnt_ISR the interrupt from module is ignored The routine is executed only for the interrupt from module which has been issued while the routine is enabled with the C Controller module dedicated function CCPU_Enablelnt CCPU_Enable
161. eration of the C Controller system 4 Decision of the refresh cycle ECalculation of the total link refresh time The total link refresh time is equal to the sum of the link refresh time of all of the Network modules controlled by C Controller module The total link refresh time of C Controller system in operation can be checked with the special registers SD526 to SD531 For calculation method of link refresh time for respective Network modules refer to the following section 5 Page 85 Link refresh time Preliminary decision of the refresh cycle Set the value which satisfies the following relational expression to the refresh cycle and total link refresh time e Refresh cycle gt Total link refresh time Pay attention to the processing of a user program so that the refresh cycle meets the system specifications of C Controller system HPre operation of the C Controller system Confirm whether the C Controller system operates correctly by the refresh cycle decided preliminarily Check the following at the time of pre operation Any error has been occurred on the C If the processing of the C Controller module has not been completed within the refresh cycle an error Refresh cycle Controller module or not exceeded 1846H occurs The operation of the C Controller Check that the C Controller system operates correctly If the operation of the user program is suspended more system meets the system frequently than its normal operat
162. erify Error Detect Fuse Blown Detect E Synchronous Interrupt Program 144 145 Executing Time Excessive Execution Interval Exceed 144 145 Not Detected Program Execution Section Exceed 145 Not Detected Module Verify Error Set whether to detect the module verification error Detect Detect Fuse Blown Set whether to detect the fuse blown in the controlled Not module Detected Synchronous Interrupt Execution Interval Exceed 144 145 Set whether to detect the excessive execution time 144 Not Detected Program 144 145 145 Executing Time Program Execution Section Exceed Set whether to detect the program execution section Excessive 145 exceed errors 145 1 If an operating module in which Not Detected is selected in the parameter is removed a module verification error is not detected however a stop error may occur if accessing the removed module by using programs etc Since the removed module is not accessible even if it is mounted again accessing the module by changing the module status from STOP to RUN may result in a stop error error is detected Set the operation of C Controller module when an error is detected XZ CPU Parameter gt RAS Setting gt CPU Module Operation Setting at Error Detected GPU Module Operation Setting at Error Detected Memory Card Error Stop Module Verify Error Stop Fuse Blown Stop Synchronous Interrupt Execution Interval E
163. eter At write error information of the error by performing module information power ON diagnostics using CW Configurator increase the or RESET capacity of the area corresponding to the displayed parameter with error jump If the capacity of the area cannot be increased decrease the capacity of other areas 2225H Parameter The model type CPU module model Correct the model type CPU module model Parameter At write error name set with CW Configurator differs name set to the CW Configurator project in information power ON from that of the CPU module actually accordance with the CPU module actually or RESET mounted mounted The operation set in the memory card Delete the memory card parameters parameters cannot be performed Remove the memory card so that the operation The boot function cannot be executed set in the memory card parameters will not be performed Do not execute the boot operation 2240H Parameter In the multiple CPU system an I O module Check the detailed information parameter Parameter At power error module or Intelligent function module controlled by information of the error by performing module information ON or other CPU module is specified in the diagnostics using CW Configurator and review the RESET module parameter parameter setting corresponding to the displayed number parameter number If the same error code is displayed again the possible cause is a hardware failure of the data memory in the
164. etting corresponding to the processing are different from those of other CPU number parameter number so that the data is execution modules refreshed within the specified device range Take instruction any of the following actions Increase the number execution of file register points capacity create a file or module register file having a capacity for all of the target access data to be refreshed or reduce the refresh device range e Rewrite the refresh settings number of points in the CPU parameters for all the CPU modules Use the same number of points in the refresh settings for all the CPU modules 2281H Parameter A device that cannot be used as a refresh Check the detailed information parameter Parameter At power error refresh device is specified information of the error by performing module information ON or diagnostics using CW Configurator and review the RESET parameter setting corresponding to the displayed number parameter number 2282H Parameter The number of specified refresh points is Check the detailed information parameter Parameter At power error refresh invalid information of the error by performing module information ON or diagnostics using CW Configurator and review the RESET parameter setting corresponding to the displayed number parameter number 2283H Parameter The total number of refresh points Check the detailed information parameter Parameter At power error refresh exceeded the maximum limit
165. even if the number of resends does not reach to 12 times 2 The maximum value of the retransmission time is 60 seconds 3 RTO retransmission timeout is a value increases exponentially based on RTT round trip time 110 6 Ethernet COMMUNICATION FUNCTIONS 6 7 Parameter Settings FTP server settings Set the file transfer function FTP server DO Module Parameter gt Application Settings gt FTP Server Settings E FIP Server Setimegs pose FTP Server Login Name target q Advanced Settings E Password Setting E pu Current Password New Password o Confirm New Password Displayed AAA Se A FTP Server Select whether to use the FTP function of C Controller module Not Use Use Use Login Name Set the login name to be used for file transfer request login from the Up to 12 characters target target device Advanced Password Setting Set the password to be used for file transfer request login from the 8 to 32 characters Settings target device Current Password Enter the current password for login to C Controller module Default password initial setting is set as follows C Controller module password To prevent an illegal access change the password when using the File transfer function New Password Confirm New Password To change the password enter the new password in New Password and Confirm New Password 6 Ethernet COMMUNICATION FUNCTIONS 411 6 7 Parameter Se
166. f the same error code is displayed again the possible cause is a hardware failure of the data memory in the CPU module or the Intelligent function module Please consult your local Mitsubishi representative 2260H Parameter Network numbers are duplicated Check the detailed information parameter Parameter At power error network information of the error by performing module information ON or diagnostics using CW Configurator and review the RESET parameter setting corresponding to the displayed number parameter number If the same error code is displayed again the possible cause is a hardware failure of the data memory in the CPU module or the Intelligent function module Please consult your local Mitsubishi representative APPENDICES APPENDIX Appendix 1 Error Code List 153 2261H Parameter Different network types CC IE Control Check the detailed information parameter Parameter At power error network extended mode normal mode are set information of the error by performing module information ON or between the control station and the normal diagnostics using CW Configurator and review the RESET station parameter setting corresponding to the displayed number parameter number If the same error code is displayed again the possible cause is a hardware failure of the data memory in the CPU module or the Intelligent function module Please consult your local Mitsubishi representative 2262H Pa
167. fore the lockout time will not be extended additionally by one minute even if the 7th input error occurs before one minute has passed since the 6th e When the security setting is configured using the C Controller module dedicated function CCPU_ChangeFileSecurity the password authentication will not be locked out 4 BASIC FUNCTIONS 4 11 Security Function 5 ACCESS FUNCTION USING NETWORK MODULE C Controller module can perform data communication with a device connected to a network via each Network module Access source Access target Access using Network module y In multiple CPU system configuration the access via a Network module which is controlled by other CPU is not available Applicable Network modules Network modules that can be controlled by C Controller module are as follows e CC Link IE Controller Network module e CC Link IE Field Network module e CC Link module For the module model names refer to the following manual LA MELSEC iQ R C Controller Module User s Manual Startup Network parameter To use a Network module setting of Module Parameter of the particular Network module is required To perform this settings refer to the user s manual of the respective Network modules 5 1 Data Communication via Network This section explains how to perform data communication using C Controller module on each network Cyclic transmission Performs data communication Uses link devices of the own sta
168. formation CPU No 1 Intelligent function module which does not support a multiple CPU system to CPU No 1 2040H CPU module The number of CPU modules set in the I Set the number of CPU modules including the System At power configuration O Assignment Setting of the System empty setting in the I O Assignment Setting of the configuratio ON or error Parameter differs from the number of System Parameter correctly in accordance with n RESET CPU modules actually mounted the number of CPU modules actually mounted information The CPU module is mounted on the slot Set the I O Assignment Setting in the parameter different from the one specified to the I O and actual CPU module mounting status correctly Assignment Setting 2041H CPU module The CPU module is not mounted on the Set the number of CPU modules including the System At power configuration slot that is set for the CPU module in the empty setting in the I O Assignment Setting of the configuratio ON or error 1 0 Assignment Setting of the System System Parameter correctly in accordance with n RESET Parameter the number of CPU modules actually mounted information An I O module or Intelligent function Remove the I O module or Intelligent function module is mounted between the CPU module mounted between the CPU modules modules 2043H CPU module The CPU module is mounted on the Mount the CPU module on the applicable slot System At power configuration inapplicable slot CPU slot
169. function processing time refer to the following section lt 5 Processing Time of Functions CC Link Network For information on the calculation formula for transmission delay time when using CC Link Network refer to the following manual LA MELSEC iQ R CC Link System Master Local Module User s Manual Application With reference to above mentioned manual substitute the sequence scan time of the master station SM and the sequence scan time of the local station SL with the following processing time SM SL P R a e P Processing time on C Controller module e R Refresh cycle e a Link refresh time 5 ACCESS FUNCTION USING NETWORK MODULE 5 5 Processing Time tion example The following shows a calculation example for the transmission delay time for single network system The system configuration and its settings are as shown below CPU module on sending side receiving side C Controller module Total station numbers per one network Two stations one control station and one normal station Total number of points of link devices LB LW 1024 points LX LY 0 points SB SW 0 points Refresh cycle 100 ms Transient transmission Disabled Station based block data assurance Enabled CC Link IE Controller Network module Main base unit Error station Disabled BLink refresh time By Br The calculation formula is as follows Link refresh time ms Br Br KM1 KM2 x LB LX LY 16 LW T
170. g and writing to one module are allowed The number of channels varies depending on network types MUser program functions Following are the functions used for message communication CCPU_DedicatedGInst Executes dedicated instructions categorized as G or GP CCPU_DedicatedJInst Executes dedicated instructions categorized as J or JP mdSendEx Sends messages mdReceiveEx Receives messages 5 ACCESS FUNCTION USING NETWORK MODULE 5 3 Transient Transmission 77 Access to other station device This method is used for direct access of the devices of other station via Network from user program The Network module and its control CPU module on other station can be accessed The device of other station can be accessed from user program using the C Controller module dedicated functions mdDevRstEx Resets turns OFF bit device s mdDevSetEx Sets turns ON bit device s mdRandREx Reads device s randomly mdRandWEx Writes device s randomly mdReceiveEx Reads devices in batch mdSendEx Writes devices in batch HAccessible range of function For the accessible range on each network refer to the following manual MELSEC iQ R C Controller Module Programming Manual MAccess to a link device of other station To access a link device of other station specify a direct link device other station side Link input LX DevLX 1 to DevLX 255 Link ou
171. gee ead dW ea de A eon ea eae 148 Appendix 2 Event List cocina ar A ha Sherer ate ees 166 Guide for reference of eventlist 0 0 0 eee eee nent eens 166 EVIE MISE oc sacks A E E EEE adsense Eae ae E AE E AENEAN E EA ENEE nin com S 167 Appendix 3 Troubleshooting by Symptom 0 00 cece eee eee eee eee eens 168 POWER LED of Power supply module turns OFF 0 00 cee ett teens 168 READY LED on C Controller module does not turn ON green 2 0 0 2 0 0000 168 READY LED on C Controller module is kept flashing 0 000000 0 02 eee eee 168 Ethernet communication between C Controller module and personal computer cannot be established 169 Fil acceSs TAS A Ge da eee dd eee be ao oe 170 Connection with peripherals fails esa sess tenaa daaa aa a arada a a aa eee 170 File read from C Controller module fails 000 0000 cette E 170 An error occurs during user program execution ao esera ensym endi eu wrea Di ea a Aaa Ea eee eee 170 The serial communication cannot be established 0 0 0 ccc tee 171 Communication with Ethernet device cannot be established 0 000 eee eee 171 Drive name of the SD memory card is not displayed properly anurun ee eee eee ee 171 Drive name of the USB Mass Storage Class compliant device is not displayed properly 171 Appendix 4 Device List cio a ain SaaS 172 Appendix 5 Special Relay List ooooococccccnnnnnnn eee eee eee
172. hardware failure has been detected e Take measures to reduce noise Failure Always failure e Reset the CPU module If the same error code is information displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3C01H Hardware A hardware failure has been detected Take measures to reduce noise Failure Always failure Reset the CPU module If the same error code is information displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3C02H Hardware A hardware failure has been detected Take measures to reduce noise Failure At power failure An invalid argument has been specified Reset the CPU module If the same error code is information ON RESET with the C Controller module dedicated displayed again the possible cause is a hardware fixed cycle functions for ISR failure of the CPU module Please consult your processing local Mitsubishi representative execution e Review the argument of the C Controller module or interrupt dedicated functions for ISR occurrence 3C03H Hardware A hardware failure has been detected Take measures to reduce noise Failure Always at failure Reset the CPU module If the same error code is information power ON displayed again the possible cause is a hardware RESET or failure of the CPU module Please consult your interrupt local Mitsubishi representative oc
173. he IP address of the target device to be passed or blocked in the parameters to restrict the access from target devices Use of this function is recommended when using C Controller module in an environment which is connected to LAN Poin tP The IP filter function is one of the methods for preventing illegal access such as program or data corruption from a target device However this function does not prevent illegal access completely Incorporate measures other than this function if the C Controller system s safety must be maintained against illegal access from an external device We cannot be held responsible for any system problems that may occur from illegal access Examples of measures for illegal access are shown below e Install a firewall e Install a personal computer as a relay station and control the relay of send receive data with an application program e Install an external device for which the access rights can be controlled as a relay station For details on the external devices for which access rights can be controlled consult the network provider or equipment dealer Setting method 1 Set the IP address for the IP address to be passed or blocked in Security under Application Settings 5 Page 113 Security 2 Write the module parameters to the C Controller module 3 The IP filter function is enabled after the power cycle or reset of C Controller module Point Even if the connection is specified by the
174. he values of each variable are as follows e KM1 Constant 1 0 e KM2 Constant 0 36 x 10 LB LW Total number of points of link devices 1024 LX LY Total number of points of link devices 0 Link refresh time can be found by putting the respective values in following variables of the formula Br BR 1 0 0 36 x 10 x 1024 0 0 16 1024 1 39 ms HTransmission delay time When the station based block data assurance setting is enabled and LT is longer than LS LT gt LS the calculation formula is as follows Normal value LT By x 1 5 LS x 0 5 LR Bp x 0 5 Maximum LT B7 x 2 LSx1 LR Bp value The values of each variable are as follows LT LR Refresh cycle 100 ms Br Br Link refresh time 1 39 ms e LS Link scan time 1 25 ms Transmission delay time normal and maximum value can be found by putting the respective values in following variables of the formula e Normal value 100 1 39 x 1 5 1 25 x 0 5 100 1 39 x 0 5 203 405 ms e Maximum value 100 1 39 x 2 1 25 x 1 100 1 39 305 420 ms 5 ACCESS FUNCTION USING NETWORK MODULE 4 5 5 Processing Time 9 92 Reduction of link refresh time The link refresh time can be shortened by reducing refresh points to C Controller module by the settings for Refresh Setting Network Range Assignment Network Configuration Settings and with direct access of link devices How to reduce refresh points M
175. ialized the parameters will be restored to the default setting even when overseas time zone has been set Changing the clock of the module is required when the time zone is set again 4 BASIC FUNCTIONS 4 2 Clock Function 35 36 4 3 Remote Operation Function The operating status of C Controller module can be controlled with CW Configurator and a user program For a control from a user program use C Controller module dedicated functions The following types of remote operation are available e Remote RUN STOP e Remote PAUSE e Remote RESET Remote RUN STOP Change the C Controller module status to RUN STOP externally while the RESET STOP RUN switch is on the RUN position Use this function to change the C Controller module status to RUN STOP when the module is located in an inaccessible place such as in the control panel by using an external signal Executing remote operations The following methods are available to execute remote RUN STOP Using CW Configurator Refer to the following manual LA CW Configurator Operating Manual MUsing user program Execute the C Controller module dedicated function CCPU_Control to perform remote RUN STOP LA MELSEC Q R C Controller Module Programming Manual Using SLMP Refer to the following manual LA SLMP Reference Manual Point When Clear is selected for the device label memory at the time of performing remote RUN from CW Configurator the following devices are cleared e X Y
176. iguration Manual O For Ethernet cables to be used in the system select the ones that meet the specifications in the user s manual for the module used If not normal data transmission is not guaranteed Startup and Maintenance Precautions NWARNING O Do not touch any terminal while power is on Doing so will cause electric shock or malfunction O Correctly connect the battery connector Do not charge disassemble heat short circuit solder or throw the battery into the fire Also do not expose it to liquid or strong shock Doing so will cause the battery to produce heat explode ignite or leak resulting in injury or fire O Shut off the external power supply all phases used in the system before cleaning the module or retightening the terminal screws connector screws or module fixing screws Failure to do so may result in electric shock Startup and Maintenance Precautions NCAUTION O When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller configure an interlock circuit in the program to ensure that the entire system will always operate safely For other forms of control such as program modification parameter change forced output or operating status change of a running programmable controller read the relevant manuals carefully and ensure that the operation is safe before proceeding Improper operation may damage machines o
177. igurator and check the n The I O module or Intelligent function module corresponding to the displayed number slot information module is not mounted properly or was number removed during operation 2401H Module A CPU module I O module or Intelligent Check the detailed information system System Always verification function module was mounted on the base configuration information of the error by configuratio error unit during operation performing module diagnostics using CW n Configurator and check the module information corresponding to the displayed number slot number Do not mount a CPU module I O module nor Intelligent function module on an empty slot during operation 2420H Fuse blown The output module with a blown fuse has Check the FUSE LED of the output module and System Always error been detected replace the one with the LED ON configuratio Check the detailed information system n configuration information of the error by information performing module diagnostics using CW Configurator and replace the output module corresponding to the displayed number slot number 2440H Module major In the multiple CPU system the control e Review the system parameters in the CPU No 2 or System At power error CPU setting in the system parameters is later and match the number with those of the configuratio ON or different from that of other CPUs smallest numbered CPU module n RESET An error has been detected in the I O
178. ile copy A file was copied Copy source Copy 24202 Folder file rename A folder or file was renamed aaa destination information drive and file information 25000 Registration from user An event history was registered with the C Detailed Detailed program Controller module dedicated function code information 2A200 Warning Memory initialization The memory was initialized Operation Drive and initiator file information information 2A201 Device label zero clear Data in the device label memory was Device and cleared to zero label information 2A202 Folder file deletion A folder or file was deleted Drive and file information 1 For the file related events such as write to and deletion of files operations for the following files are logged in the event history Program file Parameter file APPENDICES APPENDIX Appendix 2 Event List 167 Appendix 3 Troubleshooting by Symptom If any of the functions of C Controller module does not operate properly perform troubleshooting by checking the following items If the ERROR LED is ON or flashing clear the error using an engineering tool POWER LED of Power supply module turns OFF Check the following items The Power supply module is not mounted on the Base unit properly Re mount the Power supply module and power it ON again The READY LED on the C Controller module is ON An error occurred in the Power supply module Replace th
179. ile information Indicates information on drive names and file names Copy source drive and file information Indicates information on drive names and file names Operation target information Indicates information about the operation target I O number Clock information before change Indicates information about the clock before change Remote operation type information Indicates information about the remote operation type Device and label information Indicates information about devices and labels Detailed information Indicates the detailed information specified with the C Controller module dedicated function CCPU_RegistEventLog Detailed information 3 Clock information after change Indicates information about the clock after change Copy destination drive and file information Indicates information about the copied drive name and file name APPENDICES APPENDIX Appendix 2 Event List Event list The following table shows the events related to C Controller modules 0400 System Informatio Power ON and RESET The C Controller module has been power n ON or reset 0410 Boot operation Boot operation has been performed 0420 Event history file A event history file has been generated Event generation history file information 1000 or Error When a self diagnostic error occurs the error inf
180. in STOP state and clears all outputs Y to OFF Operation processing in PAUSE state PAUSE state indicates that the output Y to each module and data write to buffer memory from the user program of the C Controller module are disabled with the ON OFF of the output Y retained Point e Regardless of which status the C Controller module is in RUN STOP PAUSE performing output Y and writing data to the buffer memory are allowed from CW Configurator SLMP communication and MELSEC data link functions e Regardless of which status the C Controller module is in RUN STOP PAUSE the operation of a user program is continued When splitting the user program in accordance with the operating status of C Controller module use the C Controller module dedicated function CCPU_GetCpuStatus 2 OPERATION PROCESSING IN C Controller module 2 1 Operation Processing Depending on Operating Status 2 2 Operation Processing at Momentary Power Failure When the input power voltage fed to the Power supply module is lower than the specified range C Controller module detects a momentary power failure and performs the following processes When a momentary power failure less than the allowable time has occurred When a momentary power failure occurs C Controller module suspends processing with its output status retained After power is recovered error information is registered to the event history file Only at the first detection When the
181. indows XP Windows Server Visio Excel PowerPoint Visual Basic Visual C and Access are either registered trademarks or trademarks of Microsoft Corporation in the United States Japan and other countries Intel Pentium and Celeron are either registered trademarks or trademarks of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Corp The SD and SDHC logos are either registered trademarks or trademarks of SD 3C LLC VxWorks is either a trademark or a registered trademark of Wind River Systems Inc in the United States All other company names and product names used in this manual are either trademarks or registered trademarks of their respective companies gt DP ETA 208 SH NA 081369ENG D 1505 KWIX MODEL R CCPU U OU E MODEL CODE 13JX22 MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
182. ing for an interrupt event by the C Controller module dedicated function CCPU_WaitEvent CCPU_WaitEvent Waits for an interrupt event notification from other CPU The following shows how to restart the user program which is waiting for an interrupt event 1 With the user program call the C Controller module dedicated function CCPU_WaitEvent 2 The user program is placed into the interrupt event wait state 3 Perform one of the following operations e Execute the C Controller module dedicated function CCPU_DedicatedDInst with a user program of C Controller module other CPU e Execute the D P GINT instruction with a sequence program of programmable controller CPU other CPU 4 Theuser program is restarted C Controller module C Controller module other CPU 1 Execute the User program User program CCPU_WaitEvent User program is being function executed User program is in an The interrupt event wait state CCPU_DedicatedDInst 3 Execute the funtion User program is restarted CCPU_DedicatedDInst function Programmable controller CPU C Controller module Sequence program User program 1 Execute the CCPU_WaitEvent User program is being function executed User program is in an D P GINT instruction interrupt event wait state 3 Execute the D P GINT User program is restarted instruction
183. inimum link refresh processing time is stored in SD528 and SD529 Measured in microseconds SD528 Stores the millisecond portion of a value Storage range O to 65535 SD529 Stores the microsecond portion of a value Storage range O to 999 When the minimum link refresh processing time is 23 6 ms for example it is stored as shown below e SD528 23 ms e SD529 600 us S System SD530 SD531 Maximum link refresh processing time Maximum link refresh processing time unit ms Maximum link refresh processing time unit us The maximum link refresh processing time is stored in SD530 and SD531 Measured in microseconds SD530 Stores the millisecond portion of a value Storage range O to 65535 SD531 Stores the microsecond portion of a value Storage range 0 to 999 When the maximum link refresh processing time is 23 6 ms for example it is stored as shown below e SD530 23 ms SD531 600 us S System 1 The fixed cycle processing includes the refresh processing with Network modules the reset processing of watchdog timer and the self diagnostic processing APPENDICES APPENDIX Appendix 6 Special Register List 183 Special registers for C Controller module The special registers for C Controller modules are as follows
184. ink register 1048576 WO to FFFFF HEX points System device Bit device Special relay 4096 points SMO to 4095 DEC NA Word device Special register 4096 points SDO to 4095 DEC Link direct device Bit device Link input 16384 points Jn XO to 3FFF HEX N A Link output 16384 points Jn YO to 3FFF HEX Link relay 32768 points Jn BO to 7FFF HEX Link special relay 512 points Jn SBO to 1FF HEX Word device Link register 131072 JNWO to 1FFFF HEX points Link special register 512 points JNISWO to 1FF HEX Module access Word device Module access device 268435456 Un GO to 268435455 DEC N A device points CPU buffer memory Word device CPU buffer memory access 268435456 U3EN GO to DEC N A access device device points 268435455 Word device Fixed cycle communication 0 points DEC Available U3En HGO to 12287 area access device File register Word device File register 1835008 ZRO to 1835007 DEC N A points Pointer Interrupt pointer 1024 points l0 to 115 150 to 11023 DEC N A 1 The number of points and the range to be used for the link direct device vary depending on Network modules For the number of points and the range to be used for the link direct device refer to the manual for the Network module in use Do not use any devices that are not listed in the device list 172 APPENDICES APPENDIX Appendix 4 Device List descriptions The following shows the overview of the available devices
185. ion 3 1 Section 3 4 Section 4 11 Section 7 4 Appendix 3 Appendix 12 Japanese manual number SH 081368 D This manual confers no industrial property rights of any other kind nor does it confer any patent licenses 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 2015 MITSUBISHI ELECTRIC CORPORATION 206 WARRANTY Please confirm the following product warranty details before using this product 1 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 place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after
186. ion time the system specification may not be met specifications or not e Take the corrective actions shown below in order for the system to operate correctly when the C Controller system operates abnormally or the processing performance of the user program is lowered Increase the refresh cycle setting Set the refresh cycle again so that the following relational expression is met by using the link refresh time maximum value value as an indication Measured value of link refresh time maximum value lt Refresh cycle Reduce the setting number of refresh Review the number of refresh points in refresh parameter settings points Review the user program Review the processing contents and task structure and correct them to meet the system specifications and the processing performance 5 ACCESS FUNCTION USING NETWORK MODULE 5 5 Processing Time 87 88 Transmission delay time of cyclic transmission The following shows the transmission delay time of cyclic transmission ink IE Controller Network The transmission delay time when using CC Link IE Controller Network is shown below The patterns of calculation formula for the calculated value are as follows e Data is sent from C Controller module host CPU to C Controller module other CPU e Data is sent from C Controller module host CPU to programmable controller CPU 6 Data is sent from programmable controller CPU to C Controller m
187. ions The following table shows the functions added and changed in C Controller module and CW Configurator and the applicable firmware version to C Controller module and the applicable software version to CW Configurator Not related to the firmware version or software version USB devices are supported 03 or later Page 24 Memory Configuration Page 27 Files QA MELSEC iQ R C Controller Module User s Manual Startup Multiple CPU system configuration 03 or later 1 001B or later QA MELSEC iQ R C Controller with a programmable controller CPU Module User s Manual Startup controlling MELSECNET H module is supported 2 2 APPENDICES APPENDIX 0 Appendix 12 Added and Changed Functions MEMO APPENDICES APPENDIX 203 Appendix 12 Added and Changed Functions INDEX E 204 B Bus master CPU 2020000 ee eee 38 Cc Checking file attribute 64 Clearing error 1 1 2200s 59 Clearing value ooooooooooooooo 26 Clockdata iodo canarias atada 34 Conditions for timeout 33 Connection viaahub 4 94 CPU buffer memory o oooocccoco 24 CPU built in memory 05 27 CPU parameter o 187 Cyclic transmission 0 55 67 D Data communication with CPU buffer memory 121 Data communication with fixed cycle communication E 121 Data MemoOlY ooo 25 Device label Memory nnana anana 25 Direct connecti
188. ixed cycle communication area varies depending on the fixed cycle interval Page 124 Setting fixed cycle communication area e The send image for the fixed cycle communication can be checked by selecting Fixed Scan Communication Function Operation Image Display e When Fixed Scan Communication Function and Inter module Synchronization Function is set to Not Cooperated the timing will not be match even if the same value is set for the interval of both the fixed cycle communication interval and the inter module synchronization setting Error detection setting During data transfer among the CPU modules in a multiple CPU system data inconsistency may occur because of time required for writing all data within the fixed cycle To detect or not to detect a continuation error can be set with this setting Page 56 Error Detections Setting 4 26 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules CPU number based data assurance Data communication is performed in 64 bit units between CPU modules Therefore when data larger than 64 bits are handled data inconsistency in which old and new data overlap may occur for each CPU and this depends on the timing between data reading by the host CPU and data writing by other CPU data receiving from other CPU inconsistency using the CPU number based data assurance The table below shows whether or not to prevent data inconsistency by enabling disabling the CPU numb
189. ize range of the file already Check the size of the specified file and execute the request error exists again 413AH File related The specified file exceeded the file size of the file already Check the size of the specified file and execute the request error exists again 413EH File related Operation is disabled for the specified drive memory Change the target drive memory and execute the request error again 413FH File related Writing to the file storage area is prohibited for the file Change the specified drive memory and execute the request error again 414AH Intelligent Operation was performed to the Intelligent function module Perform the operation from the control CPU module for the function outside of the control group in a multiple CPU system target module module specification error 414CH Intelligent Inaccessible buffer memory address was specified Check the buffer memory address and execute the request function again module specification error 4150H File related An attempt was made to initialize the drive protected by the Do not initialize the target drive memory since it cannot be error system initialized 4151H File related An attempt was made to delete the file folder protected by the Do not delete the target file folder since it cannot be deleted error system 41C5H File related The specified file does not exist Check the file and execute the request again error An attempt was made to write data to a
190. l MELSEC Q R C Controller Module User s Manual Startup Service settings By restricting the services on C Controller module an illegal access from other users can be prevented A security password is required for changing service settings Q4 MELSEC Q R C Controller Module User s Manual Startup DO CPU Parameter gt Service Settings gt Service Settings E Service Setimes ve WDB Enable Shell Enable DHCP Enable MELSEG data link function Enable CW Configurator operation Enable Memory card access Enable Memory card script execution Enable sen Memory card parameter execution Disable USB storage access Enable Displayed SAO E A TA WDB Required for the connection with CW Workbench Disable Enable Shell Required for the execution of commands Enable DHCP Required when using a function which assigns the network settings automatically MELSEC data link function Required when performing MELSEC communication CW Configurator operation A service required for the operation of CW Configurator If this service is disabled the following operations cannot be performed e Writing data to C Controller module e Reading data from C Controller module e Verifying data with C Controller module Deleting data in C Controller module CPU memory operation Initialization Memory card access Required when accessing a memory card Memory card script execution Required when executing a sc
191. l command script file or C Controller module dedicated function The security password set with CW Configurator is required Changing system file attribute The file restriction is required to be cancelled temporarily with the C Controller module dedicated function CCPU_ChangeFileSecurity When setting a system file attribute again set the access restriction with the C Controller module dedicated function CCPU_ChangeFileSecurity or reset the C Controller module When accessing a file to which a system file attribute is attached in the script file STARTUP CMD cancel the access restriction in the script file In this case add the system file attribute to the script file in order to prevent the leakage of the password Do not use the files with the system file attribute attached in the script file on an SD memory card in order to prevent the leakage of password 4 BASIC FUNCTIONS 4 11 Security Function 1ecking access restrictions Check the status of the access restriction by executing a shell command or the C Controller module dedicated function CCPU_GetFileSecurity The status of access restriction cannot be checked on a script file Countermeasures against illegal access from external parties To maintain the safety of C Controller module take appropriate measures Hilf the security password has been forgotten Initialize the C Controller module For the method on initialization refer to the following manua
192. le synchronous interrupt program 144 This will enable C Controller module to import the input data and to write the output data at the timing of the inter module synchronization cycle Inter module synchronization cycle E Inter module synchronous interrupt i program execution time t 1 Normal program Executed H Interrupted i Executed Inter module synchronous interrupt program Operation Input refresh processing Output refresh Input P Input E amp Output gt Output External device External device Link device Link device l External device Input P Input Output c owu External device X Buffer memory Y Buffer memory i Input modules Output modules i Inter module synchronous interrupt Interrupt programs are executed at the timing of the inter module synchronization cycle set with the parameters The interrupt programs executed at every inter module synchronization cycle is referred to as the inter module synchronous interrupt program 144 Poin tr e Describe the control programs to be synchronized in the inter module synchronous interrupt program 144 e The operation when an interrupt factor arises and the program creation method are the same as normal interrupt program MExecution timing The inter module synchronous interrupt program 144 is executed at the timing of the inter module synch
193. ller module dedicated functions CCPU_X_In_BitEx CCPU_X_In_WordEx Importing output Y data When Import is set for the output status in I O Setting Outside Group the ON OFF data from output module and Intelligent function module controlled by other CPUs can be imported Modules from which output Y data can be imported Output Y data can be imported from the following modules mounted on the main extension base unit e Output module e I O combined module e Intelligent function module 1 Data cannot be imported from MELSEC Q series modules Point Output Y data can also be imported from a user program using the C Controller module dedicated functions CCPU_Y_In_BitEx CCPU_Y_In_WordEx Output to output module Intelligent function module ON OFF data cannot be output to non controlled modules If the output state of the non controlled module is turned ON OFF by a program the output state in the CPU module is changed however the output state of the non controlled module is not changed Accessing buffer memory of Intelligent function module Reading data in buffer memory Use the following functions to read data from the buffer memory of an Intelligent function module e C Controller module dedicated function CCPU_FromBuf e MELSEC data link function mdReceiveEx mdRandREx Writing data to buffer memory Use the following functions to write data to the buffer memory of an Intelligent function module
194. ller module user program l Mm supplied to the output e t UL modules by STOP 2 oh 4 AY 1 1 q fic Output module Mc LMC i V Turns OFF the power supplied to the output devices by STOP 2 Interlock circuits 3 So me2 1 The C controller module starts when RA1 control starting output turns ON 2 A stop caused by an emergency stop switch or a limit switch 3 Configure external interlock circuits for conflicting operations such as forward reverse rotations and the parts where the incorrect output may cause damage to the machines or accidents 4 APPENDICES APPENDIX 96 Appendix 10 General Safety Requirements AC power 1 Power the C Controller module ON 2 Run the C Controller module 3 Turn the start switch ON 4 The output devices are activated by using a user program when the relay MC turns ON AC and DC power 1 Power the C Controller module ON 2 Run the C Controller module 3 RA2 turns ON when DC power is established 4 XM turns ON when RA2 turns ON and the processing is started with a user program after DC input signal has fully been established 5 Turn the start switch ON 6 The output devices are activated by using a user program when the relay MC turns ON User program Create a program to perform the following operations when C Controller module starts Turning Ym ON when the battery voltage drop is detected Use the C Co
195. lnt_ISR 44 4 BASIC FUNCTIONS 4 5 Interrupt Function from Modules Restarting user programs The following shows how to restart the user program 1 Execute the C Controller module dedicated function CCPU_WaitUnitEvent The user program will be in an interrupt event wait state 2 3 Issue the interrupt event from the module 4 After receiving the interrupt event the user program is restarted C Controller Module User program 1 Execute the CCPU_WaitUnitEvent function User program is being executed 2 In an interrupt event wait state 4 Restart user program 1 Interrupt event notification o 0 ja 1 03 104 8 MAAG 3 Issue an interrupt Ai titi _ Precautions The following shows the considerations when using C Controller module dedicated function CCPU_WaitUnitEvent EWhen an interrupt event has already been notified at execution of the function When an interrupt event has already been notified from Intelligent function module or interrupt module at execution of the C Controller module dedicated function CCPU_WaitUnitEvent the user program is restarted from the interrupt event wait state at the same time as execution of the C Controller module dedicated function CCPU_WaitUnitEvent In addition when multiple interrupt events have been notified to the same interrupt event number at
196. lowing processing time of each function as a guide C Controller module dedicated functions When accessing an input module RX42C4 input number X0 and higher in a single CPU system configuration CCPU_X_In_WordEx High 1 word 18 us speed 16 words 19 us 64 words 32 us Normal 1 word 18 us 16 words 19 us 64 words 32 us ul access time When accessing a CC Link module RJ61BT11 input number XO and higher in a single CPU system configuration CCPU_FromBuf 1 word 19 us 64 words 25 us 512 words 56 us CCPU_ToBuf 1 word 17 us 64 words 18 us 512 words 29 us CPU ory access time When accessing the buffer memory of the host CPU in a multiple CPU system configuration CPU No 1 R120CPU CPU No 2 C Controller module CCPU_FromBuf 1 word 10 us 64 words 15 us 512 words 44 us CCPU_ToBuf 1 word 10 us 64 words 14 us 512 words 21 us APPENDICES APPENDIX 4 Appendix 9 Processing Time of Functions 95 Appendix 10General Safety Requirements When C Controller system is powered ON from OFF the control output may not operate properly temporarily due to differences in the delay and startup time between the power supply for the C Controller module and the external power supply especially DC power for the control module Signals also may not be output correctly when the external power supply or the C Controller module fails In terms of fail safe and t
197. 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 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 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 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 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 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mits
198. mber of points of link relays to be refreshed LX Total number of points of link inputs to be refreshed LY Total number of points of link outputs to be refreshed LW Total number of points of link registers to be refreshed 5 Network Configuration Settings The number of points assigned to a reserved station is not included This is the total number of points of link devices set for the setting range of Refresh Setting and Network Range Assignment Link refresh time can be calculated with the following formula depending on the number of assigned points of link devices Link refresh time ms Br Br KM1 KM2x LB LX LY 16 LW The processing time when using CC Link IE Field Network is as follows e Bq Total link refresh time sending side Br Total link refresh time receiving side e KM1 KM2 Constant Main base unit 1 0 0 41 x 103 0 99 x 10 Extension base unit 1 0 RX Total number of points of link inputs to be refreshed RY Total number of points of link outputs to be refreshed RWw RWr Total number of points of link registers to be refreshed d Network Configuration Settings The number of points assigned to a reserved station is not included This is the total number of points of link devices set for the setting range of Refresh Setting and Network Range Assignment Link refresh time can be calculated with the following formula depending on the number
199. mbined module and interrupt module Intelligent function module A module which has functions other than input and output such as A D converter module and D A converter module MELSEC data link function A dedicated function library offered by C Controller module It is used to access other CPU modules as a connection target via network or in a multiple CPU system Network module A generic term for the following modules CC Link module e CC Link IE Controller Network module e CC Link IE Field Network module Power supply module A generic term for MELSEC iQ R series power supply module R12CCPU V An abbreviation for R12CCPU V C Controller module SD memory card A memory card that is compliant with the SD standards designed and developed by the SD Association Target device A generic term for a personal computer GOT other CPU modules and others connected to CPU module for data communication USB Mass Storage Class compliant device A USB device that is compliant with the standard for recognizing as a memory device USB Mass Storage Class VxWorks A product name for the real time operating system manufactured by Wind River Systems Inc 17 MEMO PART 1 PROGRAMMING This part comprises the following chapters 1 EXECUTING PROGRAMS 2 OPERATION PROCESSING IN C Controller module 3 MEMORY CONFIGURATION OF C Controller module 19 20 EXECUTING PROGRAMS 1 1 Ex
200. me is 23 6 ms for example it is stored as shown below e SD522 23 ms e SD523 600 us S System SD524 SD525 Maximum fixed cycle processing time Maximum fixed cycle processing time unit ms Maximum fixed cycle processing time unit us The maximum fixed cycle processing time is stored in SD524 and SD525 Measured in microseconds SD524 Stores the millisecond portion of a value Storage range 0 to 65535 SD525 Stores the microsecond portion of a value Storage range O to 999 When the maximum fixed cycle processing time is 23 6 ms for example it is stored as shown below e SD524 23 ms SD525 600 us S System SD526 SD527 Current link refresh processing time Current link refresh processing time unit ms Current link refresh processing time unit us The current link refresh processing time is stored in SD526 and SD527 Measured in microseconds SD526 Stores the millisecond portion of a value Storage range O to 65535 SD527 Stores the microsecond portion of a value Storage range 0 to 999 When the current link refresh processing time is 23 6 ms for example it is stored as shown below e SD526 23 ms SD527 600 us S System SD528 SD529 Minimum link refresh processing time Minimum link refresh processing time unit ms Minimum link refresh processing time unit us The m
201. memory card the startup time of the multiple CPU system may be long as well e Create a program so that only one CPU module accesses a MELSEC Q series module when possible If multiple CPU modules access a MELSEC Q series module simultaneously the program execution processing including the execution processing of interrupt programs may be extended due to the access 7 waiting time 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 4 5 7 1 Out of Group I O Fetch In a multiple CPU system the access range of the controlled module is different from that of the non controlled module The out of group I O fetch function enables data which cannot be accessed to be imported However data cannot be imported from the module that is an inter module synchronization target Accessing controlled module The access range to the controlled module of the CPU module is the same as that of the single CPU system and I O refresh for the controlled module or read from write to buffer memory of the Intelligent function module are enabled Accessing non controlled module Access to the non controlled module of the CPU module is limited to reading the buffer memory of the Intelligent function module However the ON OFF data of output Y of the non controlled module can be imported by I O Setting Outside Group O Accessible X Not accessible Input X Read data from O x other CPU module Output Y Write data to x x Non processing other CPU
202. mory has an error Initialize the memory and restore the drive memory to its error normal state 4124H File related The specified drive memory has an error Initialize the memory and restore the drive memory to its error normal state 4125H File related The specified drive memory or file is currently being Execute it again after a while error processed 4129H File related The request cannot be executed since the specified drive Change the target drive memory and execute the request error memory is ROM again 412AH File related The request cannot be executed since the specified drive Change the target drive memory and execute the request error memory is ROM again 412BH File related The specified drive memory is write prohibited Change the write protect conditions or drive memory and error execute the request again APPENDICES APPENDIX Appendix 1 Error Code List 163 412DH File related The specified drive memory does not have enough free Increase the free space of the drive memory and execute the error space request again 412EH File related The specified drive memory does not have enough free Increase the free space of the drive memory and execute the error space request again 412FH File related The drive memory capacity differs between the copy Check the copy destination and copy source drive memory error destination and the copy sou
203. mory that stores the folders files created by a function using SD memory card as well as the arbitrary folder file The folder configuration is the same as the data memory 5 Page 28 Access to the MELPRJ folder SD memory card can be accessed from FTP Telnet and user programs USB Mass Storage Class compliant device USB Mass Storage Class compliant device is a memory that stores user programs and arbitrary folders files USB Mass Storage Class compliant device can be accessed from FTP Telnet and user programs For details on how to create and delete user folders and files refer to the following manual LA CW Configurator Operating Manual 3 MEMORY CONFIGURATION OF C Controller module 2 3 1 Memory Configuration 5 26 3 2 Memory Operation Memory can be initialized and values can be cleared using CW Configurator For details on the memory operation refer to the following manual LA CW Configurator Operating Manual Initialization Formatting program memory data memory Deletes all the folders and files in the program memory and data memory 1 Formatting SD memory card Deletes all the folders and files in the SD memory card 2 Clearing Device Zero clear Clears devices X Y M B D W to zero value File register Clears all the file registers ZR to zero The MELPRJ folder is created in the data memory and the default parameters are set 2 The MELPRJ folder is created ts Point e If th
204. n incorrect interface may cause failure of the module and external device Tighten the terminal screws or connector screws within the specified torque range Undertightening can cause drop of the screw short circuit fire or malfunction Overtightening can damage the screw and or module resulting in drop short circuit fire or malfunction When disconnecting the cable from the module do not pull the cable by the cable part For the cable with connector hold the connector part of the cable For the cable connected to the terminal block loosen the terminal screw Pulling the cable connected to the module may result in malfunction or damage to the module or cable Prevent foreign matter such as dust or wire chips from entering the module Such foreign matter can cause a fire failure or malfunction A protective film is attached to the top of the module to prevent foreign matter such as wire chips from entering the module during wiring Do not remove the film during wiring Remove it for heat dissipation before system operation Wiring Precautions NCAUTION O Programmable controllers must be installed in control panels Connect the main power supply to the power supply module in the control panel through a relay terminal block Wiring and replacement of a power supply module must be performed by qualified maintenance personnel with knowledge of protection against electric shock For wiring refer to the MELSEC Q R Module Conf
205. n error because the Lower the CPU usage rate of tasks with the higher C Controller module dedicated function rate or make them inactivated CCPU_ResetWDT was not executed e Review the user program within the user watchdog timer setting time Restart the C Controller module with CW Or an error occurred in the user program Workbench not connected online The time set for the user watchdog timer Review the command executed from Shell is too short Set the user watchdog timer setting time longer Tasks with the higher CPU usage rate is enough with consideration for the CPU usage rate in operation of the system task A program causing an error in the If an error still occurs check the mounted modules memory or stack was executed and replace a defective module Debugging has been performed with CW Workbench connected online Command was executed from Shell for debugging The following functions that increase the CPU usage rate of the system task are used 1 Mounting unmounting the memory card 2 Ethernet communication 3 NFS server communication 3044H Program fault The command in the script file cannot be Check that the syntax of the script file is not incorrect Script At power executed The syntax is incorrect or no and a command exists position ON or command exists information RESET 158 APPENDICES APPENDIX Appendix 1 Error Code List 3C00H Hardware A
206. n function refer to the following manual LA MELSEC iQ R Inter Module Synchronization Function Reference Manual 4 BASIC FUNCTIONS 4 7 Inter module Synchronization Function 47 48 Fixed cycle synchronization function The fixed cycle synchronization function is a function to synchronize multiple modules at the timing of the inter module synchronization cycle to perform data communication and input output control at a fixed cycle Using this function enables the accurate speed to be obtained by the encoder input at the fixed cycle and also enables the highly accurate model prediction control by the accurately tracked input output timing Point Although the shorter interval of the inter module synchronization cycle provides the more accurate synchronous control the size of program executable in the inter module synchronous interrupt program will be smaller By lengthening the interval of the inter module synchronization cycle the program with bigger size can be executed However the accuracy of the synchronous control will be reduced To use the fixed cycle synchronization function consider the program size to be executed Synchronization timing of C Controller module C Controller module executes the inter module synchronous interrupt program 144 at every inter module synchronization cycle Synchronization between C Controller module and respective modules is performed at the timing of refresh before and after the inter modu
207. nchronization Setting within the Modules Setting in Fixed Scan Communication Setting B O 2 O 2 O 6 x Synchronization Setting within the Modules C O 3 O 3 x x CPU parameters number of points of refresh settings D O 4 O 4 x x 4 20 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 3 Multiple CPU Parameter Check 7 4 Data Communication Between CPU Modules Data can be sent received among CPU modules in a multiple CPU system The direct access communication enables data writing or reading among CPU modules Data communication with CPU buffer memory Use this communication method when performing data send receive at the timing of each CPU module The sending side CPU module writes data to the CPU buffer memory in the host CPU The receiving side CPU module reads data from the CPU buffer memory of the send target CPU module other CPU Data communication with fixed cycle communication area Use this communication method when performing data send receive with adjusting the timing between CPU modules The sending side CPU module writes data in the fixed cycle communication area send area in the host CPU The receiving side CPU module reads data from the fixed cycle communication area receive area in the CPU module of the send source CPU module Used memory CPU buffer memory is used for data communication among CPU modules figuration of CPU buffer memory CPU buffer memory S
208. nchronously in a multiple CPU system with four CPU modules is possible e If a reserved empty CPU is specified to synchronize the reserved CPU is ignored and the other CPU will be started e This setting is designed to access each CPU module with no interlock in the multiple CPU system It is not intended to be used for starting operation at the same time among the CPU modules after the startup Clock data The clock data in CPU No 2 to No 4 are synchronized with the clock data set to CPU No 1 automatically Even if the clock data is set to each CPU they will be overwritten Therefore the system unified clock data can be used only by setting the clock data for CPU No 1 37 Page 34 Clock Function As with the clock data the time zone setting for CPU No 2 to CPU No 4 follows the setting configured to CPU No 1 Page 35 Setting time zone 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 4 7 2 Operation Settings 9 7 3 Multiple CPU Parameter Check In a multiple CPU system whether the same setting is configured for the multiple CPU refresh points between the system parameter and CPU parameter of each CPU is checked at the following timing However for the fixed cycle communication setting and the inter module synchronization setting the parameter check is performed for the only CPU which uses the respective functions When the power is turned ON e When the CPU No 1 is reset Power ON or CPU No 1 is reset System parameters other than
209. nction 59 60 Event history function C Controller module collects and saves the error information such as errors detected by the module operations done for the module and network errors from each module The saved operation and error occurrence information can be checked and viewed in chronological order Using this function enables to investigate the problems that have occurred in the equipment devices check the update related to control data in C Controller system and detect any unauthorized access The information of events that occurred in the host CPU and modules controlled by the host CPU are collected by the CPU module in batch and saved The event information that is held in the CPU CW Configurator module is displayed with Engineering tool The event history information is constantly collected regardless of the operating state of the C Controller module In some cases however the event history information may not be collected due to a major error ina module a base unit error a cable failure or others tory settings Under normal circumstances the event history function can be used with its default settings and doesn t need to be manually configured The storage memory and file size of the event history file can be changed if desired DO CPU Parameter gt RAS Setting gt Event Hist
210. nction set the Telnet Server to Use for Telnet Server Settings in Application Settings For details on other setting items refer to the following section 5 Page 114 Telnet Server Settings Available commands Shell commands of CW Workbench can be used For details on the shell commands refer to the manual of VxWorks Remote debugging with serial communication Remote debugging using serial communication can be performed same as Telnet connection The standard I O destination can be switched to the serial communication side by executing the following commands from Telnet shell or with STARTUP CMD fd open tyCo 0 2 0 ioctl fd 4 115200 ioctl fd 3 0x7F ioGlobalStdSet 0 fd ioGlobalStdSet 1 fd ioGlobalStdSet 2 fd Precautions o Number of connections Connections from multiple Telnet tools to the same C Controller module are not allowed Connect the Telnet tool to the C Controller module on a 1 1 basis Further be sure to close the Telnet tool being connected and connect other Telnet tool to the C Controller module 104 6 Ethernet COMMUNICATION FUNCTIONS 6 5 Telnet Function Timeout When the line is disconnected during Telnet connection it will take 30 seconds before Telnet connection TCP connection times out on the C Controller module side Telnet cannot be reconnected until it times out Timeout time can be changed by the command provided by VxWorks e Timeout time iptcp Keepldle value ip
211. nel number 8th module channel number 8th Network module 8th module controlled module module SD1594 Switch status CPU switch status MODE The switch status MODE SELECT of the CPU S Switch change SELECT switch module is stored as follows 0 Neutral 1 MODE 2 SELECT APPENDICES APPENDIX Appendix 6 Special Register List 185 Appendix 7 Parameter List This section shows the list of parameters System parameters The list of system parameters is shown below 1 0 Assignment Base Power Extension Cable Setting Setting of base power supply extension cable model name 0203H Number of slots 0201H 1 0 Assignment Setting Setting of type number of points start XY module status 0200H Module name 0203H Specification of control CPU 0202H Setting of Points Occupied by Empty Slot 0100H Multiple CPU Setting Setting for Number of CPU Modules 0301H Communication Setting between CPU Refresh Setting 0303H CPU Buffer Memory Setting when refresh END 0304H CPU Buffer Memory Setting when refresh 145 is executed 0308H PLC Unit Data 0309H Fixed Scan Communication Function Fixed Scan Communication Area Setting 0307H Fixed Scan Communication Setting Fixed Scan Interval Setting of Fixed Scan Communication 0306H Fixed Scan Communication Function and Inter module 0306H Synchronization Function Operation Mode Setting Stop Setting 0302H Syn
212. ng method is as shown below Set the connection configuration in External Device Configuration under Basic Settings 5 Page 108 External device configuration 1 Select SLMP Connection Module from the Module List and drag and drop it to List of devices or Device map area 2 Set the other items to the connection as necessary Point e If anew request message is sent before the response message has been returned for the previous request message to one UDP port the new request message will be discarded e When multiple own station port numbers are set for UDP it will be regarded as one setting When performing communication with the same own station port number as multiple target devices select TCP as a protocol Error codes at communication For the error codes refer to the following manual LA SLMP Reference Manual 6 Ethernet COMMUNICATION FUNCTIONS 6 2 Communication with SLMP Receive processing of response message Communication processing at a target device side Request message send processing Response message receive processing The TCP connection is closed Is the TCP connection open Receive the remaining response messages Have the data been received within the period of the monitoring timer value The monitoring timer value times out The received data size is insufficient Received data size check The response message to the next req
213. ng shows the configurations of files and folders O Access allowed Valid X Access not allowed Invalid No folder 10 O x x 14 MELPRJ O O O SYSTEMROM OS_IMAGEFILE R12CCPU V_Xx2 VxWorks image file O O O INCLUDE CCPUFunc h C Controller module dedicated O O O function header file MDFunc h MELSEC data link function O O O header file _ prjParams h VxWorks component list file O O O DriveNamelnfo txt Drive name list file O O O 12 MELPRJ O x x UsBo 4 O x x 1 The folder is created after initialization or writing parameters 2 The last part of the file name XX indicates the upper two digits of the serial number 3 The drive is created when an SD memory card is inserted mounted 4 The drive is created when a USB Mass Storage Class compliant device is connected mounted ions on file operation The following describes the restriction on memory and drive operations in C Controller module MAccess to the MELPRJ folder The MELPRJ folder manages data written with CW Configurator Do not access it for a purpose other than backup or restoration If a portion of the files stored in the folder is changed C Controller module may not operate properly Writing files Before writing files with FTP or Telnet during user program operation make sure that the files to be written will not affect the running user program Access to the same file For C Controlle
214. ng within the Modules _ Operating procedure _ Select Use for Use Inter module Synchronization Function in System Click the Detailed Setting for Select Synchronous Target Unit between Unit Select Synchronize for the module to be Set the inter module synchronization cycle in Synchronous Fixed Scan Interval Setting When writing parameters write both of the system parameter and module parameter E Synchronization Setting within the Modules Use Inter maodule Syachranzatian Function in System Select Synchronous Target Unit between Unit lt Detailed Setting gt 2 synchronized Module Name Management Master Local Setting GPU R12GGPU V Host 1PLC No Synchronize 0 0 0 2 Slots Occupy Er 1PLC controlled Do Not Synchronize CPU R120CPU W 2PLG No Do Not Synchronize 20 2 2 Slots Occupy Er 1PLC controlled Do Not Synchroni CPU RO8GPU 3PLO No 0 05ms Unit Setting Set Fixed Scan Interval Setting Not Set by 0 05ms 0 888ms eat i Fixed Scan Interval Setting Set by 0 05ms 0 50 ms within the Modules E Syachroncus Master Setting within the Modulos Synchronous Master Setting of CC IE Field Mounted Slot No Configure the setting for the synchronous master when a local station of CC Link IE Field Network module is to be synchronized The setting is not required for a master station Displayed Use Inter module Synchronization Function in System Set
215. nit Please consult your local Mitsubishi representative System configuratio n information Always 2520H Invalid interrupt Even though an interrupt was requested there is no interrupt factor Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module I O module Intelligent function module or Base unit Please consult your local Mitsubishi representative System configuratio n information At interrupt occurrence 2521H Invalid interrupt Even though an interrupt was requested there is no interrupt factor Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module I O module Intelligent function module or Base unit Please consult your local Mitsubishi representative At interrupt occurrence 2522H Invalid interrupt An interrupt request from the module with no interrupt setting has been detected e Review the interrupt setting in the module parameter Take measures so that no interrupt is requested from the module with no interrupt setting exists in the module parameter e Review the interrupt setting in the buffer memory of the Intelligent function module System configuratio n information At interrupt occurrence APPENDICES APPENDIX Appendix 1 Error Code Lis
216. nnection destination of CW Configurator is set to a different route Set the connection destination of CW Configurator via Ethernet HCW Workbench connection fails The Ethernet cable is not connected to the Ethernet port Connect the Ethernet cable Target Server Options of CW Workbench is not set properly Set Target Server Options of CW Workbench properly HTelnet connection fails The Ethernet cable is not connected to the Ethernet port Connect the Ethernet cable User name and password is not sure Initialize the C Controller module A message Sorry session limit reached appears Terminate the Telnet connection from another personal computer and take any of the following actions Reconnect after the Telnet connection timeout time has elapsed e Reset the C Controller system AFTP connection fails The Ethernet cable is not connected to the Ethernet port Connect the Ethernet cable User name and password is not sure Initialize the C Controller module There are 11 or more FTP connections to one C Controller module Make an adjustment so that the number of FTP connections becomes 10 or less An FTP connection can be established normally from the Windows command prompt Change the FTP client tool to be used when an FTP connection can be established from the command prompt APPENDICES APPENDIX Appendix 3 Troubleshooting by Symptom 169 170
217. ntinue Major All Station Stop Moderate All Station Stop 7 MULTIPLE CPU SYSTEM FUNCTIONS 1 1 8 7 2 Operation Settings Settings for synchronized startup By synchronizing start up time of each CPU module operations can be started at the same time in the entire multiple CPU system An interlock program that monitors the start up time for each CPU module other than C Controller module is not required However this setting delays the system start up An interlock program that monitors the execution completion of the script file is required for C Controller module in a multiple CPU system configuration The execution completion of the script file can be checked by the READY LED status indication The status indication of the READY LED can be checked by following methods e Using the C Controller module dedicated function CCPU_GetLEDStatus e Checking the special register SD201 O System Parameter gt Multiple CPU Setting gt Operation Mode Setting gt Synchronous Startup Setting O Synchronous Startup Setting PLG No 1 Synchronize PLG No 2 Synchronize PLG No 3 Synchronize PLC No 4 Synchronize iadi PLC No 1 Set the CPU No of which start up time is to be synchronized in a multiple CPU Synchronize Synchronize PLC No 2 system Do not Synchronize PLC No 3 PLC No 4 e Group setting for start up synchronization is available For example a setting in which only CPU No 1 and No 2 start sy
218. ntroller Reduce the number of CC Link IE Controller System At power configuration Network modules or CC Link IE Field Network modules or CC Link IE Field Network configuratio ON or error Network module are mounted in the entire module to eight or less in the entire system n RESET system information 2005H Module Two or more interrupt modules QI60 of Mount only one QI60 System At power configuration which interrupt pointer setting has not e Configure the interrupt pointer setting for QI60 configuratio ON or error been configured are mounted e Review the interrupt pointer setting n RESET The interrupt pointer number is information duplicated between an interrupt module QI60 of which interrupt pointer setting has not been configured and an module with the interrupt pointer setting configured 2006H Module A module is mounted on the 65th slot or Remove the module mounted on the 65th slot or System At power configuration later later configuratio ON or error n RESET information 2007H Module A module is mounted on the slot of which Remove the module mounted on the slot of which System At power configuration number is later than that specified in the I O number is later than that specified slot in the I O configuratio ON or error assignment setting Assignment Setting n RESET information 150 APPENDICES APPENDIX Appendix 1 Error Code List 2008H Module A module is mount
219. ntroller module dedicated functions CCPU_GetErrlnfo CCPU_Y_Out_BitEx E Turning Yn ON when the user program is started Use the C Controller module dedicated functions CCPU_GetErrlnfo CCPU_Y_Out_BitEx User program Create a program to perform the following operations when C Controller module starts Starting the system processing once XM turns ON and the DC input signal has settled after DC input signal settling time Create a program to start the system processing once the DC input signal setting time has passed after XM turns ON which can be checked with the CCPU_X_In_BitEx function The DC input signal setting time is a time from when RA2 turns ON to when the DC input signal settles 100 Set the time to 0 5 seconds However setting the DC input signal settling time in the user program is not required when a voltage relay is used for RA2 APPENDICES APPENDIX 4 Appendix 10 General Safety Requirements 97 When the ERR contact of Power supply module is used For AC and DC power Power supply Transformer Transformer Fuse Fuse C Controller module Fuse User program Start Stop circuit 1 Le eS ee oe CSS ee Start switch A RA1 RA3 1 4 uo MC Stop switch ye Use of a voltage relay is recommended Low battery alarm Lamp or buzzer Turns ON by RUN caused by SM403 Turns OFF by ERR contact OFF stop error occurred P
220. ntroller module directly File operation The following operations can be performed for a file in C Controller module from the target device with FTP client function e Read file from C Controller module download e Write file to C Controller module upload e Browse folders and files and delete files in C Controller module Setting method To use the file transfer function set Use for FTP Server in FTP Server Settings under Application Settings For details on other setting items refer to the following section K Page 111 FTP server settings HSpecifications of FTP client For the specifications of the FTP client installed on the target device refer to the manual of the target device Operation while accessing file Do not perform any of the following operations while accessing a file The file may be corrupted e Cycling the power e Resetting the module e Insertion removal of memory card Reconnection after timeout If a timeout error occurred during file transfer the TCP connection will be closed disconnected Log in to the C Controller module again with the FTP client before restarting the file transfer File transmission time The file transfer processing time will differ depending on the following causes Load rate of Ethernet line line congestion e Number of connections to be used simultaneously processing of other connections e System configuration Number of simultaneous connections e Up to 10 t
221. nts for refresh area as shown below Refresh area at the END Same number of points with the communication destination programmable controller Refresh area at the execution of 145 Same number of points with the communication destination programmable controller 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 2 7 4 Data Communication Between CPU Modules 3 nication using fixed cycle communication area The following shows the settings for performing data communication using the fixed cycle communication area Setting method To communicate data using the fixed cycle communication area select Enable in Fixed Scan Communication Function O System Parameter gt Multiple CPU Setting gt Communication Setting between CPU gt Fixed Scan Communication Function Window Communication Setting between CPU CPU Buffer Memory Setting lt Detailed Setting gt PLO Unit Data Disable see Fixed Scan Communication Function Not Use iliii Fixed Scan Set whether to use the fixed cycle communication function Set the Not Use Not Use Communication same settings only for the CPUs which are used by the fixed cycle Use Function communication function Setting fixed cycle communication area Set the send area range total of areas used for direct access communication for each CPU in the fixed cycle communication area The range of the fixed cycle communication area can only be changed with the parameter settings The
222. o prevent any incorrect output signals from leading to the entire system failure configure safety circuits such as emergency stop circuits protection circuits and interlock circuits external to the C Controller module for the parts where the incorrect output may cause damage to the machines or accidents This section shows system design circuit examples considering the points described above When the ERR contact of Power supply module is not used For AC power For AC and DC power Power supply Power supply LOO T f T f L220 e sformer A ransformer Transformer EIT Fuse Fuse Fuse A C Controller module C Controller module bc power Start Stop circuit 1 3s Fuse l User program 4 3 User program 1 1 L Start switch RA1 y u 1H C Stop switch M pa Input module _ Start switch RA1 1 O MC Stop switch A O eH _ Output module y Low battery alarm if Lamp or Buzzer T Use of a voltage relay is recommended m z y z RA2 XM OQ Turns ON at the e O Yn start of C Controller i 4 o e module user rO program tia HA Low battery alarm EA utput module output module suc bs E ees Lamp or buzzer Ni i A Turns ON at the start of C MC F 1 Turns OFF the power Y PS Contro
223. ode List 147 Operation when an error occurs There are two types of errors stop errors and continuation errors In C Controller module if a stop error occurs the output Y from a user program and writing to buffer memory are disabled The communication with CPU module can be performed even after the stop error occurs in the CPU module The external output of each module is controlled in accordance with the output mode setting in error 37 Page 56 Operation settings when an error is detected Besides if the stop error occurs in a multiple CPU system configuration the stop error target CPU module all CPU modules or only the relevant CPU module can be set in the parameter Page 118 Stop setting If a continuation error occurs the CPU module retains the operation and continues processing How to clear errors Only continuation errors can be cleared 57 Page 58 Error clear function Error code list The following table shows the error codes detected by the self diagnostic function c error codes for CPU module 1000H to 3FFFH 1000H Power shutoff A momentary power failure has Check the power supply status Always occurred The power supply has been shut OFF 1080H ROM write The number of writes to the flash ROM Replace the CPU module Frequency At power count error data memory and system memory information ON RESET exceeded 100000 times or write Number of writes gt
224. odule host CPU The values used in the calculation formula for transmission delay time are as follows e LT Refresh cycle of C Controller module sending side e LR Refresh cycle of C Controller module receiving side e Br Total link refresh time of C Controller module sending side Br Total link refresh time of C Controller module receiving side ST Scan time of programmable controller CPU sending side 2 SR Scan time of programmable controller CPU receiving side 2 e ay Link refresh time of programmable controller CPU sending side 12 e dp Link refresh time of programmable controller CPU receiving side 12 LS Link scan time 2 4 This is the total of link refresh time for the mounted CC Link IE Controller Network modules 2 For more details refer to the following manual MELSEC iQ R CC Link IE Controller Network User s Manual Application LT gt LS Disabled Normal value LT By LS x 0 5 LR Bp x 0 5 LT By LS x 0 5 SR ap x 1 5 ST ay LS x 0 5 LR Bp x 0 5 LT Br LSx1 LR Br LT Br LS x 1 SR ag x 2 ST oap LSx 1 LR Br LT Br x 1 5 LS x 0 5 LR Bp x 0 5 LT B7 x 1 5 LS x 0 5 SR ap x 1 5 ST axy x 1 5 LS x 0 5 LR Bp x 0 5 LT B7 x 2 LS x 1 LR Br LT B7 x 2 LS x 1 SRtap x 2 ST a7 x 2 LSx1 LR Br LT By LS x 0 5 LR Bp x 0 5 LT By LS x 0 5 SRtap x 1 5 ST aq LS x 0 5 LR Bp x 0 5 LT Br LSx1 LR Br LT B7 LS x 1 SR
225. odule Network module User program Link refresh lt gt Device Link Link device device L J MDevice C Controller module uses the following devices to share the data with Network modules Internal relay M 61440 points MO to 61439 Link relay B 655360 points BO to 9FFFF Data register D 4184064 points DO to 4184063 Link register Ww 1048576 points WO to WFFFFF File register ZR 1835008 points ZRO to 1835007 Link refresh and its refresh cycle The processing of data communication between devices of C Controller module and link devices of Network module is called as link refresh The link refresh is performed in every refresh cycle of C Controller module 5 Page 46 Fixed Cycle Processing Function Parameter setting When performing link refresh set the following parameters e Refresh Setting and Network Configuration Settings of each Network module e Station based block data assurance setting 5 ACCESS FUNCTION USING NETWORK MODULE 5 2 Cyclic Transmission HRefresh range Refresh is performed for the range set in Refresh Setting and Network Range Assignment Network Configuration Settings For the access by link refresh specify the devices within the refresh range C Controller module Network module Network Range Assignment Network Configuration Settings Range set with Network Range Assignment Network Configu
226. of VxWorks DO CPU Parameter gt Service Settings gt Security password settings Setting file attribute Set an attribute to the file to be protected by using attrib command The file attributes that can be handled in C Controller module are as follows System file attribute When file access restriction is set file operations can be prohibited R Read only attribute File deletion and data write can be prohibited H Hidden file attribute When file access restriction is set the file is not displayed to Is command or list of FTP file 1 File deletion and file write can be prohibited however this attribute is not supported by the file access restriction function 2 A file operation can be performed when the file name is specified directly To prohibit file operations add a system file attribute Checking file attribute To check the file attribute use attrib command The identification method of the output attribute is as follows drwxrwxrSH ue Indicates the hidden file attribute is specified x Indicates the hidden file attribute is not specified S Indicates the system file attribute is specified w Indicates the system file attribute is not specified Indicates the read only attribute is specified w Indicates the read only attribute is not specified Indicates a file d Indicates a folder Changing access restriction Change the access restriction by using a shel
227. of the operating system is used Since the time of the C Controller module built in clock and that of operating system may differ correct the time of the operating system using a user program Setting clock data The following shows the method for setting clock data Changing clock data The clock data can be changed in one of the following methods e CW Configurator e C Controller module dedicated function Point When the clock data is changed the following operations are performed e The millisecond clock is reset to 0 e Clock setting event code 24000 is saved in the event history file Using CW Configurator xD Online gt Set Clock Using C Controller module dedicated function Write the clock data by using the C Controller module dedicated function CCPU_SetRTC Point C Controller module sets the time of its built in clock to that of the operating system at the startup of the module after powering ON or resetting it Use a user program in order to set the time for a running operating system Reading clock data Read the clock data by using the C Controller module dedicated function CCPU_GetRTC Precautions When using this function for the first time Since the clock data is not set at the factory be sure to set the certain data When modifying the clock data Even if changing a portion of the clock data be sure to write all data to the C Controller module again MWhen changing clock d
228. of the product do not insert remove the SD memory card to from the CPU module more than 500 times Exceeding the limit may cause malfunction Do not touch the metal terminals on the back side of the SD memory card Doing so may cause malfunction or failure of the module O Do not touch the integrated circuits on the circuit board of an extended SRAM cassette Doing so may cause malfunction or failure of the module O Do not drop or apply shock to the battery to be installed in the module Doing so may damage the battery causing the battery fluid to leak inside the battery If the battery is dropped or any shock is applied to it dispose of it without using O Startup and maintenance of a control panel must be performed by qualified maintenance personnel with knowledge of protection against electric shock Lock the control panel so that only qualified maintenance personnel can operate it Startup and Maintenance Precautions CAUTION O Before handling the module touch a conducting object such as a grounded metal to discharge the static electricity from the human body Failure to do so may cause the module to fail or malfunction Operation Precautions NCAUTION O When changing data and operating status and modifying program of the running programmable controller from an external device such as a personal computer connected to an intelligent function module read relevant manuals carefully and ensure the safety before
229. ol setting is TCP perform the alive check using the KeepAlive function A message for alive check is sent after 22 seconds have passed since the last message received from a target device and whether or not the response is returned from the target device is checked When no response is returned a message for alive check is sent every one second When no response is confirmed for eight seconds 30 seconds since the last received message the connection is terminated as being determined that the target device does not exist Point If the target device does not support the TCP KeepAlive function response to ACK message for KeepAlive the connection may be terminated 6 Ethernet COMMUNICATION FUNCTIONS 6 7 Parameter Settings 109 TCP retransmission processing In TCP connection the retransmission processing is performed for the number of retransmission and at the retransmission interval shown below when the TCP protocol ACK response is not returned from a target device against transmission When no TCP protocol ACK response is returned in 60 seconds after the last retransmission the connection is terminated as being determined the target device has an error e Number of retransmission 12 times Retransmission interval 2 The number of retransmission x the number of retransmission x RTO 1024 seconds 4 After 30 seconds from establishment of the connection destination device error is assumed and the connection is terminated
230. oller module on other station Receiving side Pee ea User program Channel 1 Network No 1 80 5 ACCESS FUNCTION USING NETWORK MODULE 5 4 Access Function of Each Network Module User program CC Link IE Field Network module The following shows the functions to transmit data via CC Link IE Field Network module Applicable access method The following access methods are available Cyclic transmission Access by link refresh Direct access Buffer memory access Transient transmission Message communication Access to other station device Access by link refresh This method is used to access the device of C Controller module from user program using link refresh Data in the device is transmitted cyclically to other stations by reading from writing to link devices in the Network modules by link refresh CC Link IE Field C Controller module Network module Device link relay ek User program link register Link refresh Access to devices Dedicated function library lt q gt Link device 1 Link refresh cannot be performed for SB SW Use the direct access or buffer memory access 5 ACCESS FUNCTION USING NETWORK MODULE 4 5 4 Access Function of Each Network Module 8 Direct access This method is used for direct access of Network module devices
231. om the same SNTP server 6 Ethernet COMMUNICATION FUNCTIONS 6 7 Parameter Settings 112 Set an execution time within the following range in Clock Time Hour Minute Hour 0 to 23 Minute 0 to 59 To specify the day of the week to perform the time setting select Not Set for the day on which time setting is not performed under Day of Week Make sure that at least one day of the week is set to Set An error occurs if Not Set is selected for all the days Security Set the security settings T Module Parameter gt Application Settings gt Security Window O IP Filter Settings IP Filter Not Use IP Filter Settings lt Detailed Sett g Disable Direct Connection with MELSOFT Disable Direct Connection with MELSOFT Enable E Do Not Respond to CPU Module Search Do Not Respond to GPU Module Search Respond Displayed EA A ASA IP Filter Settings IP Filter Set whether to use the IP filter function e Not Use Not Use e Use IP Filter Settings Set the IP addresses to be allowed denied Disable Direct Connection with MELSOFT Enables disables the direct connection with CW Configurator Disable Enable Enable Do Not Respond to CPU Module Search Set whether to respond to the CPU module search on the network Do Not Respond Respond e Respond Up to 32 IP addresses can be set to allowed denied using the IP filter function The range of IP address and IP
232. on n saaana aaau 95 ERROR LED 2224 j 44 04 b 25u4 G04 02 168 Event history fil8 o oo o o o o o oo 61 External device configuration 108 Filevattiibutes aviva aia ra 63 Fixed cycle processing function 46 Pre icicosdas iia da 102 111 169 VO access timing ooooooooocooo o 20 Initial processing ooooooooocooo o 20 Initialization 2 0 0 eee ee 26 Inter module synchronization 47 Inter module synchronous interrupt program 48 Interrupt from other CPU 140 Interrupt function from module 44 Interrupt pointer 2220000 00 ee 43 Interrupt to other CPU 145 IP PING ee bea Pee a ae eee es 106 Memory card parameter 188 Memory configuration 2000 24 Memory lifetime 2200000 00 ee 26 Method for checking write index value 26 Module extended parameter 54 Multiple CPU synchronous interrupt program 135 Operation processing at momentary power failure sok tg Ah Reds Ge ste tle orb aed ae ah dh Heo ate chee Bde es 23 Operation processing in C Controller module 22 Operation processing in PAUSE state 22 Operation processing in RUN state 22 Operation processing in STOP state 22 Output mode setting of STOP toRUN 52 Own node setting o oooooooo ooo 107 Parameter No
233. on of linkin etreshitiMe 0 6 20 ncee a sd ade eee teak e aaa we eo eae 92 CHAPTER6 Ethernet COMMUNICATION FUNCTIONS 93 6 1 Connection with MELSOFT product or GOT 0 0 cee eee eee eee 93 Remote RUN STOP cocina ds e E ee don E DE AE ae au ee dee we ee ee 36 13 Connection via A MUD tema li ta NE AU ed ah ha Rte AOE ae ae de 94 DIRE CEICORIMG APP ca wa tec asec A A OO 95 6 2 Communication with SLMP 2022262 2se0000008e ned eeee ewe eeve dace sere A 98 6 3 File Transfer Function FTP server 0 0 cece cece e cence eee cent eee eee e eens 102 6 4 Time Setting FunctiON sees eceseeprsiers ere ia 103 6 5 Telnet Function iii A A ae hane A ae nee eave 104 6 6 Security FUNCION 3 sissies cdc cee estes we Kaede eed die Ree A A ene ae eRe ards eh SE ee 106 IP filter TUNCHON 4 seca ne A A se eee aes 106 6 7 Parameter Settings iii ici is a arava ea prea A ea Seale 107 Own node settingsi meirar a cer phew ea eae head tee Poa ee Renae a 107 External device configuration scrissi i uieii ai iiep anaddas RAR donee SEH A ak eal oa a 108 FIP Server S HINGS sitter eee ee aE Oe eae PR eee eR Seen eve Rae E ae 111 TIME Setting Sipe A da omen de Mado bee die ds 112 AO 113 Telnet Server SetingS vico A es 114 CHAPTER 7 MULTIPLE CPU SYSTEM FUNCTIONS 115 7 1 Qut of Group N O Feth 30 AA SAS A 116 Accessing controlled M dU E 20 cr a a a ek ee A E EE aad 116 Accessing non controlledimodul s 20220
234. onsult Wind River Systems Inc Stack size of the task that runs the user program is insufficient Increase the task stack size The pointer used in the user program refers to an invalid address Make correction to make the pointer refer to a valid address The memory area specified to the size is not reserved Secure the memory area The VX_FP_TASK option is not specified for the task that performs floating point operations Specify the VX_FP_TASK option for the task that performs floating point operations A VxWorks message is displayed when an error occurs Consult the Wind River Systems Inc APPENDICES APPENDIX Appendix 3 Troubleshooting by Symptom The serial communication cannot be established Check the following items Obtain the serial communication option currently set and change the option settings For more details on how to obtain and change the serial communication option refer to the manuals for VxWorks of the following The option settings already configured have been changed version e VxWorks Version 6 9 Communication with Ethernet device cannot be established Check the following items Since the port number 1 to 1023 is the number for reserved in general WELL The Ethernet device is communicating with the C Controller module by specifying the following port number KNOWN PORT NUMBERS and the port number 61440 to 65534 is the 1 to 1023 or 61440 to 655
235. operation Incorrect change or modification may cause system malfunction damage to the machines or accidents O Do not power off the programmable controller or reset the CPU module while the setting values in the buffer memory are being written to the flash ROM in the module Doing so will make the data in the flash ROM undefined The values need to be set in the buffer memory and written to the flash ROM again Doing so can cause malfunction or failure of the module Disposal Precautions NCAUTION O When disposing of this product treat it as industrial waste O When disposing of batteries separate them from other wastes according to the local regulations For details on battery regulations in EU member states refer to the MELSEC Q R Module Configuration Manual Transportation Precautions NCAUTION O When transporting lithium batteries follow the transportation regulations For details on the regulated models refer to the MELSEC Q R Module Configuration Manual O The halogens such as fluorine chlorine bromine and iodine which are contained in a fumigant used for disinfection and pest control of wood packaging materials may cause failure of the product Prevent the entry of fumigant residues into the product or consider other methods such as heat treatment instead of fumigation The disinfection and pest control measures must be applied to unprocessed raw wood 10 CONDITIONS OF USE FOR THE PR
236. or I O slot 0 to 6 configuratio ON or error e Remove the CPU module from the inapplicable n RESET slot information 2044H CPU module The host CPU number set in the I O Re set the host CPU number in the system System At power configuration Assignment Setting differs from the one parameters in accordance with the mounting configuratio ON or error determined by the mounting position of the position of the CPU module n RESET CPU module information 2050H CPU module An unsupported CPU module is mounted Remove the unsupported CPU module If all the System At power configuration CPU modules are supported the possible cause is a configuratio ON or error hardware failure of the CPU module or Base unit n RESET Please consult your local Mitsubishi representative information 2060H Base unit Eight or more extension base units are Reduce the number of extension base units to seven System At power configuration connected or less configuratio ON or error n RESET information 2061H Base unit Any of the following base units is Remove QA1S30B QA1S501B QA1S60B System At power configuration connected QA1S30B QA1S50B QA6OB QAGADP A5OB AG6OBOB and configuratio ON or error QA1S6OB QA6O0B QABADP A5OB QA1S6ADP A1S5OB A1S60B n RESET AG6OB QA1S6ADP A1S5OB A1S6OB information 2063H Base unit Extension base unit level settings are Review the level setting of the extension base units System At power configuration duplicated configuratio ON or
237. or the target device TCP UDP Fixed Buffer Send Receive Setting Not required PLC IP Address Not required Port No Set the port number for each connection of Ethernet equipped 1 to 4999 5010 to 65534 module Default blank Sensor Device MAC Address Not required Host Name Not required IP address Set the IP address of the target device 0 0 0 1 to 223 255 255 254 Default blank Port No Set the port number of the target device 1 to 65534 65535 To receive data from all the port numbers set 65535 Default blank Subnet Mask Not required Default Gateway Not required 4 C Controller module cannot set this item 2 Although it may be set as the communication method C Controller module does not support it 3 The module can be connected up to the number equivalent to the maximum number of connections in the setting for external device configuration the set number of connections 1 4 As simultaneous communication from multiple connected target devices can overload network communication may not be established in such overloaded network conditions 5 The own station port number 1 to 1023 are the number for reserved in general WELL KNOWN PORT NUMBERS and the port number 61440 to 65534 are the number used for other communication functions Using the port number within the range of 1024 to 4999 or 5010 to 61439 is recommended MAlive check with the KeepAlive function When the protoc
238. ormation is stored as an event higher 10300 Security Informatio Access acceptance from Access from an IP address for which Operation Disconnecte n IP address prohibited access is prohibited with the IP Filter initiator d IP address with the IP Filter Settings Settings was accepted information information 20100 Operation Error clear An error was cleared Operation Operation initiator target information information 20200 Event history clear An event history was cleared 20300 SD memory card The SD memory card was enabled available 20301 SD memory card forced The SD memory card forced disable disabled function was performed and the SD memory card is ready for removal 24000 Clock setting The clock setting was performed Operation Clock Clock initiator information information information before after change change 24001 Remote operation A remote operation request RUN STOP Remote request acceptance PAUSE was accepted operation type information 24100 Operating status change The operating status was changed to RUN RUN 24101 Operating status change The operating status was changed to STOP STOP 24102 Operating status change The operating status was changed to PAUSE PAUSE 24200 New folder creation data A new folder was created Operation Drive and write to file folder A new file was created or data was initiator file written to a file information information 24201 F
239. ors for each interrupt pointer number Interrupt from module 10 to 115 A pointer used in the module which has an interrupt function Inter module synchronous interrupt 144 A fixed cycle interrupt pointer used for the inter module synchronization function Multiple CPU synchronous interrupt 145 A fixed cycle interrupt pointer used for the multiple CPU synchronization function Interrupt from module 150 to 11023 A pointer used in the module which has an Interrupt function The priority has been set to each interrupt pointer If the priority of an interrupt program of which execution conditions have been satisfied is higher than that of an interrupt program that is currently being executed the program is executed in accordance with the priority If the priority of an interrupt of which execution conditions have been satisfied is lower it will be in a wait state until an interrupt program that is currently being executed is completed High 3 Inter module synchronous interrupt 144 multiple CPU synchronous interrupt 145 gt 144 145 Low 8 Interrupt from module 10 to 115 150 to 11023 10 gt 11 gt 12 gt to gt 11021 gt 11022 gt 11023 4 BASIC FUNCTIONS 4 4 5 Interrupt Function from Modules 3 Using interrupt function The following explains the usage of the interrupt function from module Executing interrupt routine The following shows how to execute the interrupt routine 1 Regist
240. ory Setting E Event History Setting a Save Destination Data Memory Set Save Volume of Per File 128 K Byte Displayed EA ra Save Destination Specify the storage destination of event history files Data Memory Data Memory Memory Card Set Save Volume of Per File Specify the storage capacity per event history file 1 to 2048 KB 128 KB HRegistration from user program Event logs can be registered from a user program by executing the C Controller module dedicated function CCPU_RegistEventLog In this case the event type will be Operation 4 BASIC FUNCTIONS 4 10 RAS Function Saving event history Modules from which event history information is collected Event history information is collected from the C Controller module and other modules mounted on the same Base unit such as the main base unit and any additional extension base units Event history information may or may not be collected from devices on the network depending on the specifications of the Network modules used to connect to them For more information including the coverage of event history collection regarding devices on the network refer to the manual of each module For a multiple CPU system each CPU logs only events detected on the modules under its control Events to be saved The detailed information such as the operation initiator information are saved for troubleshooting purpose when the event history is saved For the event to be saved
241. ost CPU parameter setting will result in no error since the unset CPU is regarded as a reserved CPU for future setting Example When Not Use is set to Fixed Scan Communication Function for the CPU No 4 Perform fixed cycle communication Fixed cycle communication area CPU No 1 Host CPU Perform fixed cycle communication Fixed cycle communication area CPU No 2 Other CPU CPU No 1 Send area of gt Send area of Send area o CPU No 2 Receive area of CPU No 1 lt Send area of CPU No 2 gt CPU No 2 Send area o CPU No 3 Send area o CPU No 4 Receive area of CPU No 1 Receive area of CPU No 1 Send area of Send area of CPU No 4 Send area of CPU No 3 CPU No 3 Perform fixed cycle communication Do nat perform fixed cycle communication Fixed cycle CPU No 3 Other CPU communication area Send area of Send area of CPU No 4 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules Fixed cycle communication area CPU No 4 Other CPU 125 Fixed cycle communication setting Set the interval for data transfer between CPU modules It also can be synchronized with the timing of the inter module synchronization cycle QA MELSEC iQ R Inter Module Synchronization Function Reference Manual DO System Parameter gt Multiple CPU Setting
242. ower supplied to the output devices is shut off when the stop switch is pressed 2 Interlock circuits 3 1 The C controller module starts when RA1 control starting output turns ON 2 A stop caused by an emergency stop switch or a limit switch 3 Configure external interlock circuits for conflicting operations such as forward reverse rotations and the parts where the incorrect output may cause damage to the machines or accidents 4 APPENDICES APPENDIX 98 Appendix 10 General Safety Requirements AC and DC power 1 Power the C Controller module ON Run the C Controller module 2 3 RA2 turns ON when DC power is established 4 XM turns ON when RA2 turns ON and the processing is started with a user program after DC input signal has fully been established 5 Turn the start switch ON 6 The output devices are activated by using a user program when the relay MC turns ON User program Create a program to perform the following operations when C Controller module starts HTurning Ym ON when the battery voltage drop is detected Use the C Controller module dedicated functions CCPU_GetErrlnfo CCPU_Y_Out_BitEx Turning Yn ON when the user program is started Use the C Controller module dedicated functions CCPU_GetErrlnfo CCPU_Y_Out_BitEx Starting the system processing once XM turns ON and the DC input signal has settled after DC input signal settling time Create a program to start the system
243. r cause accidents O Especially when a remote programmable controller is controlled by an external device immediate action cannot be taken if a problem occurs in the programmable controller due to a communication failure To prevent this configure an interlock circuit in the program and determine corrective actions to be taken between the external device and CPU module in case of a communication failure O Do not disassemble or modify the modules Doing so may cause failure malfunction injury or a fire O Use any radio communication device such as a cellular phone or PHS Personal Handy phone System more than 25cm away in all directions from the programmable controller Failure to do so may cause malfunction O Shut off the external power supply all phases used in the system before mounting or removing the module Failure to do so may cause the module to fail or malfunction O Tighten the screws within the specified torque range Undertightening can cause drop of the component or wire short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction O After the first use of the product do not mount remove the module to from the base unit and the terminal block to from the module and do not insert remove the extended SRAM cassette to from the CPU module more than 50 times IEC 61131 2 compliant respectively Exceeding the limit may cause malfunction O After the first use
244. r in an environment of frequent vibrations fix the module with a screw O Tighten the screws within the specified torque range Undertightening can cause drop of the screw short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction O When using an extension cable connect it to the extension cable connector of the base unit securely Check the connection for looseness Poor contact may cause malfunction When using an SD memory card fully insert it into the memory card slot Check that it is inserted completely Poor contact may cause malfunction O Securely insert an extended SRAM cassette into the cassette connector of a CPU module After insertion close the cassette cover and check that the cassette is inserted completely Poor contact may cause malfunction O Do not directly touch any conductive parts and electronic components of the module SD memory card extended SRAM cassette or connector Doing so may cause malfunction or failure of the module Wiring Precautions NWARNING O Shut off the external power supply all phases used in the system before installation and wiring Failure to do so may result in electric shock or cause the module to fail or malfunction O After installation and wiring attach the included terminal cover to the module before turning it on for operation Failure to do so may result in electric shock Wiring Precautions
245. r module the access to a file being written and writing to a file being accessed cannot be performed MFile name and folder name The name of the file to be stored to C Controller module must be 128 characters or less In addition use the following characters for a file name and folder name e Alphanumeric characters and special characters excluding lt gt If invalid characters are used the following symptoms may occur e Garbled file name and folder name e Loss of file and folder A folder name using only a special character cannot be created e A special character following the usable character codes is not included in the folder name A folder a is created when a folder name starts with a 3 MEMORY CONFIGURATION OF C Controller module 3 4 Files Number of files and folders Up to a total of 512 files and folders can be created for the root folder in the following memory However the maximum number may be reduced depending on a file name length and character types e Program memory and data memory The number of files and folders that can be created in the root folder of the following memory differ depending on the memory capacity and a file system format Take caution when using the memory SD memory card e USB Mass Storage Class compliant device The number of files in the folder must be 500 or less Storing more than 500 files may significantly increase the file access time Even if it is compos
246. r the CPU No 1 If the time is set for the CPU modules other than the CPU No 1 the clock data in the CPU No 1 is set automatically to CPU No 2 to No 4 Execution timing of time setting The time setting is performed at any of the following timing At power OFF gt ON or reset of the C Controller module At specified time intervals At specified time e At arbitrary timing using a program 1 Obtain the clock information using the VxWorks function sntpcTimeGet and then execute the C Controller module dedicated function CCPU_SetRTC Setting method Set Time Setting under Application Settings 15 Page 112 Time Setting BTime information server Install an SNTP server on the LAN to be connected Delay by communication time The time set in the module may be delayed by the time required to communicate with the SNTP server For a high accuracy time setting specify an SNTP server on the network that is as close to the module as possible MAvailable period The period within the range from 1980 to 2079 can be used 6 Ethernet COMMUNICATION FUNCTIONS 4 6 4 Time Setting Function 03 6 5 Telnet Function This function executes shell commands from Telnet tool in the development environment personal computer without using CW Workbench for TCP IP network This allows simple remote debugging task information display memory dumping etc of the C Controller module Setting method To use the Telnet fu
247. rameter The station type set in the module Check the detailed information parameter Parameter At power error network parameters differs that of the module information of the error by performing module information ON or actually mounted diagnostics using CW Configurator and review the RESET parameter setting corresponding to the displayed number parameter number If the same error code is displayed again the possible cause is a hardware failure of the data memory in the CPU module or the Intelligent function module Please consult your local Mitsubishi representative 2263H Parameter Even though the CC Link IE module is Set the system parameters and module parameters Parameter At power error network mounted the different module is set in the If the same error code is displayed again the information ON or 1 0 Assignment Setting of the System possible cause is a hardware failure of the data RESET Parameter or CC Link IE module memory in the CPU module or Intelligent function parameters are not set module Please consult your local Mitsubishi representative 2280H Parameter The refresh setting is not set correctly e Check the detailed information parameter Parameter At power error refresh Data was refreshed exceeding the file information of the error by performing module information ON RESET register capacity diagnostics using CW Configurator and review fixed cycle The refresh settings number of points the parameter s
248. ration Settings Range to be refreshed Empty Pop E KIZXZZZIZA OS COMI LULL psss OSI KOKORO Refresh Setting 5 ACCESS FUNCTION USING NETWORK MODULE 4 5 2 Cyclic Transmission 7 72 MAssurance of cyclic data consistency Station based block data assurance The station based block data assurance function prevents overlapping of previous link scan data and new link scan data in one station data Point Link scan is performed asynchronous to link refresh in the C Controller module Therefore if 32 bit or more cyclic data is handled new data and old data may overlap due to the timing of link refresh h Refresh cycle Refresh cycle Refresh cycle gt Processing of C Controller module A A i Link refresh i Link refresh Link refresh Link refresh Link scan IH Link refresh time When the setting of station based block data assurance is configured cyclic data is assured in station units since the C Controller module does refresh cycle with Network module by handshaking C Controller module device Network module link device tone Ul Station No 1 Data assurance Data assurance Station No 2
249. rce and execute the request again 4130H File related The drive memory type differs between the copy destination Check the copy destination and copy source drive memory error and the copy source and execute the request again 4131H File related The file name of the copy destination is the same as the one of Check the file name and execute the request again error the copy source 4132H File related The specified number of files does not exist Check the specified data and execute the request again error 4133H File related The specified device memory has no free space Increase the free space of the drive memory and execute the error request again 4134H File related The attribute specification data for a file is incorrect Check the specified data and execute the request again error 4135H File related The date time data of the engineering tool personal computer Check the clock setting of the engineering tool personal error is out of range computer and execute the request again 4136H File related The specified file already exists Check the specified file name and execute the request again error 4137H File related The specified file is read only Change the conditions for the specified file and execute the error request again 4138H File related Simultaneously accessible files exceeded the maximum Reduce the file operation and execute the request again error 4139H File related The specified file exceeded the file s
250. read only file 41DFH File related The specified drive memory is write protected Disable the write protection of the specified drive memory error and execute the request again 41E4H File related Access to the SD memory card has failed Check whether the SD memory card has been inserted and error access it again Replace the SD memory card and access it again Back up the data and initialize the memory 41F8H File related The same data is being accessed with other engineering tool Check the completion of the following functions and execute error the request again The function to write data to the program memory or the function to transfer data to backup memory is being performed 41FBH File related The specified file has been operated with the same engineering Execute the request again once the currently performed error tool operation has been completed 164 APPENDICES APPENDIX Appendix 1 Error Code List related error requested module is not supported 41FDH File related Data is not written to the data memory Write file using the write to PLC function error 41FEH File related SD memory card is not inserted Insert an SD memory card error The SD memory card is in the disabled state Remove the SD memory card and insert it again Cancel the SD memory card forced disable function 41FFH File related The type of SD memory card is diffe
251. reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module or extension cable Please consult your local Mitsubishi representative At module access 24C8H System bus error An error has been detected on the system bus Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the I O module Intelligent function module or extension cable Please consult your local Mitsubishi representative At power ON or RESET 24D0H System bus error e In the extension level setting of the MELSEC Q series extension base unit the duplicated level setting with other extension base units is detected An error has been detected on the system bus Review the level setting of the MELSEC Q series extension base unit Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module Base unit or extension cable Please consult your local Mitsubishi representative System configuratio n information At module access always 24E0H System bus error An error has been detected on the system bus Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module or Base u
252. rent Check the type of the SD memory card error 4269H Other error The remote RUN operation cannot be performed Perform the remote RUN operation again after a while 433CH Maintenance Clearing error failed The error clear function has been Perform the function again after a while related error performed while an error is being cleared If the same error occurs even when the function is performed again the possible cause is a hardware failure of the relevant module Please consult your local Mitsubishi representative 433DH The relevant module does not support the error clear function Check the target module of the error clear function Check the module on which an error occurred 4A00H Network The specified station cannot be accessed because the Set the routine parameters to the related stations for related error routing parameters have not been set to the start source accessing the specified station CPU and the relay CPU module Retry it after a while Or check the startup of the system that The control CPU module for the Network module to which relays data and start communication data is routed has not started for routing via a multiple CPU Set the CPU module that relays IP packets to the control system CPU module for the CC Link IE module on the path where IP e The CPU module that relays IP packets is not the control packet travel CPU module for the CC Link IE module on the path where IP packets travel 4A01H Network The ne
253. ric term for the main base unit extension base unit and RQ extension base unit C Controller module An abbreviation for MELSEC iQ R series C Controller module C Controller module dedicated functions A dedicated function library offered by C Controller module It controls C Controller module CC Link IE A generic term for CC Link IE Controller Network and CC Link IE Field Network CC Link IE Controller Network equipped module A generic term for RJ71GP21 SX CC Link IE Controller Network module and RJ71EN71 when the CC Link IE Controller Network function is used CC Link IE Field Network equipped master local module A generic term for RJ71GF11 T2 CC Link IE Field Network master local module and RJ71EN71 when the CC Link IE Field Network function is used CC Link IE module A generic term for CC Link IE Controller Network equipped module and CC Link IE Field Network equipped master local module CPU module A generic term for the CPU modules of MELSEC iQ R series CW Configurator A generic product name for model names SWnDND RCCPU n indicates version CW Workbench An abbreviation for C Controller module engineering tool CW Workbench Dedicated function library A generic term for C Controller module dedicated functions and MELSEC data link functions GOT An abbreviation for the Mitsubishi Graphic Operation Terminal 1 0 module A generic term for input module output module I O co
254. ript file STARTUP CMD stored in a memory card Memory card parameter Required when performing parameters stored in a memory card Disable execution USB storage access Required when accessing USB devices Enable 1 When changing the service write parameters to the data memory If the parameters are written to the memory card the setting of the service is not changed 4 BASIC FUNCTIONS 4 11 Security Function 65 66 HCW Configurator operation When the CW Configurator operation is disabled the parameters cannot be set To enable the service initialize C Controller module Memory card parameter execution To select an SD memory card as a target memory of the parameters enable Memory card parameter execution Disable is selected as a default EStopping multiple services When the memory card access is disabled the memory card script execution will be disabled as well Locked out If the password authentication failed for several times the password authentication will be denied locked out for a period of time This prevents a brute force attack from unauthorized users The lockout time is as follows 1st time to 5th time 0 minute 6th time 1 minutes 7th time 5 minutes 8th time 15 minutes 9th time or later 60 minutes 1 Once the correct password is entered the number of password input error will be cleared The password input error will not be counted during lockout There
255. ronization cycle The inter module synchronous interrupt program 144 is registered using the interrupt function form module Page 43 Interrupt Function from Modules 4 BASIC FUNCTIONS 4 7 Inter module Synchronization Function Processing of inter module synchronous interrupt program 144 The following describes the processing of the inter module synchronous interrupt program 144 input refresh CC Link IE Field Network module At the input refresh link devices RX RWr are refreshed from the CC Link IE Field Network module to be synchronized Operation processing e To import the input signal X and the input from the buffer memory use the C Controller module dedicated functions CCPU_X_In_Word_ISR CCPU_FromBuf_ISR To import the output signal Y and the output to the buffer memory use the C Controller module dedicated functions CCPU_Y_Out_Word_ISR CCPU_ToBuf_ISR Output refresh CC Link IE Field Network module In the output refresh link devices RY RWw are refreshed to the CC Link IE Field Network module to be synchronized Refresh timing The following describes the refresh timing depending on the operating status of C Controller module Operation in the STOP state RUN to STOP C Controller module turns OFF the output when it is in the STOP state due to user operation such as user program or switch operation Refresh is performed continuously during the STOP state e C Controller module turns OFF the
256. rror CPU Module Stop iai Memory Card Error Set the C Controller module operation upon a memory Stops Stops card error e Continues Module Verify Error Set the C Controller module operation upon a module verification error Fuse Blown Set the C Controller module operation upon fuse blown error Synchronous Interrupt Execution Interval Error CPU Module Set the operation of CPU module at a synchronous interrupt execution interval error 4 BASIC FUNCTIONS 4 10 RAS Function detection in Intelligent function module The operation of C Controller module when an error occurred in an Intelligent function module will be determined with the parameter setting of CPU Module Operation Setting at Error Detected under I O Assignment Setting O System Parameter gt I O Assignment Setting gt I O Assignment Setting OPU 2 Ste Occupy LE 1 Fonts AAA 161 RUTTEN 1 CCIEF No Setting 32 Points 0000 Critical Stop Moderate Continue CPU Module Operation Setting at Set the operation of C Controller Critical Stop Moderate Continue Critical Stop Moderate Stop Error Detection module at the detection of a major Critical Stop Moderate Stop error or moderate error in the Critical Continue Moderate configured module Continue Sets whether to turn the ERROR LED ON OFF DO CPU Parameter gt RAS Setting gt LED Display Setting Window LED Display Setting
257. s Network module Link device 1 Access by link refresh Network module Link device LL E A method to access devices of C Controller module from a user program The data in the devices are communicated with the link devices in Network module by link refresh Frequently used link device based block data assurance Link device that requires station 2 Direct access gt A method to access link devices in Network module directly from a user program e Rarely used link device 3 Buffer memory access A method to access the buffer memory in Network module from a user program Excluding rarely used link device from link refresh device area and not using access by link refresh may reduce link refresh time MApplicable access methods The applicable methods to access controlled Network module from C Controller module are shown below O Applicable x Not applicable Access by link refresh O O x Direct access O O x Buffer memory access x O O 5 ACCESS FUNCTION USING NETWORK MODULE 5 2 Cyclic Transmission 69 70 Access by link refresh This method is used to access the device of C Controller module from user program using link refresh Data flow The following figure shows and explains the data flow of link refresh C Controller module Network m
258. s Settings target device Current Password Enter the current password for login to C Controller module Default password initial setting is set as follows C Controller module password To prevent an illegal access change the password when using the Telnet function HNew password and confirmation password To change the password enter the new password in New Password and Confirm New Password 114 6 Ethernet COMMUNICATION FUNCTIONS 6 7 Parameter Settings 7 MULTIPLE CPU SYSTEM FUNCTIONS Multiple CPU modules mounted on a base unit control I O module and Intelligent function module each The data communication among CPU modules on a base unit can also be performed Point Restriction e For the concept of the multiple CPU system system configuration specifications such as mounting position of CPU modules and assignment of CPU number and I O number refer to the following manual LA MELSEC iQ R Module Configuration Manual e For the start up settings operating procedures etc of a multiple CPU system refer to the following manual LA CW Configurator Operating Manual e The startup time of the multiple CPU system may be long depending on the system configuration of the installed modules boot operation the configuration of the system parameters and CPU parameters When the SD memory card diagnostics is performed due to the operation such as power OFF during the access to the SD
259. s a programmable controller CPU Point The programmable controller CPU bus master CPU CPU No 1 cannot be reset when other peripherals such as GX Works3 performs remote STOP to a programmable controller CPU bus master CPU CPU No 1 Therefore cancel the remote STOP with the peripheral device performing the remote STOP Then place the programmable controller CPU bus master CPU CPU No 1 into STOP state with its RESET STOP RUN switch the remote operation with CW Configurator or a user program the mdControl function of the C Controller module To perform remote RESET with CW Configurator change the C Controller module status to STOP using CW Configurator e To perform remote RESET with a user program change the C Controller module status to STOP using a user program 4 BASIC FUNCTIONS 4 3 Remote Operation Function Remote operation and operating status of C Controller module The following shows the relationship between remote operations and operating status changes of C Controller module ion and at stop error The following table shows the operating status of C Controller module by switch operation and at a stop error No status change RESET STOP STOP STOP RUN RUN switch RUN RUN STOP STOP operation Operation with STOP STOP CW Configurator PAUSE STOP PAUSE or SLMP Actual status STOP RUN STOP RUN Actual status STOP S
260. s properly block data assurance setting is enabled mounted on the Base unit and that the ambient on the network has been accessed when environment is within the range of the general the stop error occurred specifications The CPU module is running out of If the same error code is still displayed again the control or is broken down Malfunction possible cause is a hardware failure of the CPU due to noise or hardware failure module Please consult your local Mitsubishi representative 3E48H Memory error An error has been detected in the memory Take measures to reduce noise Failure Always to Format the memory Write all files to the CPU information 3E4AH module and then reset it If the same error code is displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 160 APPENDICES APPENDIX Appendix 1 Error Code List 3E50H Memory error An error has been detected in the memory Take measures to reduce noise Failure At power Format the memory Write all files to the CPU information ON or module and then reset it If the same error code is RESET displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative APPENDICES APPENDIX 4 4 Appendix 1 Error Code List 6 de related to data communication 4000H to 4FFFH The table below lists the error codes dete
261. se is a occurrence hardware failure of the device label memory in the power ON CPU module or the memory card Please consult or RESET your local Mitsubishi representative 21A1H File The file specified in parameter cannot be Check the detailed information parameter Drive file At write specification created information of the error by performing module information power ON error diagnostics using CW Configurator and correct Parameter or RESET the name and size of the file corresponding to the information displayed number parameter number e Check the detailed information drive file information of the error by executing module diagnostics using CW Configurator and take any of the following action 1 Format the corresponding drive 2 Delete unnecessary files on the corresponding drive to increase free space 3 Unlock the corresponding drive if it is locked 2200H Parameter The system parameter file and CPU Write the system parameter and CPU parameter Parameter At power error parameter file do not exist information ON or RESET 2220H Parameter The parameter setting is corrupted Check the detailed information parameter Parameter At power error information of the error by executing module information ON or diagnostics using CW Configurator and write the RESET displayed parameter to the module If the same error code is displayed again the possible cause is a hardware failure of the data memory in the CPU module memory card
262. sion cables Please consult your local Mitsubishi representative information 156 APPENDICES APPENDIX Appendix 1 Error Code List 24C3H System bus error An error has been detected on the system bus e Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module I O module Intelligent function module Base unit or extension cables Please consult your local Mitsubishi representative System configuratio n information At module access 24C4H System bus error An error has been detected on the system bus Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the I O module Intelligent function module Base unit or extension cable Please consult your local Mitsubishi representative System configuratio n information At module access 24C5H System bus error An error has been detected on the system bus Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the I O module Intelligent function module Base unit or extension cable Please consult your local Mitsubishi representative At module access 24C6H System bus error An error has been detected on the system bus e Take measures to
263. sks with the higher CPU usage rate is Workbench not connected online in operation in such case as overloaded e Review the command executed from Shell Ethernet communication Debugging or restarting of the C Controller module has been performed with CW Workbench connected online Command was executed from Shell for debugging 2000H Module The module type set in the I O Assignment Reconfigure the I O Assignment Setting in the System At power configuration Setting of the System Parameter differs System Parameter in accordance with the Intelligent configuratio ON or error from that of the module actually mounted function module or CPU module actually mounted n RESET information 2001H Module The I O numbers set to I O Assignment Reconfigure the I O Assignment Setting in the System At power configuration Setting in the System Parameter are System Parameter in accordance with the Intelligent configuratio ON or error overlapping between other modules function module or I O module actually mounted n RESET information 2002H Module The number of points assigned to the Reconfigure the I O Assignment Setting in the System At power configuration Intelligent function module in the I O System Parameter in accordance with the Intelligent configuratio ON or error Assignment Setting of the System function module actually mounted n RESET Parameter is smaller than that of the information module actually mounted 2004H Module Nine or more CC Link IE Co
264. so may result in system down or disconnection of communication The following table shows the special relays related to the diagnostics information SMO Latest diagnostics error OFF No error Turns ON when the diagnostics error occurred The ON S At error occurrence ON Error state is retained even after the error is cleared later SM1 Latest self diagnostic error OFF No error Turns ON when the self diagnostics error occurred The S At error occurrence ON Error ON state is retained even after the error is cleared later SM53 AC DC DOWN OFF AC DC DOWN not Turns ON when a momentary power failure within 20 S At error occurrence detected ms is detected while the AC power supply module is in ON AC DC DOWN use This relay is reset after power cycle detected Turns ON when a momentary power failure within 10 ms is detected while the DC power supply module is in use This relay is reset after power cycle SM60 Blown fuse detection OFF Normal e Turns ON when at least one output module is in fuse S At error occurrence ON Module with blown blown state The ON state is retained even after the fuse error is cleared later The fuse blown state check is also performed for output modules on the remote I O station SM61 1 0 module verify error OFF Normal Turns ON when the state of the I O module is different S At error occurrence ON Error from the one registered during power ON The ON state is retained ev
265. specification i SD115 Drive No Drive No 1st character File name sD116 J 2nd character SD117 File name First 8 3rd character SD118 charactersof 4th character SD1197 Unicode character chars io string _ Sth character 6th character SD121 A 7th character D122 8th character 4 Parameter information ae bO 45 76543210 SD113 With or without specification SD114 PARTS amarga C_Parameter type SD115 L Parameter storage destination sp116 VO No pa L___1 0 No sp117 Parameter No zo Parameter No E Network No spa oro No ae L Station No Station No pad System information SD119 rye D120 ait 45 87 0 SD121 sia SD122 al i i Parameter type Ks 1 System parameter SD123 sn 2 CPU parameter sp124 y MRS E 3 Module parameter 8D125 System information 4 Module extended parameter a Tii 5 Memory card parameter SD126 t a LL liv Parameter storage destination SD127 it 2 SD memory card SD128 g ee 4 Data memory piz 1 0 No i OxFFFFH if an I O No is not assigned 0 for a master station 5 System configuration information b15 bo 8D113 15 76543210 With or without specification 5D114 TO No 1 0 No SD115 7 Slot No Base unitNo
266. ssable requests and then perform again APPENDICES APPENDIX Appendix 1 Error Code List 149 1831H Receive Transient reception failed Lower the transient transmission usage frequency System Always processing and then perform again configuratio error n information 1832H Transient data Transient transmission cannot be Review the number of transient transmission Always error performed because the number of execution processing are too large 1840H Memory card An error has been detected in the memory e Replace the memory card Always error card Take measures to reduce noise e Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module or Base unit Please consult your local Mitsubishi representative 1843H Internal buttery The battery voltage inside the CPU module Replace the battery Always failure decreased to the defined value or lower Please consult your local Mitsubishi representative to replace the battery 1846H Refresh cycle The refresh time exceeded the set refresh e Lengthen the time set for the refresh cycle Time Always exceeded cycle e Reduce the set number of refresh points information The time set for the refresh cycle is too e Lower the CPU usage rate of tasks with the higher short rate or make them inactivated Too many refresh points have been set e Restart the C Controller module with CW Ta
267. stablish the connection only with the C Controller module Connection with peripherals fails Check the following items The system in a multiple CPU system is faulty Reset the multiple CPU system and restart it The network is in the overloaded conditions Disconnect the other Ethernet devices and establish the connection only with the C Controller module File read from C Controller module fails Check the following items Check the transfer mode of FTP Change the transfer mode of FTP to an appropriate mode An error occurs during user program execution Check the following items An error occurs in executable file out loading Set the Build Spec in compiling to ARMARCH7gnu_SMP Download the files with all symbols required for files to load first e Add mlong calls to the build option For details on how to add the option refer to Considerations for creating user program in the following manual LA MELSEC iQ R C Controller Module User s Manual Startup Event s is registered in the event history Take appropriate actions in accordance with details of the registered event An error occurs in C Controller module dedicated function or MELSEC data link functions Take appropriate actions in accordance with the error code at the time of function execution An error occurs in VxWorks standard API functions Refer to the manual of VxWorks If the error persists c
268. sters for ZR L stored as 32 bit data The number of points assigned is SD307 Number of points assigned stored even when the number of points assigned to ZR is for ZR H 32K points or less 182 APPENDICES APPENDIX Appendix 6 Special Register List Fixed cycle function information The special registers related to the fixed cycle function information are as follows SD520 SD521 Current fixed cycle processing time Current fixed cycle processing time unit ms Current fixed cycle processing time unit us The current fixed cycle processing time is stored in SD520 and SD521 Measured in microseconds SD520 Stores the millisecond portion of a value Storage range 0 to 65535 SD521 Stores the microsecond portion of a value Storage range O to 999 When the current fixed cycle processing time is 23 6 ms for example it is stored as shown below SD520 23 ms e SD521 600 us S System SD522 SD523 Minimum fixed cycle processing time Minimum fixed cycle processing time unit ms Minimum fixed cycle processing time unit us The minimum fixed cycle processing time is stored in SD522 and SD523 Measured in microseconds SD522 Stores the millisecond portion of a value Storage range O to 65535 SD523 Stores the microsecond portion of a value Storage range O to 999 When the minimum fixed cycle processing ti
269. such as remote RUN STOP functions select Do Not Open in Program for Open Method Setting in the module parameters If Open in Program is selected an execution of remote STOP causes the communication line to close Consequently the CPU module cannot reopen the communication line and the external device cannot execute the remote RUN Installation Precautions NWARNING O Shut off the external power supply all phases used in the system before mounting or removing the module Failure to do so may result in electric shock or cause the module to fail or malfunction Precautions for using C Controller modules O Do not mount C Controller module on the right end of the base unit Attach a blank cover module RG60 to prevent entrance of foreign material such as dust when no module is mounted on the right side of C Controller module Installation Precautions NCAUTION O Usethe programmable controller in an environment that meets general specifications written in Safety Guidelines included in the base unit Failure to do so may result in electric shock fire malfunction or damage to or deterioration of the product O To mount a module place the concave part s located at the bottom onto the guide s of the base unit and push in the module until the hook s located at the top snaps into place Incorrect interconnection may cause malfunction failure or drop of the module O When using the programmable controlle
270. t 157 2610H Inter module e An execution interval error of the e When the CC Link IE Field Network module is a Always synchronization synchronous interrupt program has been synchronous target unit between unit check the signal error detected connection status of the cable of CC Link IE Field An inter module synchronization error module has been detected Take measures to reduce noise e Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module I O module Intelligent function module Base unit or extension cables Please consult your local Mitsubishi representative 2611H Inter module An inter module synchronization error has Take measures to reduce noise System At power synchronization been detected Reset the CPU module If the same error code is configuratio ON RESET signal error displayed again the possible cause is a hardware n or fixed failure of the CPU module I O module Intelligent information cycle function module Base unit or extension cables processing Please consult your local Mitsubishi execution representative 2630H Multiple CPU An execution interval error of the Take measures to reduce noise Always synchronization synchronous interrupt program has been Reset the CPU module If the same error code is signal error detected displayed again the possible cause is a hardware A multiple CPU synchronization
271. t registered in the event history The module is started up in the hardware diagnostics mode Power OFF the module to terminate the hardware diagnostics mode and power ON the module again The power is turned OFF or the module is reset while accessing files Cycle the power or reset the module again to start the C Controller module READY LED on C Controller module is kept flashing The READY LED flashing status indicates that the script file STARTUP CMD is being executed After taking corrective actions corresponding to the Check item below correct the script file and the user program that is activated from the script file The script file is stored in the program memory e Store the unprocessed script file in an SD memory card and turn the power ON again e Initialize the C Controller module The script file in the program memory cannot be overwritten Store the unprocessed script file in an SD memory card and turn the power ON again e Secure a free space in the program memory Initialize the C Controller module 168 APPENDICES APPENDIX Appendix 3 Troubleshooting by Symptom Ethernet communication between C Controller module and personal computer cannot be established Issue PING command from the personal computer to the C Controller module and check the response ind response is incorrect Check the following items The IP address segments of the personal computer and the C Controller
272. tap x 2 ST ap LSx1 LR Br LT 87 LS x 1 LR Bp x 0 5 LT B7 LS x 1 SR ap x 1 5 ST a7 LS x 1 LR Bp x 0 5 LT B7 LS x 2 LR Br LT Bx LS x 2 SR ap x 2 ST az LS x 2 LR Br Maximum value Enabled Normal value Maximum value LT lt LS Disabled Normal value Maximum value Enabled Normal value Maximum value 04000 OOOO AAA 9 9 GP OO 9 0 90 5 ACCESS FUNCTION USING NETWORK MODULE 5 5 Processing Time E The extended mode is selected for the station type The following shows the calculation formula when the extended mode is selected for the station type of CC Link IE Controller Network module LT gt LS Disabled Normal value LT By LS x 0 5 LR Bp x 0 5 LT By LS x 0 5 SR ap x 1 5 ST aq LS x 0 5 LR Bp x 0 5 LT B7 LSx1 LR Br LT Bp LS x 1 SR ap x 2 ST o0p LSx1 LR Br LT By x 1 5 LS x 0 5 LR Bp x 1 5 LT Py x 1 5 LS x 0 5 SR ap x 2 5 ST a7 x 1 5 LS x 0 5 LR Bp x 1 5 LT By x 2 LS x 1 LR Bp x 2 LT By x 2 LS x 1 SR ap x 3 ST a7 x 2 LS x 1 LR Bp x 2 LT Bp LS x 1 LR Bp x 0 5 LT Bq LS x 1 SR ap x 1 5 ST a7 LS x 1 LR Bp x 0 5 LT Br LSx2 LR Br LT Bq LS x 2 SR ap x 2 ST ay LSx2 LR Bp LT B7 LS x 1 LR Pp x 1 5 LT Py LS x 1 SR ap x 2 5 ST az LS x 1 LR Pp x 1 5 L
273. tcp Keeplntvl value x iptcp KeepCnt value iptcp Keepldle Interval from line disconnection to the first retry iptcp Keepintvi Interval between retries iptcp KeepCnt Number of retries Ex ipcom_sysvar_set iptcp Keepldle XX 1 ipcom_sysvar_set iptcp Keepintvl YY 1 ipcom_sysvar_set iptcp KeepCnt ZZ 1 ipcom_ipd_kill iptelnets ipcom_ipd_start iptelnets XX YY Specify the time in seconds When 0 is specified no timeout will occur ZZ Specify the number of retries The following explains the procedure to change the Telnet connection timeout value when the C Controller module is in operation Establish the Telnet connection with a Telnet tool Execute the commands above from the shell command of the Telnet tool to change the timeout value 1 2 3 Reboot the Telnet server 4 Close the Telnet connection 5 Establish the Telnet connection with a Telnet tool again The following explains the procedure to change the Telnet connection timeout value at the startup of the C Controller module 1 Describe the commands above in the script file STARTUP CMD 2 Power ON the C Controller module Shell command A setting shell command entered from the Telnet tool operates on a task of priority 1 In the following cases system errors stop system watchdog timer error etc may occur in the C Controller module e Execution of commands which occupy the CPU processing Before executing commands
274. terval maximum value minimum value current value at which the fixed cycle processing function operates Checking with a function The interval can be obtained using the C Controller module dedicated function CCPU_GetConstantProcessStatus Checking with special registers The interval at which the function operates is stored in special registers SD520 SD522 SD524 Page 176 Special Register List 4 BASIC FUNCTIONS 4 6 Fixed Cycle Processing Function 4 7 The inter module synchronization function is a function to adjust the input or output timing of modules to be synchronized to Inter module Synchronization Function the inter module synchronization cycle by matching the control timing of signals among multiple modules Program C Controller module Inter module synchronous interrupt program 144 A D converter module set as a synchronization target D A converter module set as a synchronization target Input module set as a synchronization target _ Output module set as a synchronization target Input module C Controller module E Output module A D converter module D A converter module sia ina ia i Output conversion Inter module synchronization cycle ji Output conversion For details on the inter module synchronizatio
275. the latest one is stored An event history file size is obtained using the following calculation formula e File size File header size Event history management information size Number of records x Size per event history record The sizes of each element are as follows File header size 20 bytes Event history management information size 12 bytes Size per event history record 40 to 1112 bytes 1 Since the events which overlaps multiple records exist depending on the event to be saved a file size per one record will be changed EConditions for collecting events C Controller module collects event history regardless of the operating status RUN STOP PAUSE STOP error however the event history may not be collected under the following conditions e Major error e Base unit error e Cable failure 4 BASIC FUNCTIONS 4 10 RAS Function 61 62 ETiming of file creation An event history file is created when At power OFF gt ON no event history file exists after the change of event history settings At reset no event history file after the change of the event history settings At initialization of memory At registration of event history no event history file exists Point When a new event history file is created the event that indicates a new file creation is saved The following shows the operations of the event history when the storage memory is an SD memory card Removal of the S
276. tial number 5th module number 5th module module controlled SD1575 CC Link module channel CC Link module channel Channel number 81 to 88 of the CC Link module 6th S Initial number 6th module number 6th module module controlled SD1576 CC Link module channel CC Link module channel Channel number 81 to 88 of the CC Link module 7th S Initial number 7th module number 7th module module controlled SD1577 CC Link module channel CC Link module channel Channel number 81 to 88 of the CC Link module 8th S Initial number 8th module number 8th module module controlled SD1578 CC Link IE Controller CC Link IE Controller Channel number 151 to 158 of the CC Link IE S Initial Network module channel Network module channel Controller Network module 1st module controlled number 1st module number 1st module SD1579 CC Link IE Controller CC Link IE Controller Channel number 151 to 158 of the CC Link IE S Initial Network module channel Network module channel Controller Network module 2nd module controlled number 2nd module number 2nd module SD1580 CC Link IE Controller CC Link IE Controller Channel number 151 to 158 of the CC Link IE S Initial Network module channel Network module channel Controller Network module 3rd module controlled number 3rd module number 3rd module SD1581 CC Link IE Controller CC Link IE Controller Channel number 151 to 158 of the CC Link IE S Initial Network module channel Network modul
277. tics using information occurrence processing exceeded the setting value CW Configurator and take any of the following error The multiple CPU synchronous interrupt corrective actions program 145 has not been completed e Review the process content of the multiple CPU within the cycle of the multiple CPU fixed synchronous interrupt program in order to cycle communication complete the process within the interval specified in Fixed Scan Interval Setting Modify the value specified to Fixed Scan Interval Setting to an appropriate value 1262H Multiple CPU e The execution interval of the multiple Check the detailed information time information of Time At interrupt synchronization CPU synchronous interrupt program the error by performing module diagnostics of CW information occurrence processing exceeded the setting value Configurator and take any of the following corrective error The multiple CPU synchronous interrupt actions program 145 has not been completed e Review the process content of the multiple CPU within an execution section of the synchronous interrupt program in order to program complete the process within the program execution section Modify the value specified to Fixed Scan Interval Setting to an appropriate value 1830H Receive queue Number of reception requests of transient Lower the transient transmission usage frequency Always full transmission exceeded upper limit of simultaneously proce
278. tion 9 50 Operation of program Once the inter module synchronization cycle is interacted with the cycle of the fixed cycle communication a multiple CPU synchronous interrupt program 145 and an inter module synchronous interrupt program 144 are executed in each inter module synchronization cycle The multiple CPU synchronous interrupt program 145 is executed first and then the inter module synchronous interrupt program 144 is executed Two inter module synchronization cycles are required for data obtained by the host CPU to reach to the other CPUs and delaying the output timing of the controlled module of the host CPU and the controlled module of other CPUs for two cycles is required for the output synchronized among CPU modules Point For C Controller module only the link devices of CC Link IE Field Network module RX RY RWr and RWw are refreshed at the input refresh and output refresh in an inter module synchronous interrupt program To import the I O signals X Y and the values from the buffer memory use the C Controller module dedicated function For details on processing of each interrupt program of C Controller module refer to the following section e Inter module synchronous interrupt program 144 5 Page 48 Fixed cycle synchronization function e Multiple CPU synchronous interrupt program 145 K Page 135 Multiple CPU synchronous interrupt 1 ropas lan Cycle of fixed cycle communic
279. tion Network module controlled by C periodically between stations on a Controller module network using link devices Transient transmission Performs data communication Uses devices or buffer memory in the other station Network module via between other station when the network communication request is issued Communication with different network can also be performed 5 ACCESS FUNCTION USING NETWORK MODULE 5 1 Data Communication via Network 67 68 5 2 Cyclic Transmission This section explains the specifications of the cyclic transmission when using C Controller module The following shows the data flow at cyclic transmission Sending side Receiving side C Controller module Network Network C Controller module module module Link Link device device 1 The sending side C Controller module writes data to the link device of the Network module 2 Data in the sending side link device is stored to the receiving side link device by link scan 3 The receiving side C Controller module reads data from the link device of the Network module Link device Link device is used for sharing data in Network module with other station on the network The data in each station is updated every link scan O Applicable x Not applicable Link input LX O x x Link output LY O x x Link relay LB O x x Link register LW O x x Remote input R
280. tion es Operation Rash il rocessin interrupt program o na o pi g o interrupt program 1 L 1 1 1 Fixed cycle communication Send area of i i i area Read Write T CPU No 1 Send data of i CPU No 2 Send data of CPU No 2 gt Receive area of El IPR E AR gt CPU No 1 i 1 1 1 1 i i Send data of i i i N CPU No 1 Receive area of gt CPU No 2 Mm Fixed cycle communication Read Write i area Send area of CPU No 2 i Operation Operation i Refresh processing Refresh Refresh processing Refresh a Multiple CPU l synchronous l 4 i 1 i Normal program interrupt program execution time s CPU module CPU No 2 i Multiple CPU synchronous 1 O Receiving data from other CPU refresh The data received from other CPU modules is read to a device The data in the host CPU receive area is read O Operation processing Multiple CPU synchronous interrupt program is executed O Sending data to other CPU refresh The data to be sent to other CPU modules is written from a device The data is written to the host CPU send area 1 Performed with the C Controller module dedicated functions CCPU_ToBufHG_ISR CCPU_FromBufHG_ISR Point Data communication will not be performed if the multiple CPU synchronous interrupt program 145 is not registered 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 7 4 Data Communication Between
281. tput LY DevLY 1 to DevLY 255 Link relay LB DevLB 1 to DevLB 255 Link register LW DevLW 1 to DevLW 255 Remote input RX DevLX 1 to DevLX 255 Remote output RY DevLY 1 to DevLY 255 Remote register RWw DevLW 1 to DevLW 255 Rwr DevLW 1 to DevLW 255 Link special relay SB DevLSB 1 to DevLSB 255 DevLSB 1 to DevLSB 255 Link special register sw DevLSW 1 to DevLSW 255 DevLSW 1 to DevLSW 255 MAccess to a buffer memory of other station To access the buffer memory of other station specify a module access device or an intelligent function module device Remote input RX DevSPG 0 to DevSPG 255 Remote output RY Remote register RWw RWr Link special relay SB Link special register Sw MAccess to a control CPU module on other station For devices to be specified in a user program refer to the following manual MELSEC Q R C Controller Module Programming Manual 78 5 ACCESS FUNCTION USING NETWORK MODULE 5 3 Transient Transmission 5 4 Access Function of Each Network Module The network module access function transmits data to the devices on the network via the Network module controlled by the C Controller module CC Link IE Controller Network module The following shows the functions to transmit data via CC Link IE Controller Network module Applicable access method The following access methods are available Cyclic transmission Access by link refresh
282. tting to Enable of the CPU parameters is required 4 BASIC FUNCTIONS 4 3 Remote Operation Function The following table shows the operating status of C Controller module at the execution of the C Controller module dedicated function CCPU_Control No status change of the C Controller module dedicated function RESET STOP STOP STOP RESET RUN Switch RUN RUN STOP PAUSE a operation Operation with STOP STOP RESET CW Configurator PAUSE STOP RESET or SLMP Actual status STOP RUN STOP RESET Actual status STOP STOP RUN RUN PAUSE RESET PAUSE RUN RUN STOP RUN RUN STOP PAUSE Execution ofthe C STOP STOP RESET Controller sala PAUSE STOP RESET dedicated function Actual status STOP RUN STOP RESET Actual status STOP STOP RUN RUN PAUSE RESET PAUSE RUN RUN STOP RUN RUN STOP PAUSE Stop error STOP STOP RESET occurred Error STOP Error STOP Error STOP STOP RUN RESET Error STOP Error STOP Error STOP 1 Setting Remote Reset Setting to Enable of the CPU parameters is required 4 BASIC FUNCTIONS 4 3 Remote Operation Function 41 4 4 1 0 Module Intelligent Function Module Access Function The I O module and Intelligent function module s which are under the control of C Controller module can be controlled by creating user progr
283. ttings Time Setting Set the time setting function SNTP client DO Module Parameter gt Application Settings gt Time Setting Window E Fine Setting Time Setting SNTP Client SNTP Server IP Address Timer Setting After Power on and Reset E Execution Timing pur Time Intervals g Specified Time Hour Minute Day of Week El Clock Time Hour Minute pa Hour Minute ay of Week Sun 0 0 0 1 Disable Fixed Time 1 Minute Set Set Set Set Set Set Set Time Setting SNTP Client Select whether to use the FTP function of C Controller module e Not Use Not Use Use SNTP Server IP Address Set the IP address of the SNTP server 0 0 0 1 to 0 0 0 1 223 255 255 254 Timer Setting After Power on and Reset Select whether to execute the time setting function after powering ON Disable Disable or resetting the C Controller module Enable Execution Set the execution timing of the time setting e Fixed Time Fixed Time Timing Specified Time Intervals Time Intervals When Specified Time Intervals is selected set the time interval 1 to 1440 1 Minute minute for the time setting Specified Time Hour When Fixed Time is selected set the day of the week and the time Minute Day of Week hour minute when the time setting function is performed e Connect only one SNTP server on the system e The output time will be the same even if multiple modules obtains the time fr
284. twork with the number set to the routing parameters Check the routing parameters set to the related stations and related error does not exist correct them The specified CPU module cannot be communicated via the Perform data communication using the communication route network that is not supported by the specified CPU module supported by the specified CPU module 4A02H Network The specified station cannot be accessed Check whether any error occurred on the Network module related error or it is offline Check whether the settings for the network number and station number are correct 4A03H Network A request for network test was issued Check the request data of SLMP MC protocol related error 4B00H Target module An error occurred on the access destination or the relay Check the error occurred on the specified access destination related error station or relay station to the station to be accessed and take the The connection destination specification the I O number of corrective actions the requested module is invalid e Check the connection destination specification Request destination module I O No or PC No for the request data of SLMP MC protocol Check the stop error and take the corrective actions 4B02H Target module The request is not the one addressed to the CPU module Perform the operation to the module that can perform the related error specified function 4B03H Target module e The specified route is not supporte
285. ubishi 7 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 3 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 4 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 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 replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 207 TRADEMARKS Microsoft Windows Windows Vista Windows NT W
286. uest has been received Processing for response message Have all the received messages been processed Error processing For Ethernet communication the TCP socket function socket function is used Point FP When data has been sent from the sending side by calling the SEND function once the receiving side is required to call one or more RECV function The ratio of the SEND function and the RECV function is not 1 to 1 Therefore the receive processing above is necessary for the program processing for the target device 6 Ethernet COMMUNICATION FUNCTIONS 6 2 Communication with SLMP 99 The following table shows the commands that can be used in C Controller module Device Read 0401 0001 Reads values from bit devices consecutive device number in 1 point unit 0000 e Reads values from bit devices consecutive device number in 16 point unit e Reads values from word devices consecutive device number in 1 word unit 0003 Reads values from bit devices consecutive device number in 1 point unit 0002 e Reads values from bit devices consecutive device number in 16 point unit Reads values from word devices consecutive device number in 1 word unit Write 1401 0001 Writes values to bit devices consecutive device number in 1 point unit 0000 e Writes values to bit devices consecutive device number in 16 point unit
287. uilt in symbol table INCLUDE_STANDALONE_SYM_TBL c line interpreter INCLUDE_SHELL_INTERP_C C symbol demangler INCLUDE_CPLUS_DEMANGLER C compiler support routines INCLUDE_CPLUS_LANG C core runtime INCLUDE_CPLUS C iostream and other standard library facilities INCLUDE_CPLUS_IOSTREAM cache support INCLUDE_CACHE_SUPPORT command line interpreter INCLUDE_SHELL_INTERP_CMD coprocessor INCLUDE_COPROCESSOR coprocessor show routine INCLUDE_COPROCESSOR_SHOW Core NFS client INCLUDE_CORE_NFS_CLIENT counting semaphore creation routine INCLUDE_SEM_COUNTING_CREATE counting semaphores INCLUDE_SEM_COUNTING Create Basic PPP Framework INCLUDE_PPP_FRAMEWORK debug shell commands INCLUDE_DEBUG_SHELL_CMD debugging facilities INCLUDE_DEBUG Device Manager INCLUDE_DEVICE_MANAGER DHCP client show routines INCLUDE_DHCPC_SHOW DHCP client timestamp setup INCLUDE_DHCPC_LEASE_GET DHCP Core files INCLUDE_DHCP_CORE DHCPva4 boot time client INCLUDE_DHCPC_BOOT APPENDICES APPENDIX 4 Appendix 8 VxWorks Component List 89 DHCPva4 client common library INCLUDE_DHCPC_SHARE DHCPv4 Client Lease Verification Assignment INCLUDE_DHCPC_LEASE_TEST DHCPva4 client timestamp storage INCLUDE_DHCPC_LEASE_SAVE DHCPv4 runtime client INCLUDE_DHCPC direct access to host filesystem INCLUDE_PASSF
288. ult your local Mitsubishi representative 3C13H Hardware A hardware failure has been detected e Take measures to reduce noise Failure Always failure e Reset the CPU module If the same error code is information displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3C14H Hardware A hardware failure has been detected Take measures to reduce noise Failure Always failure Reset the CPU module If the same error code is information displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 3C20H Memory error An error has been detected in the memory Take measures to reduce noise Failure At power Reset the CPU module If the same error code is information ON or displayed again the possible cause is a hardware RESET failure of the CPU module Please consult your local Mitsubishi representative APPENDICES APPENDIX Appendix 1 Error Code List 159 3C21H Memory error An error has been detected in the memory Take measures to reduce noise Failure At fixed Reset the CPU module If the same error code is information cycle displayed again the possible cause is a hardware processing failure of the CPU module Please consult your execution local Mitsubishi representative power ON or RESET 3C22H Memory error An error has been detected in th
289. ut of the range of 0 to 15 1 0000H is stored when the processing is normally completed In any of the following cases an operation error is caused and the latest self diagnostic error SMO turns ON Then an error code is stored in the latest self diagnostic error code SDO 4350 The specified target CPU module is wrong Check and correct the A CPU number set as reserved has been specified sequence program A CPU number of which module is not mounted has been specified The start I O number of the target CPU module divided by 16 n1 is out of the range of 3E0H to 3E3H 4351 The instruction cannot be executed on the specified target CPU module e The instruction name is wrong An instruction which is not supported by the target CPU was executed 4352 The number of devices of the specified instructions is incorrect 4353 An unavailable device is specified in the specified instruction 7 MULTIPLE CPU SYSTEM FUNCTIONS 14 7 5 Interrupt from Other CPU 3 Program example e Program in which the completion device and completion status are omitted D GINT H3E1 RST K10 MO e Program in which the completion device and completion status are used MO D GINT H3E1 K10 M100 D100 RST MO Normal complete program e When an interrupt event has already been notified from programmable controller CPU and C Controller
290. ution of the CCPU_ToBuf function Execution of the CCPU_FromBuf function Execution of the CCPU_FromBuf function 1 Device data of the user program is written to the CPU buffer memory by executing the C Controller module dedicated function CCPU_ToBuf 2 Device data of the user program is written to the CPU buffer memory by executing the C Controller module dedicated function CCPU_ToBuf 3 Device data of the CPU buffer memory in the C Controller module 1 is read to the user program by executing the C Controller module dedicated function CCPU_FromBuf 4 Device data of the CPU buffer memory in the C Controller module 2 is read to the user program by executing the C Controller module dedicated function CCPU_FromBuf 7 MULTIPLE CPU SYSTEM FUNCTIONS 4 7 4 Data Communication Between CPU Modules 33 Programmable controller CPU lt C Controller module Programmable controller CPU CPU buffer memory 1 gt Refresh area C Controller module CPU buffer memory Device User program For programmable controller CPU Execution of the CCPU_ToBuf function For C Controller module Execution of the CCPU_FromBuf function 1 Device data for programmable controller CPU are transferred to the refresh area 2 Device data of the user program is written to the CPU buff
291. utions for using C Controller modules O In refresh parameter settings the device Y cannot be specified for the link output LY refresh device or the remote output RY refresh device Therefore C Controller module holds the device status as is even after the module status is changed to STOP Design Precautions CAUTION O Do not install the control lines or communication cables together with the main circuit lines or power cables Keep a distance of 100mm or more between them Failure to do so may result in malfunction due to noise O During control of an inductive load such as a lamp heater or solenoid valve a large current approximately ten times greater than normal may flow when the output is turned from off to on Therefore use a module that has a sufficient current rating After the CPU module is powered on or is reset the time taken to enter the RUN status varies depending on the system configuration parameter settings and or program size Design circuits so that the entire system will always operate safely regardless of the time O Do not power off the programmable controller or do not reset the CPU module while the settings are being written Doing so will make the data in the flash ROM undefined The values need to be set in the buffer memory and written to the flash ROM again Doing so may cause malfunction or failure of the module O When changing the operating status of the CPU module from external devices
292. whether or not to use the inter module e Not Use Not Use synchronization function Use Select Synchronous Detailed Setting Set the module to be synchronized Do not Synchronize Do not Target Unit between Unit e Synchronize Synchronize Synchronous Fixed 0 05ms Unit Setting Set whether or not to set the inter module e Not Set Not Set Scan Interval Setting synchronization cycle in 0 05 ms units Set ee 4 within the Modules Fixed Scan Interval Setting Select the inter module synchronization cycle from 0 222ms 0 888ms Not Set by 0 05ms the list when it is not set in 0 05 ms units 0 444ms 0 888ms 1 777ms 3 555ms e 7 111ms Fixed Scan Interval Setting Set the inter module synchronization cycle when itis 0 10 to 10 00 ms in 0 05 0 50ms Set by 0 05ms set in 0 05 ms units ms units Synchronous Master Synchronous Master Setting When Set is selected a master station of CC Link e Not Set Not Set Setting within the of CC IE Field IE Field Network module is the synchronous master Set Modules When Not Set is selected the CPU module the leftmost CPU module for multiple CPU configuration is the synchronous master Mounted Slot No Set the mounting slot number for the master station O to 11 0 of CC Link IE Field Network module to be set as the synchronous master 1 The setting range for the inter module synchronization cycle differs depending on modules LA Manual for respective modules 4 BASIC FUNCTIONS
293. with the C Controller module dedicated function CCPU_GetlDinfo By implementing the activation function with a user program the user program which does not run in the C Controller module with other individual identification information can be created For C Controller module dedicated functions refer to the following manual LA MELSEC iQ R C Controller Module Programming Manual File access restriction By setting a file attribute system file attribute or hidden file attribute for the files under the following types of memory alteration of the target file from an unauthorized user and data leakage to outsider can be prevented e Program memory e Data memory SD memory card e USB Mass Storage Class compliant device Point FP If the SD memory card and the USB Mass Storage Class compliant device is inserted to a device other than C Controller module such as a personal computer all the files will be accessible For restricting the access to the files in the SD memory card and the USB Mass Storage Class compliant device take appropriate measures so that the SD memory card and the USB Mass Storage Class compliant device cannot be removed from C Controller module at will e Access restriction cannot be set for folders 4 BASIC FUNCTIONS 4 11 Security Function 63 64 Setting access restriction Change the file attribute using the security password set with CW Configurator For details on attrib command refer to the manual
294. y execute the request Or change the file name and error execute the request again 4029H File related The specified file capacity cannot be reserved Review the specified file capacity and execute the request error again 402AH File related The specified file has an error Back up the data in the CPU module and then initialize the error memory 402BH File related The request cannot be executed in the specified drive Execute the request again after placing the CPU module into error memory the STOP state 402CH File related The request cannot be executed currently Execute it again after a while error 4030H Device The specified device name cannot be handled Check the specified device name specification error 4031H Device The specified device number is out of range e Check the specified device number specification error The CPU module does not support the specified device name Check the device assignment of the CPU module e Check the specified device name 162 APPENDICES APPENDIX Appendix 1 Error Code List 4032H Device specification error The specified device modification is incorrect Or the device names TS TC SS SC CS or CC which cannot be used for random read random write in word units monitor registration monitor command of SLMP MC protocol have been specified e Check the specified device modification method Check the specified device name
295. y refresh when C Controller module is on the receiving side When the CPU number based data assurance is enabled the data is not assured Programmable controller CPU C Controller module Programmable controller CPU Programmable controller CPU CPU No 1 CPU No 2 CPU No 3 CPU No 4 CPU buffer CPU buffer CPU buffer CPU buffer memory memory memory memory o gt Without refresh function Device Device Device Device Notifies the contents equivalent to SM400 read completion in each refresh cycle OThe data is written from the program At END processing of the CPU No 1 the data is written O At END processing of each CPU the data is read OThe data read completion from each CPU is notified to the CPU No 1 The update to the following data is not performed until the notification of the data read completion is received from other CPUs No 2 to No 4 DINC DO 4 28 7 MULTIPLE CPU SYSTEM FUNCTIONS 7 4 Data Communication Between CPU Modules Communication by refresh when C Controller module is on the sending side When the CPU number based data assurance is enabled the data is not assured C Controller module Programmable controller CPU Programmable controller CPU Programmable controller CPU CPU No 1 CPU No 2 CPU No 3 CPU No 4 CPU buffer CPU buffer CPU buffer CPU buffer memory memory memory memory ro Without refresh function 2 i Device Device Device Po Po CCPU_T6BufHG
296. ycle or the status is changed in the system Initial Set only when performing an initial operation such as power ON STOP gt RUN Status change Set only when the status is changed Error occurrence Set if an error occurs Switch change Set when the switch is changed Do not change the special registers which are to be set by the system using operations such as program execution and device test Doing so may result in system failure or disconnection of communication 4 APPENDICES APPENDIX 76 Appendix 6 Special Register List ostic information The special registers related to the diagnostics information are as follows module number module number module verification error has been detected is stored SDO Latest self diagnostic error Latest self diagnostic error Error codes are stored in hexadecimal when an error is S At error occurrence code code detected with the diagnostics The same information as the latest information displayed on the error history is displayed SD1 Self diagnostic error Self diagnostic error The year four digits when SDO data was updated is S At error occurrence occurrence time occurrence time stored as a BIN code SD2 The month when SDO data was updated is stored as a BIN code SD3 The date when SDO data was updated is stored as a BIN code SD4 The hour when SDO data was updated is stored as
Download Pdf Manuals
Related Search
Related Contents
GE GX1S15C Stereo System User Manual はじめに - 伊藤鉄工 操作性、信頼性を要求する粘度測定に - Fisher Scientific 取扱説明書 レンジフード Sencor SRC 108 S Minka Lavery 1566-477 Installation Guide diamond t302 - The Fitness Solution CAR2-701U Combo Port ADSL2/2+ Modem Router Human Complement Factor B ELISA Kit Copyright © All rights reserved.
Failed to retrieve file