Mitsubishi Electric MELSEC iQ-R C R12CCPU-V Скачать руководство пользователя страница 86

84

5  ACCESS FUNCTION USING NETWORK MODULE
5.2  Cyclic Transmission

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.

User program functions

The following shows the functions used to access buffer memory of a network module.

Link devices specified with a function (buffer memory)

The following link devices are assigned to each specific address in the buffer memory.
In the dedicated function library, specify the device type with the device name defined for each function.

When using a C Controller module dedicated function, specify the offset of the buffer memory.
For details of buffer memory addresses for each link device, refer to the user's manual of the network module used.

Dedicated function library

Description

CCPU_ToBuf

To write data to the CPU buffer memory and intelligent function module buffer memory in the module on the specified 
module position.

CCPU_ToBuf_ISR

CCPU_FromBuf

To read data from the CPU buffer memory and intelligent function module buffer memory in the module on the specified 
module position.

CCPU_FromBuf_ISR

Link device

C Controller module dedicated function

Remote input

RX

Dev_SPB

Remote output

RY

Remote register

RWw

RWr

Link special relay

SB

Link special register

SW

C Controller module

Network module

Network module

User program

Link

device

Link

scan

Link

device

Buffer memory access

Buffer

memory

Содержание MELSEC iQ-R C R12CCPU-V

Страница 1: ...MELSEC iQ R C Controller Module User s Manual Application R12CCPU V ...

Страница 2: ......

Страница 3: ... manual in a safe place for future reference Considerations for using this manual Replace the terms used in the following pages in this manual with the terms shown on the right respectively Corresponding page SAFETY PRECAUTIONS CONDITIONS OF USE FOR THE PRODUCT and COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES 1 Programmable controller C Controller module 2 Programmable controller system C Co...

Страница 4: ...g output signals that could cause a serious accident In an output circuit when a load current exceeding the rated current or an overcurrent caused by a load short circuit flows for a long time it may cause smoke and fire To prevent this configure an external safety circuit such as a fuse Configure a circuit so that the programmable controller is turned on first and then the external power supply I...

Страница 5: ... interlock circuit in the program to ensure that the entire system will always operate safely even if communications fail Incorrect output or malfunction due to a communication failure may result in an accident To maintain the safety of the programmable controller system against unauthorized access from external devices via the network take appropriate measures To maintain the safety against unaut...

Страница 6: ...guration parameter settings and or program size Design circuits so that the entire system will always operate safely regardless of the time Do not turn the power OFF or reset the CPU module while the settings are being written Doing so will make the data in the flash ROM undefined The values need to be set in the buffer memory and written to the flash ROM again Doing so may cause malfunction or fa...

Страница 7: ...ibrations may occur Tighten the screws within the specified torque range Undertightening can cause drop of the screw short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction When using an extension cable connect it to the extension cable connector of the base unit securely Check the connection for looseness Poor contact may cause...

Страница 8: ...e may swing or inadvertently be pulled resulting in damage to the module or cables or malfunction due to poor contact Do not clamp the extension cables with the jacket stripped Doing so may change the characteristics of the cables resulting in malfunction Check the interface type and correctly connect the cable Incorrect wiring connecting the cable to an incorrect interface may cause failure of th...

Страница 9: ...that meet the specifications in the user s manual for the module used If not normal data transmission is not guaranteed WARNING Do not touch any terminal while power is on Doing so will cause electric shock or malfunction Correctly connect the battery connector Do not charge disassemble heat short circuit solder or throw the battery into the fire Also do not expose it to liquid or strong shock Doi...

Страница 10: ...m before mounting or removing the module Failure to do so may cause the module to fail or malfunction Tighten the screws within the specified torque range Undertightening can cause drop of the component or wire short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction After the first use of the product do not mount remove the modu...

Страница 11: ...e Doing so will make the data in the flash ROM undefined The values need to be set in the buffer memory and written to the flash ROM again Doing so can cause malfunction or failure of the module CAUTION When disposing of this product treat it as industrial waste When disposing of batteries separate them from other wastes according to the local regulations For details on battery regulations in EU m...

Страница 12: ... BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS PRECAUTIONS OR WARNING CONTAINED IN MITSUBISHI S USER INSTRUCTION AND OR SAFETY MANUALS TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT Prohibited Application Prohibited Applications include but not limited to the use of the PRODUCT in Nuclear Power Plants and any other power plants operated by Pow...

Страница 13: ...lease 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 When applying the program example provided in this manual to an actual system ensure the applicability and confirm that it will not cause system control problems Please make sure that the end users read this manual ...

Страница 14: ...C Controller Module 24 3 1 Memory Configuration 24 Program memory 24 System memory 24 CPU buffer memory 24 Device label memory 25 Data memory 25 SD memory card 25 USB Mass Storage Class compliant device 25 3 2 Memory Operation 26 3 3 Memory Life 26 3 4 Files 27 Drive names and file systems 27 File type and storage destination memory 27 File and folder configuration 28 PART 2 FUNCTIONS CHAPTER 4 BA...

Страница 15: ...nction 61 Boot operation 61 Enable disable the use of file data on memory card 62 4 12 RAS Function 63 Self diagnostic function 63 Error clear function 66 Event history function 68 4 13 Security Function 71 Individual identification information 71 File access restriction 72 Service settings 74 Locked out 75 CHAPTER 5 ACCESS FUNCTION USING NETWORK MODULE 76 5 1 Data Communication via Network 76 5 2...

Страница 16: ...etting 132 Input and output status when an error occurred 134 Output status when a C Controller module is in STOP state 135 Reserved station specification 135 7 2 Programming 136 Interlock program for cyclic transmission 136 7 3 Parameter Settings 138 CC Link IEF Basic setting 138 7 4 CC Link IE Field Network Basic diagnostics 143 Acquiring diagnostic information of slave stations 144 7 5 Processi...

Страница 17: ...ails 206 Connection with peripherals fails 206 File read from a C Controller module fails 206 An error occurs during user program execution 207 The serial communication cannot be established 207 Communication with Ethernet device cannot be established 207 Drive name of the SD memory card is not displayed properly 208 Drive name of a USB Mass Storage Class compliant device is not displayed properly...

Страница 18: ...on Method for Heat Generation of C Controller Modules 250 Appendix 13Communication Examples Using Serial Communication Module 251 Appendix 14Added and Changed Functions 253 INDEX 254 REVISIONS 256 WARRANTY 257 TRADEMARKS 258 ...

Страница 19: ...e performance specifications procedure before operation and troubleshooting of a C Controller module Print book e Manual PDF MELSEC iQ R C Controller Module Programming Manual SH 081371ENG Explains the programming specifications and dedicated function library of a C Controller module e Manual PDF MELSEC iQ R C Controller Module C Intelligent Function Module Programming Manual Data Analysis SH 0817...

Страница 20: ...function library offered by a C Controller module and a C intelligent function module It is used for data analysis processing Dedicated function library A generic term for C Controller module dedicated functions MELSEC data link functions data analysis functions and statistical analysis functions GOT An abbreviation for the Mitsubishi Graphic Operation Terminal I O module A generic term for input ...

Страница 21: ...19 PART 1 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 ...

Страница 22: ...etwork Network information setting for CC Link Network Initial value setting for intelligent function modules Script file execution 1 3 I O Access Timing This section shows the timings for reading input X and writing output Y Timings for reading input X The timings for reading input X is as follows When a dedicated function library such as CCPU_X_In_BitEx mdRandREx is executed in a user program Wh...

Страница 23: ...1 EXECUTING PROGRAMS 1 3 I O Access Timing 21 1 MEMO ...

Страница 24: ...memory from a user program 1 are disabled The operating status can be changed with the RESET STOP RUN switch or the remote operation function If the stop error occurred in a C Controller module the module will be in STOP state 1 A program in which a C Controller module dedicated function is used Output when entering the STOP state C Controller module saves the output status right before the C Cont...

Страница 25: ... is recovered a C Controller module continues processing Check for the number of momentary power failure detection Since a C Controller module retains number of momentary power failure inside the module it can be checked using the special register SD53 or the C Controller module dedicated function CCPU_GetPowerStatus Measurement of the watchdog timer WDT during a momentary power failure A C Contro...

Страница 26: ...nged Functions The usage of memory can be checked from CW Configurator CW Configurator Operating Manual Program memory Program memory is a memory to store files such as user programs and script files System memory System memory is a memory to store system files Writing files to the system memory is not available CPU buffer memory CPU buffer memory is a memory that is used for data communication am...

Страница 27: ...SD memory card as well as the arbitrary folder file The folder configuration is the same as the data memory Page 28 Access to the MELPRJ folder It can be accessed from an FTP a Telnet and a user program USB Mass Storage Class compliant device USB Mass Storage Class compliant device is a memory that stores user programs and arbitrary folders files It can be accessed from an FTP a Telnet and a user ...

Страница 28: ... written until it reaches to 100 000 times However since the system increases the life for writing of program memory and data memory the write count index value differs from the actual write count If the write count index value exceeds 100 000 times the following symptoms may occur Replace the C Controller module Decrease of writing speed to program memory and data memory Unable to write data to p...

Страница 29: ...storable Type Name Drive name File system CPU built in memory Program memory 0 FAT16 Data memory 4 FAT16 System memory SYSTEMROM FAT16 Memory card SD memory card 2 FAT16 FAT32 USB device USB Mass Storage Class compliant device USB0 FAT16 FAT32 File type CPU built in memory SD memory card USB Mass Storage Class compliant device Program memory Device label memory Data memory System memory User progr...

Страница 30: ...an be stored in the program memory and data memory of a C Controller module 1 A folder is included in the number of files However the maximum number may be reduced depending on a file name length and character types When using an SD memory card and a USB Mass Storage Class compliant device note that the number of files which can be stored differs depending on the memory capacity and a file system ...

Страница 31: ...ase characters when referred from FTP or Telnet File writing destination Do not write files to the program memory and data memory using a user program Since the number of writable times life of program memory and data memory is limited the available period of a C Controller module is shortened When writing files using a user program write files to an SD memory card a USB Mass Storage Class complia...

Страница 32: ...30 3 MEMORY CONFIGURATION OF C Controller Module 3 4 Files MEMO ...

Страница 33: ...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 ...

Страница 34: ...d cycle processing CPU Parameter RAS Setting WDT Watchdog Timer Setting Window Displayed items User watchdog timer Set a monitoring time for the user watchdog timer within the range of 100 ms to 10000 ms in 10 ms units by using the C Controller module dedicated function CCPU_StartWDT Monitoring starts by executing the C Controller module dedicated function CCPU_StartWDT and the monitoring time is ...

Страница 35: ...will occur as the system processing has been suspended for a long time User watchdog timer If a user program cannot complete processing within the time specified by using the C Controller module dedicated function CCPU_StartWDT and also cannot reset by using the C Controller module dedicated function CCPU_ResetWDT a timeout will occur Precautions When using the following functions a user watchdog ...

Страница 36: ...llisecond clock is reset to 0 Clock setting event code 24000 is saved in the event history file Using CW Configurator Online Set Clock Using a C Controller module dedicated function Write the clock data by using the C Controller module dedicated function CCPU_SetRTC C Controller module sets the time of its built in clock to that of the operating system at the startup of the module after turning th...

Страница 37: ...the time zone is set to the CPUs from No 2 to No 4 the setting is not applied Precautions Once the module is initialized the parameters will be restored to the default setting even when overseas time zone has been set Changing the clock of the module is required when the time zone is set again Item Description Setting range Default Time Zone Set a time zone used in a C Controller module UTC 13 UTC...

Страница 38: ...ght saving time function The operation of the daylight saving time function can be checked by the following C Controller module dedicated function Whether the date lies inside or outside the daylight saving time period can be checked by using the C Controller module dedicated function CCPU_GetRTC Event history The history for the start and end of daylight saving time can be checked in the event hi...

Страница 39: ...g to daylight saving time to the specified week or the specified date Week Date Week Week Start Month Set a date and time to start daylight saving time 1 to 12 3 Week The Last Week 1st Week to 4th Week 2nd Week Day of Week Sunday to Saturday Sunday Time 0 00 to 23 00 2 00 End Month Set a date and time to end daylight saving time 1 to 12 11 Week The Last Week 1st Week to 4th Week 1st Week Day of We...

Страница 40: ... and time of daylight saving time the function that is triggered by time may not perform or may perform twice Functions perform based on date information after adjustment for daylight saving time when the daylight saving time setting is enabled and therefore there are times when the date output by functions using clock data is before adjustment after adjustment and the order No in which events occ...

Страница 41: ...LSEC iQ R C Controller Module Programming Manual Using SLMP Refer to the following manual SLMP Reference Manual When Clear is selected for the device label memory at the time of performing remote RUN from CW Configurator the following devices are cleared X Y M B D W Precautions Since C Controller module gives priority to STOP observe the following considerations STOP timing C Controller module is ...

Страница 42: ...anual SLMP Reference Manual Precautions The user program does not stop executing even if the C Controller module is in the remote PAUSE state To change the processing according to the operating status of the C Controller module use the C Controller module dedicated function CCPU_GetCpuStatus in the program Remote RESET Reset the C Controller module externally while the module is in the STOP state ...

Страница 43: ...CW Configurator After the remote RESET is performed the communication between CW Configurator and C Controller module will be disconnected In this case reconnect the connection with CW Configurator Remote RESET when CPU No 1 is a programmable controller CPU in a multiple CPU system For remote RESET of programmable controller CPU refer to the manual for the programmable controller CPU to be used Th...

Страница 44: ...fter changing the operating status Factor to determine CPU operating status Operating status RESET STOP RUN switch status RESET STOP RUN switch operation Stop error occurred RUN STOP RESET STOP RUN switch operation STOP STOP RUN RUN RUN STOP STOP Operation with CW Configurator or SLMP STOP STOP PAUSE Actual status STOP STOP PAUSE RUN Actual status STOP STOP RUN STOP RUN PAUSE RUN STOP STOP RUN RUN...

Страница 45: ... STOP RUN switch status Remote operation with CW Configurator and SLMP RUN STOP PAUSE RESET 1 RESET STOP RUN switch operation STOP STOP RESET RUN RUN STOP PAUSE Operation with CW Configurator or SLMP STOP STOP RESET PAUSE Actual status STOP STOP RESET RUN Actual status STOP STOP RESET STOP RUN RUN PAUSE RESET PAUSE RUN RUN STOP RUN RUN STOP PAUSE Execution of the C Controller module dedicated func...

Страница 46: ... status RESET STOP RUN switch status Execution of the C Controller module dedicated function RUN STOP PAUSE RESET 1 RESET STOP RUN switch operation STOP STOP RESET RUN RUN STOP PAUSE Operation with CW Configurator or SLMP STOP STOP RESET PAUSE Actual status STOP STOP RESET RUN Actual status STOP STOP RESET STOP RUN RUN PAUSE RESET PAUSE RUN RUN STOP RUN RUN STOP PAUSE Execution of the C Controller...

Страница 47: ...odule which is mounted on the specified module position FROM instruction CCPU_FromBuf_ISR CCPU_ToBuf To write data to the CPU buffer memory of the CPU module host station or the buffer memory of the intelligent function module which is mounted on the specified module position TO instruction CCPU_ToBuf_ISR CCPU_X_In_BitEx To read an input signal X in bit 1 point units CCPU_X_In_WordEx To read an in...

Страница 48: ...currently being executed the program is executed in accordance with the priority If the priority of an interrupt of which execution conditions have been satisfied is lower it will be in a wait state until an interrupt program that is currently being executed is completed Function name Description CCPU_EntryInt To register a routine to be called when an interrupt occurs CCPU_EnableInt To enable the...

Страница 49: ...sabled the interrupt routine interrupt program will not be executed 3 When an interrupt request is issued from the module the interrupt routine interrupt program is executed When an interrupt request is issued to the routine disabled with the C Controller module dedicated function CCPU_DisableInt the interrupt request is ignored C Controller Module User program 1 Execute the CCPU_EntryInt function...

Страница 50: ...CCPU_WaitUnitEvent a user program restarts from a state of waiting for an interrupt event at the same time as the execution of the function In addition when multiple interrupt events have been notified to the same interrupt event number at the time of executing the C Controller module dedicated function CCPU_WaitUnitEvent a user program performs processing as a single interrupt event notification ...

Страница 51: ...ies the following relational expression for the cycle of the fixed cycle processing An error will occur when the following expression is not satisfied Setting time of the program monitoring function WDT Cycle of the fixed cycle processing Checking the interval The following shows the method to check the interval maximum value minimum value current value at which the fixed cycle processing function...

Страница 52: ...on Reference Manual Input module Output module A D converter module C Controller module D A converter module Inter module synchronization cycle Inter module synchronization cycle Program C Controller module Inter module synchronous interrupt program I44 Operation processing Operation processing Operation processing A D converter module set as a synchronization target Output conversion Output conve...

Страница 53: ...ing of refresh before and after the inter module synchronous interrupt program I44 This will enable the C Controller module to import the input data and to write the output data at the timing of the inter module synchronization cycle Inter module synchronous interrupt Interrupt programs are executed at the timing of the inter module synchronization cycle set with the parameters The interrupt progr...

Страница 54: ...Y RWw are refreshed to the CC Link IE Field Network module to be synchronized Refresh timing The following shows the refresh timing depending on the operating status of a C Controller module Operation in the STOP state RUN to STOP C Controller module turns OFF the output when it is in the STOP state due to user operation such as user program or switch operation Refresh is performed continuously du...

Страница 55: ... the cycle of the fixed cycle communication to the inter module synchronization cycle the input output of modules having different control CPUs can be synchronized The interaction with the multiple CPU system function is set with the parameter Page 158 Fixed scan communication setting A D converter module controlled by CPU No 1 A D converter module controlled by CPU No 2 The input output of module...

Страница 56: ...he ready flag of CPU No n from SM220 to SM223 turns ON By using SM220 to SM222 in an interlock program the start of the inter module synchronization function can be matched among all CPUs 1 2 CPU No 1 Program execution processing Cycle of fixed cycle communication Cycle of fixed cycle communication Cycle of fixed cycle communication Inter module synchronization cycle Inter module synchronization c...

Страница 57: ...nization Function in System Set whether or not to use the inter module synchronization function Not Use Use Not Use Select Synchronous Target Unit between Unit Detailed Setting Set the module to be synchronized Do not Synchronize Synchronize Do not Synchronize Synchronous Fixed Scan Interval Setting within the Modules 1 0 05 ms Unit Setting Set whether or not to set the inter module synchronizatio...

Страница 58: ...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 ...

Страница 59: ... be acquired for each MELSEC data link function mdRandRLabelEx mdRandWLabelEx execution However if the label assignment information device information stored in a CPU module is changed acquire it again by using the MELSEC data link function mdGetLabelInfo Otherwise an error response is returned User program functions The following table shows the functions used for label communication Function nam...

Страница 60: ...he device type assigned to the label For the device type refer to the following manual MELSEC iQ R C Controller Module Programming Manual For referring to a label select Access from External Device in GX Works3 GX Works3 Operating Manual Product name Model name Programmable controller CPU R04CPU R04ENCPU R08CPU R08ENCPU R16CPU R16ENCPU R32CPU R32ENCPU R120CPU R120ENCPU Process CPU R08PCPU R16PCPU ...

Страница 61: ...on using fast Fourier transform FFT for the specified wave DANL_FindCrossPoint To calculate the number of cross points of the specified wave and a reference value for the number of cross points specified to the maximum number of cross points DANL_Peak To calculate the peak values maximum and minimum of the specified wave DANL_RMS To calculate an RMS root mean square of the specified wave DANL_Boun...

Страница 62: ...perations are executed Precautions The following shows the considerations on outputs when changing the status from STOP to RUN after forcing the output Y ON at STOP status Output the Output Y Status before STOP is selected When the output Y is forced ON when the operating status is STOP the status before it stopped is output If the output Y is OFF before entering the STOP state the ON state is not...

Страница 63: ...dure 1 Configure the boot setting 2 Insert an SD memory card 3 Write the boot setting and boot file on the SD memory card 4 Turn the power OFF and ON or reset the C Controller module Boot setting Memory Card Parameter Boot Setting Operating procedure Displayed items 1 Double click Detailed Setting in Boot File Setting 2 Click on the Type column The maximum number of boot files that can be specifie...

Страница 64: ...he transfer destination C Controller module is overwritten In addition if a parameter file is not set as a boot file even when it is stored on the SD memory card the CPU module operates in accordance with the settings in the parameter file in it Enable disable the use of file data on memory card Set whether to use files data stored on a memory card Memory Card Parameter Setting of File Data Use or...

Страница 65: ...e is stored in the special register SD0 Use the special relay SM0 SM1 and special register SD0 in the program for the C Controller module or mechanical interlock In addition up to 16 error codes latest errors occurred on the system will be stored in the special registers SD10 to SD25 The error codes for the 17th and onwards will not be stored Checking with CW Configurator The error occurrence of t...

Страница 66: ...ed The operation of the C Controller module does not stop Error detection setting Set whether to detect errors CPU Parameter RAS Setting Error Detections Setting Window Displayed items 1 If an operating module in which Not Detected is selected in the parameter is removed a module verification error is not detected however a stop error may occur if accessing the removed module by using programs etc...

Страница 67: ...ting Window Displayed items Item Description Setting range Default Memory Card Error Set the C Controller module operation upon a memory card error Stops Continues Stops Module Verify Error Set the C Controller module operation upon a module verification error Fuse Blown Set the C Controller module operation upon fuse blown error Synchronous Interrupt Execution Interval Error CPU Module Set the op...

Страница 68: ...ing range Default ERROR LED Minor Error Continue Error Set whether to turn the ERROR LED ON when a minor error occurred Display Do Not Display Display Error code Error name 1000H Power interruption 1080H ROM write count error 1100H Memory card access error 1120H SNTP clock setting error 1124H Default gateway gateway IP address error 1128H Own node port number error 1129H Open specification port nu...

Страница 69: ...odule other than the C Controller module cannot be cleared by this function 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 que...

Страница 70: ...nt history settings Under normal circumstances the event history function can be used with its default settings and doesn t need to be manually configured The storage memory and file size of the event history file can be changed if desired CPU Parameter RAS Setting Event History Setting Window Displayed items Registration from a user program Event logs can be registered from a user program by exec...

Страница 71: ...g CW Configurator is possible If the write protect switch of an SD memory card is enabled the write error will occur because during system operation an attempt to write an event occurred will failed as the write protect switch is enabled An error can be checked with the Module Diagnostic function immediately after the error occurred but the same information cannot be checked after turning the powe...

Страница 72: ...odule is reset while sampling event history the status of the source module will be unknown Therefore the event code HST LOSS may be displayed and the source module is not displayed Displaying event history The event history can be displayed using the menus of CW Configurator For details on the operating procedures and how to read the displayed information refer to the following manual CW Configur...

Страница 73: ...n below Install a firewall Install a personal computer as a relay station and control the relay of send receive data with an application program Install an external device for which the access rights can be controlled as a relay station For details on the external devices for which access rights can be controlled consult the network provider or equipment dealer Individual identification informatio...

Страница 74: ...ord is required to change a file attribute For details on the attrib command refer to the manual of VxWorks Setting file attribute Set a file attribute to a file to be restricted by using the attrib command The file attributes that can be handled in a C Controller module are as follows 1 This attribute is not supported by the file access restriction function However if it is set file deletion and ...

Страница 75: ...o which a system file attribute is attached in the script file STARTUP CMD cancel the access restriction in the script file In this case add the system file attribute to the script file in order to prevent the leakage of the password Do not use the files with the system file attribute attached in the script file STARTUP CMD in an SD memory card in order to prevent the leakage of password Precautio...

Страница 76: ... a function which assigns the network settings automatically MELSEC data link function Required when performing MELSEC communication CW Configurator operation A service required for the operation of CW Configurator If this service is disabled the following operations cannot be performed Writing data to a C Controller module Reading data from a C Controller module Verifying data with a C Controller...

Страница 77: ...ill be disabled as well Locked out If the password authentication failed for several times the password authentication will be denied locked out for a period of time This prevents a brute force attack from unauthorized users Lockout time The lockout time is as follows 1 Once the correct password is entered the number of password input error will be cleared The password input error will not be coun...

Страница 78: ...use a network module setting of Module Parameter of the particular Network module is required To perform this settings refer to the user s manual of the respective network modules 5 1 Data Communication via Network This section shows how to perform data communication using C Controller modules on each network Transmission type Description Communication method Cyclic transmission Performs data comm...

Страница 79: ... transmission of each station is called as link scan The authority of data transmission is given to each station during every link scan Time required for one cycle of data transmission i e one link scan is called as link scan time To perform link scan on the network network range assignment settings are required Network range assignment Network range assignment settings are applicable to following...

Страница 80: ... Access by link refresh A method to access devices of a C Controller module from a user program The device data communicates with link devices in a network module by link refresh Frequently used link device Link device that requires station based block data assurance setting 2 Direct access A method for direct access to link devices in a network module from a user program Rarely used link device 3...

Страница 81: ... is called as link refresh The link refresh is performed in every refresh cycle of a C Controller module Page 49 Fixed Cycle Processing Function Parameter setting When performing link refresh set the following parameters Refresh Setting and Network Configuration Settings of each network module Station based block data assurance setting Device Number of points Range of use Internal relay M 61440 po...

Страница 82: ... For the access by link refresh specify the devices within the refresh range C Controller module Network module Network Range Assignment Network Configuration Settings Device Range set with Network Range Assignment Network Configuration Settings Link refresh Range to be refreshed Station No 1 Empty Link refresh Station No 2 Setting range of refresh Refresh Setting Empty Link refresh Station No 3 ...

Страница 83: ... data consistency is assured in station units since the C Controller module does refresh cycle with a network module by handshaking For details of the station based block data assurance function and the other data assurance functions refer to the user s manual for each network module Refresh cycle Refresh cycle Refresh cycle Processing of C Controller module Link refresh Link refresh Link refresh ...

Страница 84: ...nal system devices of a C Controller module CCPU_ReadDevice To read data from devices and internal system devices of a C Controller module mdDevRstEx To reset turn OFF bit devices mdDevSetEx To set turn ON bit devices mdRandREx To read devices randomly mdRandRLabelEx To read labels or devices randomly mdRandWEx To write devices randomly mdRandWLabelEx To write labels or devices randomly mdReceiveE...

Страница 85: ...e shown below In the dedicated function library specify the device type with the device name defined for each function Dedicated function library Description CCPU_WriteLinkDevice To write data to link devices of a network module directly CCPU_ReadLinkDevice To read data from link devices of a network module directly Link device C Controller module dedicated function Link input LX Dev_LX Link outpu...

Страница 86: ...roller module dedicated function specify the offset of the buffer memory For details of buffer memory addresses for each link device refer to the user s manual of the network module used Dedicated function library Description CCPU_ToBuf To write data to the CPU buffer memory and intelligent function module buffer memory in the module on the specified module position CCPU_ToBuf_ISR CCPU_FromBuf To ...

Страница 87: ...de channel 3 The receiving side C Controller module another station reads messages from the receiving side channel with the message receive function of a user program The message communication function can be used even if CPU module on sending station or receiving station is other than C Controller module For the target CPU module use the SEND RECV link dedicated instruction or a function equivale...

Страница 88: ...f another station specify a direct link device another station side Dedicated function library Description CCPU_DedicatedGInst To execute dedicated instructions categorized as G or GP CCPU_DedicatedJInst To execute dedicated instructions categorized as J or JP mdSendEx To send messages mdReceiveEx To receive messages Dedicated function library Description mdDevRstEx To reset turn OFF bit devices m...

Страница 89: ... device or an intelligent function module device Access to a control CPU module of another station For devices to be specified in a user program refer to the following manual MELSEC iQ R C Controller Module Programming Manual Link device MELSEC data link function Remote input RX DevSPG 0 to DevSPG 255 Remote output RY Remote register RWw RWr Link special relay SB Link special register SW ...

Страница 90: ...nk refresh This method is used to access devices of a C Controller module from a user program using link refresh Data in the device is transmitted cyclically to another station by reading from writing to link devices of a network module by link refresh 1 Link refresh cannot be performed for SB SW Use the direct access Transmission type Access method Cyclic transmission Access by link refresh Direc...

Страница 91: ...ntroller module Number of channels For CC Link IE Controller Network module up to eight channels can be used for message communication SB SW LW LB LX LY CC Link IE Controller Network module C Controller module Link device Direct access User program C Controller module on other station Receiving side C Controller module Sending side CC Link IE Controller Network module CC Link IE Controller Network...

Страница 92: ... in the device is transmitted cyclically to another station by reading from writing to link devices of a network module by link refresh 1 Link refresh cannot be performed for SB SW Use the direct access or buffer memory access Transmission type Access method Cyclic transmission Access by link refresh Direct access Buffer memory access Transient transmission Message communication Access to devices ...

Страница 93: ...er station Buffer memory access This method is used to access the buffer memory of a network module from a user program The data in the buffer memory is refreshed with link devices and transmitted cyclically to another station SB SW RWr RWw RX RY CC Link IE Field Network module C Controller module User program Link device Direct access SB SW RWr RWw RX RY CC Link IE Field Network module C Controll...

Страница 94: ...led 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 on other station Receiving side C Controller module Sending side CC Link IE Field Network module Station No 4 CC Link IE Field Network module Station No 5 Channel 1 Channel 1 Channel 2 Channel 2 User program User program Network No 1 ...

Страница 95: ...sing link refresh Data in the device is transmitted cyclically to another station by reading from writing to link devices of a network module by link refresh 1 Link refresh cannot be performed for SB SW Use the direct access Transmission type Access method Cyclic transmission Access by link refresh Direct access Transient transmission Message communication Access to devices on another station ZR W...

Страница 96: ...lled by a C Controller module Number of channels For MELSECNET H network module up to eight channels can be used for message communication SB SW LW LB LX LY C Controller module Link device Direct access User program MELSECNET H network module C Controller module on other station Receiving side C Controller module Sending side Channel 1 Channel 1 Channel 2 Channel 2 User program User program Channe...

Страница 97: ...ory access This method is used to access the buffer memory of a network module from a user program The data in the buffer memory is refreshed with link devices and transmitted cyclically to another station Transmission type Access method Cyclic transmission Buffer memory access Transient transmission Access to devices on another station SB SW RWr RWw RX RY C Controller module CC Link module Buffer...

Страница 98: ...tion is not included Link refresh time can be calculated with the following formula depending on the number of assigned points of link devices CC Link IE Field Network The processing time when using CC Link IE Field Network is as follows βT Total link refresh time sending side βR Total link refresh time receiving side KM1 KM2 Constant RX Total number of points of link inputs to be refreshed 1 RY T...

Страница 99: ...ces CC Link Network The processing time when using CC Link Network is as follows βT Total link refresh time sending side βR Total link refresh time receiving side KM1 KM2 Constant RX Total number of points of link inputs to be refreshed 1 RY Total number of points of link outputs to be refreshed 1 RWw RWr Total number of points of link registers to be refreshed 1 1 This is the total number of poin...

Страница 100: ...ntroller system Pre operation of the C Controller system Confirm whether the C Controller system operates correctly by the refresh cycle decided preliminarily Check the following at the time of pre operation Take the corrective actions shown below in order for the system to operate correctly when the C Controller system operates abnormally or the processing performance of the user program is lower...

Страница 101: ...ing side 2 SR Scan time of programmable controller CPU receiving side 2 αT Link refresh time of programmable controller CPU sending side 1 2 αR Link refresh time of programmable controller CPU receiving side 1 2 LS Link scan time 2 1 This is the total of link refresh time for the mounted CC Link IE Controller Network modules 2 For more details refer to the following manual MELSEC iQ R CC Link IE C...

Страница 102: ...Network User s Manual Application Comparison between LT and LS Station based block data assurance Calculated value Transmission delay time ms LT LS Disabled Normal value LT βT LS 0 5 LR βR 0 5 LT βT LS 0 5 SR αR 1 5 ST αT LS 0 5 LR βR 0 5 Maximum value LT βT LS 1 LR βR LT βT LS 1 SR αR 2 ST αT LS 1 LR βR Enabled Normal value LT βT 1 5 LS 0 5 LR βR 1 5 LT βT 1 5 LS 0 5 SR αR 2 5 ST αT 1 5 LS 0 5 LR...

Страница 103: ...tion on the calculation formula for transmission delay time when using MELSECNET H network refer to the following manual Q Corresponding MELSECNET H Network System Reference Manual PLC to PLC network With reference to above mentioned manual substitute the sequence scan time of the sending side ST and the sequence scan time of the receiving side SR with the following processing time ST LT SR LR LT ...

Страница 104: ...is as follows The values of each variable are as follows LT LR Refresh cycle 100 ms βT βR Link refresh time 1 39 ms LS Link scan time 1 25 ms Transmission delay time normal and maximum value can be found by putting values of each variable in the following formula Normal value 100 1 39 1 5 1 25 0 5 100 1 39 0 5 203 405 ms Maximum value 100 1 39 2 1 25 1 100 1 39 305 420 ms Item Description CPU modu...

Страница 105: ... range to be refreshed The refresh of only necessary range can reduce the link refresh time Reducing refresh points using direct access buffer memory access Excluding the rarely used link devices on own station from the link refresh range and using direct access or buffer access instead can reduce the link refresh time Range set with Network Range Assignment Network Configuration Settings Link ref...

Страница 106: ...nd high speed communication using Ethernet The section shows how to connect a C Controller module with a GOT or MELSOFT product such as CW Configurator MX Component Connection method Description Connection via a hub specify IP address When connecting with a C Controller module that has no network number and station number When connecting with multiple MELSOFT products or GOT Direct connection Conn...

Страница 107: ...nder Basic Settings 2 Set the connection configuration in External Device Configuration under Basic Settings Page 119 External device configuration When connecting multiple MELSOFT products with TCP IP connection drag MELSOFT Connection Module from the Module List to List of devices or Device map area in External Device Configuration under Basic Settings Settings on CW Configurator side Specify th...

Страница 108: ... with MELSOFT under Security under the Application Settings Setting method Online Specify Connection Destination 4 Set the module to be connected to PLC side I F 5 Double click the icon of the set module to display the PLC side I F Detailed Setting window 6 Select Connection via HUB for the connection method and enter the station number and IP address or host name of the C Controller module 7 Clic...

Страница 109: ...clicking the CPU Module Direct Coupled Setting button in the Specify Connection Destination window 3 Set the protocol 4 Set the module to be connected to PLC side I F 5 Double click the icon of the set module to display the PLC side I F Detailed Setting window 6 Select Ethernet Port Direct Connection for the connection method 7 Click the OK button once the setting is completed ...

Страница 110: ...nicate directly A direct connection may not be established if any of the following conditions are met In this case review the settings The examples of the error occurrence are as follows When all the bits of the C Controller module side IP address that correspond to 0 part of the personal computer side subnet mask are ON or OFF When all the bits of the C Controller module side IP address that corr...

Страница 111: ...le Setting method The setting method is as shown below Set the connection configuration in External Device Configuration under Basic Settings Page 119 External device configuration 1 Select SLMP Connection Module from the Module List and drag and drop it to List of devices or Device map area 2 Set the other items to the connection as necessary If a new request message is sent before the response m...

Страница 112: ...ssing above is necessary for the program processing for the target device Communication processing at a target device side Request message send processing Response message receive processing The TCP connection is closed Is the TCP connection open Receive the remaining response messages Have the data been received within the period of the monitoring timer value The monitoring timer value times out ...

Страница 113: ...n be specified 00 3 Writes values to bit devices in 1 point units by specifying device number Nonconsecutive device numbers can be specified 00 2 Writes values to bit devices in 16 point units by specifying device number Nonconsecutive device numbers can be specified Writes values to word devices in 1 word units or 2 word units by specifying device number Nonconsecutive device numbers can be speci...

Страница 114: ...or word devices 1 point equal 1 word for word access As for double word access 1 point equal 2 word Available devices The available devices are as follows 1 ASCII code cannot be used Device Device code 1 Device number range I O device Input 9CH 0H to FFFH Hex Output 9DH 0H to FFFH Hex Internal user device Internal relay 90H Device number within the range in the C Controller module of the target st...

Страница 115: ...rn the power OFF Insert remove an SD memory card Reconnection after timeout If a timeout error occurs during file transfer the TCP connection will be closed disconnected Log in to the C Controller module again with the FTP client before restarting the file transfer File transmission time The file transfer processing time will differ depending on the following causes Load rate of Ethernet line line...

Страница 116: ... No 2 to No 4 Execution timing of time setting The time setting is performed at any of the following timing At turning the power OFF and ON or resetting the C Controller module At specified time intervals At specified time At arbitrary timing using a program 1 1 Acquire the clock information using the VxWorks function sntpcTimeGet and then execute the C Controller module dedicated function CCPU_Se...

Страница 117: ...t tool operates on a task of priority 1 Note that the following when executing the command System errors stop such as watchdog timer error may occur in a C Controller module Make sure to check the command specifications before executing commands which occupy the CPU processing For rebooting VxWorks reset the C Controller module or turn the power OFF and ON Do not reboot VxWorks by executing the co...

Страница 118: ...pecify the number of retries The following shows the procedure to change the timeout time of a C Controller module in operation 1 Establish a Telnet connection to a C Controller module with a Telnet tool 2 Execute the commands above from the shell command of the Telnet tool to change the timeout value 3 Reboot the Telnet server 4 Close disconnect the Telnet connection 5 Establish a Telnet connecti...

Страница 119: ...aler IP filter function This function identifies the IP address of an access source and prevents access from unauthorized devices by specifying IP addresses Set the IP address of the target device to be passed or blocked in the parameters to restrict the access from target devices Use of this function is recommended when using C Controller module in an environment which is connected to LAN Setting...

Страница 120: ... Subnet Mask Set the subnet mask pattern of the default gateway when IP address of the default gateway is set and perform communication with a target device on another network via a router All the devices on a sub network should have the same subnet mask This setting is not required for communication in a single network 128 0 0 0 to 255 255 255 252 255 255 255 0 Default Gateway Set the IP address ...

Страница 121: ...ces or Device map area 2 Set each item 3 Select Close with Discarding the Setting and close the External Device Configuration window In setting External Device Configuration setting the target device in order starting from the connection No 1 is required To use the specific connection number set MELSOFT Connection Module to the connection number which is not used When using only the connection No ...

Страница 122: ...for alive check is sent every one second When no response is confirmed for eight seconds 30 seconds since the last received message the connection is terminated as being determined that the target device does not exist If the target device does not support the TCP KeepAlive function response to ACK message for KeepAlive the connection may be terminated Item Description Setting range No Connection ...

Страница 123: ...each to 12 times 2 The maximum value of the retransmission time is 60 seconds 3 RTO retransmission timeout is a value increases exponentially based on RTT round trip time FTP server settings Set the FTP function Module Parameter Application Settings FTP Server Settings Window Displayed items Password Setting Current password Enter the current password for login to a C Controller module Change the ...

Страница 124: ... Not Use SNTP Server IP Address Set the IP address of the SNTP server 0 0 0 1 to 223 255 255 254 0 0 0 1 Timer Setting After Power on and Reset Select whether to execute the time setting function after turning the power ON or resetting the C Controller module Disable Enable Disable Execution Timing Set the execution timing of the time setting Fixed Time Specified Time Intervals Fixed Time Time Int...

Страница 125: ...fault IP Filter Settings IP Filter Set whether to use the IP filter function Not Use Use Not Use IP Filter Settings Set the IP addresses to be allowed denied Disable Direct Connection with MELSOFT Enables disables the direct connection with CW Configurator Disable Enable Enable Do Not Respond to CPU Module Search Set whether to respond to the CPU module search on the network Do Not Respond Respond...

Страница 126: ...nauthorized access may be caused New password and confirmation password To change the password enter a new password in New Password and Confirm New Password Item Description Setting range Default Telnet Server Set whether to use the Telnet function of a C Controller module Not Use Use Use Login Name Set the login name to be used for file transfer request login from the target device Up to 12 chara...

Страница 127: ...ink devices cyclic transmission This manual does not describe the following information that is related to the CC Link IE Field Network Basic function Specifications Function list Procedure before operation System configuration For details refer to the following manual CC Link IE Field Network Basic Reference Manual 1 Device 2 Link refresh 3 Link scan RX RWr RX RWr RX RWr RY RWw RY RWw RY RWw RX R...

Страница 128: ...and RWw of the master station by link refreshes The status of link devices RY and RWw of the master station is stored to link devices RY and RWw of slave stations by link scans The status of the link devices RY and RWw of the slave stations is output to an external device Input from slave stations The status of the external device is stored to the link devices RX and RWr of the slave stations The ...

Страница 129: ... master station sends a request to the slave station 1 and slave station 2 The slave station 1 returns a response to the master station The slave station 2 returns a response to the master station After the link scan time set is elapsed the master station starts sending another request When the master station sends a request when a cyclic transmission is started to all slave stations Cyclic transm...

Страница 130: ... because the master station cannot receive a response from the slave station 2 Note that the link scan time is extended by the timeout time The master station disconnects the slave station 2 because the master station cannot receive a response from the slave station 2 within the specified number of times three times for the disconnection detection The operations of special relays and special regis...

Страница 131: ...ay in the link scan time caused by a timeout can be checked in Accumulated number of timeouts Un G1063 Page 144 Acquiring diagnostic information of slave stations An error response received from a slave station The master station immediately disconnects the slave station regardless of the timeout time and the number of times for disconnection detection set in the link scan setting The operations o...

Страница 132: ... 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 resetting the module depending on the timing of link scan and link refresh the latched data is output without clearing to 0 To prevent outputting device data of a C Controller modu...

Страница 133: ...ormed for each link scan time Page 138 Parameter Settings The master station sends a request to the slave station 1 slave station 2 The slave station 1 returns a response to the master station The slave station 2 returns a response to the master station After the link scan time set is elapsed the master station starts sending another request Lst Link scan time link scan 1 Master station 2 Slave st...

Страница 134: ...nce response time the gap of the response time of each slave station does not badly affect the cyclic transmission For details on the reference response time refer to the manuals for slave stations used Link scan times vary from group to group The link scan time of each group is affected by a slave station that has the longest reference response time in a group Page 127 Data transitions of cyclic ...

Страница 135: ...up Page 141 Link scan setting The master station sends requests to the slave station 1 and slave station 2 that belong to group 1 The slave station 1 returns a response to the master station The slave station 2 returns a response to the master station After the link scan time set to the group 1 is elapsed the master station starts sending another request The master station sends a request to the s...

Страница 136: ...Stats of input from a data link error station RX is cleared For RWr the data before an error occurs is held Cyclic data output when a stop error occurs in a C Controller module Data is held Area where an input from an error station is cleared Area where data is held Area where the operation depends on the settings on a slave station side 1 Master station 2 Slave station 1 3 Slave station 2 4 Slave...

Страница 137: ...connected station for future use A reserved station is not detected as an error station even if it is not actually connected A reserved station is also included in the refresh range Setting method Specify a slave station as a reserved station in the network configuration settings Page 139 Network configuration settings Items such as the number of occupied stations and IP address can be set for a r...

Страница 138: ...he functions used for CC Link IE Field Network Basic Function name Description CCPU_ChangeCCIEFBCycPrm To change the operation parameter of the cyclic transmission of the CC Link IE Field Network Basic function CCPU_EndCCIEFBDataAssurance To end data assurance for one link scan of CC Link IE Field Network Basic CCPU_EntryCCIEFBRefEndFunc To register a routine to be called when the link scan of CC ...

Страница 139: ...evice data can be prevented Precautions During the assurance of one link scan data link refresh is controlled When the control period of link refresh exceeded the set link scan time the actual link scan time may exceed the set link scan time Consequently link scan time is extended Whether or not a link scan time is exceeding the set time can be checked by checking the maximum link scan time Parame...

Страница 140: ...node is CH1 set CH1 As for CH2 set CH2 CH1 CH2 CH1 Network Configuration Settings Set the information to perform cyclic transmission Moreover set the station number occupied station IP address and subnet mask of a slave station When setting CC Link IE Field Network Basic set both network configuration and refresh setting Refresh Settings Configure refresh settings Configure the settings to automat...

Страница 141: ...information Module With No Profile Found is displayed STA The start station number of the slave station is displayed Station Type The station type master station slave station is displayed RX RY Setting Points Set the assignment of the number of points for RX RY in 64 point units 64 1 Occupied Station 128 2 Occupied Station 192 3 Occupied Station 256 4 Occupied Station 64 1 Occupied Station Start ...

Страница 142: ...ave station The slave devices on which parameters cannot be set cannot be used IP Address Specify the IP address of a slave station 0 0 0 1 to 223 255 255 254 First to third octet 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 order Subnet Mask Specify the subnet mask of the slave station 0 0 0 ...

Страница 143: ...from the slave station for the specified number of times in succession within the timeout time Set an adequate value for the timeout time according to the actual system used Time out Period and Counts can be set for each group Item Description Setting range Default Slave Station Disconnection Detection Setting Time out Period 10 to 65535 Set the timeout time ms for slave station disconnection dete...

Страница 144: ...ration settings are displayed CPU Side Target The target for link refresh is displayed Specify Device Blank Device Name Set the device of the link refresh target M B D W ZR Blank Points The number of device points for the link refresh target is displayed The same value as the number of points on the link side is displayed Start Set the start device number within the link refresh range Use the devi...

Страница 145: ...ecute diagnostics 1 Connect CW Configurator to a C Controller module on the master station 2 Start the CC Link IE Field Network Basic diagnostics Diagnostics CC Link IEF Basic Diagnostics Diagnostic screen The status of the master station is checked in Master Station Status The network status including slave stations is checked in Network Status For details on the CC Link IEF Basic Diagnostics scr...

Страница 146: ... CCPU_GetCCIEFBDiagnosticInfo Buffer memory Procedure to acquire diagnostic information with buffer memory Acquire diagnostic information by buffer memory operation Page 240 Buffer Memory 1 Set a station number to acquire diagnostic information for Diagnostic request information Un G1051 2 By turning Diagnostic information display request Un G1050 0 OFF and ON diagnostic information is stored to D...

Страница 147: ... scan time of CC Link IE Field Network Basic operates in accordance with the setting of Link Scan Time Settings under CC Link IEF Basic Settings Page 138 Parameter Settings Link scan time check The maximum value minimum value and current value of a link scan time can be checked with the following method CC Link IE Field Network Basic diagnostics Buffer memory 1 Master station 2 Slave station 3 Lin...

Страница 148: ...put transmission delay time maximum Ls 2 SS ms Output transmission delay time The output transmission delay time indicates the following time Time between when a device of the master station turns ON or OFF and when the output RY of a slave station turns ON or OFF Time between when data is set to a device of the master station and when the data RWw is output to a slave station Calculation formula ...

Страница 149: ...U system refer to the following manual CW Configurator Operating Manual The startup time of the multiple CPU system may be long depending on the system configuration of the installed modules boot operation the configuration of the system parameters and CPU parameters When the SD memory card diagnostics is performed due to the operation such as power OFF during the access to the SD memory card the ...

Страница 150: ...r memory of the intelligent function module However the ON OFF data of output Y of the non controlled module can be imported by I O Setting Outside Group Accessible Not accessible I O Setting Outside Group Set the I O state outside the group System Parameter Multiple CPU Setting Other PLC Control Module Setting I O Setting Outside Group Window Displayed items Access target Accessibility When Impor...

Страница 151: ... be imported 1 Output Y data can be imported from the following modules mounted on the main extension base unit Output module I O combined module Intelligent function module 1 Data cannot be imported from MELSEC Q series modules Output Y data can also be imported from a user program using the C Controller module dedicated functions CCPU_Y_In_BitEx CCPU_Y_In_WordEx Output to an output module intell...

Страница 152: ...Set whether to stop the operation of all CPUs if a major or moderate error occurred on CPU No 1 Major All Station Stop Moderate All Station Stop Major All Station Stop Moderate All Station Continue Major All Station Continue Moderate All Station Continue Major All Station Stop Moderate All Station Stop PLC No 2 Set whether to stop the operation of all CPUs if a major or moderate error occurred on ...

Страница 153: ...ting for start up synchronization is available For example a setting in which only CPU No 1 and No 2 start synchronously in a multiple CPU system with four CPU modules is possible If a reserved empty CPU is specified to synchronize the reserved CPU is ignored and the other CPU will be started This setting is designed to access each CPU module with no interlock in the multiple CPU system It is not ...

Страница 154: ...cycle communication setting are not checked The CPUs with a fixed cycle communication setting will be compared to the parameters with those of the CPU of the smallest number Synchronization Setting within the Modules The CPUs with no inter module synchronization setting are not checked The CPUs with an inter module synchronization setting will be compared to the parameters with those of the CPU of...

Страница 155: ... this communication method when performing data send receive with adjusting the timing between CPU modules The sending side CPU module writes data in the fixed cycle communication area send area in the host CPU The receiving side CPU module reads data from the fixed cycle communication area receive area in the CPU module of the send source CPU module Area Communication method Description Area size...

Страница 156: ...between CPU CPU Buffer Memory Setting Detailed Setting Window Displayed items Item Description Setting range Default Setting button in each refresh area Click the button to configure the refresh settings used for data communication between CPU modules 0 points Send Receive Direction Display between CPUs button Click the button to display the arrow that indicates the send receive direction D8 D12 D...

Страница 157: ...stination CPU module 3 Click the OK button once the setting is completed 4 Set the number of points for all of the refresh area used for data communication Another CPU module communication destination Description C Controller module Set the number of points for refresh area as shown below Refresh area at the END 0 points Refresh area at the execution of I45 0 points Programmable controller CPU Set...

Страница 158: ...ion Setting between CPU Fixed Scan Communication Area Setting Window Displayed items Precautions The maximum area size which can be set in the fixed cycle communication area varies depending on the fixed cycle interval Item Description Setting range Default Fixed Scan Communication Function Set whether to use the fixed cycle communication function Set the same settings only for the CPUs which are ...

Страница 159: ...cation Perform fixed cycle communication Do not perform fixed cycle communication Fixed cycle communication area Fixed cycle communication area Fixed cycle communication area Fixed cycle communication area CPU No 1 Host CPU CPU No 2 Other CPU CPU No 3 Other CPU CPU No 4 Other CPU Send area of CPU No 1 Send area of CPU No 1 Send area of CPU No 1 Send area of CPU No 2 Send area of CPU No 2 Send area...

Страница 160: ...rval and the inter module synchronization setting Error detection setting During data transfer among the CPU modules in a multiple CPU system data inconsistency may occur because of time required for writing all data within the fixed cycle To detect or not to detect a continuation error can be set with this setting Page 64 Error detection setting Item Description Setting range Default 0 05 ms Unit...

Страница 161: ...d receive the following data until it receives the notification of the data read completion from another CPU The timing of sending receiving data is the update interval of the CPU module of which scan time of the programmable controller CPU or refresh cycle of the C Controller module is the latest C Controller module notifies the contents equivalent to the read completion in each refresh cycle In ...

Страница 162: ... data read completion from each CPU is notified to the CPU No 1 1 The update to the following data is not performed until the notification of the data read completion is received from other CPUs No 2 to No 4 Ò Ó Ô Ô Õ Õ Õ SM400 DINC D0 Programmable controller CPU CPU No 1 CPU buffer memory Device Programmable controller CPU CPU No 3 Programmable controller CPU CPU No 4 C Controller module CPU No 2...

Страница 163: ...ata is written from the program At END processing of each CPU the data is read The data read completion from each CPU is notified to the CPU No 1 CCPU_ToBufHG Ò Ó Ó Ô Ô Ô Ó CPU buffer memory Device Device Device Device Without refresh function Programmable controller CPU CPU No 2 Programmable controller CPU CPU No 3 Programmable controller CPU CPU No 4 C Controller module CPU No 1 CPU buffer memor...

Страница 164: ...pt program I45 execution the data is refreshed The data read completion from each CPU is notified to the CPU No 1 1 The update to the following data is not performed until the notification of the data read completion is received from other CPUs No 2 to No 4 Ò Ó Ô Õ Ö Ô Ô Õ Ö Ö SM400 DINC D0 Fixed cycle communication area Device Device Device Device Without refresh function Programmable controller ...

Страница 165: ...execution the data is read At the multiple CPU synchronous interrupt program I45 execution the data is refreshed The data read completion from each CPU is notified to the CPU No 1 CCPU_ToBufHG_ISR Ò Ó Õ Ô Ó Ó Ô Ô Õ Õ Fixed cycle communication area Device Device Device Device Without refresh function Programmable controller CPU CPU No 2 Programmable controller CPU CPU No 3 Programmable controller C...

Страница 166: ...fore data inconsistency can be prevented by setting a device for interlock at the head of data to be communicated Accessing the fixed cycle communication area When accessing within a multiple CPU synchronous interrupt program I45 no interlock circuit is required with the CPU number based data assurance setting is enabled To access the fixed cycle communication area in a program other than the abov...

Страница 167: ...BufHG To write data to the fixed cycle communication area of the module on the specified module position CCPU_ToBufHG_ISR CPU module Processing C Controller module At execution of the C Controller module dedicated function CCPU_FromBuf Programmable controller CPU At END processing Processin g order Processing at execution of the function in a C Controller module 1 Processing at execution of the fu...

Страница 168: ...ng the C Controller module dedicated function CCPU_ToBuf 3 Device data in the refresh area of the programmable controller CPU is read to a user program by executing the C Controller module dedicated function CCPU_FromBuf 4 Device data of the CPU buffer memory in the C Controller module is transferred to a device for C Controller modules in the programmable controller CPU 1 2 3 4 Programmable contr...

Страница 169: ...in the host CPU receive area is read Operation processing Multiple CPU synchronous interrupt program is executed Sending data to another CPU refresh 1 The data to be sent to another CPU module is written from a device The data is written to the host CPU send area Ò Ó Ô Ó Ô Ò Ó Ô Ò Ó Ô Ò Cycle of fixed cycle communication Cycle of fixed cycle communication Multiple CPU synchronous interrupt program...

Страница 170: ...ation area of CPU No 1 is sent to CPU No 2 CPU No 2 3 Device data in the fixed cycle communication area of CPU No 1 is read to a user program by executing the C Controller module dedicated function CCPU_FromBufHG_ISR 4 Device data of the user program is written to the fixed cycle communication area of CPU No 2 by executing the C Controller module dedicated function CCPU_ToBufHG_ISR 5 Device data i...

Страница 171: ...data for CPU No 2 is written to the fixed cycle communication area of CPU No 2 by executing the C Controller module dedicated function CCPU_ToBufHG_ISR 5 Device data in the fixed cycle communication area of CPU No 2 is sent to CPU No 1 CPU No 1 6 The device data stored in the refresh area of CPU No 2 is transferred to the devices for CPU No 2 6 1 2 3 4 5 Programmable controller CPU CPU No 1 C Cont...

Страница 172: ...abled Data is updated Data is not updated CPU number based data assurance disabled Data is updated Data is not updated Processin g order Multiple CPU synchronous program I45 is not registered on the interrupt routine Multiple CPU synchronous program I45 is registered on the interrupt routine but the registered routine is disabled Multiple CPU synchronous program I45 is registered on the interrupt ...

Страница 173: ...aranteed For a multiple CPU synchronous interrupt program I45 the settings for the execution time monitoring and the operation at the time of excess can be configured by RAS Setting of CPU parameter Page 64 Error detection setting Page 65 Operation setting when an error is detected To ensure the data transmission at the following cycle of the fixed cycle communication set Program Execution Section...

Страница 174: ...ller module another CPU Execute the D P GINT instruction with a sequence program of a programmable controller CPU another CPU 4 The user program is restarted C Controller module dedicated function Description CCPU_WaitEvent Waits for an interrupt event notification from another CPU 1 3 1 3 C Controller module other CPU C Controller module User program User program Execute the CCPU_WaitEvent functi...

Страница 175: ...ion CCPU_DedicatedDInst Executes dedicated instructions categorized as D or DP 1 1 Execute the CCPU_DedicatedDInst function User program of C Controller module other CPU Issue an interrupt Execute an interrupt routine interrupt program Interrupt routine of C Controller module interrupt program Interrupt routine is in wait state interrupt program Interrupt routine is in wait state interrupt program...

Страница 176: ... Constant Others Bit Word Bit Word Bit Word Bit Word Dec K Hex H Float string n1 n2 D1 2 3 3 D2 2 3 3 END END END END ON OFF 1 1 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 program Interrupt routine is i...

Страница 177: ... n2 Interrupt pointer number 0 to 15 User BIN16 bits D1 1 D1 0 Device that is turned ON for one scan upon completion of the instruction processing D1 1 Device that is turned ON for one scan upon abnormal completion of the instruction processing For abnormal completion D1 0 also turns ON System Bit D2 1 Device where the completion status data is stored System Word Error code 1 Description Correctiv...

Страница 178: ...ogram is restored from the interrupt event wait state at the same time as the function execution In addition when multiple interrupt events have been notified to the same interrupt event number at the time of the CCPU_WaitEvent function execution the user program processes them as a single interrupt event notification If the same CPU number and the same interrupt event number are set in more than ...

Страница 179: ...odule restarts a user program which is waiting for an interrupt event by the C Controller module dedicated function CCPU_WaitEvent Interrupt to motion CPU When an interrupt is issued to a motion CPU the motion CPU starts an interrupt program C Controller module dedicated function Description CCPU_DedicatedDInst Executes dedicated instructions categorized as D or DP C Controller module C Controller...

Страница 180: ...Startup 1 Select ERROR in the operation selection mode Error code system All error codes are given in hexadecimal format 4 digits 16 bit unsigned integer The type of error includes the error which is detected through the self diagnostics function of each module and the common error which is detected during communication between modules The following table lists the error detection type and the err...

Страница 181: ... Indicates information about system configurations such as I O number and power supply number Frequency information Indicates information on the number of times such as number of writes to memory Time information Indicates information on time Failure information Indicates information on failures Detailed event code information Indicates the detailed code registered with the C Controller module ded...

Страница 182: ...ites to the FlashROM data memory program memory and system memory exceeded 100000 times Number of writes 100000 Replace the CPU module Frequency information At power ON RESET or write 1100H Memory card access error Data cannot be written to the memory card because the write protect switch is in the locked position Set the write protect switch of the memory card in the unlocked position Always 1120...

Страница 183: ...tting to an appropriate value Time information At interrupt occurrence 1241H Inter module synchronization processing error The execution interval of the inter module synchronous interrupt program exceeded the setting value A cycle which was not executed has been detected by the inter module synchronous interrupt program I44 Review the interrupt prohibited section and program of which interrupt pri...

Страница 184: ...onfiguratio n information At power ON or RESET 2001H Module configuration error The I O numbers set to I O Assignment Setting in the System Parameter are overlapping between other modules Reconfigure the I O Assignment Setting in the System Parameter in accordance with the intelligent function module or I O module actually mounted System configuratio n information At power ON or RESET 2002H Module...

Страница 185: ...is set to other than CPU No 1 Replace the MELSEC Q series intelligent function module with the one function version B supporting a multiple CPU system Change the control CPU of the MELSEC Q series intelligent function module which does not support a multiple CPU system to CPU No 1 System configuratio n information At power ON or RESET 2040H CPU module configuration error The number of CPU modules ...

Страница 186: ...ed In a multiple CPU system the module cannot be recognized because the control CPU setting of the system parameter setting differs from that of another CPU module Mount the applicable modules Review the system parameters in the CPU No 2 or later and match the number with those of the smallest numbered CPU module The possible cause is a hardware failure of the I O module or intelligent function mo...

Страница 187: ...s a hardware failure of the data memory in the CPU module memory card I O module or intelligent function module Please consult your local Mitsubishi representative Parameter information At power ON RESET fixed cycle processing execution instruction execution or module access 2222H Parameter error Use of the function that is not supported by the module is enabled Check the detailed information para...

Страница 188: ... is a hardware failure of the data memory in the CPU module or the intelligent function module Please consult your local Mitsubishi representative System configuratio n information At power ON or RESET 2260H Parameter error network Network numbers are duplicated Check the detailed information parameter information of the error by performing module diagnostics using CW Configurator and review the p...

Страница 189: ...ion parameter information of the error by performing module diagnostics using CW Configurator and review the parameter setting corresponding to the displayed number parameter number Parameter information At power ON or RESET 2283H Parameter error refresh The total number of refresh points exceeded the maximum limit Check the detailed information parameter information of the error by performing mod...

Страница 190: ...stem configuratio n information At power ON or RESET 2441H Module major error An error was detected in the intelligent function module when a function was executed Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the module where the error was detected Please consult your local Mitsubishi representative 2442H M...

Страница 191: ...PU module If the same error code is displayed again the possible cause is a hardware failure of the host CPU module or another CPU module where the error was detected Please consult your local Mitsubishi representative System configuratio n information Always 2480H Multiple CPU error In a multiple CPU system an error was detected in the CPU modules where Stop is set in the Operation Mode Setting A...

Страница 192: ...e intelligent function module base unit or extension cable Please consult your local Mitsubishi representative At module access 24C6H System bus error An error was detected on the system bus Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module or extension cable Please consult your local Mitsubishi r...

Страница 193: ...e synchronization error was detected Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module I O module intelligent function module base unit or extension cable Please consult your local Mitsubishi representative System configuratio n information At power ON RESET or fixed cycle processing execution 263...

Страница 194: ...PU module I O module or intelligent function module take measures according to the error codes Failure information Always 3C01H Hardware failure A hardware failure was detected Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative Failure information...

Страница 195: ... the memory Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative Failure information At fixed cycle processing execution power ON or RESET 3C22H Memory error An error was detected in the memory Take measures to reduce noise Reset the CPU module If t...

Страница 196: ...it If the same error code is displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative Failure information Always 3E50H Memory error An error was detected in the memory Take measures to reduce noise Format the memory Write all files to the CPU module and then reset it If the same error code is displayed again the possible cause i...

Страница 197: ...se Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative Failure information At power ON or RESET 3E58H Hardware failure A hardware failure was detected Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware f...

Страница 198: ...he specified drive memory does not exist or has an error Check the status of the specified drive memory Back up the data in the CPU module and then initialize the memory 4022H File related error The file with the specified file name or file number does not exist Check the specified file name and file number 4023H File related error The file name and file number of the specified file do not match D...

Страница 199: ...bute is the read only Do not write data to the specified file Or change the file attribute 4053H Protect error An error occurred when writing data to the specified drive memory Check the specified drive memory Or write data again after changing the target drive memory 4054H Protect error An error occurred when deleting data from the specified drive memory Check the specified drive memory Or delete...

Страница 200: ...n 413AH File related error The specified file exceeded the file size of the file already exists Check the size of the specified file and execute the request again 413EH File related error Operation is disabled for the specified drive memory Change the target drive memory and execute the request again 413FH File related error Writing to the file storage area is prohibited for the file Change the sp...

Страница 201: ...rror The network with the number set to the routing parameters does not exist The specified CPU module cannot be communicated via the network that is not supported by the specified CPU module Check the routing parameters set to the related stations and correct them Perform data communication using the communication route supported by the specified CPU module 4A02H Network related error The specifi...

Страница 202: ...he manual of each module used Guide for reference of event list The event list contains the following information Item Description Event code Indicates the ID number of each event System code Indicates event code for the event type System Security code Indicates event code for the event type Security Operation code Indicates event code for the event type Operation Application code Indicates event ...

Страница 203: ... communication status Security key operation information Indicates information on security keys Remote password information Indicates information on the remote password File password information Indicates information on the file password Disconnected IP address information Indicates information on the disconnected IP address Drive and file information Indicates information on drive names and file ...

Страница 204: ...em Informatio n Power ON and RESET The power has been turned ON or the C Controller module has been reset 0410 Boot operation Boot operation has been performed 0420 Event history file generation A event history file has been generated Event history file information 0450 Start end of daylight saving time Daylight saving time started or ended Daylight saving time status 1000 or higher Error When a s...

Страница 205: ...ation after change 24001 Remote operation request acceptance A remote operation request RUN STOP PAUSE was accepted Remote operation type information 24100 Operating status change RUN The operating status was changed to RUN 24101 Operating status change STOP The operating status was changed to STOP 24102 Operating status change PAUSE The operating status was changed to PAUSE 24200 New folder creat...

Страница 206: ... LED turns ON when the power is restored to the system after all the modules except the Power supply module have been removed An error occurred in a module other than Power supply module Cycle the power adding modules to the system one by one An error occurred in the last module mounted immediately before the POWER LED turns OFF Replace the corresponding module Check item Corrective action The ERR...

Страница 207: ... parameter error Reset the multiple CPU system and restart it Connect CW Configurator after the READY LED turned ON and write the correct parameters The network is in the overloaded conditions Disconnect the other Ethernet devices and establish the connection only with the C Controller module Check item Corrective action The Ethernet cable is not connected to the Ethernet port Connect the Ethernet...

Страница 208: ...hat uses the write target file is running Stop the user program that uses the write target file A file system error occurred in an SD memory card or a USB Mass Storage Class compliant device Restore the file system in the SD memory card or the USB Mass Storage Class compliant device Format the SD memory card with CW Configurator Use an applicable SD memory card Format the USB Mass Storage Class co...

Страница 209: ... Systems Inc Stack size of the task that runs the user program is insufficient Increase the task stack size The pointer used in the user program refers to an invalid address Make correction to make the pointer refer to a valid address The memory area specified to the size is not reserved Secure the memory area The VX_FP_TASK option is not specified for the task that performs floating point operati...

Страница 210: ...eld Network Basic Reference Manual 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 MELSEC iQ R C Controller Module User s Manual Startup Check item Corrective action Drive name of the USB Mass Storage Class compliant device is not displayed properly Format t...

Страница 211: ...ster 4184064 points D0 to 4184063 DEC Link register 1048576 points W0 to FFFFF HEX System device Bit device Special relay 4096 points SM0 to 4095 DEC N A Word device Special register 4096 points SD0 to 4095 DEC Link direct device 1 Bit device Link input 16384 points Jn X0 to 3FFF HEX N A Link output 16384 points Jn Y0 to 3FFF HEX Link relay 32768 points Jn B0 to 7FFF HEX Link special relay 512 poi...

Страница 212: ... the special relay refer to the following section Page 211 Special Relay List For details on the special register refer to the following section Page 213 Special Register List Special register SD Link direct device Link input Jn X A device that directly accesses link relays and or link registers in a network module on the CC Link IE Controller Network and or CC Link IE Field Network Link output Jn...

Страница 213: ...le the AC power supply module is in use This relay is reset after the power is turned OFF and ON Turns ON when a momentary power failure within 10 ms is detected while the DC power supply module is in use This relay is reset after the power is turned OFF and ON S at error occurrence SM60 Blown fuse detection OFF Normal ON Module with blown fuse Turns ON when at least one output module is in fuse b...

Страница 214: ...ON CPU No 3 preparation completed This device turns ON when the access from another CPU module to the CPU No 3 is enabled after turning the power ON or resetting the module S status change SM223 1 CPU No 4 preparation completed OFF CPU No 4 preparation not completed ON CPU No 4 preparation completed This device turns ON when the access from another CPU module to the CPU No 4 is enabled after turni...

Страница 215: ...er Name Indicates the name of the special register Content Indicates the content of the special register Details Indicates the details of the special register Set by when to set Indicates the timing to set each device by system and or user Set by S Set by system When to set System Set when a fixed cycle or the status is changed in the system Initial Set only when performing an initial operation su...

Страница 216: ...or code as the one already stored in SD10 and higher is not stored The 17th and succeeding error codes are not stored in addition to the case that 16 types of error codes have already been stored to SD10 to SD25 S at error occurrence SD11 Self diagnostic error code 2 SD12 Self diagnostic error code 3 SD13 Self diagnostic error code 4 SD14 Self diagnostic error code 5 SD15 Self diagnostic error cod...

Страница 217: ...24 in the following figures 2 Drive number and file name The following information is stored in SD81 b0 Drive No b1 File name 4 Parameter information The following information is stored in SD81 b0 Parameter type b1 Parameter storage destination b2 I O No b3 Parameter No b4 Network No b5 Station No b6 System information The parameter type is stored in SD82 b0 to b7 1 System parameter 2 CPU paramete...

Страница 218: ...he following information is stored in SD81 b0 Time Set value ms b1 Time Set value μs b2 Time Measured value ms b3 Time Measured value μs 24 Failure information The failure information is a part of system information S at error occurrence No Name Content Details Set by when to set SD81 SD86 b0 b15 SD82 SD83 SD84 SD85 I O No 1 Without specification 1 0xFFFF 2 3 4 0xFF 5 6 7 0 With or without specifi...

Страница 219: ...d file name The following information is stored in SD113 b0 Drive No b1 File name 4 Parameter information The following information is stored in SD113 b0 Parameter type b1 Parameter storage destination b2 I O No b3 Parameter No b4 Network No b5 Station No b6 System information The parameter type is stored in SD114 b0 to b7 1 System parameter 2 CPU parameter 3 Module parameter 4 Module extended par...

Страница 220: ...base No is stored in SD115 b8 to b15 0 Main base unit 1 to 7 Extension base unit level 1 to 7 8 Extension base unit level 8 when the number of base is exceeded The power No 1 to 2 is stored in SD116 b0 to b7 The CPU No 1 to 4 is stored in SD116 b8 to b15 The network No 0 to 120 is stored in SD117 0 for a master station S at error occurrence No Name Content Details Set by when to set SD113 SD118 SD...

Страница 221: ... number in multiple CPU system The host station CPU number is stored when a multiple CPU system is configured S initial SD230 CPU No 1 operating status The operation information for each CPU number is stored Information for a number of multiple CPUs which is indicated in SD228 is stored 1 The operating status is stored in b0 to b3 0 RUN 2 STOP 3 PAUSE 4 Initial FH Reset 2 The classification is sto...

Страница 222: ...signed for X H SD262 Number of points assigned for Y L The number of points of the device Y currently set is stored as 32 bit data S initial SD263 Number of points assigned for Y H SD264 Number of points assigned for M L The number of points of the device M currently set is stored as 32 bit data The number of points assigned is stored even when the number of points assigned to M is 32K points or l...

Страница 223: ...age range 0 to 65535 SD525 Stores the microsecond portion of a value Storage range 0 to 999 When the maximum fixed cycle processing time is 23 6 ms for example it is stored as shown below SD524 23 ms SD525 600 μs S system SD525 Maximum fixed cycle processing time unit μs SD526 Current link refresh processing time Current link refresh processing time unit ms The current link refresh processing time...

Страница 224: ... result of the firmware update is stored 1H Normal end 100H Flash ROM error 200H Model mismatched 201H File invalid 203H Firmware update prohibited state 300H Firmware data error S initial SD923 Information on previous firmware update Histor y inform ation Execution time year The value of the year four digits when the firmware update was executed is stored as a BIN code S initial SD924 Execution t...

Страница 225: ...on and maximum station number and later are ignored Cyclic transmission status of each station SD1536 to SD1539 can be used as an interlock for cyclic transmission Page 136 Interlock program for cyclic transmission S END processing SD1540 to SD1543 Data link status of each station Data link status of each station The data link transmission status of each station is stored OFF Normal station 1 ON E...

Страница 226: ...twork module 2nd module controlled S initial SD1568 MELSECNET H network module channel number 3rd module MELSECNET H network module channel number 3rd module Channel number 51 to 54 of the MELSECNET H network module 3rd module controlled S initial SD1569 MELSECNET H network module channel number 4th module MELSECNET H network module channel number 4th module Channel number 51 to 54 of the MELSECNE...

Страница 227: ...ule Channel number 151 to 158 of the CC Link IE Controller Network module 4th module controlled S initial SD1582 CC Link IE Controller Network module channel number 5th module CC Link IE Controller Network module channel number 5th module Channel number 151 to 158 of the CC Link IE Controller Network module 5th module controlled S initial SD1583 CC Link IE Controller Network module channel number ...

Страница 228: ... number 6th module Channel number 181 to 188 of the CC Link IE Field Network module 6th module controlled S initial SD1592 CC Link IE Field Network module channel number 7th module CC Link IE Field Network module channel number 7th module Channel number 181 to 188 of the CC Link IE Field Network module 7th module controlled S initial SD1593 CC Link IE Field Network module channel number 8th module...

Страница 229: ...on of control CPU 0202H Setting of Points Occupied by Empty Slot 0100H Multiple CPU Setting Setting for Number of CPU Modules 0301H Communication Setting between CPU Refresh Setting 0303H CPU Buffer Memory Setting when refresh END 0304H CPU Buffer Memory Setting when refresh I45 is executed 0308H PLC Unit Data 0309H Fixed Scan Communication Function Fixed Scan Communication Area Setting 0307H Fixe...

Страница 230: ...Setting 3500H Error Detections Setting 3501H CPU Module Operation Setting at Error Detection 3501H LED Display Setting 3502H Event History Setting 3504H Routing Setting Routing Setting 3800H Service Settings Service Settings 6E00H Security password settings 6E01H MELSEC data link function settings Timeout Value Setting MELSEC iQ R series bus interface Channel No 12 6E03H CC Link IE Controller Netw...

Страница 231: ...102H Interrupt setting 7800H Refresh Setting Output module setting Setting of error time output mode 7101H Refresh Setting Intelligent function module setting Basic setting 7100H Application setting 7200H Interrupt setting 7800H Refresh settings 7400H Network module setting Required Settings 7100H Station Type 7700H Basic Settings 7310H Refresh Setting 7401H Application Settings 7311H Interrupt Se...

Страница 232: ...LUDE_ANSI_LOCALE ANSI longjmp INCLUDE_ANSI_LONGJMP ANSI math default INCLUDE_ANSI_MATH ANSI memchr function INCLUDE_ANSI_MEMCHR ANSI memcmp function INCLUDE_ANSI_MEMCMP ANSI memcpy function INCLUDE_ANSI_MEMCPY ANSI memmove function INCLUDE_ANSI_MEMMOVE ANSI memset function INCLUDE_ANSI_MEMSET ANSI stdio default INCLUDE_ANSI_STDIO ANSI stdio extensions INCLUDE_ANSI_STDIO_EXTRA ANSI stdlib default I...

Страница 233: ...NT counting semaphore creation routine default INCLUDE_SEM_COUNTING_CREATE counting semaphores default INCLUDE_SEM_COUNTING CRYPTO default INCLUDE_IPCRYPTO debug shell commands INCLUDE_DEBUG_SHELL_CMD debugging facilities default INCLUDE_DEBUG Default SMP scheduler policy default INCLUDE_SMP_SCHED_DEFAULT_POLICY Device Manager INCLUDE_DEVICE_MANAGER DHCP Client INCLUDE_IPDHCPC DNS Client INCLUDE_I...

Страница 234: ...mands INCLUDE_DISK_UTIL_SHELL_CMD file upload path initialization INCLUDE_WVUPLOAD_FILE Firewall INCLUDE_IPFIREWALL floating point show routine INCLUDE_HW_FP_SHOW formatted IO default INCLUDE_FORMATTED_IO formatted IO output routines default INCLUDE_FORMATTED_OUT_BASIC fpp formatting for printf default INCLUDE_FLOATING_POINT ftllite INCLUDE_TL_FTL FTP Client Backend INCLUDE_FTP full featured memor...

Страница 235: ...AGE_INTEL_ICH_SHOW Intel PRO 1000 VxBus Enhanced Network Driver default INCLUDE_GEI825XX_VXB_END Inter Integrated Circuit Bus INCLUDE_I2C_BUS IO system default INCLUDE_IO_SYSTEM IP v4 INCLUDE_IPV4 IPCOM arp commands INCLUDE_IPARP_CMD IPCOM Firewall commands INCLUDE_IPFIREWALL_CMD IPCOM ifconfig commands INCLUDE_IPIFCONFIG_CMD IPCOM ipd commands INCLUDE_IPD_CMD IPCOM netstat commands INCLUDE_IPNETS...

Страница 236: ...MUX_COMMON MUX mux2Bind service defalt INCLUDE_MUX2 MUX mux2Bind service END style device INCLUDE_MUX2_OVER_END MUX muxTkBind service default INCLUDE_MUXTK MUX muxTkBind service END style device INCLUDE_MUXTK_OVER_END MUX private support for M_BLK Ipcom_pkt conversion default INCLUDE_VXMUX_MBLK MUX mux2Bind service default INCLUDE_MUX NAT default INCLUDE_IPNET_USE_NAT message logging default INCLU...

Страница 237: ...ue show routine INCLUDE_POSIX_MQ_SHOW POSIX message queues default INCLUDE_POSIX_MQ POSIX mman INCLUDE_POSIX_MEM POSIX process scheduling INCLUDE_POSIX_SCHED POSIX scheduling policies SCHED_FIFO SCHED_RR SCHED_OTHER support in RTPs default INCLUDE_PX_SCHED_DEF_POLICIES POSIX semaphore show routine INCLUDE_POSIX_SEM_SHOW POSIX semaphores default INCLUDE_POSIX_SEM POSIX Shared Memory Objects INCLUDE...

Страница 238: ...re exchenge routine INCLUDE_SEM_EXCHANGE semaphore info routines INCLUDE_SEM_INFO semaphore show routine INCLUDE_SEM_SHOW Serial line connection commands INCLUDE_TIP_CMD shared data region support in RTPs or kernel INCLUDE_SHARED_DATA Shared Data Show INCLUDE_SHARED_DATA_SHOW shared data show shell commands INCLUDE_SHARED_DATA_SHOW_SHELL_CMD shared library commands INCLUDE_SHL_SHELL_CMD Shared Lib...

Страница 239: ...CMD target symbol table default INCLUDE_SYM_TBL target unloader INCLUDE_UNLOADER target resident kernel shell default INCLUDE_SHELL task create hooks INCLUDE_TASK_CREATE_HOOKS task hook show routine INCLUDE_TASK_HOOKS_SHOW task hooks default INCLUDE_TASK_HOOKS task info routines INCLUDE_TASK_INFO task list management INCLUDE_TASK_LIST task shell commands INCLUDE_TASK_SHELL_CMD task show routine IN...

Страница 240: ...ys Clk Support INCLUDE_VXB_SYS_CLK vxBus Timer Support INCLUDE_TIMER_SYS VxBus Timestamp Support INCLUDE_VXB_TIMESTAMP vxIpiLib INCLUDE_VXIPI vxMemProbe initializer for exception handler support default INCLUDE_VXMEMPROBE_INIT VxWorks debug library INCLUDE_VXDBG VxWorks events INCLUDE_VXEVENTS VxWorks IPCOM INCLUDE_IPCOM watchdog timer show routine INCLUDE_WATCHDOGS_SHOW watchdog timers default IN...

Страница 241: ...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 WDB virtual I O library default INCLUDE_WDB_VIO_LIB write project program text INCLUDE_PROTECT_TEXT XBD Block Device INCLUDE_XBD_BLK_DEV XBD Disk Partition Handler INCLUDE_XBD_PART_LIB XBD Ram Drive INCLUDE_XB...

Страница 242: ...n The buffer memory list of the CC Link IE Field Network Basic function Un G1024 to Un G1151 is as follows Address Name Un G0 to Un G1023 System area Un G1024 to Un G1151 CC Link IE Field Network Basic function Un G1152 to Un G2047 System area Address Name 1024 Total number of connected stations 1025 Reserved station specification status 1026 to 1029 Reserved station specification status of each s...

Страница 243: ...t when the status is changed for each refresh cycle Status change Data is set only when the status is changed At END processing Set for every refresh cycle Address Name Description Set by when to set Un to G1024 Total number of connected stations The total number of connected stations set in the parameter is stored Range 1 to 64 S initial Un G1025 Reserved station specification status The reserved...

Страница 244: ...ed Unit ms S status change Un G1040 Group No 3 current link scan The current link scan time value during cyclic transmission is stored Unit ms S status change Un G1041 System area Un G1042 Group No 4 maximum link scan The maximum link scan time value during cyclic transmission is stored Unit ms S status change Un G1043 Group No 4 minimum link scan The minimum link scan time value during cyclic tra...

Страница 245: ...which does not exist in Diagnostic request information Un G1051 the bits are cleared to 0 G1053 Number of occupied stations G1054 Group number G1055 G1056 IP address lower IP address upper 1 to 4 First octet to fourth octet When the IP address has not been set in the parameter 0 is stored G1063 Accumulated number of timeouts 0 No timeouts 1 to 65535 Number of timeouts accumulated number 2 G1064 Ac...

Страница 246: ...le dedicated functions I O access time When accessing an input module RX42C4 input number X0 and higher in a single CPU system configuration Buffer memory access time When accessing a CC Link module RJ61BT11 input number X0 and higher in a single CPU system configuration CPU buffer memory access time When accessing the buffer memory of the host CPU in a multiple CPU system configuration CPU No 1 R...

Страница 247: ...pply module is not used 1 The C Controller module starts when RA1 control starting output turns ON 2 A stop caused by an emergency stop switch or a limit switch 3 Configure external interlock circuits for conflicting operations such as forward reverse rotations and the parts where the incorrect output may cause damage to the machines or accidents MC RA1 RA2 XM Ym Yn MC2 MC1 MC MC MC MC2 MC1 Ym Yn ...

Страница 248: ...x Turning Yn ON when the user program is started Use the C Controller module dedicated functions CCPU_GetErrInfo CCPU_Y_Out_BitEx User program Create a program to perform the following operations when C Controller module starts Turning Ym ON when the battery voltage drop is detected Use the C Controller module dedicated functions CCPU_GetErrInfo CCPU_Y_Out_BitEx Turning Yn ON when the user program...

Страница 249: ...the incorrect output may cause damage to the machines or accidents MC RA1 RA3 RA2 XM Ym Yn MC2 MC1 MC MC MC RA2 L MC1 RA1 MC2 ERR RA3 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 Stop switch Use of a voltage relay is recommended Low battery alarm Lamp or buzzer Output module Turns ON by RUN cause...

Страница 250: ...detected Use the C Controller module dedicated functions CCPU_GetErrInfo CCPU_Y_Out_BitEx Turning Yn ON when the user program is started Use the C Controller module dedicated functions CCPU_GetErrInfo CCPU_Y_Out_BitEx Starting the system processing once XM turns ON and the DC input signal has settled after DC input signal settling time Create a program to start the system processing once the DC in...

Страница 251: ... Controller module so that no machine is damaged and no accident occurs The system example and its fail safe circuit example are shown below 1 Mount an output module for fail safe purpose on the last slot of the system In the example above the output module is mounted on Y80 to Y8F 2 Create a program to make Y80 repeats ON and OFF at the interval of 0 5 seconds 3 Since Y80 turns ON and OFF at the ...

Страница 252: ...roller module Therefore it is required to know the average power consumption heat generation of the equipment and devices installed in the control panel for the heat release design of the panel For details on the calculation method refer to the following manual MELSEC iQ R Module Configuration Manual It should be noted that the terms in the left column shall be replaced with the one in the right c...

Страница 253: ...on data read request X3 XA turns ON The reception data is read from the buffer memory for reception by using the C Controller module dedicated function CCPU_FromBuf after the reception data read request X3 XA turns ON The reception data read completion Y1 Y8 turns ON by using the C Controller module dedicated function CCPU_Y_Out_BitEx The reception data read request X3 XA is monitored by using the...

Страница 254: ...t_BitEx The data is sent to the target device The send normal completion X0 X7 is monitored by using the C Controller module dedicated function CCPU_X_In_BitEx Wait until the signal turns ON The send request Y0 Y7 turns OFF by using the C Controller module dedicated function CCPU_Y_Out_BitEx The send normal completion X0 X7 turns OFF Ò Ó Ô Õ Ö Target device Serial communication module User program...

Страница 255: ...erature range main base unit Extended temperature range extension base unit MES interface module High speed analog digital converter module Temperature control module MELSECNET H network module 06 or later 1 004E or later MELSEC iQ R Module Configuration Manual The daylight saving time function is supported Page 36 Daylight saving time function Label communication with R04ENCPU R08ENCPU R16ENCPU R...

Страница 256: ...t to other CPU 177 IP filter 117 M Memory card parameter 229 Memory configuration 24 Memory life 26 Module extended parameter 62 Multiple CPU synchronous interrupt program 167 O Operation processing at momentary power failure 23 Operation processing in C Controller module 22 Operation processing in PAUSE state 22 Operation processing in RUN state 22 Operation processing in STOP state 22 Output mod...

Страница 257: ...I 255 MEMO ...

Страница 258: ...ded or modified parts Section 3 3 Section 3 4 Section 4 2 Section 4 8 Section 4 12 Section 6 6 Appendix 1 Appendix 2 Appendix 6 Appendix 7 Appendix 13 April 2017 SH NA 081369ENG H Added or modified parts SAFETY PRECAUTIONS RELEVANT MANUALS TERMS Section 3 4 Section 4 9 Appendix 3 Appendix 13 May 2017 SH NA 081369ENG I Added or modified parts Appendix 13 October 2017 SH NA 081369ENG J Added or modi...

Страница 259: ...been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fir...

Страница 260: ... 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 In some cases trademark symbols such as or are not specified in this manual ...

Страница 261: ......

Страница 262: ... without notice When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission 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 ...

Отзывы: