background image

11

 

-

 

5

CHAPTER11 PROCEDURES FOR WRITING PROGRAM TO CPU MODULE

1

2

11

4

5

6

7

8

11.1  Basic Mod

el QCPU

11.1.3 

 P

rocedure fo

r wr
iting a pr

ogram

Figure 11.2  Flowchart for writing a program

To write the parameters, created program, 

and initial device value, make settings 

in the Write to PLC screen displayed by selecting 

[Online]     [Write to PLC] in GX Developer.          

1)

YES

NO

YES

NO

Write to PLC screen

Select [Online]     [Format PLC memory] 

in GX Developer and format the 

program memory or standard ROM.

Power off the programmable controller 

and then on or reset the CPU module.

Set the RUN/STOP/RESET switch to RUN 

to change the CPU module in the RUN status.

Is the ERR. LED 

on the CPU module on 

(flashing)?

Check the error cause in the System Monitor 

screen displayed by selecting [Diagnostics]     

   [System Monitor] in GX Developer or in the 

"PLC diagnostics" screen and remove the error.

Start boot operation?

QCPU User's Manual 
(Hardware Design, Maintenance and Inspection)

QCPU User's Manual 
(Hardware Design, Maintenance and Inspection)

End

To Section 11.1.3

Содержание 00JCPU

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

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

Страница 3: ...s failure to observe the precautions given under CAUTION may lead to serious consequences Observe the precautions of both levels because they are important for personal and system safety Make sure tha...

Страница 4: ...intenance and Inspection 3 Outputs may remain on or off due to a failure of an output module relay or transistor Configure an external circuit for monitoring output signals that could cause a serious...

Страница 5: ...sequence program and determine corrective actions to be taken between the external device and CPU module in case of a communication failure CAUTION Do not install the control lines or communication ca...

Страница 6: ...on for looseness Poor contact may cause incorrect input or output When using a memory card fully insert it into the memory card slot Check that it is inserted completely Poor contact may cause malfunc...

Страница 7: ...re Check the rated voltage and terminal layout before wiring to the module and connect the cables correctly Connecting a power supply with a different voltage rating or incorrect wiring may cause a fi...

Страница 8: ...methods refer to the QCPU User s Manual Hardware Design Maintenance and Inspection WARNING Do not touch any terminal while power is on Doing so will cause electric shock or malfunction Correctly conn...

Страница 9: ...SECNET H remote I O station or in the system where a CPU module supporting the online module change function is used Note that there are restrictions on the modules that can be replaced online and eac...

Страница 10: ...er wastes according to the local regulations For details of the battery directive in EU member states refer to the QCPU User s Manual Hardware Design Maintenance and Inspection CAUTION When transporti...

Страница 11: ...e of the PRODUCT in Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODU...

Страница 12: ...1 Appen dix 2 2 Appendix 2 3 Appendix 2 4 May 2011 SH NA 080808ENG E Partial correction SAFETY PRECAUTIONS GENERIC TERMS AND ABBREVIATIONS Section 3 1 3 4 3 6 3 8 1 3 8 2 5 1 1 5 1 2 5 1 5 5 2 1 5 2...

Страница 13: ...it will not cause system control problems Relevant CPU module Remark This manual does not describe the specifications of the power supply modules base units extension cables memory cards and batterie...

Страница 14: ...n 1 19 CHAPTER2 SEQUENCE PROGRAMS 2 1 to 2 51 2 1 Sequence Program Overview 2 1 2 2 Sequence Program Configuration 2 3 2 2 1 Main routine program 2 4 2 2 2 Subroutine program 2 5 2 2 3 Interrupt progr...

Страница 15: ...d storable data 5 1 5 1 2 Program memory 5 3 5 1 3 Standard ROM 5 6 5 1 4 Standard RAM 5 7 5 1 5 Operating and writing programs in the standard ROM boot operation 5 9 5 2 Memories Used for High Perfor...

Страница 16: ...Programs While CPU Module is in RUN Status 6 54 6 12 1 Online change ladder mode 6 54 6 12 2 Online change files 6 58 6 12 3 Precautions for online change 6 60 6 13 Execution Time Measurement 6 65 6...

Страница 17: ...ion Module 7 1 7 1 1 Initial setting and auto refresh setting by GX Configurator 7 2 7 1 2 Initial setting by initial device value 7 5 7 1 3 Communications with the FROM and TO instructions 7 5 7 1 4...

Страница 18: ...egister R 9 64 9 7 1 File register data storage location 9 65 9 7 2 File register size 9 65 9 7 3 Differences in available accesses by storage memory 9 66 9 7 4 Registration procedure for the file reg...

Страница 19: ...oot Operation 11 6 11 2 High Performance Model QCPU Process CPU and Redundant CPU 11 7 11 2 1 Items to be Considered for Creating Programs 11 7 11 2 2 Hardware Check 11 8 11 2 3 Procedure for Writing...

Страница 20: ...CPU system system configuration I O numbers communication between CPU modules and communication with the input output modules and intelligent function modules QnPRHCPU User s Manual Redundant System...

Страница 21: ...odule User s Manual Application SH 080010 13JL89 E mail function programmable controller CPU status monitoring function communication via MELSECNET H or MELSECNET 10 communication using the data link...

Страница 22: ...explanation Reference Note icon The section in this manual or another relevant manual that can be referred to is shown with The chapter of the current page can be easily identified by this indication...

Страница 23: ...ses the following types of explanations In addition to description of the page notes or functions that require special attention are described here Remark The reference related to the page or useful i...

Страница 24: ...12HCPU and Q25HCPU Qn H CPU Generic term for the Q02CPU Q02HCPU Q06HCPU Q12HCPU and Q25HCPU QnPHCPU Generic term for the Q02PHCPU Q06PHCPU Q12PHCPU and Q25PHCPU QnPRHCPU Generic term for the Q12PRHCPU...

Страница 25: ...61P D Q62P Q63P Q64P and Q64PN power supply modules AnS series power supply module Generic term for the A1S61PN A1S62PN and A1S63P power supply modules A series power supply module Generic term for th...

Страница 26: ...ed on or reset 2 Refresh processing with input and output modules Section 3 2 The CPU module takes on off data from the input module or intelligent function module and outputs on off data to the outpu...

Страница 27: ...tored in the program memory To execute the programs stored in the standard ROM or a memory card the programs need to be booted to the program memory Section 5 1 5 when the CPU module is powered off an...

Страница 28: ...gram as a collection of three program sections main rou tine program Section 2 2 1 subroutine program Section 2 2 2 and interrupt program Section 2 2 3 Note1 Figure 1 4 Structuring in one program Note...

Страница 29: ...rding to the processes 1 1 The processing contents divided according to the processes can further be divided and managed according to the func tions 2 The execution order can be set in the Program tab...

Страница 30: ...ection 2 3 2 Figure 1 7 Dividing into multiple files according to the functions Communication processing Error processing Processing contents are divided according to the functions Initial processing...

Страница 31: ...the program Section 3 8 2 c No input pulse conversion required by using a differential contact Pulse conversion processing for inputs is no longer required with the use of a differential contacts and...

Страница 32: ...uffer memory address 12 of the Q64AD I O number X Y40 to X Y4F Specifying the buffer memory address Specifying the I O number of the intelligent function module Power supply module CPU module Input mo...

Страница 33: ...ming including the pulse conversion processing Figure 1 14 Structured programming including the pulse conversion processing Figure 1 15 Data processing with the table processing instruction X0 X1 PLS...

Страница 34: ...ams become easier Subroutine programs can be created within the same program and called Subroutine programs in other pro grams can also be called by using the common pointer Figure 1 16 Subroutine pro...

Страница 35: ...refer to Section 9 3 1 Figure 1 17 Calling subroutine program with argument passing FD2 FD1 MOV SM400 FD2 FD0 MOV RET FEND END M0 M0 M10 R10 K4X10 W10 P0 CALLP P0 100 0 Always on Argument from FD2 1 S...

Страница 36: ...or small scale system The Basic model QCPU is suitable for controlling a small scale system of simple and compact system The CPU module provides high cost performance for a small scale system Figure 1...

Страница 37: ...SEC communication protocol hereafter MC proto col by connecting a RS 232 interface and personal computer or HMI The CPU module functions are added at the update of serial number of CPU module or GX De...

Страница 38: ...large capacity and allows high speed processing suitable for any scale system This allows configuration of optimum and high performance system Figure 1 20 System example using the High Performance mod...

Страница 39: ...used together with the High Performance model QCPU by mounting them on the AnS A series compatible extension base unit QA1S5 B QA1S6 B QA1S6ADP A1S5 B A1S6 B QA6 B and QA6ADP A5 B A6 B The CPU module...

Страница 40: ...o degree of freedom PID control system This system allows optimum response independent of set value and disturbance changes 3 Auto tuning function PID constant initial value setting This function enab...

Страница 41: ...Developer Process control software package PX Developer easily creates PID control programs with function blocks The combination of the Process CPU and the process control software package PX Develope...

Страница 42: ...er supply modules and CPU modules Redundant CPUs In case of a failure of the control system the standby system takes over the control in the redundant system enabling high reliability of the system Fi...

Страница 43: ...oper and GX Developer together with the following versions GX Developer Version 8 17T or later PX Developer Version 1 05F or later The CPU module functions are added at the update of serial number of...

Страница 44: ...te is located on the side of the CPU module 2 Checking on the front of the module The serial number on the rating plate is printed on the front at the bottom of the module This applies only to the CPU...

Страница 45: ...yed in the Serial No column The function version of the module is displayed in the Ver column The serial number displayed on the Product Information List screen of GX Developer may differ from that on...

Страница 46: ...sic instruction and application instruction Data indicating the execution status of an operation in a sequence program step is referred to as signal flow Remark For the instructions used in sequence p...

Страница 47: ...uctions for programming The symbols such as contacts and coils used in ladder mode are replaced with dedicated instructions The following instructions are used for normally open contacts normally clos...

Страница 48: ...ltiple programs the file name is fixed to MAIN Figure 2 3 Comparison between ladder mode and list mode Figure 2 4 Sequence program classification X0 X1 X5 X6 X7 X2 X3 X4 Y10 0 10 END 0 LD X0 1 AND X1...

Страница 49: ...cessing After the END processing the program restarts its operations from the step 0 When multiple programs are executed the main routine program operation after execution of the END or FEND instructi...

Страница 50: ...is satisfied as a subroutine program can shorten the scan time 3 Programming of subroutine programs Create subroutine programs between the FEND and END instructions in the main routine program 1 Sinc...

Страница 51: ...umber corresponding to that factor is executed Interrupt programs are executed only when the corresponding interrupt factor occurs Figure 2 7 Interrupt program Figure 2 8 Interrupt program execution t...

Страница 52: ...d the interrupt program of I49 cannot be executed in the preset interrupt cycles Only one interrupt program can be created with one interrupt pointer number Remark For details of the interrupt factors...

Страница 53: ...ogram 1 Basic model QCPU Enable interrupts with the EI instruction 2 High Performance model QCPU Process CPU or Redundant CPU Enable interrupts with the IMASK or EI instruction for execution of the in...

Страница 54: ...C Do not use the timer T and counter C in interrupt programs If more than one interrupts occur in one scan the timer T and counter C in the interrupt program cannot measure the time correctly The OUT...

Страница 55: ...I28 to I31 I50 to I255 and fixed scan execution type programs only once As for I32 to I41 and I49 the CPU module discards the interrupt factors occurred while interrupts are disabled b When an interr...

Страница 56: ...t factor occurs more than one time the CPU module stores only the first factor The second interrupt factor and later are ignored Figure 2 13 When multiple interrupt factors occur simultaneously Figure...

Страница 57: ...k or MELSECNET H network this setting does not work when a device set as a refresh target is used in the interrupt program In the interrupt program do not use any refresh target device Remark For the...

Страница 58: ...executed If the same device is used for the main routine program and interrupt program device data may become inconsistent In this case take the following measures to prevent device data inconsistency...

Страница 59: ...ing one program The CPU module can store multiple programs divided on the basis of each control unit This enables programming of one sequence program by two or more designers Note3 Figure 2 16 Control...

Страница 60: ...PU module is powered on or its status is switched from STOP to RUN Section 2 3 1 2 Scan execution type Scan This program is executed once in every scan starting in the next scan of which the initial e...

Страница 61: ...usability setting For each program determine whether to use the file specified for the file register initial device value device comment and local device in the PLC file tab of the PLC parameter dialo...

Страница 62: ...in the specified range 1 Application This setting is useful when fixed scan execution type programs are used The CPU module takes in inputs X before execution of each fixed scan execution type program...

Страница 63: ...ND processing Powered off on STOP RUN Initial execution type program Low speed execution type program Scan execution type program Fixed scan execution type program Stand by type program Executed only...

Страница 64: ...type programs are executed Figure 2 21 When processing performed only once is separated as an initial execution type program Figure 2 22 Execution order of the initial execution type programs When an...

Страница 65: ...al scan time Accuracy of the initial scan time stored in the special register is 0 1ms Even if the WDT instruction instruction that resets the watchdog timer is executed in the sequence program the me...

Страница 66: ...s longer than actual initial scan time When an initial execution type program and low speed execution type program are to be executed the low speed execution type program Section 2 3 3 is executed aft...

Страница 67: ...cuted the scan time will be the time required for completing all the scan execution type program execution If an interrupt program or fixed scan execution type program is executed execution time of th...

Страница 68: ...ontrol accuracy Set a constant scan time value 2 When securing the time for execution of low speed execution type programs Set a low speed program execution time value Figure 2 26 Execution of a low s...

Страница 69: ...speed execution type programs are repeatedly executed for the period of time set for low speed program execution time For this reason the scan time varies in each scan Figure 2 29 3 Time remained aft...

Страница 70: ...an execution type program Low speed execution type program A Low speed execution type program B Waiting time in constant scan Low speed scan time Low speed scan time Low speed scan time Low speed END...

Страница 71: ...Asynchronous mode SM330 off Figure 2 30 Synchronous mode SM330 on 0 18 5 25 5 33 5 ms 4ms 1ms 2ms 4 5ms 1ms 4ms 4 11 5 2ms 1ms 1ms 1ms 1ms 4ms 5ms 3ms 12 5ms 8ms 8ms Scan execution type program Low s...

Страница 72: ...d execution type programs Measurement of low speed scan time Reset of a watchdog timer for low speed execution type programs If SM330 is on and there is still a remaining time in a constant scan the C...

Страница 73: ...an time is 50 4ms Remark The low speed scan time and program execution time can be checked on the Program monitor list screen Section 6 13 1 2 Accuracy and measurement of low speed scan time Accuracy...

Страница 74: ...programs are executed even in the same scan where the initial execution type program is executed To prevent low speed execution type programs from being executed after the initial execution type progr...

Страница 75: ...r the execution time of low speed execution type programs set a low speed execution monitoring time value The setting range is 10 to 2000ms in increments of 10ms No default value is set a When the low...

Страница 76: ...rograms can be created and managed in a single stand by type program b Program type change Stand by type program is used to create and store programs available in all systems Only required programs wi...

Страница 77: ...r execution type using instructions a Creating subroutine and or interrupt programs in a single stand by type program When creating subroutine and or interrupt programs in a single stand by type progr...

Страница 78: ...programs refer to the following Subroutine program Section 2 2 2 Interrupt program Section 2 2 3 Use common pointers Section 9 9 2 If local pointers are used subroutine programs in a stand by type pr...

Страница 79: ...ion type program and the program ABC to a stand by type program Before execution of the PSCAN and PSTOP instructions After execution of the PSCAN and PSTOP instructions Scan execution type program ABC...

Страница 80: ...am tab of the PLC parameter dialog box 4 Precautions on programming a Unavailable devices Unavailable devices depend on the program type subroutine program or interrupt program or the execution type c...

Страница 81: ...terrupted in units of files without interrupt pointers or the IRET instruction For the restrictions on programming refer to Section 2 2 3 2 b To execute a fixed scan execution type program execute the...

Страница 82: ...xecution condition is established during link refresh The link refresh is suspended and a fixed scan execution type program is executed Even if the Block data assurance per station setting is enabled...

Страница 83: ...xecuted 3 Processing at program execution type change For how to save and restore data in the index register when the program execution type is changed refer to Section 2 2 3 4 The method is the same...

Страница 84: ...increase in execution time of a fixed scan execution type program With the settings above the condition 1 will be 0 5ms 5ms The execution time of a fixed scan execution type program whose execution in...

Страница 85: ...xt scan Changes to the stand by type in two scans later Stand by type Changes to the scan execution type Remains unchanged No processing Low speed execution type Stops execution of the low speed execu...

Страница 86: ...execution type of programs can be changed on the screen opened by selecting Online Monitor Program monitor list Section 6 13 1 Figure 2 43 Execution type change example PSCAN ABC M0 PSTOP ABC M1 PSCA...

Страница 87: ...ows the numeric representations of BIN HEX BCD and DEC decimal Table2 4 Numeric representations of BIN HEX BCD and DEC DEC Decimal HEX Hexadecimal BIN Binary BCD Binary coded decimal 0 0 0 0 1 1 1 1 2...

Страница 88: ...ry Therefore the program operations are not performed correctly 1 b in this section b Using any numeric data regardless of the data type To convert the data set in binary coded decimal into binary whi...

Страница 89: ...l indicator the indicator does not show the values correctly To convert the data set in binary into binary coded decimal which can be used in the external indicator use the BCD instruction The BCD ins...

Страница 90: ...ilable in the CPU module Each register in the CPU module can store numeric values in the range of 32768 to 32767 Figure 2 46 shows the numeric representations for registers A numeric value of 2n is as...

Страница 91: ...nine and AH to FH to represent values ten to fifteen After a digit reaches FH the next higher digit to the left is incremented Table2 6 shows the numeric representations in BIN HEX and DEC 2 Numeric r...

Страница 92: ...eric representation in BCD Each register such as the data register link register in the CPU module consists of 16 bits Therefore the numeric values can be stored in each register are those in the rang...

Страница 93: ...n and the meaning of each bit are described below 1 Sign The most significant bit b31 is the sign bit he most significant bit b31 is the sign bit 0 Positive 1 Negative 2 Exponent The 8 bits b23 to b30...

Страница 94: ...ent 1 7EH 01111110 2 Mantissa 100 00000 00000 00000 00000 2 In this case the value will be encoded as 3F400000H Values after the decimal point in binary is calculated as follows 0 1101 2 0 1101 2 2 1...

Страница 95: ...g models When instructions that perform many real number operations internally such as the SIN or COM instruction are used data accuracy increases by selecting this checkbox 2 Not selecting the checkb...

Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...

Страница 97: ...n back to STOP and to RUN again Note that the PLS P instruction instruction for pulse conversion may not be executed properly with the above operation This is because the previous information may not...

Страница 98: ...le to the CPU module On off data output from the CPU module to the output module or intelligent function module When the constant scan time is set I O refresh is performed after the constant scan wait...

Страница 99: ...3 3 Table3 2 END processing list Item CPU module Reference Basic model QCPU High Performance model QCPU Process CPU Redundant CPU Refresh with network modules CHAPTER 10 Auto refresh with intelligent...

Страница 100: ...equired before operations The processing time required for the CPU module to start sequence program operations after its operating status is changed from STOP to RUN varies depending on the system con...

Страница 101: ...ation with CC Link remote stations Table3 3 Operation processing when switch operation is performed RUN STOP status CPU module operation processing Sequence program operation processing External outpu...

Страница 102: ...momentary power failure occurs for a period longer than the allowable power failure tim The CPU module starts its operations initially Operation processing will be the same as that when any of the fol...

Страница 103: ...et operation 1 Data in the program memory Data can be cleared by selecting the Clear program memory checkbox in the Boot file tab of the PLC parameter dialog box or Note3 1Note1 selecting Online Delet...

Страница 104: ...ar data by the RESET L CLR switch Note3 2 or the remote latch clear operation Section 6 6 4 c Clearing device data set in latch clear operation disable range Clear data by resetting devices with the R...

Страница 105: ...ogram To access input output modules in the direct mode use the direct access input or direct access output in a sequence program 1 Differences between refresh mode and direct mode The direct mode dir...

Страница 106: ...le are batch input to the area for communication with the input module in the CPU module before the start of sequence program operations The CPU module performs sequence program operations using the o...

Страница 107: ...efresh Before the start of sequence program operations the CPU module batch outputs data in the output Y device memory 2 to the output module When a contact instruction for input is executed The CPU m...

Страница 108: ...ing END processing 2 Data in the GX Developer input area can be turned on off by the following operation Test operation by GX Developer Writing data from a network module Writing data from an external...

Страница 109: ...Figure 3 4 Y5E turns on the earliest Figure 3 5 Y5E turns on the latest 55 X5 Y5E A program that turns on the output Y5E when the input X5 turns on Delay time Minimum 1 scan OFF ON 0 END END 0 0 Input...

Страница 110: ...struction is executed in a sequence program With this mode the CPU module uses the direct access input DX and direct access output DY to perform I O processing Figure 3 6 Direct mode Input module or o...

Страница 111: ...input data from the input module 1 and input data in the GX Developer input area 2 or data in the remote input refresh area Then the module stores the result in the input X device memory and executes...

Страница 112: ...rliest Figure 3 9 DY5E turns on the latest 55 DX5 DY5E A program that turns on the output DY5E when the input DX5 turns on Delay time OFF ON 0 55 56 External contact OFF ON OFF ON DX5 External contact...

Страница 113: ...when assigning the number of slots for each base unit Any number of slots can be assigned irrespective of the actual number of slots on the base unit to be used a Setting the number of slots greater...

Страница 114: ...ialog box 1 Auto Detail Select the mode for the base unit assignment either from auto mode or detail mode 2 Base model name Power model name Extension cable Enter the model names of mounted base units...

Страница 115: ...efault 12 Slot Default When Detail is set select either of these items for batch setting the base units to the specified number of slots In auto mode when any extension base number is skipped at the s...

Страница 116: ...PU module 2 I O number representation I O number representation When a 16 point I O module is used the I O number for each slot will be 16 point sequence number from 0 to F as shown in Figure 4 4 X an...

Страница 117: ...of each slot Each slot on the base unit occupies I O numbers by the number of I O points of the mounted modules Figure 4 5 I O number assignment example Number of I O points Q35B 5 slots occupied Q65B...

Страница 118: ...and intelligent function modules on the CPU module side When X Y0 to X Y3FF 1024 points are used for the I O modules and intelligent function modules on the CPU module side X Y400 and later can be us...

Страница 119: ...system X Y 1000 to 17FF 2048 points are assigned to the CC Link system master local modules of lower numbers There are no restrictions on the I O number assignment order for the MELSECNET H remote I...

Страница 120: ...used in the program When the I O numbers used in the actual system differ from those in the designed program the I O numbers of each module on the base unit can be changed to the ones in the designed...

Страница 121: ...le type Points I O points Start XY start I O number For example to change the I O number of the specified slot setting is allowed only to the number of points For other items that are not set settings...

Страница 122: ...e entered model names for user reference d Points When changing the number of I O points for each slot the selections are as follows 0 points 16 points 32 points 48 points 64 points 128 points 256 poi...

Страница 123: ...a 32 point input module is mounted the second half 16 points of the 32 point input module becomes unavailable 2 When the preset number of I O points exceeds those of mounted I O modules The exceeded n...

Страница 124: ...ch slot Specify start XY in the additional module to prevent the duplication of start XY Example Input 0060 to start XY in slot2 In the High Performance model QCPU and Process CPU mounting the slot fo...

Страница 125: ...sion cable connector OUT and therefore cannot be used in combination with the QA6 B The I O numbers of modules mounted on the base unit should be assigned by separating them into the Q and A series Fa...

Страница 126: ...8B Q68B 32 points 32 points 32 points 32 points 32 points16 points 32 points 32 points 32 points 32 points 32 points 16 points 32 points 32 points 32 points 32 points 0 1 2 4 5 6 7 3 X00 X20 X40 Y70 Y...

Страница 127: ...Q68B Input module Input module Input module Empty Output module Output module Output module Output module 32 points 32 points 32 points 32 points 32 points 32 points 32 points 32 points 32 points 32 p...

Страница 128: ...3 Extension 1 Q38B Q68B Input module Input module Input module Empty Output module Output module Output module Output module 32 points 32 points 32 points 32 points 32 points 32 points 32 points 32 p...

Страница 129: ...YAF YCF YEF X21F 8 9 10 12 13 14 15 11 F0 110 130 170 Y180 Y1A0 Y1C0 150 10F 12F 14F 17F Y19F Y1BF Y1DF 16F 32 points 32 points 32 points 32 points 32 points 16 points 32 points 32 points 32 points 32...

Страница 130: ...memory is for storing programs and parameters for CPU module operation b Standard ROM Section 5 1 3 This memory is for storing data such as programs and parameters Programs and parameters can be store...

Страница 131: ...matting Table5 2 provides the memory capacities and necessity of formatting of each memory Format a memory requiring formatting by GX Developer beforehand 1 The standard RAM capacities of the Basic mo...

Страница 132: ...eeds the program memory capacity reduce the user setting system area or transfer data other than programs to the standard ROM 2 Before using the program memory Format the program memory by GX Develope...

Страница 133: ...mory on the Read from PLC screen 2 Click the button 3 The memory capacity appears in Total free space volume Table5 3 Type of user setting system area System area Description High speed monitor area f...

Страница 134: ...arget memory on the Write to PLC screen The file size has its minimum unit Section 5 4 4 The occupied memory capacity may be greater than the actual file size Note that as the number of files increase...

Страница 135: ...the button 3 The memory capacity appears in Total free space volume 3 Writing to the standard ROM To write data select Online Write to PLC Flash ROM Write the program memory to ROM in GX Developer Sec...

Страница 136: ...sic model QCPU of function version B or later formatting the standard RAM is not required but clearing standard RAM data is required For how to clear the data file register refer to Section 9 7 3 a Fo...

Страница 137: ...he standard RAM Select Online Write to PLC in GX Developer Select Standard RAM in Target memory on the Write to PLC screen The file size has its minimum unit Section 5 4 4 The occupied memory capacity...

Страница 138: ...ram memory 1 Program execution boot operation Boot a program by the following procedure a Creating a program by GX Developer Create a program to be booted b Setting for boot operation Select Do boot f...

Страница 139: ...dard ROM select Online Write to PLC Flash ROM Write the program memory to ROM d Program execution Resetting the CPU module starts boot operation from the standard ROM Whether the boot operation is nor...

Страница 140: ...program memory is written in the RUN status during boot operation from the standard ROM the change cannot be updated to the program in the boot source standard ROM Set the CPU module to STOP and then...

Страница 141: ...C Link Since writing a file to the standard ROM takes time make the CPU monitoring time setting SW0A of CC Link to 180 seconds or longer Remark For settings of the communication time check period and...

Страница 142: ...2 4 This memory is for using file registers local devices and sampling trace files without a memory card d Memory card Section 5 2 5 This memory is for expansion of built in memory in the CPU module T...

Страница 143: ...ored in the standard RAM 7 For the number of storable file register points refer to Section 9 7 8 A sequence program allows reading only No data can be written from the sequence program 9 Data can be...

Страница 144: ...s 124k steps 1008k bytes 252k steps Necessary 1 Standard ROM 112k bytes 112k bytes 240k bytes 496k bytes 1008k bytes Unnecessary Standard RAM 64k bytes 128k bytes 256k bytes Necessary 1 Memory card SR...

Страница 145: ...ameters for CPU module operation If the total size of data to be stored exceeds the program memory capacity reduce the user setting system area or transfer data other than programs to the standard ROM...

Страница 146: ...ry capacity appears in Total free space volume Table5 6 Type of user setting system area System area Description High speed monitor area from other station Setting this area increases the monitoring s...

Страница 147: ...elect Online Write to PLC in GX Developer Select Program memory Device memory in Target memory on the Write to PLC screen The file size has its minimum unit Section 5 4 4 The occupied memory capacity...

Страница 148: ...ne Write to PLC Flash ROM Write the program memory to ROM in GX Developer Section 5 2 6 Writing data by selecting Online Write to PLC Flash ROM Write to PLC Flash ROM in GX Developer Section 5 2 6 Wri...

Страница 149: ...ed exceeds the standard RAM capacity store the files in the memory card or reduce the number of points of the file register local device or sampling trace Note when file registers are stored in the me...

Страница 150: ...ect Standard RAM in Target memory on the Write to PLC screen The file size has its minimum unit Section 5 4 4 The occupied memory capacity may be greater than the actual file size Note that as the num...

Страница 151: ...the sampling trace function is used or Section 6 14 17 or more error history data are saved Section 6 18 2 When storing file registers to the SRAM card the file registers can be written or read by th...

Страница 152: ...emory card ROM in Target memory Use only GX Developer to format the ATA card If formatting the ATA card by such as the formatting function of Microsoft Windows the card may not be used with the CPU mo...

Страница 153: ...e volume 3 Writing to the memory card The following describes the operations before writing and the methods for writing a Writing to the SRAM card or the ATA card Select Online Write to PLC in GX Deve...

Страница 154: ...e size has its minimum unit Section 5 4 4 The occupied memory capacity may be greater than the actual file size Note that as the number of files increases the difference between the occupied memory ca...

Страница 155: ...when debugging the program in the program memory and writing the debugged program to the Flash card without change for boot operation Section 5 2 8 or storing the data in the program memory to the Fla...

Страница 156: ...ng describes a procedure for writing a file to the standard ROM and Flash card 1 Procedure for Write the program memory to ROM in GX Developer Select Online Write to PLC Flash ROM Write the program me...

Страница 157: ...either of the following methods stored files cannot be added or changed directly a When writing files using Write the program memory to ROM in GX Developer To read all files in the program memory sele...

Страница 158: ...iting a file to the standard ROM or Flash card takes time make the CPU monitoring time setting SW000A of CC Link to 60 seconds or longer The default value of 90 seconds can be used Remark For settings...

Страница 159: ...ion d Online change If Write to PLC Flash ROM is executed during the RUN status in the situations described below an error may occur and the CPU module may stop To avoid this execute Write to PLC Flas...

Страница 160: ...parameters in a memory card to the standard ROM without GX Developer personal computer This function is useful when the same parameters and programs are written to multiple CPU modules or the same env...

Страница 161: ...oted in the Boot file tab Select Standard ROM in Transfer from 2 Store the set parameters and programs to be booted to the memory card b Operation on the CPU module side 1 Power off the CPU module 2 M...

Страница 162: ...ta in the memory card When the program memory does not have the same file name the file to be booted from the memory card is added to the program memory If the program memory capacity is exceeded then...

Страница 163: ...og box 3 4 in this section The program stored in the standard ROM and memory card whose file name is specified in the Boot file tab is booted with the program memory after the CPU module is powered of...

Страница 164: ...to be booted to the program memory in the Boot file tab of the PLC parameter dialog box c Hardware setting for boot operation Set the parameter valid drive to a memory where parameters are to be stor...

Страница 165: ...d g Checking whether a boot is normally completed The following status indicates normal completion of boot operation The BOOT LED turns on The special relay SM660 turns on The data written to the tran...

Страница 166: ...tab of the PLC parameter dialog box are not changed When setting the CPU module to STOP correct the settings in the Program tab of the PLC parameter dialog box to the settings configured in the RUN s...

Страница 167: ...e Boot file tab of the PLC parameter dialog box and stored in the standard ROM or memory card is booted d Boot operation when the ATA card is used When data are booted in the following status the proc...

Страница 168: ...file stored in a memory card Also characters other than ASCII may not be used for a name of the file stored in memories other than a memory card For ASCII characters that can be used refer to the fol...

Страница 169: ...file created by an user except a file register file Section 5 4 3 5 2 10Specifying valid parameters parameter valid drive setting The drive memory storing parameters to be valid can be selected with t...

Страница 170: ...ram This area stores the created program c Reserved area for online change This area is used when the number of steps is increased after writing data in the RUN status from GX Developer When such oper...

Страница 171: ...y of the reserved area for online change 500 steps is not included The size of program having the execution program area of 491 steps is displayed on the GX Developer screen as shown below The file he...

Страница 172: ...perations executable from GX Developer File operation Operation detail Operability 1 Basic model QCPU High Performance model QCPU Process CPU Redundant CPU A B C A B C D A B C D A B C D Read from PLC...

Страница 173: ...pers other than the one writing data to a file cannot access the file until the writing ends Also GX Developers other than the one accessing a file cannot write data to the file until the access ends...

Страница 174: ...he values in the following table The values indicate an increment of each module With the remote password setting 64 20 number of target modules 10 increase up to 164 Sequence program 136 1 4 number o...

Страница 175: ...a size of each device Comment data size per device 10 10250 a 40 b a Quotient of number of device points 256 b remainder of number of device points 256 Initial device value 66 44 n 2 total number of d...

Страница 176: ...n 5 4 4 Table5 12 Calculation of file size High Performance model QCPU Process CPU and Redundant CPU continued Function Rough file capacity unit Byte Local device 72 6 set device type 2 total number o...

Страница 177: ...umber first five digits is 07031 or earlier the file size unit will be 1024 steps 4096 bytes b File size unit for each memory card 1 The file size unit of the Flash card is applied when a file is writ...

Страница 178: ...calculation The memory capacity is calculated in units of file sizes of the CPU module to be written The file size unit of the Q26UDHCPU in this example is 1 step 4 bytes 1 in this section 1 Calculati...

Страница 179: ...6 steps 6144 bytes 3 Result The calculation results of the memory capacities are as shown below Figure 5 42 Occupation in units of the file size program file Table5 16 Calculation results of memory ca...

Страница 180: ...nce the file size unit differs a file may not be stored to the CPU module depending on the file size 2 Unless the number of steps of the reserved area for online change is reduced a file may not be st...

Страница 181: ...lock function Reads the internal clock data of the CPU module to use it for time management Section 6 5 Remote RUN STOP Runs or stops the program operations in the CPU module externally Section 6 6 1...

Страница 182: ...a preset timing Section 6 14 Debug function from multiple GX Developers Enables simultaneous debugging by multiple GX Developers Section 6 15 Watchdog timer Monitors operational delays caused by hard...

Страница 183: ...on C mounted on the main base unit extension base unit or MELSECNET H remote I O station In a redundant power supply system the power supply module can also be changed online QCPU User s Manual Hardwa...

Страница 184: ...ch sequence program differs Note1 Scan time without constant scan setting Scan time with constant scan setting 7ms Scan time for multiple programs with constant scan setting 10ms Note6 1 Figure 6 1 Co...

Страница 185: ...dialog box The setting range varies depending on the CPU module Basic model QCPU 1 to 2000ms in increments of 1ms High Performance model QCPU Process CPU or Redundant CPU 0 5 to 2000ms in increments...

Страница 186: ...ng time from when END processing of a sequence program is executed until next scan starts a When a low speed execution type program is executed Execution of the low speed execution type program will b...

Страница 187: ...the CPU module detects PRG TIME OVER error code 5010 For the maximum processing time of one instruction refer to the following MELSEC Q L Programming Manual Common Instruction b Interrupt program or...

Страница 188: ...t using the latch function 2 Application This function is used to hold the data managed by sequential control and continue control operation especially when the CPU module is powered off and then on 3...

Страница 189: ...fluence on the scan time since no latch processing is performed 7 Device data latch clear Table6 4 shows the status of device data when the latch clear operation is performed 1 For the clearing method...

Страница 190: ...ired to latch device data Note that if the battery connector is disconnected from the connector of the CPU module while the power supply for the programmable controller is off device data in the latch...

Страница 191: ...Output the output Y status prior to STOP Previous state Clear the output Y status Recalculate output is 1 scan later 2 Application This function is used to determine the status of outputs whether to r...

Страница 192: ...forcibly turned on in the STOP status refer to 5 in this section 4 Setting the output mode when the operating status is changed from STOP to RUN Set the output mode when the operating status is chang...

Страница 193: ...ed on in the STOP status Table6 5 Output status when the operating status is changed from STOP to RUN after the output forced on operation is performed Output mode Output mode at STOP to RUN selected...

Страница 194: ...failure occurs exceeding the allowable momentary power failure time 3 Clock data Table6 6 shows the details of clock data which is used internally in the CPU module 1 Storing in SD213 for the first tw...

Страница 195: ...change the clock data Figure 6 11 shows a program for writing the set clock data to D0 to D6 For details of the DATEWR instruction refer to the following MELSEC Q L Programming Manual Common Instruct...

Страница 196: ...ATERD instructions refer to the following MELSEC Q L Programming Manual Common Instruction Clock data can also be written or read by the special relay SM210 to SM213 and special register SD210 to SD21...

Страница 197: ...r if the clock data is out of the range d Use for clock data of 1 1000 sec 1 Function that clock data of 1 1000 sec can be used Only the following instructions can use the clock data of 1 1000 sec S P...

Страница 198: ...D instruction reads the year data in four digits the data can be compared by the comparison instruction without any modifications Table6 8 Clock data accuracy Ambient temperature Accuracy Day differen...

Страница 199: ...RESET switch for the Basic model QCPU in the RUN position 2 Application This operation is useful to run or stop the CPU module remotely when the CPU module is inaccessible or the CPU module is in a co...

Страница 200: ...by turning on off the set RUN contact When the RUN contact is turned off the CPU module status changes to RUN When the RUN contact is turned on the CPU module status changes to STOP b By GX Developer...

Страница 201: ...us was changed to STOP by the remote STOP operation perform the remote RUN operation in the same order for the remote STOP operation c In a redundant system where the Redundant CPU is used 1 When the...

Страница 202: ...USE contact in the PLC system tab of the PLC parameter dialog box The settable device range differs depending on the CPU module Basic model QCPU Input X0 to X7FF High Performance model QCPU Process CP...

Страница 203: ...turns on during END processing of the scan where the remote PAUSE command is executed The CPU module executes one more scan until the END instruction after the scan where the PAUSE contact turns on a...

Страница 204: ...n the system specified in the connection target settings 2 When the Both systems item is selected on the Remote operation screen Remote PAUSE operation is performed for both CPU modules in the control...

Страница 205: ...naccessible location 3 Executing method This operation can only be performed by GX Developer or an external device using the MC protocol Select Online Remote operation in GX Developer To perform the r...

Страница 206: ...emote RESET operation is performed to the CPU module which is stopped due to an error note that the CPU module will be placed in the operating status set by the RUN STOP RESET switch after reset proce...

Страница 207: ...hen performing the remote RESET operation if the control system CPU module is in the STOP status set the standby system CPU module to the same status If the operation is performed with the control sys...

Страница 208: ...in Figure 6 20 the standby system CPU module may not be reset even when the remote RESET operation is performed for the control system CPU module If remote operation is being performed for the standby...

Страница 209: ...Executing method This operation can only be performed by GX Developer or an external device using the MC protocol Select Online Remote operation in GX Developer To execute the remote latch clear opera...

Страница 210: ...sable range refer to Section 3 7 2 c c Devices that are reset by the remote latch clear operation Devices that are not latched are also reset when the remote latch clear operation is performed d In a...

Страница 211: ...ped due to an error 2 Remote operations from a single GX Developer When remote operations are performed from a single GX Developer the operating status of the CPU module will be the status of the last...

Страница 212: ...alog box 1 Make I O assignment for the target module 2 Click the button 3 On the screen opened select an input response time value I O response time Table6 10 Modules available for input response time...

Страница 213: ...sion above is used a default time value is used b When input response time is shortened The shorter the input response time is the more the CPU module is susceptible to noise Consider the operating en...

Страница 214: ...ameter dialog box 1 Make I O assignment for the target module 2 Click the button 3 On the screen opened select Clear or Hold Default Clear 3 Precautions The error time output setting will be enabled w...

Страница 215: ...Set the H W error time PLC operation mode in the I O assignment tab of the PLC parameter dialog box 1 Make I O assignment for the target module 2 Click the button 3 On the screen opened select Stop or...

Страница 216: ...the switch settings The switch settings will be written from the CPU module to each intelligent function module and interrupt module when the CPU module is powered off and then on or the CPU module i...

Страница 217: ...ule refer to the manual for the intelligent function module or interrupt module used c Setting differences between GX Developer versions Set the following type for interrupt modules depending on the v...

Страница 218: ...during debugging the program operation status in the CPU module can be monitored under the specified condition Besides the monitoring status under the specified condition can be held by setting the m...

Страница 219: ...Monitor Monitor condition setup to open the Monitor condition screen Set the condition as shown below to monitor data on the rising edge of Y70 Note7 Figure 6 27 Monitor condition setting screen Note6...

Страница 220: ...uction In Figure 6 28 the monitor execution condition is established when both X0 and X1 are on When the step 2 is connected in the middle of the AND OR block In Figure 6 29 the monitor execution cond...

Страница 221: ...d when the status previous to execution of the specified status or the status current value of the specified bit device word device becomes the specified value When Step No 100 P Word device D1 K5 is...

Страница 222: ...comes the specified status Select the execution condition on the rising edge or falling edge b When a step number is specified A monitor operation is stopped when the execution status of the step spec...

Страница 223: ...ers are performing monitoring at the same time pay attention to the following High speed monitor can be performed by increasing 1K step per monitor file of other stations in the system area when forma...

Страница 224: ...applications must be noted GX Developer Application using MX Component MX Sheet If any online function is executed by other applications using the same route for the monitor operation the following si...

Страница 225: ...e usability setting of the Program tab of the PLC parameter dialog box the D0 value after execution of the specified program is monitored Note8 Table6 12 Data displayed when three programs are execute...

Страница 226: ...loper Local devices are set to be monitored and the program B is monitored The local device data of the program B is displayed Example If D0 to D99 are set as a local device D0 4 is displayed when X10...

Страница 227: ...ce of the CPU module or the serial communication module c Monitoring local devices in a stand by type program When local devices in a stand by type program are monitored data in local devices are save...

Страница 228: ...Forced input output registration cancellation screen Table6 13 Input output operation when a forced on off operation is performed Operation Input X operation Output Y operation Forced on off cancella...

Страница 229: ...get input output The following input output are targeted for a forced on off operation Input X and output Y of modules mounted on the base unit Input X and output Y of the CPU module to be refreshed f...

Страница 230: ...vice Sequence program operations on off performed Sequence program operations on off not performed Input Input from modules mounted on the base unit Uses the on off status input from modules Input of...

Страница 231: ...hen the forced on off registration is performed from multiple GX Developers click the Update status button to update the registered data and execute the function Table6 15 Forced on off timing Refresh...

Страница 232: ...able6 16 Items on the Forced input output registration cancellation screen No Item Description 1 Device Select the I O number for which forced on off is to be registered or cancelled 2 Registration st...

Страница 233: ...ced on off is registered or cancelled for the standby system CPU module an error error code 4240H occurs b When the CPU modules are in separate mode When the control system CPU module is powered off a...

Страница 234: ...standby system and enable disable setting of execution of tracking transfer during online change refer to the following QnPRHCPU User s Manual Redundant System 6 12 1Online change ladder mode 1 Defin...

Страница 235: ...to another station on the network 2 Memory for online change Online change can be performed to the program memory only 3 Number of steps that can be batch written by online change Up to 512 steps can...

Страница 236: ...ctions are completed If any of the instructions is executed during online change the processing does not start until the online change is completed Note10 Figure 6 41 Online change at execution of low...

Страница 237: ...size and reserved area for online change b When program file size is increased from the secured capacity If the size secured for the program file size including reserved area for online change is exce...

Страница 238: ...U module in the RUN status File type CPU module built in memory Memory card RAM Memory card ROM Program memory Standard RAM Standard ROM SRAM card Flash card ATA card Parameter Intelligent function mo...

Страница 239: ...on in a program cannot access to the file being written to the CPU module in the RUN status If doing so the instruction will not be executed The relevant instructions are as follows PLOADP instruction...

Страница 240: ...ing off or resetting the CPU module after online change write data in the program memory to the standard ROM or memory card 3 When a boot source memory is the standard ROM or Flash card files in the b...

Страница 241: ...rgeted for online change will be executed even though the execution condition of the instruction off on is not met at the completion of online change To prevent the fall instruction from being execute...

Страница 242: ...e specified pointer without waiting for one scan Figure 6 44 Operation of the rise instruction Figure 6 45 Operation of the SCJ instruction Completion of online change END 1 scan END END 0 0 0 OFF OFF...

Страница 243: ...instruction STMR instruction 1 1 2 2 Completion of online change 1 scan END 0 END M0 M20 M10 0 END 0 STMR T0 K10 M100 STMR T1 K10 M200 M0 M20 M10 STMR T0 K10 M100 STMR T1 K10 M200 1 2 M0 M20 STMR T0 K...

Страница 244: ...Performance model QCPU Process CPU or Redundant CPU check the versions of the CPU module and GX Developer Appendix 2 Basic High performance Process Redundant Selecting this option avoids execution of...

Страница 245: ...ist monitor Section 6 13 2 Scan time measurement Section 6 13 3 6 13 1Program monitor list 1 Definition This function displays the processing time of the program being executed The scan time number of...

Страница 246: ...or when the constant scan time is set the total execution time of a low speed execution type program and constant scan is displayed Basic model QCPU and Redundant CPU Since a low speed execution type...

Страница 247: ...C parameter dialog box A program name cannot be entered as desired b Startup mode Set any of the following programs as a start up program for a stand by type program Scan execution Scan execution type...

Страница 248: ...next scan The program enters the standby status after the next scan This operation is the same when the POFF instruction is executed Stand by type program The program stops after outputs are turned of...

Страница 249: ...ng Online Monitor Interrupt program monitor list of GX Developer opens the Interrupt program monitor list screen Figure 6 52 shows an execution example of the interrupt program monitor list a Execute...

Страница 250: ...program call instruction is in the measurement range When the subroutine program call instruction CALL is in the range of scan time measurement the scan time includes the time required for processing...

Страница 251: ...ime measurement screen Enter the start and end steps and click the button When the start step is 52 and the end step is 105 Remark When displaying the Scan time measurement screen after specifying the...

Страница 252: ...between the specified steps is displayed d When scan time cannot be measured Scan time cannot be updated on the Scan time measurement screen in the following cases When the branch instruction is spec...

Страница 253: ...broutine program executed by the CALL instruction When the start step is executed continuously Only the start step is specified between the FOR and NEXT instructions Example 0 3 5 6 9 P0 End step 8 St...

Страница 254: ...ugging at a preset timing In addition this function is used to read the device data at trigger condition establishment 3 Sampling trace file This file stores the trace setting necessary for executing...

Страница 255: ...the items selected under the trace additional information of the trace condition setting N1 When Time sec is selected add 4 N2 When Step no is selected add 10 N3 When Program name is selected add 8 3...

Страница 256: ...ampling trace execution status SM803 Trace trigger A trigger turns on upon the status change of the relay off on SM804 After trace trigger Turns on when any of the following condition is established A...

Страница 257: ...ace restarts by turning on SM801 1 SM801 also turns off when the sampling trace is interrupted by GX Developer Figure 6 58 Operation flow chart of the special relay for sampling trace interruption SM8...

Страница 258: ...a and the file for writing the trace conditions Select either Standard RAM or Memory card RAM for the target memory setting Trace results will be stored in the memory set here under the selected file...

Страница 259: ...tart setting Auto start trace 1 No of traces There are two items need to be set No of times and After trigger number of times No of times Select the number of executions from the start to the end of s...

Страница 260: ...ontact FX FY J X J Y J B J SB BL S Word device T current value ST current value C current value D SD W SW R Z ZR FD U G J W J SW The following modifications are available for the above devices Digit s...

Страница 261: ...T current value C current value D SD W SW R ZR The following modification is available for the above devices Bit specification of word device Indirectly specified devices cannot be set A trigger point...

Страница 262: ...t devices can be set up to 50 points X DX Y DY M L F SM V B SB T contact T coil ST contact ST coil C contact C coil J X J Y J B J SB BL S Word device The following word devices can be set up to 50 poi...

Страница 263: ...on the screen shown in Figure 6 59 to open the Execute sampling trace screen Select an item shown in Table6 24 and click the button Figure 6 63 Execute sampling trace screen Table6 24 Trace point set...

Страница 264: ...ue of each word device Specified devices are read when the condition selected in Trigger point setup trigger condition is established Therefore when devices are sampled in every scan and the sampling...

Страница 265: ...tched trace setting will be cleared since the condition is not recognized as the trigger condition SM800 Trace preparation turns off Register the trace setting again with GX Developer 1 When selecting...

Страница 266: ...ck numbers of file register file and file register after trace registration Trace data may not be normally sampled f Trace point setting When setting the trace point setting per each time pay attentio...

Страница 267: ...Section 6 11 1 other GX Developers cannot set them 2 The monitoring with monitor conditions and online change cannot be performed simultaneously 3 For how to perform online change to a file from mult...

Страница 268: ...t the number of steps for the system area in increments of 1K step Table6 26 shows the maximum number of steps settable in the system area 1K step is available for a monitoring file from another stati...

Страница 269: ...user setting system areas the number of K steps 1 For example when user setting system area of 15K steps is created maximum 16 GX Developers can simultaneously monitor a CPU module at high speed 6 15...

Страница 270: ...s 1 Select Write during RUN while PLC is running in After conversion writing behavior 2 Select Absolute step No default or Relative step No by pointer in Step No specification used in writing b Perfor...

Страница 271: ...struction is executed within the setting value of watchdog timer The watchdog timer times up when the scan time of the sequence program is extended and the END FEND instruction could not be executed w...

Страница 272: ...om step 0 and return to the step 0 in the sequence program with the same file name The scan time depends on the execution status of the following Instructions used in the program Interrupt program and...

Страница 273: ...d in the special register SD0 When several errors are detected the latest error code is stored in SD0 Use the special relays and special register in a program as an interlock for the programmable cont...

Страница 274: ...be selected Whether to continue or stop an operation can be selected in the following errors 1 Errors whether to continue or stop an operation can be selected in the PLC RAS tab of the PLC parameter...

Страница 275: ...unction 6 Error check options Whether to check the following errors or not can be selected in the PLC RAS tab of the PLC parameter dialog box All the options are selected executed by default 1 Carry o...

Страница 276: ...et Stop Off Flashing Tracking memory and tracking hardware error TRK CIR ERROR Power on reset During operation Stop Off Flashing Operation circuit check OPE CIR CUIT ERR Power on reset Execution of th...

Страница 277: ...ligent program execution error 1 SP UNIT ERROR Execution of the FROM TO instructions Stop Continue Off On Flashing On 5 Intelligent function module version error SP UNIT VER ERR Power on reset Stop Of...

Страница 278: ...D instruction MISSING END INS Power on reset Switching from STOP to RUN Stop Off Flashing Pointer setting error CAN T SET P Power on reset Switching from STOP to RUN Stop Off Flashing CAN T SET I Powe...

Страница 279: ...RUN Continue On On SFC block execution error BLOCK EXE ERRO R Execution of an instruction Stop Off Flashing SFC step execution error STEP EXE ERRO R Execution of an instruction Stop Off Flashing CPU...

Страница 280: ...ruction Continue On On Tracking cable error or tracking transfer hardware failure TRK CABL E ERR Power on reset Stop Off Flashing Tracking cable not connected failure or tracking transfer hardware fai...

Страница 281: ...lays SM1610 to SM1626 and special registers SD1610 to SD1636 except when the other system is during off reset or hardware failure WDT ERROR error code 5000 5001 is detected or tracking cable has an er...

Страница 282: ...Performance model QCPU or Process CPU this is applicable to CPU No 1 only Note20 Figure 6 72 List of the error interrupt pointers Note6 19 Note6 19 Since no interrupt pointers for errors are provided...

Страница 283: ...F SM1516 ON 2 When changing tracking target devices When change of tracking target devices has been programmed for the interrupt program of I41 devices of the new standby system are overwritten with d...

Страница 284: ...us after error clear When the CPU module is recovered by clearing the error the special relay special register and LEDs affected by the error return to the status before the error If the same error oc...

Страница 285: ...before the first use of the CPU module Section 6 5 6 18 1Basic model QCPU 1 Storage area 16 latest error logs are stored in the latched error history storage memory of the Basic model QCPU 2 Storage...

Страница 286: ...rameter history file is changed during operation or The number of logs in mounted memory card differs from the ones set in the parameter Even if a memory card does not contain an error history file se...

Страница 287: ...the standard ROM Table6 29 System protection types Protection target File that can be protected Description Method Valid timing Reference Entire CPU module 1 All files devices are also protected Proh...

Страница 288: ...be prohibited Reading and writing a file Writing a file When a password has been registered with a file GX Developer cannot operate the file unless entered password does not match with the registered...

Страница 289: ...egistration Condition 1 Write protect Writing to a password protected file is prohibited reading is allowed 2 Read Write protect Reading and writing to a password protected file is prohibited 3 Clear...

Страница 290: ...odules for which the remote password can be set not the number of mountable modules in the system using the CPU module For the number of mountable modules in the system refer to the following QCPU Use...

Страница 291: ...te password is transferred to the target module when the CPU module is powered off and then on or is reset 2 in this section Figure 6 74 Outline of a remote password GX Developer GX Developer Transfer...

Страница 292: ...ule can access the CPU module Figure 6 75 Outline of locking unlocking a remote password with an Ethernet module Ethernet module GX Developer Transfers a remote password to the Ethernet module when th...

Страница 293: ...rd settings screen Item Description Setting range option Password settings Enter a remote password Four characters or less alphanumeric characters special symbols Password active module settings Model...

Страница 294: ...meter valid drive of the dip switch to the standard ROM or memory card storing the parameter file If setting the parameter valid drive to the program memory the boot operation does not normally operat...

Страница 295: ...e CPU module is connected to GX Developer this function can check the following items of the modules on the base unit in the System Monitor screen Installed status Parameter status Module s Detailed I...

Страница 296: ...og box and the mounted status differ None 0 pt or an assignment error is displayed Therefore change the I O assignment setting so that it may match with the mounted status When using a redundant base...

Страница 297: ...ion and Base Information can be checked a Overall Information The number of base units and the number of modules on the base units can be checked b Base Information The name the number of slots type a...

Страница 298: ...0 Detailed information of power supply module screen Table6 32 Description of the Detailed information of power supply module screen Item Description ON OFF status Displays the status of an input powe...

Страница 299: ...tem CPU module Tracking cable error 11 Status of the other system This item indicates the status of the other system During normal operation When an error occurs When the Redundant CPU is in the debug...

Страница 300: ...following QCPU User s Manual Hardware Design Maintenance and Inspection Figure 6 83 LEDs on the front of the CPU module 1 Basic model QCPU Q00JCPU 2 Basic model QCPU Q00CPU Q01CPU 3 High Performance...

Страница 301: ...nd BAT LED Section 6 21 2 When an cause number of an LED is deleted in the priority the LED will not turn on even if an error with the cause number occurs Table6 33 Methods for turing off the LEDs Met...

Страница 302: ...a Priority 4 Priority 3 Priority 2 Priority 1 Priority 8 Priority 7 Priority 6 Priority 5 Priority 10 Priority 9 15 to 12 11 to 8 7 to 4 3 to to to to to to to to to SD207 SD208 SD209 Ignored Ignored...

Страница 303: ...UNIT VERIFY ERR FUSE BREAK OFF SP UNIT ERROR SP UNIT DOWN I O module verification error Fuse blown Intelligent function module verification error 3 3 OPERATION ERROR SFCP OPE ERROR SFCP EXE ERROR Oper...

Страница 304: ...r 2 is not set the ERR LED remains off even if a fuse blown is detected In this case even if another error with the cause number 2 I O module verification error or intelligent function module verifica...

Страница 305: ...es the following High speed interrupt program execution function Section 6 22 1 High speed I O refresh and high speed buffer transfer functions Section 6 22 2 Note26 Figure 6 87 High speed interrupt t...

Страница 306: ...due to disabled interrupt refer to Section 6 22 4 3 b When a high speed interrupt is ignored If the interrupt disabled period continues longer than the set interrupt interval a high speed interrupt ma...

Страница 307: ...module at the specified interrupt intervals High speed buffer transfer is a function that updates data between intelligent function module buffer memories and CPU module devices at the specified inte...

Страница 308: ...U module is in the RUN status The high speed interrupt pointer I49 is not masked by the IMASK instruction By default it is not masked For the IMASK and EI instructions refer to the following MELSEC Q...

Страница 309: ...of settings 0 85 Extension base unit Time 0 21 total of points 0 65 number of settings 0 85 Calculation example When a main base unit is used the number of settings is 1 and 16 points are set for X t...

Страница 310: ...n base unit 16 words or less Time 1 07 total number of transferred words 2 65 number of settings 0 95 More than 16 words Time 1 15 total number of transferred words 0 95 Calculation example When a mai...

Страница 311: ...xecuting the instruction Instruction Any instruction of which processing time is longer than the high speed interrupt interval cannot be used Since interrupt is disabled during instruction execution h...

Страница 312: ...uted during monitoring its own station If a self monitoring request and a request for monitoring via any intelligent function module are overlapped interrupt disabled time is increased The high speed...

Страница 313: ...3 Table6 39 Items that delay the high speed interrupt start due to disabled interrupt Item Precaution Instruction During instruction execution any interrupt is disabled Link refresh During a refresh...

Страница 314: ...ing in Intelligent function module setting of the PLC system tab in the PLC parameter dialog box Configure system setting at the intelligent function module is also required For execution of an interr...

Страница 315: ...s a serial communication module Ethernet module For the MC protocol refer to the following MELSEC Q L MELSEC Communication Protocol Reference Manual A personal computer or HMI can communicate with a C...

Страница 316: ...method Asynchronous method Transmission speed 1 19 2kbps 9 6kbps 19 2kbps 38 4kbps 57 6kbps 115 2kbps Data format Start bit 1 Data bit 8 Parity bit Odd Stop bit 1 MC protocol format 2 Automatic detec...

Страница 317: ...to the CPU module the use of the RS 232 connector disconnection prevention holder Q6HLD R2 is recommended For the Q6HLD R2 refer to the following Q6HLD R2 Type RS 232 Connector Disconnection Preventi...

Страница 318: ...f words 0401 00 0 Reads bit devices in units of 16 points 480 words 7680 points Reads word devices in units of 1 point 480 points Batch write 1 In units of bits 1401 00 1 Writes bit devices in units o...

Страница 319: ...egister Decimal Special relay SM 91H Within the device number range of the CPU module accessed Note however that local devices cannot be accessed Decimal Special register SD A9H Decimal Internal user...

Страница 320: ...re reconnected to the CPU module refer to the manual for used device b Transmission speed set in the Transfer Setup screen When Use serial communication is selected the transmission speed set in the T...

Страница 321: ...gth error The number of points specified for random write read exceeds the number of points enabled for communication Check and correct the sent message of the external device and restart communicatio...

Страница 322: ...momentary power failure occurs remove its cause 7F69H Parity error The parity bit setting does not match Communication line became unstable by powering on off the target device Noise is generated on...

Страница 323: ...a network module is not stored To read the service interval time when access is made from GX Developer in another station on the network set the I O number of the network module Table6 46 Special rela...

Страница 324: ...evice value can omit device data setting program by initial processing program Note29 Figure 6 96 Data setting by initial program Note6 29 Note6 29 When using the initial device value for the Basic mo...

Страница 325: ...n be used for initial device value 1 For available ranges refer to Section 9 1 Figure 6 97 Flow of writing initial device value Current timer value T Link special register SW Current retentive timer v...

Страница 326: ...the initial device value range The number of settable points is up to 8000 points per range setting Add device memory data in the project data list of GX Developer The device memory screen appears Set...

Страница 327: ...ox 1 For the Basic model QCPU Select Use for Initial Device value 2 For the High Performance model QCPU Process CPU and Redundant CPU Select the target memory that stores initial device value file and...

Страница 328: ...ot be used Use an instruction such as the MOV instruction in the main routine program so that the initial device values will be set to the specified devices Use the TO instruction to write data to the...

Страница 329: ...ed and detects a stop error RAM ERROR error code 1106 Figure 6 100 Overview of memory check function Note30 Note6 30 Specified steps Specified steps Specified steps Specified steps Program memory Base...

Страница 330: ...unt of Capacity to be checked at one time 256 steps 4 Processing time a When the CPU module is set from STOP to RUN The scan time increases by the processing time shown below Q12PHCPU and Q12PRHCPU 43...

Страница 331: ...area is set while the program memory is formatted the program memory capacity will reduce by the capacity set for the user setting system area For check methods of the user setting system area and pr...

Страница 332: ...ecuted 1 Indicates the program that uses the intelligent function module device FROM or TO instruction or the intelligent function module dedicated instruction 2 The RUN STOP switch RUN STOP RESET swi...

Страница 333: ...function modules 1 Starting GX Configurator Select Tools Intelligent function module utility Start in GX Developer 2 Setting in GX Configurator An example of initial setting and auto refresh setting...

Страница 334: ...the Q64AD Maximum and minimum values of the Q64AD Error codes Make auto refresh settings of the Q64AD in the Auto refresh setting screen in GX Configurator as shown in Figure 7 2 The auto refresh set...

Страница 335: ...e limitation shown in Table7 2 One line in the Auto refresh screen is counted as one parameter setting 4 Precautions For the AnS A series special function modules parameters cannot be set with GX Conf...

Страница 336: ...itial device value to the device memory In the initial device value setting specify the device range of the intelligent function module used as the initial device value 7 1 3 Communications with the F...

Страница 337: ...0 is written to the buffer memory of an address 0 of the intelligent function module whose I O number is X Y20 to X Y2F 2 Difference from the FROM and TO instructions The intelligent function module d...

Страница 338: ...ory data using multiple intelligent function module devices in a sequence program write or read the data with the FROM or TO instruction in one location of the program Figure 7 6 Writing using multipl...

Страница 339: ...h external device by nonprocedural protocol regardless of the buffer memory address of the serial communication module Transmission by the OUTPUT instruction 2 Processing of the intelligent function m...

Страница 340: ...CPU module is set to RUN and then finishes one scan b Available range The intelligent function module dedicated instructions are not applicable to the intelligent function modules mounted on remote I...

Страница 341: ...xecution intervals of the FROM and TO instructions to the processing time and conversion time using the timer and constant scan of the CPU module 2 Adjust execution intervals of the FROM and TO instru...

Страница 342: ...ules Remote password Section 8 4 Parameters are set when the remote password function is used for an Ethernet module serial communication module and modem interface module 2 Parameter setting method U...

Страница 343: ...er details 8 1 1 Basic model QCPU 1 PLC name A label and a comment for the CPU module are set Figure 8 1 PLC name Table8 1 PLC name setting list Item Parameter No Description Setting range Default Ref...

Страница 344: ...ly the RUN contact or the RUN PAUSE contacts is available X0 to X7FF Blank Section 6 6 1 PAUSE Section 6 6 2 Remote reset 1002H Select whether to allow the remote reset from GX Developer Selected dese...

Страница 345: ...2 System interrupt settings Interrupt counter start No 1008H Set the start number of interrupt counters C0 to C13184 Up to The number of counter setting points 128 Blank Section 9 2 11 4 Fixed scan i...

Страница 346: ...ms Section 6 16 Operating mode when there is an error Computation error 3002H Set the operation mode of the CPU module when an error is detected Stop Continue Stop Section 6 17 Expanded command error...

Страница 347: ...Y 2K S 2K SB 1K and SW 1K are fixed Setting is available within the range of 16 4K words in total including the above fixed points 1 5K words One device Up to 32K points No restrictions on the total p...

Страница 348: ...ard ROM is set Figure 8 6 Boot file Table8 6 Boot file setting list Item Parameter No Description Setting range Default Reference Do boot from standard ROM Select whether to perform a boot from the st...

Страница 349: ...8 7 SFC Table8 7 SFC setting list Item Parameter No Description Setting range Default Reference SFC program start mode 8002H Set the mode and conditions for starring an SFC program and also set the ou...

Страница 350: ...CPU Empty for the slot where no CPU module is mounted Empty Input Hi input Output Intelli I O mix or Interrupt Blank Section 4 2 Model name Set the model name of the mounted module Entered at user s d...

Страница 351: ...st be done for all base units 2 3 5 8 10 or 12 Switch setting 0407H Set various switches of an intelligent function module Refer to the manual for the intelligent function module used Blank Section 6...

Страница 352: ...ice 9 6kbps 19 2kbps 38 4kbps 57 6kbps 115 2kbps 19 2kbps Sum check Set whether to add a sum check code to a message sent or received when using the serial communication function according to the spec...

Страница 353: ...assignment Ethernet CC IE MELSECNET setting and CC Link setting can be confirmed Figure 8 10 Acknowledge XY assignment Table8 10 Acknowledge X Y assignment list Item Parameter No Description Setting...

Страница 354: ...t data of the input modules or intelligent function modules controlled by another CPU Selected deselected Deselected All CPUs can read all outputs Select whether to read the output data of the output...

Страница 355: ...s CPU and Redundant CPU 1 PLC name A label and a comment for the CPU module are set Figure 8 12 PLC name Table8 12 PLC name setting list Item Parameter No Description Setting range Default Reference L...

Страница 356: ...Section 6 4 Intelligent function module setting Interrupt pointer setting 100AH Assign the interrupt pointers I50 to I255 and set the start I O number and start SI number of each intelligent function...

Страница 357: ...gram Not used Use the same file name as the program Use the following file Not used Section 9 7 Comment file used in a command 1101H Set a file for device comments used in the program Not used Use the...

Страница 358: ...r Computation error 3002H Set the operation mode of the CPU module when an error is detected Stop Continue Stop Section 6 17 Expanded command error 2 Fuse blown Module verify error Intelligent module...

Страница 359: ...lowing expression Note2 Figure 8 16 PLC RAS 2 Table8 16 PLC RAS 2 setting list Item Parameter No Description Setting range Default Refer ence Memory check Check Program memory 3008H Set whether to che...

Страница 360: ...One device Up to 32K points Total bit device points Up to 64K points X 8K Y 8K M 8K L 8K B 8K F 2K SB 2K V 2K S 8K T 2K ST 0K C 1K D 12K W 8K SW 2K Section 9 1 Latch 1 start end Latch clear valid 2001...

Страница 361: ...gram Table8 18 Program setting list Item Parameter No Description Setting range Default Reference Program setting 7000H When writing two or more programs to the CPU module set a file name and executio...

Страница 362: ...ogram memory at the time of boot Selected deselected Deselected Section 5 2 7 Section 5 2 8 Auto Download all Data from Memory card to Standard ROM Select whether to write data of the memory card auto...

Страница 363: ...stop are set Figure 8 20 SFC Table8 20 SFC setting list Item Parameter No Description Setting range Default Reference SFC program start mode 8002H Set the mode and conditions for starring an SFC progr...

Страница 364: ...ber of points assigned to each slot 0 16 32 48 64 128 256 512 or 1024 points Start XY Set the start I O number of each slot 0H to FF0H Base setting Base model name 0401H Set the model name of the main...

Страница 365: ...6 8 H W error time PLC operation mode 4004H Set whether to stop or continue the operation of the control CPU in case of a hardware failure of the intelligent function module Stop Continue Stop Sectio...

Страница 366: ...nk Operating mode 0E01H Select the multiple CPU system operation to be performed in case a stop error occurs in any of CPU No 2 to No 4 When CPU No 1 results in a stop error the multiple CPU system st...

Страница 367: ...er to read the output data of the output modules controlled by another CPU Selected deselected Deselected Communication area setting refresh setting E002H E003H In the multiple CPU system data are tra...

Страница 368: ...Start mode setting D001H Select the start mode when the Redundant CPU is powered off and then on Initial start mode Hot start mode Initial start mode QnPRHCPU User s Manual Redundant System Standby sy...

Страница 369: ...ing Device detail settings Set details when the tracking device to be transferred is set by user Tracking block No Select the block number of the tracking device to be transferred Then set details in...

Страница 370: ...Network type 1H CC IE Control Control station 1 MELSECNET H mode Control station MELSECNET H Extended mode Control station MELSECNET 10 mode Control station 2H CC IE Control Normal station MELSECNET...

Страница 371: ...Network setting list Item Parameter No Description Setting range Default Reference Number of modules on CC Link IE Controller Network A000H Set network parameters for the CC Link IE Controller Networ...

Страница 372: ...modules on MELSECNET H 5000H Set MELSECNET H network parameters Refer to the manual for the Q series compatible MELSECNET H Starting I O No 5NM0H Network No Total stations Group No 05mnH Mode 5NM0H R...

Страница 373: ...ult Reference Number of modules on Ethernet 9000H Set Ethernet network parameters Refer to the manual for the Q series compatible Ethernet Starting I O No 9N00H Network No Group No Station No Operatio...

Страница 374: ...for CC Link Type Start I O No CNM2H Operational setting All connect count Remote input RX CNM1H Remote output RY Remote register RWr Remote register RWw Ver 2 Remote input RX 1 Ver 2 Remote output RY...

Страница 375: ...rface module manual Password active module settings Model name Select a model name of the module for which the remote password set to the CPU module is checked QJ71E71 QJ71C24 CMO Start XY Set the sta...

Страница 376: ...512 C0 to 511 Decimal Section 9 2 11 Data register 11136 D0 to 11135 Decimal Section 9 2 12 Link register 2048 W0 to 7FF Hexadecimal Section 9 2 13 Link special register 1024 SW0 to 3FF Hexadecimal Se...

Страница 377: ...ince the Q00JCPU does not have the standard RAM the file register cannot be used Table9 1 Device list continued Classification Type Device name Default Parameter set range Reference Points Range Point...

Страница 378: ...9 2 14 Internal system device Bit device Function input 16 FX0 to F Hexadecimal Cannot be changed Section 9 3 1 Function output 16 FY0 to F Hexadecimal Section 9 3 1 Special relay 2048 SM0 to 2047 De...

Страница 379: ...ication Type Device name Default Parameter set range Reference Points Range Other Bit device SFC block device 320 BL0 to 319 Decimal Cannot be changed Section 9 11 1 SFC transition device 512 TR0 to 5...

Страница 380: ...to any other device or an error may occur The total number of points for the internal relay latch relay annunciator edge relay link relay link special relay step relay timer retentive timer and count...

Страница 381: ...r bit devices 16 points are calculated as one word b Timer T retentive timer ST and counter C For the timer T retentive timer ST and counter C 16 points are calculated as 18 words c Word device For th...

Страница 382: ...1FFF 16 512 1 8192 Internal relay M Decimal 16k 16384 M0 to 16383 16 1024 1 16384 Latch relay L Decimal 4k 4096 L0 to 4095 16 256 1 4096 Link relay B Hexadecimal 4k 4096 B0000 to 0FFF 16 256 1 4096 An...

Страница 383: ...t of Xn 3 Allowable number of normally open or closed contacts There are no restrictions on the number of normally open or closed contacts of Xn used in a program as long as the program capacity is no...

Страница 384: ...GX Developer OUT Xn instruction The input X can also be used for the following Refresh target device CPU module side of RX in CC Link Refresh target device CPU module side of CC Link IE Controller Net...

Страница 385: ...or closed contacts of Yn used in a program as long as the program capacity is not exceeded 3 Using the output Y as the internal relay M The output Y corresponding to the slots for input modules or em...

Страница 386: ...of normally open or closed contacts used in a program as long as the program capacity is not exceeded 4 Method for external output The output Y is used to output sequence program operation results to...

Страница 387: ...Device tab of the PLC parameter dialog box cannot be turned off even if the RESET L CLR switch Note9 1 or the remote latch clear function is used Note1 3 Allowable number of normally open or closed c...

Страница 388: ...he output Y is used to output sequence program operation results to external devices If latch is not required use the internal relay M Section 9 2 3 The latch clear invalid area is set in the Device s...

Страница 389: ...lt annunciator number by monitoring the special register SD62 to SD79 when the special relay SM62 turns on In this program when annunciator F5 is turned on the corresponding annunciator number is outp...

Страница 390: ...In addition execution of the RST F LEDR Note9 2 or BKRST instruction is required after the annunciator is turned off with the OUT F instruction Therefore use of the SET F instruction is recommended No...

Страница 391: ...ront side turns on When using the High Performance model QCPU Process CPU or Redundant CPU The USER LED on the front side turns on red 3 On off setting for the LED By setting indication priority for a...

Страница 392: ...er is turned off with the OUT F instruction the off processing described in 6 b in this section is not performed If the annunciator is turned off with the OUT F instruction execution of the RST F LEDR...

Страница 393: ...ied with the RST or BKRST instruction is deleted and the other annunciator numbers in the register addressed SD65 and after are shifted accordingly If the existing annunciator number in SD64 is turned...

Страница 394: ...the annunciator is on and at the same time the operation continuation error that has higher priority Section 6 21 2 than the annunciator has occurred the LEDR instruction clears the higher priority er...

Страница 395: ...f information of X0 is stored in V0 and that of X1 is stored in V1 3 Precautions The edge relay of the same number cannot be set only once in a program Figure 9 16 Edge relay Figure 9 17 Application e...

Страница 396: ...on the number of normally open or closed contacts used in a program as long as the program capacity is not exceeded Figure 9 18 Link refresh Figure 9 19 Link relay Link relay Link relay B0 LB0 CPU mod...

Страница 397: ...l relay Link relay range where latch is performed Latch relay Although the points for the link relay in a CC Link IE Controller Network module is 32768 the default for the link relay in the CPU module...

Страница 398: ...l relay points for each CPU module type CPU module Link special relay points Basic model QCPU The points for the link special relay in the CPU module is 1024 SB0 to SB3FF To an intelligent function mo...

Страница 399: ...ided for SFC programs Because the step relay is a device exclusively used for SFC programs it cannot be used as an internal relay in the sequence program If used an SFC error will occur and the system...

Страница 400: ...included in timer 2 3 Specification of the timer The same device is used for the low and high speed timers and the type is determined according to the instruction used For the OUT T0 instruction the l...

Страница 401: ...d when it times out the contact is turned on If the timer s coil is turned off the current value is changed to 0 and the contact is turned off b Time increment setting The time increment is set in the...

Страница 402: ...in the same manner as the corresponding low or high speed timer Low speed retentive timer Low speed timer High speed retentive timer High speed timer To use a retentive timer set the points for it in...

Страница 403: ...il current value update and on off switching of the contact are performed In the END processing the current timer value is not updated and the contact is not turned on off Figure 9 24 Processing at ex...

Страница 404: ...setting 10ms Setting value of T0 8 10ms 8 80ms Scan time 25ms 2 1 1 1 2 1 1 2 2 1 2 ON OFF OFF OFF ON ON OFF ON 3 2 3 3 2 3 2 3 2 3 25ms 25ms 25ms 25ms 25ms 25ms 0 2 2 2 3 5 5 2 7 7 3 Count at execut...

Страница 405: ...other part with another instruction such as CJ If jump of the OUT T instruction has occurred the current timer value is not updated Also if a timer exists in a subroutine program execute a subroutine...

Страница 406: ...to meet the condition Make the value of the timer limit setting smaller by changing from low speed timer to high speed timer Assume that the scan time is 20ms Figure 9 27 Relationship between timer s...

Страница 407: ...t the start of the timer Figure 9 29 The coil and the contact are simultaneously turned on with the timer setting value being 1 Figure 9 30 The coil and the contact are simultaneously turned on with t...

Страница 408: ...g END processing END processing END processing END processing END processing OUT T1 OUT T0 OUT T1 OUT T0 OUT T1 OUT T0 OUT T1 OUT T0 OUT T1 OUT T0 OUT T1 OUT T0 END processing Contact of T0 Current va...

Страница 409: ...unts the number of rises for input conditions in sequence programs Interrupt counter that counts the number of interrupts occurred 3 Counting a When the OUT C instruction is executed The coil of the c...

Страница 410: ...of the counter use the RST C instruction At the time of execution of the RST C instruction the counter value is cleared and the contact is also turned off Figure 9 33 Current value update timing Figur...

Страница 411: ...he current value is updated since the coil of C0 turns on from off at execution of the OUT C0 instruction The current value is changed to 1 To prevent the above it is recommended to add a normally clo...

Страница 412: ...imum counting speed can be increased by placing multiple counters within one scan At this time use the direct access input DX Section 3 8 2 for the counter input signal n Duty 1 T Execution interval o...

Страница 413: ...unter Set the Interrupt counter start No in the PLC system tab of the PLC parameter dialog box The number of points indicated in Table9 5 starting from the set counter number is used as the interrupt...

Страница 414: ...rs again during each processing these interrupts are counted as once c Maximum counting speed of the interrupt counter The maximum counting speed is determined by one of the longest processing time am...

Страница 415: ...Dn 1 are the target of the processing The lower 16 bits correspond to the data register number Dn specified in the sequence program and the higher 16 bits correspond to the specified data register num...

Страница 416: ...write unit One point of the link register consists of 16 bits and data can be read or written in units of 16 bits Link register data are handled as signed data In the case of the hexadecimal notation...

Страница 417: ...the stored data are initialized when the CPU module is powered off or reset Although the number of points for the link register in a CC Link IE Controller Network module is 131072 points the default...

Страница 418: ...dule CPU module Link special register points Basic model QCPU The points for the link special register in the CPU module is 1024 SW0 to SW3FF To an intelligent function module that has a link special...

Страница 419: ...FX0 and M0 respectively and D0 data are passed to FD2 2 Applications of function devices Because a device in each calling program can be determined by using a function device for subroutine programs...

Страница 420: ...output data from the subroutine program The function register of one point can occupy up to four words Note that however the number of words used differs depending on the instruction in the subroutin...

Страница 421: ...unction register values will not be normally passed to the calling program Remark For use of function devices refer to the following MELSEC Q L Programming Manual Common Instruction Figure 9 50 Ladder...

Страница 422: ...9 7 Special relay classification list Classification Special relay CPU module Basic model QCPU High Performance model QCPU Process CPU Redundant CPU Diagnostics information SM0 to SM99 SM100 to SM199...

Страница 423: ...Special register classification list Classification Special register CPU module Basic model QCPU High Performance model QCPU Process CPU Redundant CPU Diagnostics information SD0 to SD99 SD100 to SD19...

Страница 424: ...Specification method Specify a network number and a device number 1 Basic model QCPU No 1 to No 239 High Performance model QCPU Process CPU Redundant CPU No 1 to No 255 b Application example For link...

Страница 425: ...CPU module side which are set by refresh parameters Refresh parameter settings 1 Network number 1 2 CPU module W0 to W3F Network module LW0 to LW3F If data are written to another station s write rang...

Страница 426: ...nk direct device Note9 4Note4 For example if network modules set as station numbers 1 and 2 are mounted on network number 1 as shown in Figure 9 55 station number 2 is the target of the link direct de...

Страница 427: ...perating Manual Table9 9 Differences between link direct devices and link refresh Item Link direct device Link refresh Description on programs Link relay J K4B0 or higher B0 or higher Link register J...

Страница 428: ...0 X Y020 to X Y02F to store digital output values of CH 1 to CH 4 into D0 to D3 accordingly specify the device as shown in Figure 9 57 If the intelligent function module device is used device comments...

Страница 429: ...ightly higher compared with the case of using the FROM or TO instruction MOV U2 G11 D0 When reading from the buffer memory of an intelligent function module and another processing with one instruction...

Страница 430: ...ddresses and applications refer to the manual for each intelligent function module special function module 2 For the FROM and TO instructions refer to the following MELSEC Q L Programming Manual Commo...

Страница 431: ...the instruction no interlock device is required 1 In the High Performance model QCPU and Process CPU buffer memory data cannot be written to the CPU shared memory in host CPU using the cyclic transmi...

Страница 432: ...index register a Bit structure and read write unit One point of the index register consists of 16 bits and data can be read or written in units of 16 bits Index register data are handled as signed dat...

Страница 433: ...register number 1 When Z2 is specified in the DMOV instruction Z2 represents the lower 16 bits and Z3 represents the higher 16 bits The most significant bit in a 32 bit structure is a sign bit Remark...

Страница 434: ...d execution type program 2 The Z0 value is changed to 6 in the scan execution type program 3 Passing of index register data To pass index register data between the scan execution type program and the...

Страница 435: ...ting can be enabled in the PLC system tab of the PLC parameter dialog box To disable writing to the index register in the interrupt fixed scan execution type program select High speed execution in the...

Страница 436: ...odule restores the saved index register values 1 The Z0 value is changed to 3 in the interrupt program To pass index register values from the interrupt fixed scan execution type program to the scan ex...

Страница 437: ...d execution type program will be corrupted 1 The Z0 value is changed to 3 in the interrupt program When writing data to the index register by the interrupt fixed scan execution type program use the ZP...

Страница 438: ...gram b When switching from the interrupt fixed scan execution type program to the scan execution type low speed execution type program The CPU module restores the saved block numbers of the file regis...

Страница 439: ...program and the higher 16 bits correspond to the specified file register number 1 For example when R2 is specified in the DMOV instruction R2 represents the lower 16 bits and R3 represents the higher...

Страница 440: ...edundant CPU Standard RAM SRAM card or Flash card 9 7 2 File register size 1 When using the standard RAM The table below shows the maximum points of file register data that can be stored in the standa...

Страница 441: ...ty and the size of the programs and device comments stored in the memory card Remark For the memory cards available for the CPU module refer to Section 5 2 1 9 7 3 Differences in available accesses by...

Страница 442: ...he following file is selected Writing a file register file Write parameters to the CPU module Write the file register file to the CPU module Start When the file is stored in the standard RAM or SRAM c...

Страница 443: ...he PLC parameter dialog box specify the standard RAM or a memory card to use the file register in the sequence program a Not used Select this in the following cases When not using any file register Wh...

Страница 444: ...er to the pages describing devices available for each instruction in the following manual MELSEC Q L Programming Manual Common Instruction c Use the following file Select this when one file register i...

Страница 445: ...hen you specify only the capacity of file register 3 Registering the file register file to the CPU module When either of the following is selected in the PLC file tab of the PLC parameter dialog box t...

Страница 446: ...ed number of points The file register size can be set in increments of one point Note that the file always uses 256 points Even if the range is not specified from ZR0 the created file will have an ass...

Страница 447: ...e register file on the Write to PLC Flash ROM screen Select IC card ROM in the Target memory When the Target memory is selected the name of a file register file is displayed Select a memory card in th...

Страница 448: ...ng consecutive device numbers Multiple blocks of a file register can be used as a continuous file register This kind of device is expressed as ZR The block numbers and ZR device points that can be spe...

Страница 449: ...ndard RAM unreliable data are stored For a memory card 0H is stored 2 When writing to or reading from the file register exceeding the registered size points No error will occur even if data are writte...

Страница 450: ...47 on the sequence program to see if there are sufficient number of points to be used or not Program example 1 The file register range of use is checked at the beginning of each program Program exampl...

Страница 451: ...02092 or later if the file register is specified by the serial number access method ZR using an access instruction to the standard RAM more processing time will be required per instruction than that o...

Страница 452: ...of the nesting structure Remark For use of the nesting refer to the following MELSEC Q L Programming Manual Common Instruction Figure 9 83 Programming example using the nesting Executed when conditio...

Страница 453: ...Basic model QCPU cannot execute multiple programs it has no distinction between the local and common pointers b High Performance model QCPU Process CPU and Redundant CPU There are the following two di...

Страница 454: ...P99 For using the local pointer for several programs use the pointers in ascending order starting from P0 in each program The total is 600 points when the pointer is used as shown below Note12 Figure...

Страница 455: ...program is not allowed jump instructions and sub routine CALL instructions Use the ECALL instruction from another program when calling a subroutine program in a program file that contains any local p...

Страница 456: ...ograms that are being executed Note13 Note13 Figure 9 87 Calling pointers in another program common pointer Note9 13 Note9 13 The Basic model QCPU has no distinction between the local and common point...

Страница 457: ...er number to P4095 However the pointer number that can be entered here is a number higher than the total points used for the local pointer If a total of 400 points are used in three programs 100 point...

Страница 458: ...r code 4020 will occur The jump instructions are not capable of executing a jump to the common pointer in other programs Use the common pointer with subroutine call instructions only Figure 9 89 Conce...

Страница 459: ...a label at the start of an interrupt program and can be used in any programs 2 Number of available points Basic model QCPU 128 points I0 to I127 High Performance model QCPU Process CPU and Redundant C...

Страница 460: ...f the CPU module and GX Developer Appendix 2 2 To use the intelligent function module interrupt Section 6 23 the intelligent function module setting interrupt pointer setting is required in the PLC sy...

Страница 461: ...interrupt from an intelligent function module refer to Section 6 23 3 I50 has the highest priority priority 21 and I127 has the lowest priority priority 98 Table9 14 List of interrupt pointer numbers...

Страница 462: ...9th point I9 10th point I36 ICM OPE ERROR FILE OPE ERROR I10 11th point I11 12th point I37 Empty I12 13th point I38 PRG TIME OVER I13 14th point I39 CHK instruction execution annunciator detection I14...

Страница 463: ...formance model QCPU is reset To use any of I32 to I48 enable the interrupt with the IMASK instruction For the IMASK instruction refer to the following MELSEC Q L Programming Manual Common Instruction...

Страница 464: ...0th point 229 I36 ICM OPE ERROR FILE OPE ERROR I10 11th point 230 I11 12th point 231 I37 Empty I12 13th point 232 I38 PRG TIME OVER I13 14th point 233 I39 CHK instruction execution annunciator detecti...

Страница 465: ...formance model QCPU is reset To use any of I32 to I48 enable the interrupt with the IMASK instruction For the IMASK instruction refer to the following MELSEC Q L Programming Manual Common Instruction...

Страница 466: ...box For interrupt from an intelligent function module refer to Section 6 23 7 I50 has the highest priority priority 2 and I255 has the lowest priority priority 207 Table9 17 List of interrupt pointer...

Страница 467: ...6 23 5 I50 has the highest priority priority 2 and I255 has the lowest priority priority 207 Table9 18 List of interrupt pointer numbers and interrupt factors Redundant CPU I No Interrupt factor Prio...

Страница 468: ...vice J 1 Definition The network No specification device is used to specify the network number in the link dedicated instructions 2 Specification method In the link dedicated instruction this device is...

Страница 469: ...ions 2 Specification method In the intelligent function module dedicated instruction this device is specified as shown in Figure 9 92 Remark For details of the intelligent function module dedicated in...

Страница 470: ...n ladders in ascending order With the macro instruction argument device VD0 to VD9 can be used in one macro registration ladder The GX Developer read mode provides an option to view a program in macro...

Страница 471: ...K32767 When using 2 word data 32 bit data K 2147483648 to K2147483647 The most significant bit represents a sign bit 9 12 2Hexadecimal constant H 1 Definition The hexadecimal constant H is a device f...

Страница 472: ...curs only when the internal operation is set to single precision 1 The special values are 0 normalized numbers nonnumeric characters and 3 Specification method Real numbers can be specified in sequenc...

Страница 473: ...cters The shift JIS code can be used for character strings The CPU module distinguishes between upper and lower case characters 3 Number of specified characters A string from the specified character t...

Страница 474: ...ndently for each program 9 13 1Global device Programs being executed in the CPU module can share the global device Global device data are stored in the device memory of the CPU module and can be share...

Страница 475: ...ecuted programs without considering other programs Note that local device data can be stored in the standard RAM and a memory card SRAM only Figure 9 97 Range specification for a device Figure 9 98 Us...

Страница 476: ...the time spent for data exchange Remark 1 There are some instructions for which a local device cannot be specified For details refer to the pages describing devices available for each instruction in t...

Страница 477: ...local device Note that the local device range is common to all programs and cannot be changed for each program For example if a local device range is specified as M0 to M100 this range setting applies...

Страница 478: ...memory for storing the local device file and a file name in the PLC file tab of the PLC parameter dialog box c Writing the setting data Write the data set in a and b to the CPU module Select Online Wr...

Страница 479: ...lts in CSV format All of the devices that have not been set as local devices are global devices 4 Setting of whether to use a local device for each program Use of the local device can be set for each...

Страница 480: ...ng a local device file Creation of a local device file depends on the PLC parameter settings Table9 20 shows the conditions for creating a local device file Creates a file Not create a file 1 Indicate...

Страница 481: ...device that corresponds to the source file of the subroutine program ON Perform operations with the local device that corresponds to the file where the subroutine program is stored Figure 9 106 When...

Страница 482: ...sed if one subroutine program is executed with SM776 set to on The on off status of SM776 is set for each CPU module It cannot be set for each file If the on off status of SM776 is changed during sequ...

Страница 483: ...ore the interrupt fixed scan execution type program ON Perform operations with the local device that corresponds to the program file where the interrupt fixed scan execution type program is stored Fig...

Страница 484: ...or each CPU module It cannot be set for each file If the on off status of SM777 is changed during sequence program execution control is implemented according to the information after the change Remark...

Страница 485: ...ME This chapter describes the CPU module processing time 10 1 Scan Time This section describes the scan time structures and CPU module processing time 10 1 1Scan time structure A CPU module sequential...

Страница 486: ...in END processing no execution when the DUTY instruction is not used Program execution Refresh via CC Link IE Controller Network Refresh via CC Link Refresh by the intelligent function module paramete...

Страница 487: ...the DUTY instruction in END processing no execution when the DUTY instruction is not used Program execution End the program 1 Refresh via MELSECNET H Refresh via CC Link IE Controller Network Refresh...

Страница 488: ...ontrolsystem Separate mode controlsystem Separate mode standby system 1 Execution of the DUTY instruction in END processing no execution when the DUTY instruction is not used Program execution End the...

Страница 489: ...me can be checked by monitoring the special register SD520 SD521 and SD524 to SD527 Accuracy of each stored scan time is 0 1ms If the stored values in SD520 and SD521 are 3 and 400 respectively the sc...

Страница 490: ...of input points 16 N1 number of output points 16 N2 For N1 and N2 refer to Table10 1 Remark The number of available base units differs depending on the CPU module QCPU User s Manual Hardware Design M...

Страница 491: ...ion is turned on off during the END processing Note10 1Note1 4 Instruction execution time The instruction execution time is the time required for all instructions used in the program to be executed Re...

Страница 492: ...d start With high speed start Without high speed start With high speed start Q00JCPU 175 s 150 s 350 s 325 s Q00CPU 145 s 125 s 285 s 265 s Q01CPU 135 s 120 s 270 s 255 s Q02CPU 190 s 85 s 205 s 100 s...

Страница 493: ...nts that specified a local device Table10 6 When a local device file in the standard RAM is used CPU module Additional time to the pre start overhead time for interrupt programs Table10 3 Additional t...

Страница 494: ...a between link devices in a CC Link IE Controller Network module and devices in the CPU module b Refresh via MELSECNET H This is the time required for refreshing data between link devices in a MELSECN...

Страница 495: ...or KN1 and KN2 use the values given in Table10 8 and Table10 9 When the number of auto refresh points for the analog digital converter module Q64AD is 4 points when the module is mounted on the Q01CPU...

Страница 496: ...rocessing time is required Processing time required 1 Indicates the number of steps set in the PLC RAS 2 tab of the PLC parameter dialog box Section 8 1 2 5 Table10 10 Calendar update processing time...

Страница 497: ...ndant CPU When monitoring device data reading programs and setting monitor conditions in GX Developer the processing time shown in Table10 13 or Table10 14 is required Table10 12 Processing time to mo...

Страница 498: ...r each instruction refer to the following MELSEC Q L Programming Manual Common Instruction 9 Common processing time The CPU module performs common processing by the system The common processing time s...

Страница 499: ...red n in the table indicates the number of programs to be executed 1 Indicates the processing time when 10K points of local devices are used Table10 16 Processing time when 50 points of the internal r...

Страница 500: ...called Processing time when a subroutine program in a different file is called Q02CPU 0 35 n 0 05 103 s 0 70 n 0 10 103 s Q02HCPU Q06HCPU Q12HCPU Q25HCPU 0 15 n 0 03 103 s 0 30 n 0 05 103 s Q02PHCPU Q...

Страница 501: ...quired When Use the following file is selected the scan time will not be increased 1 n indicates the number of program files Table10 20 Processing time for each program when multiple programs are exec...

Страница 502: ...e CPU settings screen of the PLC parameter dialog box Table10 23 Processing time online change ladder mode CPU module Processing time The reserved area for online change is not changed The reserved ar...

Страница 503: ...s processing For the memory check processing time refer to Section 6 27 4 10 Scan time measurement When the scan time is measured by GX Developer the processing time shown in Table10 26 is required Se...

Страница 504: ...the special relay and special register must be replaced as described below A series compatible special relay SM1000 to SM1299 Q series dedicated special relay SM0 to SM999 A series compatible special...

Страница 505: ...n the processing time deselect the Perform internal arithmetic operations in double precision item in the PLC system tab of the PLC parameter dialog box Remark For the operation processing time of the...

Страница 506: ...setting is enabled only when the Use the same file name as the program item is selected in the PLC file tab of the PLC parameter dialog box Note4 Figure 10 8 File usability setting Figure 10 9 PLC fi...

Страница 507: ...nts size and file name of the program must be predetermined 1 Program size Check whether the total size of programs and parameters are within the program size executable in the CPU module used Section...

Страница 508: ...ory in GX Developer and write the parameters and program Write the PLC parameters and program with the same settings immediately after the project was created by GX Developer Power off the programmabl...

Страница 509: ...G PROGRAM TO CPU MODULE 1 2 11 4 5 6 7 8 11 1 Basic Model QCPU 11 1 2 Hardware Check Remark For installation and mounting procedures of the CPU module refer to the following QCPU User s Manual Hardwar...

Страница 510: ...value range Set a file name for initial device value in the PLC file tab of the PLC parameter dialog box Set the RUN STOP RESET switch to STOP and power on the CPU module the ERR LED turns on NO YES...

Страница 511: ...memory in GX Developer and format the program memory or standard ROM Power off the programmable controller and then on or reset the CPU module Set the RUN STOP RESET switch to RUN to change the CPU m...

Страница 512: ...alog box YES NO Start If the RUN STOP RESET switch is in RUN set the switch to STOP Power off the programmable controller and then on or reset the CPU module Is the special relay SM660 on End GX Devel...

Страница 513: ...ultiple programs determine a unit process function for structuring the programs 3 Setting the execution conditions for programs to be created When executing multiple programs set their execution condi...

Страница 514: ...the program memory Turn off the DIP switch SW1 and release the system protection Set the parameter valid drive to the program memory drive 0 with the DIP switches SW2 off SW3 off Select Online Write t...

Страница 515: ...rdware check flowchart YES YES NO NO 1 Power off the programmable controller and then on or reset the CPU module Set the RUN STOP switch to RUN to change the CPU module in the RUN status Is the RUN LE...

Страница 516: ...t the initial device value range Set a file name for initial device value in the PLC file tab of the PLC parameter dialog box Set the parameter valid drive with the DIP switches SW2 SW3 2 1 NO YES Sta...

Страница 517: ...PLC parameter dialog box Figure 11 5 Flowchart for writing one program 1 YES NO YES NO Write to PLC screen Set the RUN STOP switch to STOP turn the RESET L CLR switch to reset clear position and power...

Страница 518: ...odule side YES NO NO YES 1 Ladder writing screen GX Developer Version 8 Operating Manual GX Developer Version 8 Operating Manual Use the initial device value Set the device memory Set the initial devi...

Страница 519: ...of the PLC parameter dialog box Set the names and execution conditions of programs to be executed in the Program tab of the PLC parameter dialog box Set the parameter valid drive with the DIP switche...

Страница 520: ...n below Program Program memory Parameter Memory set in the parameter valid drive Initial device value Memory set in the PLC file tab of the PLC parameter dialog box Figure 11 6 Flowchart for writing m...

Страница 521: ...he Boot file tab of the PLC parameter dialog box Set the names and execution conditions of programs to be executed in the Program tab of the PLC parameter dialog box This setting is necessary when one...

Страница 522: ...05mnH Section 8 3 0AmnH Section 8 3 Redundant parameters 0D00H Section 8 1 QCPU User s Manual Multiple CPU System No of PLC 0E00H Section 8 1 QCPU User s Manual Multiple CPU System Operating mode 0E01...

Страница 523: ...Section 8 1 WDT watchdog timer setting WDT setting 3000H Section 6 16 Section 8 1 Initial execution monitoring time Section 2 3 1 Section 8 1 Error check Carry out battery check 3001H Section 6 17 Sec...

Страница 524: ...tart mode 8002H Section 8 1 Start conditions 8003H Output mode when the block is stopped 8006H Number of modules on Ethernet 9000H Section 8 3 Starting I O No 9N00H Network No Group No Station No Oper...

Страница 525: ...down select Scan mode setting Delay information setting Station information setting Remote device station initial setting Initial settings Interrupt setting Start mode setting D001H Section 8 2 QnPRH...

Страница 526: ...serial number of the CPU module Appendix 2 1 Upgrade of the Basic model QCPU 1 Specifications comparisons Available supported Not available not supported TableAPPX 2 Specifications comparisons Specifi...

Страница 527: ...sion 8 00A or later Structured text ST language MELSEC Q L Programming Manual Structured Text MELSAP3 MELSEC Q L QnA Programming Manual SFC B 04122 or later PID operation 1 MELSEC Q L QnA Programming...

Страница 528: ...le Main base unit Unnecessary Necessary Slim type main base unit Unnecessary Necessary Extension base unit Q52B Q55B Unnecessary Q63B Q65B Q68B Q68RB Q612B Necessary Extension cable QC05B QC06B QC12B...

Страница 529: ...ilability of new functions depending on the versions of the CPU module and GX Developer Function Function version First 5 digits of serial No GX Developer Automatic write to standard ROM Section 5 2 7...

Страница 530: ...stem Section 6 20 07032 or later Version 8 23Z or later Clock data in units of 1 1000 seconds Section 6 5 Storage of sampling trace files in the standard RAM Section 6 14 Version 8 23Z or later Indivi...

Страница 531: ...r Local Module User s Manual Memory check function Section 6 26 Version 8 23Z or later Reading of the SFC active step comment MELSEC Q L QnA Programming Manual SFC Detection of errors in the redundant...

Страница 532: ...Storage of sampling trace files in standard RAM Section 6 14 Version 8 23Z or later Selection of execution of the fall instruction during online change Section 6 12 3 07092 or later Version 8 27D or...

Страница 533: ...Points Range Size words 3 Points bits 2 Input relay 1 X 16 2K 2048 X0000 to 07FF 16 128 1 2048 Output relay 1 Y 16 2K 2048 Y0000 to 07FF 16 128 1 2048 Internal relay M 10 K M0 to 16 1 Latch relay L 10...

Страница 534: ...Input relay 1 X 16 8K 8192 X0000 to 1FFF 16 512 1 8192 Output relay 1 Y 16 8K 8192 Y0000 to 1FFF 16 512 1 8192 Internal relay M 10 K M0 to 16 1 Latch relay L 10 K L0 to 16 1 Link relay B 16 K B0000 to...

Страница 535: ...ister 9 40 Data clear processing 3 7 Data register D 9 40 Debug function from multiple GX Developers 6 87 Decimal constant K 9 96 Detail mode 4 1 Device list 9 1 Device point assignment sheet APPX 12...

Страница 536: ...direct device 9 49 K K Decimal constant 9 96 L L Latch relay 9 12 Ladder mode 2 2 6 54 Latch 6 8 Latch clear 3 8 Latch clear operation enable range Latch 1 start end 3 8 Latch function 6 8 Latch rela...

Страница 537: ...can execution type program 2 22 Scan time measurement 6 70 SD Special register 9 48 Self diagnostic function 6 93 Serial communication function 6 135 Serial setting 8 11 Service processing time 10 13...

Страница 538: ...er 6 91 WDT setting 6 91 Write to PLC Flash ROM 5 28 Writing Writing data to the memory card 5 24 Writing data to the program memory 5 5 5 18 Writing data to the standard RAM 5 8 5 21 Writing data to...

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

Страница 540: ...tion in the United States Japan and other countries Intel Pentium and Celeron are either registered trademarks or trademarks of Intel Corporation in the United States and other countries Ethernet is a...

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

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

Отзывы: