Download  Print this page

Advertisement

MELSEC iQ-R C Controller Module
User's Manual (Application)
-R12CCPU-V

Advertisement

Table of Contents

   Also See for Mitsubishi Electric MELSEC iQ-R C R12CCPU-V

   Related Manuals for Mitsubishi Electric MELSEC iQ-R C R12CCPU-V

   Summary of Contents for Mitsubishi Electric MELSEC iQ-R C R12CCPU-V

  • Page 1 MELSEC iQ-R C Controller Module User's Manual (Application) -R12CCPU-V...
  • Page 3: Safety Precautions

    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: " WARNING"...
  • Page 4 [Design Precautions] WARNING ● 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.
  • Page 5 [Design Precautions] WARNING ● 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.
  • Page 6 [Design Precautions] CAUTION ● 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. ●...
  • Page 7 [Installation Precautions] WARNING ● 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] ●...
  • Page 8 [Wiring Precautions] 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.
  • Page 9 [Wiring Precautions] CAUTION ● 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.
  • Page 10 [Startup and Maintenance Precautions] CAUTION ● 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.
  • Page 11 [Startup and Maintenance Precautions] CAUTION ● 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] CAUTION ●...
  • Page 12: Conditions Of Use For The Product

    CONDITIONS OF USE FOR THE PRODUCT (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; 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.
  • Page 13: Introduction

    INTRODUCTION Thank you for purchasing the Mitsubishi MELSEC iQ-R series programmable controllers. This manual describes the memory, functions, devices, and parameters to use the module listed below. Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the performance of the MELSEC iQ-R series programmable controller to handle the product correctly.
  • Page 14: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 15 Remote PAUSE ................40 Remote RESET .
  • Page 16 CHAPTER 6 Ethernet COMMUNICATION FUNCTIONS Connection with MELSOFT product or GOT..........104 Connection via a hub.
  • Page 17 CPU number-based data assurance ............159 Functions that can be used for communication .
  • Page 18 Appendix 12Calculation Method for Heat Generation of C Controller Modules ......250 Appendix 13Communication Examples Using Serial Communication Module ......251 Appendix 14Added and Changed Functions .
  • Page 19: Relevant Manuals

    RELEVANT MANUALS Manual name [manual number] Description Available form MELSEC iQ-R C Controller Module User's Manual Explains the functions, devices, and parameters of a C Print book (Application) Controller module. e-Manual [SH-081369ENG] (this manual) MELSEC iQ-R C Controller Module User's Manual Explains the performance specifications, procedure before Print book (Startup)
  • Page 20: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description Base unit A generic term for main base units, extension base units, and RQ extension base units. C Controller module A generic term for MELSEC iQ-R series C Controller modules. C Controller module dedicated functions A dedicated function library offered by a C Controller module.
  • Page 21: Part 1 Programming

    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...
  • Page 22: Chapter 1 Executing Programs

    EXECUTING PROGRAMS Execution Order The following shows the execution order of the programs in a C Controller module. Initial processing Operation processing of a program Initial Processing The following shows the process when turning the power ON or resetting a module. •...
  • Page 23 MEMO 1 EXECUTING PROGRAMS 1.3 I/O Access Timing...
  • Page 24: Chapter 2 Operation Processing In C Controller Module

    OPERATION PROCESSING IN C Controller Module This chapter shows the operation processing in a C Controller module. Operation Processing Depending on Operating Status The operating statuses of a C Controller module are as follows: • RUN • STOP • PAUSE Operation processing in RUN state RUN is a state where performing output (Y) to each module and writing data to the buffer memory from a user program enabled.
  • Page 25: Operation Processing At Momentary Power Failure

    Operation Processing at Momentary Power Failure When the input power voltage fed to the power supply module is lower than the specified range, a 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, a C Controller module suspends processing with its output status retained.
  • Page 26: Chapter 3 Memory Configuration Of C Controller Module

    MEMORY CONFIGURATION OF C Controller Module Memory Configuration This section shows the memory configuration of C Controller modules. CPU built-in memory Device/label Program memory memory CPU buffer memory Data memory System memory Memory card SD memory card USB device USB Mass Storage Class-compliant device *1 CPU built-in memory is a generic term for the built-in memory in a C Controller module.
  • Page 27: Device/label Memory

    Device/label memory 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. Area Application 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.
  • Page 28: Memory Operation

    Memory Operation Memory can be initialized and values can be cleared in a C Controller module with CW Configurator. For details on the memory operation, refer to the following manual. CW Configurator Operating Manual Item Description Initialization Formatting program memory/data memory Deletes all the folders and files in the program memory and data memory.
  • Page 29: Files

    Files This section shows the files of a C Controller module. Drive names and file systems The following table shows drive names and file systems that correspond to each memory. Type Name Drive name File system CPU built-in memory Program memory FAT16 Data memory FAT16...
  • Page 30: File And Folder Configuration

    File and folder configuration The following shows the configurations of files and folders. : Access allowed/Valid, : Access not allowed/Invalid, : No folder Drive Folder File FTP access Factory setting After initialization       MELPRJ  ...
  • Page 31 ■File names and folder names Use alphanumeric characters and special characters (excluding \, /, *, ?, <, >, |, :, ", $) for a file name and folder name to be stored. Otherwise, the following symptoms may occur. • Garbled file name and folder name •...
  • Page 32 MEMO 3 MEMORY CONFIGURATION OF C Controller Module 3.4 Files...
  • Page 33: Part 2 Functions

    PART 2 FUNCTIONS This part comprises the following chapters. 4 BASIC FUNCTIONS 5 ACCESS FUNCTION USING NETWORK MODULE 6 Ethernet COMMUNICATION FUNCTIONS 7 CC-Link IE Field Network Basic FUNCTION 8 MULTIPLE CPU SYSTEM FUNCTIONS...
  • Page 34: Chapter 4 Basic Functions

    BASIC FUNCTIONS This chapter shows the basic functions of C Controller modules. Program Monitoring (WDT) Function This function monitors and detects errors on hardware and a user program by using the watchdog timer (WDT), an internal timer of a C Controller module. Item Description System watchdog timer...
  • Page 35: Timeout Of Watchdog Timer

    Timeout of watchdog timer When the watchdog timer times out, an error indicating that the monitoring time set in the watchdog timer setting has been exceeded (watchdog timer error) occurs. If a user watchdog timer error occurs, the BUS RUN LED turns OFF and the ERROR LED starts flashing.
  • Page 36: Clock Function

    Clock Function C Controller modules have clock data internally. The clock is used to manage time for functions controlled by the system including time stamp for the event history. • The clock is running continuously using the internal battery of the C Controller module while the power of the module is OFF or a power failure longer than the allowable momentary power failure time occurred.
  • Page 37: Time Zone Setting

    Time zone setting Set a time zone used in a C Controller module. Specifying the time zone enables the clock in the C Controller module to work in the local time zone. [CPU Parameter]  [Operation Related Setting]  [Clock Related Setting] Window Displayed items Item...
  • Page 38: Daylight Saving Time Function

    Daylight saving time function The daylight saving time function adjusts the time of a C Controller module to daylight saving time. This function advances the time of a C Controller module by one hour on the start date and time, and reverses it by one hour on the end date and time.
  • Page 39 Daylight saving time settings Set a start date and time, and an end date and time for daylight saving time. [CPU Parameter]  [Operation Related Setting]  [Clock Related Setting]  [Setting to Adjust Clock for Daylight Saving Time] Window Displayed items Item Description...
  • Page 40 Precautions • The clock data cannot be changed to data less than one hour from the start date and time of daylight saving time. When the daylight saving time setting is enabled for the CPU No.1 in a multiple CPU system, the clock data in the CPU No.2 to 4 also cannot be changed in the same way.
  • Page 41: Remote Operation Function

    Remote Operation Function The operating status of a C Controller module can be controlled with CW Configurator, a user program, and SLMP. The following types of remote operation are available: • Remote RUN/STOP • Remote PAUSE • 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.
  • Page 42: Remote Pause

    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...
  • Page 43 Executing remote operations The following methods are available to execute remote RESET: ■Using CW Configurator Refer to the following manual. CW Configurator Operating Manual ■Using a user program Execute the C Controller module dedicated function (CCPU_Reset) to perform remote RESET. MELSEC iQ-R C Controller Module Programming Manual ■Using SLMP Refer to the following manual.
  • Page 44: Remote Operation And Operating Status Of A C Controller Module

    Remote operation and operating status of a C Controller module The following shows the relationship between remote operations and operating status changes of a C Controller module. Status change by switch operation and at stop error The following table shows the operating status of a C Controller module by switch operation and at a stop error. : No status change Before changing the operating status After changing the operating status...
  • Page 45 Status change by remote operations with CW Configurator and SLMP The following table shows the operating status of a C Controller module by remote operations with CW Configurator and SLMP. : No status change Before changing the operating status After changing the operating status Factor to Operating status RESET/STOP/...
  • Page 46 Status change at the execution of the C Controller module dedicated function The following table shows the operating status of a C Controller module at the execution of the C Controller module dedicated function (CCPU_Control). : No status change Before changing the operating status After changing the operating status Factor to Operating status...
  • Page 47: Device Access Function

    Device Access Function Data can be read from/written to devices and buffer memory of an intelligent function module controlled by a CPU module or a C Controller module by using the dedicated function library. For accessible modules and routes, refer to the following manual. MELSEC iQ-R C Controller Module Programming Manual Data can be read from/written to devices and buffer memory of a C Controller module by using a peripheral device (such as CW Configurator).
  • Page 48: Interrupt Function To C Controller Module

    Interrupt Function to C Controller Module This function executes a routine (user program) registered by using the C Controller module dedicated function (CCPU_EntryInt) as an interrupt routine (interrupt program) when an interrupt request is issued to a C Controller module from an input module, interrupt module, intelligent function module, and another CPU module.
  • Page 49: Interrupt Procedure

    Interrupt procedure Executing interrupt routines C Controller Module (User program) 1. Execute the CCPU_EntryInt function. 2. Execute the CCPU_EnableInt function. Interrupt routine (interrupt program) registration table Interrupt routine (interrupt program) 1 Interrupt routine (interrupt program) 2 (Empty) Execute an interrupt routine (interrupt program). 3.
  • Page 50 Restarting user programs C Controller Module (User program) 1. Execute the CCPU_WaitUnitEvent function. User program is being executed. 2. In an interrupt event wait state Restart Interrupt event notification 3. Issue an interrupt. Execute the C Controller module dedicated function (CCPU_WaitUnitEvent) while executing a user program. The user program is placed into a state of waiting for an interrupt event notification from the module.
  • Page 51: Fixed Cycle Processing Function

    Fixed Cycle Processing Function This function refreshes with a network module and performs data communication with an external device. The following processes are performed with the fixed cycle processing function. • Refresh processing with network modules (link refresh) • Reset processing of watchdog timer •...
  • Page 52: Inter-module Synchronization Function

    Inter-module Synchronization Function This function adjusts the input or output timing of modules to be synchronized to the inter-module synchronization cycle by matching the control timing of signals among multiple modules. Input module Output module A/D converter module C Controller module D/A converter module Inter-module synchronization cycle Inter-module synchronization cycle...
  • Page 53: Fixed Cycle Synchronization Function

    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 acquired by the encoder input at the fixed cycle, and also enables the highly accurate model prediction control by the accurately-tracked input/output timing.
  • Page 54 Processing of an inter-module synchronous interrupt program (I44) The following shows the processing of an inter-module synchronous interrupt program (I44). ■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 •...
  • Page 55: Interaction With Cycle Of The Fixed Cycle Communication Of The Multiple Cpu System Function

    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.
  • Page 56 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 (I45) and an inter-module synchronous interrupt program (I44) are executed in each inter- module synchronization cycle. The multiple CPU synchronous interrupt program (I45) is executed first, and then the inter-module synchronous interrupt program (I44) is executed.
  • Page 57: Parameter Setting

    Parameter setting Set a module configuration diagram with CW Configurator to configure the inter-module synchronization setting. [System Parameter]  [Synchronization Setting within the Modules]  [Synchronization Setting within the Modules] Operating procedure Select "Use" for "Use Inter-module Synchronization Function in System". Click the "Detailed Setting"...
  • Page 58 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 158 Fixed scan communication setting) 4 BASIC FUNCTIONS 4.7 Inter-module Synchronization Function...
  • Page 59: Label Communication Function

    Label Communication Function Data can be read from/written to labels stored in CPU modules of other stations. Label communication flow CPU module C Controller module (reference side) (Label definition side) User program Obtain an information of the corresponding 1.Execute the mdGetLabelInfo function. devices using specified label (Label1, Label2).
  • Page 60 Accessible CPU modules The following table shows the accessible CPU modules. Product name Model name Programmable controller CPU R04CPU, R04ENCPU, R08CPU, R08ENCPU, R16CPU, R16ENCPU, R32CPU, R32ENCPU, R120CPU, R120ENCPU Process CPU R08PCPU, R16PCPU, R32PCPU, R120PCPU Label types which can be referred to The following table shows the label types that can be referred to from a C Controller module.
  • Page 61: Data Analysis Function

    Data Analysis Function This function performs data analysis processing such as fast Fourier transform, digital filter operation, calculation of a cross point between a wave and a specified value, and calculation of a standard deviation. This function enables the detection of machining errors by monitoring current wave and the preventive maintenance of devices by analyzing vibrations.
  • Page 62: Output Mode Setting Function From Stop To Run

    4.10 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. [CPU Parameter]  [Operation Related Setting]  [Output Mode Setting of STOP to RUN] Window Displayed items Item...
  • Page 63: Memory Card Function

    4.11 Memory Card Function This section shows the functions that use an SD memory card. Boot operation The files stored in an SD memory card are transferred to the transfer destination memory which is automatically determined by the C Controller module when turning the power OFF and ON, or resetting the module. To perform the boot operation, enabling "Memory card parameter execution"...
  • Page 64: Enable/disable The Use Of File/data On Memory Card

    Maximum number of boot files allowed The maximum number of boot files allowed is 512. However, the maximum number of boot files is the same as the number of files possible to be stored in the transfer destination memory because more than one file is bootable for a single setting. Precautions •...
  • Page 65: Ras Function

    4.12 RAS Function Self-diagnostic function Diagnose the presence of any abnormality in the C Controller module 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.
  • Page 66 Operation at error detection of an 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 65 Operation setting when an error is detected in an intelligent function module) ■When "Stop"...
  • Page 67 Operation setting when an error is detected Set the operation of a C Controller module when an error is detected. [CPU Parameter]  [RAS Setting]  [CPU Module Operation Setting at Error Detected] Window Displayed items Item Description Setting Default range Memory Card Error Set the C Controller module operation upon a memory...
  • Page 68: Error Clear Function

    LED display setting Sets whether to turn the ERROR LED ON/OFF. [CPU Parameter]  [RAS Setting]  [LED Display Setting] Window Displayed items Item Description Setting Default range ERROR LED Minor Error (Continue Set whether to turn the ERROR LED ON when a minor error occurred. •...
  • Page 69 Error code Error name 1157H Receive buffer securement error 1165H UDP/IP send failed 1166H TCP/IP send failed 1167H Unsend data send error 1200H, 1210H Module moderate error 1220H Another CPU module moderate error 1240H, 1241H Inter-module synchronization processing error 1260H, 1262H Multiple CPU synchronization processing error 1830H Receive queue full...
  • Page 70: Event History Function

    Event history function A 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.
  • Page 71 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.
  • Page 72 ■File creation timing An event history file is created when: • When the power is turned OFF and ON (no event history file exists/after the change of event history settings) • When a C Controller module is reset (no event history file exists/after the change of event history settings) •...
  • Page 73: Security Function

    However, this function does not prevent unauthorized access completely. Incorporate measures other than this function if the C Controller system's safety must be maintained against unauthorized access from an external device. Mitsubishi Electric Corporation cannot be held responsible for any system problems that may occur from unauthorized access.
  • Page 74: File Access Restriction

    File access restriction A file attribute can be set for the files stored in the following types of memory. By setting a file attribute, access to a target file can be restricted, and falsification by an unauthorized user and data leakage to outside can be prevented. •...
  • Page 75 Checking file access restriction status File access restriction status can be checked by executing the Shell command or the C Controller module dedicated function (CCPU_GetFileSecurity). File access restriction status cannot be checked by using the script file (STARTUP.CMD). Canceling/re-setting file access restriction Change the file access restriction status by using the Shell command, the script file (STARTUP.CMD), or a user program.
  • Page 76: Service Settings

    Service settings Set the services for a C Controller module. By restricting the services, unauthorized access from other users can be prevented. A security password is required for changing service settings. (MELSEC iQ-R C Controller Module User's Manual (Startup)) [CPU Parameter]  [Service Settings] Window Displayed items Item...
  • Page 77: Locked Out

    Password setting ■Current password Enter the current security password. ■New password and confirmation password To change the security password, enter a new security password in "New Password" and "Confirm New Password". Precautions ■CW Configurator operation When the CW Configurator operation is disabled, the parameters cannot be set. To enable the service, initialize C Controller module.
  • Page 78: Chapter 5 Access Function Using Network Module

    ACCESS FUNCTION USING NETWORK MODULE C Controller modules can perform data communication with a device connected to a network via a network module. Access source Access target Access using Network module In a multiple CPU system configuration, the access via a network module which is controlled by another CPU is not available.
  • Page 79: Cyclic Transmission

    Cyclic Transmission This section shows the specifications of the cyclic transmission when using a C Controller module. Data flow The following shows the data flow at cyclic transmission. Sending side Receiving side C Controller module Network Network C Controller module module module Link...
  • Page 80 ■Link device access function The link devices can be accessed from a user program using function(s) of dedicated function library. The following figure shows how to access a link device in the controlled network module from a C Controller module. C Controller module Network module Network module...
  • Page 81: Access By Link Refresh

    Access by link refresh This method is used to access the devices of a C Controller module from a user program using link refresh. Data flow The following figure shows the data flow of link refresh. C Controller module Network module Network module User program Link...
  • Page 82 ■Refresh 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 Device (Network Configuration Settings) Range set with "Network...
  • Page 83 ■Assurance 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. 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.
  • Page 84 ■User program functions The devices can be accessed from a 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 Link refresh The following shows the functions used to access devices by link refresh. Dedicated function library Description CCPU_WriteDevice...
  • Page 85: Direct Access

    Direct access This method is used for direct access to link devices in a network module from a user program. Data flow The following figure shows the data flow for direct access to link devices of a network module. C Controller module Network module Network module User program...
  • Page 86: Buffer Memory Access

    Buffer memory access This method is used to access the buffer memory of a network module from a user program. Data flow The following figure shows the data flow to access buffer memory of a network module. C Controller module Network module Network module User program...
  • Page 87: Transient Transmission

    Transient Transmission This section shows transient transmission using a C Controller module. There are two methods available for transient transmission: message transmission using the channel of the network module which is controlled by a C Controller module, and direct access to devices of another station. Message communication This method is used to read/write data using the channel of a controlled network module from a C Controller module.
  • Page 88: Access To Devices On Another Station

    ■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 reading and writing to one module are allowed. The number of channels differ depending on network types. ■User program functions The following shows the functions used for message communication.
  • Page 89 ■Access to the buffer memory of another station To access the buffer memory of another station, specify a module access device or an intelligent function module device. Link device MELSEC data link function Remote input DevSPG(0) to DevSPG(255) Remote output Remote register Link special relay Link special register...
  • Page 90: Access Function Of Each Network Module

    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 a C Controller module. CC-Link IE Controller Network module The following shows the functions to transmit data via a CC-Link IE Controller Network module. Available access methods The following access methods are available.
  • Page 91 Direct access This method is used for direct access to devices in a network module from a user program. The link device data in the network module is transmitted cyclically to another station. CC-Link IE Controller C Controller module Network module User program Link device Direct access...
  • Page 92: Cc-link Ie Field Network Module

    CC-Link IE Field Network module The following shows the functions to transmit data via a CC-Link IE Field Network module. Available access methods The following access methods are available. Transmission type Access method Cyclic transmission Access by link refresh Direct access Buffer memory access Transient transmission Message communication...
  • Page 93 Direct access This method is used for direct access to devices in a network module from a user program. The link device data in the network module is transmitted cyclically to another station. CC-Link IE Field C Controller module Network module User program Link device Direct access...
  • Page 94 Message communication A message communication can be performed via a CC-Link IE Field Network module controlled by a 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...
  • Page 95: Melsecnet/h Network Module

    MELSECNET/H network module The following shows the functions to transmit data via a MELSECNET/H network module. Available access methods The following access methods are available. Transmission type Access method Cyclic transmission Access by link refresh Direct access Transient transmission Message communication Access to devices on another station Access by link refresh This method is used to access devices of a C Controller module from a user program using link refresh.
  • Page 96 Direct access This method is used for direct access to devices in a network module from a user program. The link device data in the network module is transmitted cyclically to another station. MELSECNET/H C Controller module network module User program Link device Direct access Message communication...
  • Page 97: Cc-link Module

    CC-Link module The following shows the functions to transmit data via a CC-Link module. Available access methods The following access methods are available. Transmission type Access method Cyclic transmission Buffer memory access Transient transmission Access to devices on another station Buffer memory access This method is used to access the buffer memory of a network module from a user program.
  • Page 98: Processing Time

    Processing Time This section shows 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. CC-Link IE Controller Network The processing time when using CC-Link IE Controller Network is as follows.
  • Page 99 MELSECNET/H network The processing time when using MELSECNET/H network is as follows. • β : Total link refresh time (sending side) • β : Total link refresh time (receiving side) • KM1, KM2: Constant Network module mounting position RQ extension base unit 0.41 ×...
  • Page 100: Refresh Cycle

    Refresh cycle The following shows how to calculate the refresh cycle. For the setting method of refresh cycle, refer to the following section. Page 49 Fixed Cycle Processing Function How to decide the refresh cycle Follow the procedure below to decide the refresh cycle. Calculation of the total link refresh time Preliminary decision of the refresh cycle Pre-operation of the C Controller system...
  • Page 101: Transmission Delay Time Of Cyclic Transmission

    Transmission delay time of cyclic transmission The following shows the transmission delay time of cyclic transmission. CC-Link 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: •...
  • Page 102 ■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 a CC-Link IE Controller Network module. Comparison between Station-based block Calculated value Transmission delay time (ms) LT and LS data assurance LT >...
  • Page 103 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. 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.
  • Page 104 Transmission delay calculation 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. Item Description 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...
  • Page 105: Reduction Of Link Refresh Time

    Reduction of link refresh time The link refresh time can be shortened by reducing refresh points to a 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 ■Reducing refresh points using parameters In "Refresh Setting", set only the necessary range to be refreshed.
  • Page 106: Chapter 6 Ethernet Communication Functions

    Ethernet COMMUNICATION FUNCTIONS This chapter shows the communication function using Ethernet ports. 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.
  • Page 107: Connection Via A Hub

    Connection via a hub The following shows the settings when performing connection via a hub. Setting method ■Settings on C Controller module Set the IP address of the C Controller module in "Own Node Settings" under "Basic Settings" of the module parameter. (Page 118 Own node settings) When connecting devices with specifying the network number and station number, specify them in "Own Node Settings"...
  • Page 108: Direct Connection

    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 "Connection via HUB" for the connection method, and enter the station number and IP address or host name of the C Controller module.
  • Page 109 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. Click the [OK] button once the setting is completed. When connecting directly with C Controller module, the setting above can also be performed by clicking the [CPU Module Direct Coupled Setting] button in the "Specify Connection Destination"...
  • Page 110 Precautions ■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 •...
  • Page 111: Communication With Slmp

    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 a C Controller module can be performed. For details on SLMP, refer to the following manual. SLMP Reference Manual Accessible ranges •...
  • Page 112 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 The monitoring timer value times out. received within the period of the monitoring timer value? The received data size is...
  • Page 113 Command list The available commands for C Controller modules are as follows. Item Comman Subcommand Description Type Operation Device Read 0401 001 Reads values from bit devices (consecutive device number) in 1-point units. 000 • Reads values from bit devices (consecutive device number) in 16-point units. •...
  • Page 114 ■Processing points for Test (random write) Set the processing points within the value which can be acquired with the following formula. (Number of word access points) × 12 + (Number of double word access points) × 14 ≤ 1920 • For bit devices, 1-point equals 16-bit for word access. As for double word access, 1-point equals 32-bit. •...
  • Page 115: Ftp Function

    FTP Function The server function of FTP (File Transfer Protocol), which is a protocol used to transfer a file for a target device, is supported. A target device with the FTP client function can access the file in a C Controller module. File operation The following operations can be performed for a file in a C Controller module from a target device with the FTP client function.
  • Page 116: Time Setting Function

    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. • The time information acquired from the time information server is Coordinated Universal Time (UTC). The acquired UTC time information is adjusted according to the time zone setting of the CPU module, and is set to the CPU module.
  • Page 117: Telnet Function

    Telnet Function This function executes the Shell command with a Telnet tool in a personal computer without using CW Workbench for a TCP/ IP network. This allows simple remote debugging (such as task information display and memory dumping) of a C Controller module.
  • Page 118 ■Timeout When the line is disconnected during Telnet connection, it will take 30 seconds before Telnet connection (TCP) 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. ipcom_sysvar_set("iptcp.KeepIdle", "XX", 1);...
  • Page 119: Security Function

    However, this function does not prevent unauthorized access completely. Incorporate measures other than this function if the C Controller system's safety must be maintained against unauthorized access from an external device. Mitsubishi Electric Corporation cannot be held responsible for any system problems that may occur from unauthorized access.
  • Page 120: Parameter Settings

    Parameter Settings This section shows the settings required for communication with a target device in a C Controller module. Own node settings Set the own node required for Ethernet communication. [Module Parameter]  [Basic Settings]  [Own Node Settings] Window Displayed items : No setting Item...
  • Page 121: External Device Configuration

    External device configuration Select the method and protocol used for communication with a target device. [Module Parameter]  [Basic Settings]  [External Device Configuration]  [<Detailed Setting>] Setting method Select the target device to be connected in "Module List" and drag it to "List of devices" or "Device map area". Set each item.
  • Page 122 Setting items The following shows the setting items for "External Device Configuration". Item Description Setting range Connection numbers for distinguishing the settings for each It is set in ascending order from 1 user connection. within the following range. C Controller module: 1 to 16 ...
  • Page 123: Ftp Server Settings

    ■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.
  • Page 124: Time Setting

    Time Setting Set the time setting function (SNTP client). [Module Parameter]  [Application Settings]  [Time Setting] Window Displayed items Item Description Setting range Default Time Setting (SNTP Client) Select whether to use the FTP function of a C Controller module. •...
  • Page 125: Security

    Execution timing ■Specified Time (Hour, Minute, Day of Week) Set an execution time within the following range in "Clock Time (Hour, Minute)". Unit Setting range 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".
  • Page 126: Telnet Server Settings

    Telnet Server Settings Set the Telnet server. [Module Parameter]  [Application Settings]  [Telnet Server Settings] Window Displayed items Item Description Setting range Default Telnet Server Set whether to use the Telnet function of a C Controller module. • Not Use •...
  • Page 127: Chapter 7 Cc-link Ie Field Network Basic Function

    CC-Link IE Field Network Basic FUNCTION CC-Link IE Field Network Basic is a factory automation network using the standard Ethernet. Data is periodically communicated between a master station and slave stations using link devices (cyclic transmission). 192.168.3.3 192.168.3.1 192.168.3.2 192.168.3.4 RX, RWr RX, RWr RX, RWr...
  • Page 128: Cyclic Transmission Function

    Cyclic Transmission Function This function performs periodical data communication between a master station and slave stations using link devices. Data transition and link device assignment The following figure shows the data transitions between a master station and slave stations using link devices. RX, RWr RX, RWr ×...
  • Page 129 Setting method Assign link devices in "Network Configuration Settings". (Page 139 Network configuration settings) Assign link refreshes in "Refresh Settings". (Page 142 Refresh setting) Cyclic transmission is performed for a group which consists of up to 16 stations. For assignments of link devices and the one for link refreshes, however, the group number is not required to be taken into consideration.
  • Page 130 ■No response received from a slave station If the master station is unable to receive a response from a slave station due to power OFF or cable disconnection of the slave station, the master station waits for a response from the slave station within the timeout time set in the link scan setting. If no response is received within the specified number of times for disconnection detection, the master station disconnects the slave station.
  • Page 131 Link scan time after timeout If a timeout occurs due to the failure of a slave device, the link scan time will be changed depending on the setting value of the timeout time. • When the timeout time is shorter than the link scan time, the module operates with the value set for "Link Scan Time" in "CC-Link IEF Basic Setting".
  • Page 132: Link Refresh

    Link refresh This function automatically transfers data between devices and link devices of the master station. Link refresh is performed for each link scan time. (Page 138 Parameter Settings) Setting method A refresh target device is set in "Refresh Settings" under "CC-Link IEF Basic Setting". (Page 142 Refresh setting) Precautions ■Latched devices of a C Controller module If the device data of a C Controller module which is being latched is cleared to '0' by turning the power OFF and ON or...
  • Page 133: Operation Of Link Scans

    Operation of link scans After sending requests to all slave stations and subsequently receiving responses from all the slave stations, the master station starts another link scan. Link refresh is performed for each link scan time. (Page 138 Parameter Settings) Ò...
  • Page 134: Group Number Setting

    Group number setting This function divides slave stations into groups by setting a group number to each slave station and each of groups performs cyclic transmission. By organizing groups separating slave stations with shorter response processing time from ones with longer response processing time, the differences of the reference response times of each slave station does not affect the cyclic transmission.
  • Page 135 Data transitions of cyclic transmission The following figure shows the data transitions of cyclic transmission when a group number is set. ■Basic operation The master station sends requests, that vary from a group to group, to all salve stations. The slave stations receive multiple request messages from the master station;...
  • Page 136: Input And Output Status When An Error Occurred

    Input and output status when an error occurred This section shows the status of input from a data link error station, and output status of cyclic data when a stop error occurs in a C Controller module. Status Operation Stats of input from a data link error station RX is cleared.
  • Page 137: Output Status When A C Controller Module Is In Stop State

    Output status when a C Controller module is in STOP state The cyclic data output is retained when a C Controller module is in STOP state. Reserved station specification This functions reserves a station (a station which is not actually connected but counted as a connected station) for future use. A reserved station is not detected as an error station even if it is not actually connected.
  • Page 138: Programming

    Programming This chapter shows the programming of CC-Link IE Field Network Basic when using a C Controller module. Interlock program for cyclic transmission When creating a cyclic transmission program, configure an interlock so that the processing is performed when normal cyclic transmission between the master station and slave stations is performed.
  • Page 139 Programming example The following shows an example of cyclic transmission using C Controller module dedicated functions. ■Cyclic transmission program which is synchronized with link scans Register a cyclic data processing routine (A) for link refreshes with the C Controller dedicated function (CCPU_EntryCCIEFBRefEndFunc).
  • Page 140: Parameter Settings

    Parameter Settings This section shows the parameter settings for a master station. Set the parameters of the master station with CW Configurator. CC-Link IEF Basic setting Configure the basic settings such as whether to use CC-Link IE Field Network Basic. Window [Module Parameter] ...
  • Page 141 Network configuration settings Set the network configuration settings. Window (1) List of stations (2) Device map area (3) Drag and drop Displayed items Item Description Setting range Default   [Detect Now] button Connected devices are automatically detected. (This function cannot be used for this product.) [Link Scan Setting] button Configure the link scan setting.
  • Page 142 Item Description Setting range Default IP Address Specify the IP address of a slave station. 0.0.0.1 to • First to third octet: 223.255.255.254 first to third octet of the IP address of the master station • Fourth octet: Automatically numbered from the number not in use from 1 to 254 in ascending...
  • Page 143 ■Link scan setting Set timeout time and number of retries for slave station disconnection detection. The parameter is used as an initial parameter. By using a C Controller dedicated function, the initial parameter can be changed dynamically. (Page 137 Parameter change example) Window Displayed items Item...
  • Page 144 Refresh setting Set refresh parameters. Window Displayed items Item Description Setting range Default   Link Side The number of points for the link devices (RX/RY, RWr/RWw) for the number of occupied stations and start/end device number set in the network configuration settings are displayed. CPU Side Target The target for link refresh is displayed.
  • Page 145: Cc-link Ie Field Network Basic Diagnostics

    CC-Link IE Field Network Basic diagnostics Perform troubleshooting by performing the CC-Link IE Field Network Basic diagnostics and checking the network status and error details. How to execute diagnostics Connect CW Configurator to a C Controller module on the master station. Start the CC-Link IE Field Network Basic diagnostics.
  • Page 146: Acquiring Diagnostic Information Of Slave Stations

    Acquiring diagnostic information of slave stations If an error occurs in a slave station or the cyclic data cannot be read or written correctly, check the status of each slave station with the following method for acquiring diagnostic information of slave stations. •...
  • Page 147: Processing Time

    Processing Time The processing time of CC-Link IE Field Network Basic consists of the time components below. • Link scan time + slave station response processing time = transmission delay time (1) Master station (2) Slave station (3) Link device (4) Link scan time (5) Response processing time of a slave station Link scan time...
  • Page 148: Transmission Delay Time

    Transmission delay time A transmission delay time includes an input transmission delay time and an output transmission delay time. Input transmission delay time The input transmission delay time indicates the following time. • Time between when a signal (RX) is input to a slave station and when a device of the master station turns ON or OFF •...
  • Page 149: Chapter 8 Multiple Cpu System Functions

    MULTIPLE CPU SYSTEM FUNCTIONS Each CPU module mounted on a base unit controls an I/O module and an intelligent function module, respectively. The data communication among CPU modules on a base unit can also be performed. • 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.
  • Page 150: Out-of-group I/o Fetch

    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.
  • Page 151 Importing input (X) data When "Import" is set for the input status in "I/O Setting Outside Group", the ON/OFF data from an input module or an intelligent function module controlled by another CPU 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.
  • Page 152: Operation Settings

    Operation Settings This section shows 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. [System Parameter]  [Multiple CPU Setting]  [Operation Mode Setting]  [Stop Setting] Window Displayed items Item...
  • Page 153: Settings For Synchronized Startup

    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.
  • Page 154: Multiple Cpu Parameter Check

    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.
  • Page 155: Data Communication Between Cpu Modules

    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. Communication method Application Description Data communication with CPU buffer Use this communication method when The sending side CPU module writes data to the CPU buffer memory in memory performing data send/receive at the...
  • Page 156 ■Prevention 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 area HG1000 4 words (64 bits) HG1004 Address of a multiple of 4...
  • Page 157 ■Setting refresh area For data communication with a multiple CPU synchronous interrupt program (I45) using the fixed cycle communication area, setting the refresh area is required. Set the refresh area in accordance with another CPU module with which data to be communicated. Click the [Setting] button in the refresh area to be set.
  • Page 158 Settings of data communication 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". [System Parameter] ...
  • Page 159 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 host CPU parameter setting will result in no error since the unset CPU is regarded as a reserved CPU for future setting.
  • Page 160: Fixed Scan Communication Setting

    Fixed scan 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. (MELSEC iQ-R Inter-Module Synchronization Function Reference Manual) [System Parameter]  [Multiple CPU Setting]  [Fixed Scan Communication Setting]  [Fixed Scan Interval Setting of Fixed Scan Communication] Window Displayed items...
  • Page 161: Cpu Number-based Data Assurance

    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 another CPU/data receiving from other CPU.
  • Page 162 ■Communication by 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...
  • Page 163 ■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...
  • Page 164 ■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. Programmable controller CPU C Controller module Programmable controller CPU Programmable controller CPU (CPU No.1) (CPU No.2) (CPU No.3) (CPU No.4) Fixed cycle...
  • Page 165 ■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)
  • Page 166 CPU number-bases data assurance setting Configure the CPU number-based data assurance setting. [System Parameter]  [Multiple CPU Setting]  [Communication Setting between CPU]  [PLC Unit Data] Window Displayed items Item Description Setting range Default PLC Unit Data Select this to prevent data inconsistency in each CPU •...
  • Page 167: Functions That Can Be Used For Communication

    Functions that can be used for communication The following shows the functions which are used for communication using each memory area in a multiple CPU system. C Controller module dedicated function Description CCPU_FromBuf To read data from the CPU buffer memory and intelligent function module buffer memory in the module on the specified module position.
  • Page 168 • Programmable controller CPU ⇔ C Controller module Programmable controller CPU C Controller module CPU buffer memory CPU buffer memory Refresh area Device User program For programmable controller CPU Execution of the CCPU_ToBuf function For C Controller module Execution of the CCPU_FromBuf function Processin Process at END processing in programmable controller Processing at execution of the function in a C Controller...
  • Page 169: Communication Using Fixed Cycle Communication Area

    Communication using fixed cycle communication area Data communication using the fixed cycle communication area is performed by using a multiple CPU synchronous interrupt program (I45). Multiple CPU synchronous interrupt Execute a multiple CPU synchronous interrupt program (I45) at the timing of the cycle of the fixed cycle communication set to the parameter.
  • Page 170 ■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 another CPU.
  • Page 171 • Programmable controller CPU (CPU No.1) ⇔ 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 Fixed cycle communication area of CPU No.1 Refresh area Fixed cycle communication area of CPU No.2 Fixed cycle communication area of CPU No.2...
  • Page 172 ■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 (I45) on the interrupt routine, and enable the registered routine. When a multiple CPU synchronous interrupt program (I45) 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 perform.
  • Page 173 Usage Register a multiple CPU synchronous interrupt program (I45) on the interrupt routine. (Page 46 Interrupt Function to C Controller Module) Enable the registered interrupt routine. (Page 46 Interrupt Function to C Controller Module) Configure the refresh settings. (Page 155 Setting refresh area) Interrupt timing The multiple CPU synchronous interrupt program (I45) is executed at the timing for the cycle of the fixed cycle communication.
  • Page 174: Interrupt From Another Cpu

    Interrupt from Another CPU An interrupt from another CPU module can restart the user program that is waiting for an interrupt event by the C Controller module dedicated function (CCPU_WaitEvent). C Controller module dedicated function Description CCPU_WaitEvent Waits for an interrupt event notification from another CPU. The following shows how to restart the user program which is waiting for an interrupt event.
  • Page 175: Interrupt From A C Controller Module

    Interrupt from a C Controller module The following figure explains how to interrupt from a C Controller module (another CPU). Operation timing Execute the CCPU_DedicatedDInst function. User program of C Controller module (other CPU) Issue an interrupt. Execute an interrupt routine (interrupt program).
  • Page 176: Interrupt From Programmable Controller Cpu

    Interrupt from programmable controller CPU The following figure shows how to interrupt from programmable controller CPU. Operation timing Sequence program Execute the D(P).GINT instruction. D(P).GINT instruction Issue an interrupt. Execute an interrupt routine (interrupt program). Interrupt routine of C Controller module (interrupt program) Interrupt routine is in wait state Interrupt routine is in wait state...
  • Page 177 ■Setting data Setting data Setting Setting side Data type (n1) Start input/output number of the target CPU divided by 16 User BIN16 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...
  • Page 178 ■Program example • Program in which the completion device and completion status are omitted D.GINT H3E1 • Program in which the completion device and completion status are used D.GINT H3E1 M100 D100 M100 M101 Normal complete program M101 Abnormal complete program Precautions •...
  • Page 179: Issuing An Interrupt To Another Cpu

    Issuing an Interrupt to Another CPU This function allows C Controller module to issue an interrupt to another CPU (C Controller module or motion CPU). An interrupt cannot be issued to programmable controller CPU. C Controller module dedicated function Description CCPU_DedicatedDInst Executes dedicated instructions categorized as 'D' or 'DP'.
  • Page 180: Appendix

    APPENDIX Appendix 1 Error Code List A 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 an engineering tool, intelligent function module, or network system, the C Controller module returns the corresponding error code to the request source.
  • Page 181 Detailed information When an error is detected with a self-diagnostic function, the detailed information of the error cause is stored all together. The 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.
  • Page 182: Operation When An Error Occurs

    Operation when an error occurs There are two types of errors: stop errors and continuation errors. Stop error In a 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 a CPU module can be performed even after the stop error occurs in the CPU module.
  • Page 183 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing  1166H TCP/IP send Data was not sent correctly with TCP/IP. • Check the settings for connection with the target Always failed device. • Check the operation of the target device or switching hub.
  • Page 184 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 1831H Receive Transient reception failed. Lower the transient transmission usage frequency, System Always processing and then perform again. configuratio error information  1832H Transient data Transient transmission cannot be Review the number of transient transmission Always...
  • Page 185 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 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.
  • Page 186 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 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...
  • Page 187 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 21A1H File The file specified in parameter cannot be • Check the detailed information (parameter Drive and At write, specification created. information) of the error by performing module file power ON, error...
  • Page 188 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 2240H Parameter In a multiple CPU system, an I/O module or Check the detailed information (parameter Parameter At power error (module) intelligent function module controlled by information) of the error by performing module information ON or...
  • Page 189 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 2263H Parameter Even though the CC-Link IE module or Set the system parameters and module parameters. Parameter At power error (network) MELSECNET/H module is mounted, the If the same error code is displayed again, the information ON or...
  • Page 190 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 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...
  • Page 191 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 2460H Another CPU An error was detected in another CPU • Take measures to reduce noise. System At power module major module during the initial processing. •...
  • Page 192 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 24C2H System bus • The I/O module or intelligent function • Check the detailed information (system System At module error module is not mounted properly or was configuration information) of the error by configuratio access,...
  • Page 193 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 2520H Invalid interrupt Even though an interrupt was requested, • Take measures to reduce noise. System At interrupt there is no interrupt factor. • Reset the CPU module. If the same error code is configuratio occurrence displayed again, the possible cause is a hardware...
  • Page 194 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing  3042H User WDT The user watchdog timer controlled by the • Reset the CPU module. Always error system has detected an error because the •...
  • Page 195 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 3C11H Hardware A hardware failure was detected. • Take measures to reduce noise. Failure At fixed failure • Reset the CPU module. If the same error code is information cycle displayed again, the possible cause is a hardware...
  • Page 196 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 3E40H Memory error An error was detected in the memory. • Take measures to reduce noise. Failure Always • Reset the CPU module. If the same error code is information displayed again, the possible cause is a hardware failure of the CPU module.
  • Page 197 Error Error name Error details and cause Corrective action Detailed Diagnosti code informati c timing 3E56H Hardware A hardware failure was detected. • Take measures to reduce noise. Failure At power failure • Reset the CPU module. If the same error code is information ON or displayed again, the possible cause is a hardware...
  • Page 198 Error code related to data communication (4000H to 4FFFH) The table below lists the error codes detected by other than the self-diagnostic function of CPU module. The error codes are not stored in SD0 since these error are not detected by the self-diagnostic function. Error Error name Error details and cause...
  • Page 199 Error Error name Error details and cause Corrective action code 4032H Device The specified device modification is incorrect. Or, the device • Check the specified device modification method. specification names (TS, TC, SS, SC, CS, or CC) which cannot be used for •...
  • Page 200 Error Error name Error details and cause Corrective action code 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...
  • Page 201 Error Error name Error details and cause Corrective action code 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. •...
  • Page 202: Appendix 2 Event List

    Appendix 2 Event List A 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 68 Event history function).
  • Page 203 Detailed information Indicates the contents of Detailed information 1 to 3. Detailed Item Description information Detailed information Operation initiator information The following shows the information on the operation source. • Connection port (connection information such as Ethernet and USB) • I/O number •...
  • Page 204: Event List

    Event list The following table shows the events for C Controller modules. Event Event Event Detected event Description Detailed information code type categor Detailed Detailed Detailed information 1 informatio informatio 0400 System Informatio Power ON and RESET The power has been turned ON ...
  • Page 205 Event Event Event Detected event Description Detailed information code type categor Detailed Detailed Detailed information 1 informatio informatio 10300 Security Informatio Access acceptance from Access from an IP address for Operation initiator Disconnecte  IP address prohibited which access is prohibited with information d IP address with the IP Filter...
  • Page 206: Appendix 3 Troubleshooting By Symptom

    Appendix 3 Troubleshooting by Symptom If any of the functions of a 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.
  • Page 207: Ethernet Communication Between C Controller Module And Personal Computer Cannot Be Established

    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. When the PING command response is incorrect Check the following items. Check item Corrective action The IP address segments of the personal computer and the C Controller Set the same segment to both the personal computer and C Controller...
  • Page 208: File Access Fails

    File access fails Check the following items. Check item Corrective action The CARD RDY LED is OFF when the read/write target is an SD memory Insert an SD memory card or re-insert an SD memory card. card. The USB RDY LED is OFF when the read/write target is a USB Mass Storage Connect a USB Mass Storage Class-compliant device or reconnect a USB Class-compliant device.
  • Page 209: An Error Occurs During User Program Execution

    An error occurs during user program execution Check the following items. Check item Corrective action 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. •...
  • Page 210: Drive Name Of The Sd Memory Card Is Not Displayed Properly

    Drive name of the SD memory card is not displayed properly Check the following items. Check item Corrective action 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.
  • Page 211: Appendix 4 Device List

    Appendix 4 Device List This section explains the available devices. Device list The following shows the available device names and ranges. Classification Type Device name Default value Number Setting range Number of Range of use points points setting  User device Bit device Input 4096 points...
  • Page 212 Device descriptions The following shows the overview of available devices. For more details on devices, refer to the following manual. MELSEC iQ-R CPU Module User's Manual (Application) Device name Description User device Input 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.
  • Page 213: Appendix 5 Special Relay List

    Appendix 5 Special Relay List The following shows how to read the list of special relay (SM). Item Description 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.
  • Page 214 System information The special relays for system information are as follows. Name Content Details Set by (when to set) SM220 CPU No.1 preparation OFF: CPU No.1 This device turns ON when the access from another CPU S (status change) completed preparation not module to the CPU No.1 is enabled after turning the completed...
  • Page 215: Appendix 6 Special Register List

    Appendix 6 Special Register List The following shows how to read the list of special registers (SD). Item Description 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.
  • Page 216 Diagnostic information The special registers for diagnostics information are as follows. Name Content Details Set by (when to set) Latest self- Latest self- Error codes are stored in hexadecimal when an error is detected with the S (at error occurrence) diagnostic error diagnostic error diagnostics.
  • Page 217 Name Content Details Set by (when to set) SD80 Detailed information Detailed information Detailed information 1 information category code is stored. S (at error occurrence) 1 information 1 information category category code b8b7 (1) Information category code (2) Not used (fixed to 0) The following codes are stored into the information category code.
  • Page 218 Name Content Details Set by (when to set) SD81 to Detailed information Detailed information ■(5) System configuration information S (at error occurrence) SD111 With or without specification SD81 SD82 I/O No. SD83 Base unit No. Slot No. Power supply module CPU module No.
  • Page 219 Name Content Details Set by (when to set) SD112 Detailed information Detailed information Detailed information 2 information category code is stored. S (at error occurrence) 2 information 2 information category category code b8b7 (1) Information category code (2) Not used (fixed to 0) The following codes are stored into the information category code.
  • Page 220 Name Content Details Set by (when to set) SD113 Detailed information Detailed information ■(5) System configuration information S (at error occurrence) SD143 With or without specification SD113 I/O No. SD114 SD115 Base unit No. Slot No. Power supply module CPU module No. SD116 Network No.
  • Page 221 System information The special registers for system information are as follows. Name Content Details Set by (when to set) SD200 Switch status CPU switch status The switch status of the CPU module is stored as follows: S (when the switch status (RESET/STOP/ 0: RUN, 1: STOP is changed)
  • Page 222 Name Content Details Set by (when to set) SD242 Determination of Identification of the Determines whether or not MELSEC-Q series module can be mounted. S (initial) mountability of base type When no module is mounted, the value is fixed to 0. MELSEC-Q series 0: MELSEC-Q module...
  • Page 223 Fixed cycle function information The special registers for fixed cycle function information are as follows. Name Content Details Set by (when to set) SD520 Current fixed cycle Current fixed cycle The current fixed cycle processing time is stored in SD520 and SD521. S (system) processing time processing time...
  • Page 224 Firmware update function The special registers for the firmware update function are as follows. Name Content Details Set by (when to set) SD912 Information on latest Histor Execution time (year) The value of the year (four digits) when the firmware update S (initial) firmware update was executed is stored as a BIN code.
  • Page 225 CC-Link IE Field Network Basic function The special registers for the CC-Link IE Field Network Basic function are as follows. Name Content Details Set by (when to set) SD1536 Cyclic transmission Cyclic transmission The cyclic transmission status of each station is stored. S (END processing) status of each status of each...
  • Page 226 Special registers for C Controller modules The special registers for C Controller modules are as follows: Name Content Details Set by (when to set) SD1552 Dot matrix LED Dot matrix LED The dot matrix LED lighting status on the C Controller module is stored. S (system) SD1561 SD1552...
  • Page 227 Name Content Details Set by (when to set) SD1574 CC-Link module CC-Link module Channel number (81 to 88) of the CC-Link module (5th module) controlled S (initial) channel number channel number (5th module) (5th module) SD1575 CC-Link module CC-Link module Channel number (81 to 88) of the CC-Link module (6th module) controlled S (initial) channel number...
  • Page 228 Name Content Details Set by (when to set) SD1589 CC-Link IE Field CC-Link IE Field Channel number (181 to 188) of the CC-Link IE Field Network module S (initial) Network module Network module (4th module) controlled channel number channel number (4th module) (4th module) SD1590...
  • Page 229: Appendix 7 Parameter List

    Appendix 7 Parameter List This section shows the list of parameters. System parameters The list of system parameters is shown below. Item Parameter No. I/O Assignment Base/Power/Extension Cable Setting Setting of base/power supply/extension cable model name 0203H Number of slots 0201H I/O Assignment Setting Setting of type/number of points/start XY/module status...
  • Page 230: Cpu Parameter

    CPU parameter The list of CPU parameters is shown below. Item Parameter No. 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...
  • Page 231: Module Parameter

    Module parameter The list of module parameters is shown below. Item Parameter No. 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 I/O Assignment Setting Base/Power/Extension Cable Setting Base 7002H...
  • Page 232: Appendix 8 Vxworks Component List

    Appendix 8 VxWorks Component List This section shows the list of the VxWorks components in a C Controller module. Description Name (component list) Altera SoC Gen 5 Fpga Manager support DRV_ALT_SOC_GEN5_FPGA_MGR __thread variables support INCLUDE_TLS Ability to restart/reset tasks INCLUDE_TASK_RESTART Address Space Allocator Show Routines INCLUDE_ADR_SPACE_SHOW address space shell commands...
  • Page 233 Description Name (component list) Attach END to IPv4 INCLUDE_IPATTACH AUX clock INCLUDE_AUX_CLK Basic IO system INCLUDE_IO_BASIC basic memory allocator INCLUDE_MEM_MGR_BASIC basic MMU (default) INCLUDE_MMU_BASIC basic network support (default) INCLUDE_NETWORK binary semaphore creation routine (default) INCLUDE_SEM_BINARY_CREATE binary semaphores (default) INCLUDE_SEM_BINARY Boot parameter process (default) INCLUDE_NET_BOOT BSP Memory Configuration INCLUDE_MEMORY_CONFIG...
  • Page 234 Description Name (component list) 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: common Enhanced Network Device support (default) INCLUDE_END_COMMON END: END-style interface support INCLUDE_END Error detection and reporting stub (always present). INCLUDE_EDR_STUB error status table INCLUDE_STAT_SYM_TBL...
  • Page 235 Description Name (component list) hook function table show support INCLUDE_HOOK_SHOW hook function table support INCLUDE_HOOKS host table (default) INCLUDE_HOST_TBL host table sysctl support INCLUDE_HOST_TBL_SYSCTL Host/target breakpoint synchronization INCLUDE_WDB_BP_SYNC host/target modules and symbols synchronization INCLUDE_WDB_MDL_SYM_SYNC HRFS Default Write Mode (default) INCLUDE_HRFS_DEFAULT_WRITE_MODE HRFS File System Consistency Checker INCLUDE_HRFS_CHKDSK HRFS Format...
  • Page 236 Description Name (component list) linkBufPool (default) INCLUDE_LINKBUFPOOL linked list library INCLUDE_LSTLIB Loopback Interface support (default) INCLUDE_IPNET_USE_LOOPBACK M_BLK ethernet/802.3 header build and parse INCLUDE_END_ETHER_HDR mapped files shell commands INCLUDE_MAPPED_FILES_SHOW_SHELL_CMD memory allocator info routines (default) INCLUDE_MEM_MGR_INFO Memory mapping INCLUDE_MMAP memory show routine INCLUDE_MEM_SHOW message queue info routines INCLUDE_MSG_Q_INFO...
  • Page 237 Description Name (component list) nullBufPool (default) INCLUDE_VXMUX_NULLBUFPOOL object information INCLUDE_OBJ_INFO object management (default) INCLUDE_OBJ_LIB object management ownership INCLUDE_OBJ_OWNERSHIP object show routines INCLUDE_OBJECT_SHOW oldRouteLib wrapper INCLUDE_IPWRAP_OLDROUTELIB PCI Bus legacy Auto Configuration Routines INCLUDE_PCI_OLD_CONFIG_ROUTINES PCI Bus Show Routines INCLUDE_PCI_BUS_SHOW Peripheral Component Interconnect Bus INCLUDE_PCI_BUS persistent error log INCLUDE_EDR_ERRLOG...
  • Page 238 Description Name (component list) raw filesystem INCLUDE_RAWFS rBuff library (default) INCLUDE_RBUFF rBuff show routine INCLUDE_RBUFF_SHOW read the bootline INCLUDE_BOOT_LINE_INIT reader/writer semaphores INCLUDE_SEM_READ_WRITE reader/writer semaphore creation routine INCLUDE_SEM_READ_WRITE_CREATE Remote Command (default) INCLUDE_REMLIB Remote Command sysctl support INCLUDE_REMLIB_SYSCTL Removable IO INCLUDE_IO_REMOVABLE ring buffers INCLUDE_RING_BUF routec INCLUDE_ROUTECMD...
  • Page 239 Description Name (component list) spinLock (default) INCLUDE_SPINLOCK INCLUDE_SPY Spy CPU activity commands INCLUDE_SPY_SHELL_CMD Stack/Application Logging Utility INCLUDE_APPL_LOG_UTIL stdio (default) INCLUDE_STDIO stdio show routine INCLUDE_STDIO_SHOW Support for reboot hooks (default) INCLUDE_REBOOT_HOOKS symbol shell commands INCLUDE_SYM_SHELL_CMD symbol table show routine INCLUDE_SYM_TBL_SHOW SYNOPSYS HCI INCLUDE_SYNOPSYSHCI SYNOPSYS HCI Init INCLUDE_SYNOPSYSHCI_INIT...
  • Page 240 Description Name (component list) USB Common Stack INCLUDE_USB USB Common Stack Init INCLUDE_USB_INIT USB GEN2 Helper Init INCLUDE_USB_GEN2_HELPER USB GEN2 Mass Storage INCLUDE_USB_GEN2_STORAGE USB GEN2 Mass Storage Init INCLUDE_USB_GEN2_STORAGE_INIT USB Host Class Driver Init INCLUDE_USB_HOST_CLASS_INIT USB Host Controller Start INCLUDE_HCD_BUS Use Authentication INCLUDE_IPCOM_USE_AUTH Uses native VxWorks shell...
  • Page 241 Description Name (component list) WDB target server file system INCLUDE_WDB_TSFS WDB task breakpoints INCLUDE_WDB_TASK_BP WDB task creation (default) INCLUDE_WDB_START_NOTIFY WDB task debugging (default) INCLUDE_WDB_TASK WDB task exit notification (default) INCLUDE_WDB_EXIT_NOTIFY WDB task hooks INCLUDE_WDB_TASK_HOOKS WDB task registers INCLUDE_WDB_TASK_REG WDB tasks (default) INCLUDE_WDB_CTXT WDB user event (default) INCLUDE_WDB_USER_EVENT...
  • Page 242: Appendix 9 Buffer Memory

    Appendix 9 Buffer Memory This chapter shows buffer memory. Buffer memory values are reset to default (initial values) when the power is turned OFF or the C Controller module is reset. Precautions Do not write any data in the "system area" of the buffer memory. Doing so may cause malfunction of this product.
  • Page 243: Buffer Memory Details

    Buffer memory details The following shows how to read the list of buffer memory details. Item Description Address Buffer memory address of a C Controller module. Name Buffer memory name of a C Controller module. Description Description of the buffer memory of a C Controller module. Set by (when to set) The following shows the timing to set each device by the system and/or a user.
  • Page 244 Address Name Description Set by (when to set) Un\G1030 Link scan Group No.1 maximum The maximum link scan time value during cyclic transmission is stored. S (status change ) information link scan (Unit: ms) Un\G1031 Group No.1 minimum The minimum link scan time value during cyclic transmission is stored. S (status change ) link scan...
  • Page 245 Address Name Description Set by (when to set) Un\G1052 Diagnostic information status flag For every refresh cycle when the bit 0 of 'Diagnostic information display S (status change ) request' (Un\G1050) is changed from OFF to ON, the status of the diagnostic information (Diagnostic information 1, Diagnostic information 2) of the slave station specified in 'Diagnostic request information' (Un\G1051) is stored.
  • Page 246: Appendix 10processing Time Of Functions

    Appendix 10 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 the dedicated function library, refer to the following manual. 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...
  • Page 247: Appendix 11 General Safety Requirements

    Appendix 11 General Safety Requirements When the power of a C Controller system is turned OFF and ON, 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.
  • Page 248 AC power Power the C Controller module ON. Run the C Controller module. Turn the start switch ON. The output devices are activated by using a user program when the relay (MC) turns ON. AC and DC power Power the C Controller module ON. Run the C Controller module.
  • Page 249: When The Err. Contact Of A Power Supply Module Is Used

    When the ERR. contact of a power supply module is used For AC and DC power Power supply Transformer Transformer Fuse Fuse C Controller module DC power (-) (+) Fuse User program Start/Stop circuit*1 Start switch RA1 RA3 Stop switch Use of a voltage relay is recommended.
  • Page 250 AC and DC power Power the C Controller module ON. Run the C Controller module. RA2 turns ON when DC power is established. XM turns ON when RA2 turns ON, and the processing is started with a user program after DC input signal has fully been established.
  • Page 251: Fail-safe Measures When A C Controller System Fails

    Fail-safe measures when a C Controller system fails Failures of a 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.
  • Page 252: Appendix 12calculation Method For Heat Generation Of C Controller Modules

    Appendix 12 Calculation Method for Heat Generation of C Controller Modules The temperature inside the control panel in which a C Controller module is installed must be 55 or lower, which is the operating ambient temperature of a 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.
  • Page 253: Appendix 13communication Examples Using Serial Communication Module

    Appendix 13 Communication Examples Using Serial Communication Module When communicating by using a serial communication module, data communication using nonprocedural protocol is required. This section shows the communication examples using a serial communication module in a C Controller module. For details on sample programs, please consult your local Mitsubishi representative. Receiving data from target devices The following shows the communication example when receiving data.
  • Page 254 Sending data to target devices The following shows the communication example when sending data. Target device Data send Data send completion start Serial communication module Send data Send Send request storage request ON Ò Ó Õ Ô Ö User program Input/output signal of serial communica- tion module Send normal completion...
  • Page 255: Appendix 14added And Changed Functions

    Appendix 14 Added and Changed Functions The following table shows the functions added and changed for a C Controller module and CW Configurator, the applicable firmware version for a C Controller module, and applicable software version for CW Configurator. : Not related to the firmware version or software version Added and changed function Firmware version Software...
  • Page 256: Index

    INDEX ..22 Operation processing in C Controller module ..22 Operation processing in PAUSE state ......41 Bus master CPU .
  • Page 257 MEMO...
  • Page 258: Revisions

    Japanese manual number: SH-081368-L 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.
  • Page 259: Warranty

    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.
  • Page 260: Trademarks

    TRADEMARKS Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan. The SD and SDHC logos are trademarks of SD-3C, LLC. VxWorks and Wind River are either registered trademarks or trademarks of Wind River Systems, Inc. Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.
  • Page 262 SH(NA)-081369ENG-L(1809)KWIX MODEL: R-CCPU-U-OU-E MODEL CODE: 13JX22 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.

Comments to this Manuals

Symbols: 0
Latest comments: