background image

Structured Programming Manual

Mitsubishi 
Programmable Controller

QCPU

(Special Instructions)

Содержание QCPU

Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Special Instructions ...

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

Страница 3: ...rogrammable controller thoroughly read the manuals attached to the products and the relevant manuals introduced in the attached manuals Also pay careful attention to safety and handle the products properly Please keep this manual in a place where it is accessible when required and always forward it to the end user ...

Страница 4: ...anual number Revision Jul 2008 SH NA 080785ENG A First edition This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual ...

Страница 5: ...2 1 Analog instruction 2 3 2 2 2 Serial communication and modem interface instruction 2 4 2 2 3 CC Link instruction 2 5 2 2 4 CC Link IE controller network MELSECNET H and Ethernet instruction 2 6 2 2 5 PID control instruction inexact differential 2 8 2 2 6 PID control instruction exact differential 2 9 2 2 7 Positioning instruction 2 9 3 CONFIGURATION OF INSTRUCTIONS AND DATA SPECIFICATION 3 1 to...

Страница 6: ... 4 4 SWRITE instruction 5 107 5 4 5 SEND instruction 5 109 5 4 6 RECV instruction 5 113 5 4 7 RECVS instruction 5 116 5 4 8 REQ instruction 5 118 5 4 9 ZCOM instruction 5 125 5 4 10 RRUN instruction 5 126 5 4 11 RSTOP instruction 5 128 5 4 12 RTMRD instruction 5 130 5 4 13 RTMWR instruction 5 132 5 4 14 REMFR instruction 5 134 5 4 15 REMTO instruction 5 136 5 4 16 OPEN instruction 5 138 5 4 17 CLO...

Страница 7: ... PIDRUN instruction 5 184 5 6 4 PIDPRMW instruction 5 185 5 7 Positioning Instruction 5 188 5 7 1 ABRST instruction 5 188 5 7 2 PSTRT instruction 5 190 5 7 3 TEACH instruction 5 192 5 7 4 PFWRT instruction 5 194 5 7 5 PINIT instruction 5 195 IINDEX Index 1 to Index 4 ...

Страница 8: ...sed in structured programs Sold separately SH 080783ENG 13JW07 QCPU Structured Programming Manual Application Functions Explains the specifications and functions of application functions that can be used in structured programs Sold separately SH 080784ENG 13JW08 Manual name Manual number Model code GX Works2 Version1 Operating Manual Common Explains the system configuration of GX Works2 and the fu...

Страница 9: ... configuration performance specifications functions handling wiring and troubleshooting of the CC Link IE controller network Sold separately SH 080668ENG 13JV16 Q Corresponding MELSECNET H Network System Reference Manual PLC to PLC network Explains the specifications settings and procedures before operation parameter setting programming and troubleshooting of the MELSECNET H PLC to PLC network sys...

Страница 10: ...User s Manual Explains the system configuration performance specifications functions handling wiring and troubleshooting of the Q62DA FG Sold separately SH 080281E 13JR52 RTD Input Module Channel Isolated RTD Input Module User s Manual Explains the system configuration performance specifications functions handling wiring and troubleshooting of the Q64RD and Q64RD G Sold separately SH 080142 13JR31...

Страница 11: ...inner s Manual GX Works2 Version1 Operating Manual Simple Project Structured Project Common Simple Project Structured Project Installation Learning the operating environment and installation method Operation of Simple project Learning the basic operations and operating procedures Learning the functions and operation methods for programming Learning all functions and operation methods except for pr...

Страница 12: ... details of instructions for network modules Learning the types and details of instructions for the PID control function Programming in Structured project Learning the fundamentals for creating a structured program for the first time Learning the types and details of common instructions Learning the types and details of instructions for intelligent function modules Learning the types and details o...

Страница 13: ...UDE Q04UDH Q04UDEH Q06UDH Q06UDEH Q13UDH Q13UDEH Q26UDH and Q26UDEH CC Link IE Controller Network Abbreviation for the CC Link IE controller network system MELSECNET H Abbreviation for the MELSECNET H network system Ethernet Abbreviation for the Ethernet network system CC Link Abbreviation for Control Communication Link CPU module Generic term for the High Performance model QCPU and Universal mode...

Страница 14: ...A 12 MEMO ...

Страница 15: ...RUCTION TABLES 3 CONFIGURATION OF INSTRUCTIONS AND DATA SPECIFICATION 4 HOW TO READ INSTRUCTIONS 5 QCPU INSTRUCTION DETAILS I INDEX 1 1 1 OVERVIEW 1 1 Overview 1 2 1 2 Modules and Versions Applicable to Instructions 1 3 ...

Страница 16: ... data from and to an intelligent device station on the CC Link system Reads and writes data from and to the auto refresh buffer memory at the master station Sets the network parameters Section 5 3 Ethernet interface module Sends and receives data to and from an external device Reads and writes data from and to another station on the CC Link IE controller network or MELSECNET H network system Reads...

Страница 17: ...le QJ71C24N QJ71C24N R2 QJ71C24N R4 QJ71C24 QJ71C24 R2 The modules that can use the UINI instruction are limited For details Section 5 2 14 Modem interface module QJ71CMON QJ71CMO Applicable to all versions CC Link system master local module QJ61BT11N Applicable to all versions QJ61BT11 The modules that can use the RLPASET instruction are limited The instruction is applicable to the module whose f...

Страница 18: ...dule for explaining an instruction Applicable version serial number CPU module supporting the PID control instruction Q02 Q02H Q02U Q03UD Q03UDE Q04UDH Q04UDEH Q06H Q06UDH Q06UDEH Q12H Q13UDH Q13UDEH Q25H Q26UDH Q26UDEH Instructions for inexact differential The modules that can use the instruction are limited For details Section 5 5 Section 5 6 Instructions for exact differential Applicable to all...

Страница 19: ...ION TABLES 3 CONFIGURATION OF INSTRUCTIONS AND DATA SPECIFICATION 4 HOW TO READ INSTRUCTIONS 5 QCPU INSTRUCTION DETAILS I INDEX 2 2 1 INSTRUCTION TABLES 2 1 How to Read Instruction Tables 2 2 2 2 QCPU Instruction Tables 2 3 ...

Страница 20: ...es an executed while ON type instruction that is executed only while the precondition is ON When the precondition is OFF the instruction is not executed and does not perform processing Indicates an executed once at ON type instruction that is executed only at the rising pulse OFF ON of the precondition of the instruction The instruction is not executed afterwards even when the condition is ON and ...

Страница 21: ...de switching G_OFFGAN Moves to the offset gain setting mode Moves to the normal mode 5 2 GP_OFFGAN 5 2 Setting value reading G_OGLOAD Reads the user range settings offset gain value to the programmable controller CPU 5 3 GP_OGLOAD 5 3 Setting value restoration G_OGSTOR Restores the user range settings offset gain value stored in the programmable controller CPU 5 27 GP_OGSTOR 5 27 Un S Un S Un S d ...

Страница 22: ...e nonprocedural protocol 5 62 Data transmission reception Z_BUFRCVS Receives data with an interrupt program using the nonprocedural protocol or bidirectional protocol 5 64 G_PRR Sends data by user frame according to the specification in user frame specification area for transmission using the nonprocedural protocol 5 66 GP_PRR 5 66 Unit setting of the number of send receive data ZP_CSET Sets the u...

Страница 23: ...device station with handshake G_RISEND Automatically performs handshaking with the specified station and writes data to the buffer memory of the specified station This instruction is applicable with a module having a handshake signal such as the AJ65BT R2 5 88 GP_RISEND 5 88 Reading from the auto refresh buffer memory of the master station G_RIFR Reads data from the auto refresh buffer memory of t...

Страница 24: ...ITE 5 102 G_WRITE 5 102 GP_WRITE 5 102 J_SWRITE Writes data to a device of another station with completion device 5 107 JP_SWRITE 5 107 G_SWRITE 5 107 GP_SWRITE 5 107 Message user specified data communication J_SEND Sends data to another station 5 109 JP_SEND 5 109 G_SEND 5 109 GP_SEND 5 109 J_RECV Reads received data from another station for main program 5 113 JP_RECV 5 113 G_RECV 5 113 GP_RECV 5...

Страница 25: ...n 5 130 ZP_RTMRD_J 5 130 Z_RTMRD_U 5 130 ZP_RTMRD_U 5 130 Writing clock data to another station Z_RTMWR_J Writes clock data to a CPU module on another station 5 132 ZP_RTMWR_J 5 132 Z_RTMWR_U 5 132 ZP_RTMWR_U 5 132 Reading from buffer memory of intelligent function moduleon remote I O station Z_REMFR Reads data from the buffer memory of an intelligent function module on the remote I O station 5 13...

Страница 26: ... Reads received e mail 5 153 ZP_MSEND Sends an e mail 5 156 Classification Instruction name Argument Processing details Executing condition Page Data setting S_PIDINIT Sets data to be used for PID operation 5 159 SP_PIDINIT 5 159 PID operation S_PIDCONT Performs PID operation based on the set value SV and process value PV 5 164 SP_PIDCONT 5 164 PID operation stop S_PIDSTOP Stops the PID operation ...

Страница 27: ...meter change PIDPRMW Changes operation parameter of the specified loop number 5 185 PIDPRMWP 5 185 Classification Instruction name Argument Processing details Executing condition Page Absolute position restoration Z_ABRST1 Restores the absolute position of the specified axis 5 188 Z_ABRST2 5 188 Z_ABRST3 5 188 Z_ABRST4 5 188 Positioning start ZP_PSTRT1 Starts positioning of the specified axis 5 19...

Страница 28: ...2 10 MEMO ...

Страница 29: ...FIGURATION OF INSTRUCTIONS AND DATA SPECIFICATION 4 HOW TO READ INSTRUCTIONS 5 QCPU INSTRUCTION DETAILS I INDEX 3 3 1 CONFIGURATION OF INSTRUCTIONS AND DATA SPECIFICATION 3 1 Configuration of Instructions and Data Specification Methods 3 2 ...

Страница 30: ...when expressing the start I O number in three digits for the module in which the instruction is to be executed Set the start I O number in a numeric value or character string according to the data type available with the instruction Setting the start I O number in word unsigned 16 bit string or word signed data type Set the start I O number of the module for n of Un Example For the module whose st...

Страница 31: ...peration are stored Data must be stored to the specified device before executing the operation By changing the data to be stored to the specified device while a program is being executed the data used in the instruction can be changed c The instructions explained in this manual use special data Refer to the explanation for each instruction and use data correctly 3 Destination a Data after the oper...

Страница 32: ...3 4 MEMO ...

Страница 33: ...1 OVERVIEW 2 INSTRUCTION TABLES 3 CONFIGURATION OF INSTRUCTIONS AND DATA SPECIFICATION 4 HOW TO READ INSTRUCTIONS 5 QCPU INSTRUCTION DETAILS I INDEX 4 4 1 HOW TO READ INSTRUCTIONS ...

Страница 34: ... be executed in two or more modules applicable modules are indicated using icons Indicates the instruction name and executing condition of the instruction Indicates the instruction names that can be described Indicates the description format of the instruction in the structured ladder and ST languages Executing condition Non conditional execution Executed while ON Executed once at ON Executed whil...

Страница 35: ...ta range 0 to 4294967295 Single precision real Real Uses floating point data Data range 2128 to 2 126 0 2 126 to 2128 Double precision real 1 Double precision real Uses floating point data Data range 21024 to 2 1022 0 2 1022 to 21024 String Character string Uses character string data Data range max 255 characters Time 2 Time value Uses the time type data Data range T 24d 0h31m23s648ms to T 24d20h3...

Страница 36: ...d C can be used in word data only cannot be used in bit data 6 These devices can be used in CC Link IE controller network MELSECNET H and MELSECNET 10 7 The Constant and Others columns describe settable devices Indicates the processing performed by the instruction Device classification Internal device system user File register R ZR Link direct device 6 J Intelligent function module U G Index regis...

Страница 37: ...ample Control data to be used in the CC Link instruction GP_RIRD The setting side indicates the following User Data set by user before dedicated instruction execution System Data stored by the programmable controller CPU after dedicated instruction execution The setting does not need to be set by the user If the setting is set by the user data cannot be read normally ...

Страница 38: ...4 6 MEMO ...

Страница 39: ...PU INSTRUCTION DETAILS 5 1 Analog Instruction 5 2 5 2 Serial Communication and Modem Interface Instruction 5 51 5 3 CC Link Instruction 5 80 5 4 CC Link IE Controller Network MELSECNET H and Ethernet Instruction 5 97 5 5 PID Control Instruction Inexact Differential 5 159 5 6 PID Control Instruction Exact Differential 5 173 5 7 Positioning Instruction 5 188 ...

Страница 40: ... to normal mode G P _OFFGAN P Executing condition indicates any of the following instructions G_OFFGAN GP_OFFGAN Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s Mode switching 0 To normal mode 1 To offset gain setting mode ANY16 Output argument ENO Execution result Bit Setting data 1 Inter...

Страница 41: ...ollowing instructions G_OGLOAD GP_OGLOAD Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s Variable that stores control data Array of ANY16 0 99 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error complet...

Страница 42: ...ndustrial shipment settings offset value System 7 CH2 Industrial shipment settings gain value System 8 CH3 Industrial shipment settings offset value System 9 CH3 Industrial shipment settings gain value System 10 CH4 Industrial shipment settings offset value System 11 CH4 Industrial shipment settings gain value System 12 CH1 User range settings offset value System 13 CH1 User range settings gain va...

Страница 43: ...offset value System 15 CH6 Industrial shipment settings gain value System 16 CH7 Industrial shipment settings offset value System 17 CH7 Industrial shipment settings gain value System 18 CH8 Industrial shipment settings offset value System 19 CH8 Industrial shipment settings gain value System 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 User ra...

Страница 44: ...m 15 CH6 Industrial shipment settings gain value System 16 CH7 Industrial shipment settings offset value System 17 CH7 Industrial shipment settings gain value System 18 CH8 Industrial shipment settings offset value System 19 CH8 Industrial shipment settings gain value System 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 User range settings offse...

Страница 45: ...l shipment settings offset value H 14 CH3 Industrial shipment settings gain value L System 15 CH3 Industrial shipment settings gain value H 16 CH4 Industrial shipment settings offset value L System 17 CH4 Industrial shipment settings offset value H 18 CH4 Industrial shipment settings gain value L System 19 CH4 Industrial shipment settings gain value H 20 CH1 User range settings offset value L Syst...

Страница 46: ...ettings gain value H 8 CH2 Industrial shipment settings offset value L System 9 CH2 Industrial shipment settings offset value H 10 CH2 Industrial shipment settings gain value L System 11 CH2 Industrial shipment settings gain value H 12 System area to 19 20 CH1 User range settings offset value L System 21 CH1 User range settings offset value H 22 CH1 User range settings gain value L System 23 CH1 U...

Страница 47: ...ue System 14 CH6 Industrial shipment settings offset value System 15 CH6 Industrial shipment settings gain value System 16 CH7 Industrial shipment settings offset value System 17 CH7 Industrial shipment settings gain value System 18 CH8 Industrial shipment settings offset value System 19 CH8 Industrial shipment settings gain value System 20 CH1 User range settings offset value System 21 CH1 User r...

Страница 48: ...ings gain value System 12 CH5 Industrial shipment settings offset value System 13 CH5 Industrial shipment settings gain value System 14 CH6 Industrial shipment settings offset value System 15 CH6 Industrial shipment settings gain value System 16 System area to 19 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 User range settings offset value Syst...

Страница 49: ...urrent of the offset gain values to be read 0 Voltage specified 1 Current specified 0000H to 0003H User 3 System area 4 CH1 Industrial shipment settings offset value System 5 CH1 Industrial shipment settings gain value System 6 CH2 Industrial shipment settings offset value System 7 CH2 Industrial shipment settings gain value System 8 CH1 User range settings offset value System 9 CH1 User range set...

Страница 50: ...strial shipment settings offset value System 7 CH2 Industrial shipment settings gain value System 8 CH3 Industrial shipment settings offset value System 9 CH3 Industrial shipment settings gain value System 10 CH4 Industrial shipment settings offset value System 11 CH4 Industrial shipment settings gain value System 12 CH1 User range settings offset value System 13 CH1 User range settings gain value...

Страница 51: ...ings offset value System 15 CH6 Industrial shipment settings gain value System 16 CH7 Industrial shipment settings offset value System 17 CH7 Industrial shipment settings gain value System 18 CH8 Industrial shipment settings offset value System 19 CH8 Industrial shipment settings gain value System 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 Us...

Страница 52: ...System 15 CH6 Industrial shipment settings gain value System 16 CH7 Industrial shipment settings offset value System 17 CH7 Industrial shipment settings gain value System 18 CH8 Industrial shipment settings offset value System 19 CH8 Industrial shipment settings gain value System 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 User range settings ...

Страница 53: ...ting gain value used for D A System 8 CH1 Industrial shipment settings offset value used for monitor output System 9 CH1 Industrial shipment settings gain value used for monitor output System 10 CH2 Industrial shipment settings offset value used for monitor output System 11 CH2 Industrial shipment settings gain value used for monitor output System 12 CH1 User range settings offset value used for D...

Страница 54: ...Industrial shipment settings offset value System 11 CH4 Industrial shipment settings gain value System 12 CH5 Industrial shipment settings offset value System 13 CH5 Industrial shipment settings gain value System 14 CH6 Industrial shipment settings offset value System 15 CH6 Industrial shipment settings gain value System 16 CH1 User range settings offset value System 17 CH1 User range settings gai...

Страница 55: ...ory default offset value H 6 3 wire CH1 Factory default gain value L System 7 3 wire CH1 Factory default gain value H 8 3 wire CH1 User range settings offset value L System 9 3 wire CH1 User range settings offset value H 10 3 wire CH1 User range settings gain value L System 11 3 wire CH1 User range settings gain value H 12 3 wire CH1 User range settings resistance offset value L System 13 3 wire C...

Страница 56: ...e settings offset value System 34 3 wire CH2 User range settings gain value System 35 3 wire CH2 User range settings gain value System Q64RD G 28 3 wire CH2 Factory default offset value L System 29 3 wire CH2 Factory default offset value H 30 3 wire CH2 Factory default gain value L System 31 3 wire CH2 Factory default gain value H 32 3 wire CH2 User range settings offset value L System 33 3 wire C...

Страница 57: ...wire CH3 User range settings offset value System 58 3 wire CH3 User range settings gain value System 59 3 wire CH3 User range settings gain value System Q64RD G 52 3 wire CH3 Factory default offset value L System 53 3 wire CH3 Factory default offset value H 54 3 wire CH3 Factory default gain value L System 55 3 wire CH3 Factory default gain value H 56 3 wire CH3 User range settings offset value L ...

Страница 58: ...e settings offset value System 82 3 wire CH4 User range settings gain value System 83 3 wire CH4 User range settings gain value System Q64RD G 76 3 wire CH4 Factory default offset value L System 77 3 wire CH4 Factory default offset value H 78 3 wire CH4 Factory default gain value L System 79 3 wire CH4 Factory default gain value H 80 3 wire CH4 User range settings offset value L System 81 3 wire C...

Страница 59: ...L System 91 4 wire CH4 Factory default gain value H 92 4 wire CH4 User range settings offset value L System 93 4 wire CH4 User range settings offset value H 94 4 wire CH4 User range settings gain value L System 95 4 wire CH4 User range settings gain value H 96 4 wire CH4 User range settings resistance offset value L System 97 4 wire CH4 User range settings resistance offset value H 98 4 wire CH4 U...

Страница 60: ...e settings thermal EMF offset value L System 17 CH2 User range settings thermal EMF offset value H 18 CH2 User range settings thermal EMF gain value L System 19 CH2 User range settings thermal EMF gain value H 20 CH3 Factory default offset value System 21 CH3 Factory default gain value System 22 CH3 User range settings offset value System 23 CH3 User range settings gain value System 24 CH3 User ra...

Страница 61: ...tings thermal EMF gain value L System 19 CH2 User range settings thermal EMF gain value H 20 CH3 Factory default offset value System 21 CH3 Factory default gain value System 22 CH3 User range settings offset value System 23 CH3 User range settings gain value System 24 CH3 User range settings thermal EMF offset value L System 25 CH3 User range settings thermal EMF offset value H 26 CH3 User range s...

Страница 62: ... H 52 CH7 Factory default offset value System 53 CH7 Factory default gain value System 54 CH7 User range settings offset value System 55 CH7 User range settings gain value System 56 CH7 User range settings thermal EMF offset value L System 57 CH7 User range settings thermal EMF offset value H 58 CH7 User range settings thermal EMF gain value L System 59 CH7 User range settings thermal EMF gain val...

Страница 63: ...tings resistance gain value L System 19 CH2 User range settings resistance gain value H 20 CH3 Factory default offset value System 21 CH3 Factory default gain value System 22 CH3 User range settings offset value System 23 CH3 User range settings gain value System 24 CH3 User range settings resistance offset value L System 25 CH3 User range settings resistance offset value H 26 CH3 User range setti...

Страница 64: ...H 52 CH7 Factory default offset value System 53 CH7 Factory default gain value System 54 CH7 User range settings offset value System 55 CH7 User range settings gain value System 56 CH7 User range settings resistance offset value L System 57 CH7 User range settings resistance offset value H 58 CH7 User range settings resistance gain value L System 59 CH7 User range settings resistance gain value H ...

Страница 65: ...dicates any of the following instructions G_OGSTOR GP_OGSTOR Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s Variable that stores control data Array of ANY16 0 99 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the t...

Страница 66: ...stem 6 CH2 Industrial shipment settings offset value System 7 CH2 Industrial shipment settings gain value System 8 CH3 Industrial shipment settings offset value System 9 CH3 Industrial shipment settings gain value System 10 CH4 Industrial shipment settings offset value System 11 CH4 Industrial shipment settings gain value System 12 CH1 User range settings offset value System 13 CH1 User range sett...

Страница 67: ... settings offset value System 15 CH2 User range settings gain value System 16 CH3 User range settings offset value System 17 CH3 User range settings gain value System 18 CH4 User range settings offset value System 19 CH4 User range settings gain value System 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 User range settings offset value System 23...

Страница 68: ...em 15 CH6 Industrial shipment settings gain value System 16 CH7 Industrial shipment settings offset value System 17 CH7 Industrial shipment settings gain value System 18 CH8 Industrial shipment settings offset value System 19 CH8 Industrial shipment settings gain value System 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 User range settings offs...

Страница 69: ...H3 Industrial shipment settings offset value H 14 CH3 Industrial shipment settings gain value L System 15 CH3 Industrial shipment settings gain value H 16 CH4 Industrial shipment settings offset value L System 17 CH4 Industrial shipment settings offset value H 18 CH4 Industrial shipment settings gain value L System 19 CH4 Industrial shipment settings gain value H 20 CH1 User range settings offset ...

Страница 70: ...ettings gain value H 8 CH2 Industrial shipment settings offset value L System 9 CH2 Industrial shipment settings offset value H 10 CH2 Industrial shipment settings gain value L System 11 CH2 Industrial shipment settings gain value H 12 System area 19 20 CH1 User range settings offset value L System 21 CH1 User range settings offset value H 22 CH1 User range settings gain value L System 23 CH1 User...

Страница 71: ...ue System 14 CH6 Industrial shipment settings offset value System 15 CH6 Industrial shipment settings gain value System 16 CH7 Industrial shipment settings offset value System 17 CH7 Industrial shipment settings gain value System 18 CH8 Industrial shipment settings offset value System 19 CH8 Industrial shipment settings gain value System 20 CH1 User range settings offset value System 21 CH1 User r...

Страница 72: ...ings gain value System 12 CH5 Industrial shipment settings offset value System 13 CH5 Industrial shipment settings gain value System 14 CH6 Industrial shipment settings offset value System 15 CH6 Industrial shipment settings gain value System 16 System area to 19 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 User range settings offset value Syst...

Страница 73: ...ication setting 2 by the OGLOAD instruction is stored 0 Voltage specified 1 Current specified 0000H to 0003H System 3 System area 4 CH1 Industrial shipment settings offset value System 5 CH1 Industrial shipment settings gain value System 6 CH2 Industrial shipment settings offset value System 7 CH2 Industrial shipment settings gain value System 8 CH1 User range settings offset value System 9 CH1 Us...

Страница 74: ...m 6 CH2 Industrial shipment settings offset value System 7 CH2 Industrial shipment settings gain value System 8 CH3 Industrial shipment settings offset value System 9 CH3 Industrial shipment settings gain value System 10 CH4 Industrial shipment settings offset value System 11 CH4 Industrial shipment settings gain value System 12 CH1 User range settings offset value System 13 CH1 User range setting...

Страница 75: ...ings offset value System 15 CH6 Industrial shipment settings gain value System 16 CH7 Industrial shipment settings offset value System 17 CH7 Industrial shipment settings gain value System 18 CH8 Industrial shipment settings offset value System 19 CH8 Industrial shipment settings gain value System 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 Us...

Страница 76: ...System 15 CH6 Industrial shipment settings gain value System 16 CH7 Industrial shipment settings offset value System 17 CH7 Industrial shipment settings gain value System 18 CH8 Industrial shipment settings offset value System 19 CH8 Industrial shipment settings gain value System 20 CH1 User range settings offset value System 21 CH1 User range settings gain value System 22 CH2 User range settings ...

Страница 77: ... shipment settings gain value used for D A System 8 CH1 Industrial shipment settings offset value used for monitor output System 9 CH1 Industrial shipment settings gain value used for monitor output System 10 CH2 Industrial shipment settings offset value used for monitor output System 11 CH2 Industrial shipment settings gain value used for monitor output System 12 CH1 User range settings offset va...

Страница 78: ... CH4 Industrial shipment settings offset value System 11 CH4 Industrial shipment settings gain value System 12 CH5 Industrial shipment settings offset value System 13 CH5 Industrial shipment settings gain value System 14 CH6 Industrial shipment settings offset value System 15 CH6 Industrial shipment settings gain value System 16 CH1 User range settings offset value System 17 CH1 User range setting...

Страница 79: ...ory default offset value H 6 3 wire CH1 Factory default gain value L System 7 3 wire CH1 Factory default gain value H 8 3 wire CH1 User range settings offset value L System 9 3 wire CH1 User range settings offset value H 10 3 wire CH1 User range settings gain value L System 11 3 wire CH1 User range settings gain value H 12 3 wire CH1 User range settings resistance offset value L System 13 3 wire C...

Страница 80: ...e settings offset value System 34 3 wire CH2 User range settings gain value System 35 3 wire CH2 User range settings gain value System Q64RD G 28 3 wire CH2 Factory default offset value L System 29 3 wire CH2 Factory default offset value H 30 3 wire CH2 Factory default gain value L System 31 3 wire CH2 Factory default gain value H 32 3 wire CH2 User range settings offset value L System 33 3 wire C...

Страница 81: ...wire CH3 User range settings offset value System 58 3 wire CH3 User range settings gain value System 59 3 wire CH3 User range settings gain value System Q64RD G 52 3 wire CH3 Factory default offset value L System 53 3 wire CH3 Factory default offset value H 54 3 wire CH3 Factory default gain value L System 55 3 wire CH3 Factory default gain value H 56 3 wire CH3 User range settings offset value L ...

Страница 82: ...e settings offset value System 82 3 wire CH4 User range settings gain value System 83 3 wire CH4 User range settings gain value System Q64RD G 76 3 wire CH4 Factory default offset value L System 77 3 wire CH4 Factory default offset value H 78 3 wire CH4 Factory default gain value L System 79 3 wire CH4 Factory default gain value H 80 3 wire CH4 User range settings offset value L System 81 3 wire C...

Страница 83: ...L System 91 4 wire CH4 Factory default gain value H 92 4 wire CH4 User range settings offset value L System 93 4 wire CH4 User range settings offset value H 94 4 wire CH4 User range settings gain value L System 95 4 wire CH4 User range settings gain value H 96 4 wire CH4 User range settings resistance offset value L System 97 4 wire CH4 User range settings resistance offset value H 98 4 wire CH4 U...

Страница 84: ...e settings thermal EMF offset value L System 17 CH2 User range settings thermal EMF offset value H 18 CH2 User range settings thermal EMF gain value L System 19 CH2 User range settings thermal EMF gain value H 20 CH3 Factory default offset value System 21 CH3 Factory default gain value System 22 CH3 User range settings offset value System 23 CH3 User range settings gain value System 24 CH3 User ra...

Страница 85: ...ge settings thermal EMF offset value H 18 CH2 User range settings thermal EMF gain value L System 19 CH2 User range settings thermal EMF gain value H 20 CH3 Factory default offset value System 21 CH3 Factory default gain value System 22 CH3 User range settings offset value System 23 CH3 User range settings gain value System 24 CH3 User range settings thermal EMF offset value L System 25 CH3 User r...

Страница 86: ...ystem 51 CH6 User range settings thermal EMF gain value H 52 CH7 Factory default offset value System 53 CH7 Factory default gain value System 54 CH7 User range settings offset value System 55 CH7 User range settings gain value System 56 CH7 User range settings thermal EMF offset value L System 57 CH7 User range settings thermal EMF offset value H 58 CH7 User range settings thermal EMF gain value L...

Страница 87: ... System 17 CH2 User range settings resistance offset value H 18 CH2 User range settings resistance gain value L System 19 CH2 User range settings resistance gain value H 20 CH3 Factory default offset value System 21 CH3 Factory default gain value System 22 CH3 User range settings offset value System 23 CH3 User range settings gain value System 24 CH3 User range settings resistance offset value L S...

Страница 88: ...stance gain value L System 51 CH6 User range settings resistance gain value H 52 CH7 Factory default offset value System 53 CH7 Factory default gain value System 54 CH7 User range settings offset value System 55 CH7 User range settings gain value System 56 CH7 User range settings resistance offset value L System 57 CH7 User range settings resistance offset value H 58 CH7 User range settings resist...

Страница 89: ...following instructions G_ONDEMAND GP_ONDEMAND Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 2 s2 Start number of the device that stores write data ANY16 Output argument ENO Execution result Bit d Variable that turns ON upon completion o...

Страница 90: ... Setting range Setting side 0 Transmission channel Set the transmission channel 1 Channel 1 CH1 side 2 Channel 2 CH2 side 1 2 User 1 Transmission result The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 2 Number of send data Set the number of send data 1 or more User S1 S1 S1 ...

Страница 91: ...ructions G_OUTPUT GP_OUTPUT Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 2 s2 Start number of the device that stores write data ANY16 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction ...

Страница 92: ...etting range Setting side 0 Transmission channel Set the transmission channel 1 Channel 1 CH1 side 2 Channel 2 CH2 side 1 2 User 1 Transmission result The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 2 Number of send data Set the number of send data 1 or more User S1 S1 S1 ...

Страница 93: ...ctions G_INPUT GP_INPUT Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s Variable that stores control data Array of ANY16 0 3 Output argument ENO Execution result Bit d1 Start number of the device that stores read data ANY16 d2 Variable that turns ON upon completion of the instruction d2 1 ...

Страница 94: ...nel 1 Channel 1 CH1 side 2 Channel 2 CH2 side 1 2 User 1 Reception result The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 2 Number of receive data The number of receive data are stored 0 or more System 3 Allowable number of words for receive data Set the allowable number of words for receive data to be stored in 1 or more User S S S S...

Страница 95: ...IDOUT Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 2 s2 Start number of the device that stores write data ANY16 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at t...

Страница 96: ...etting range Setting side 0 Transmission channel Set the transmission channel 1 Channel 1 CH1 side 2 Channel 2 CH2 side 1 2 User 1 Transmission result The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 2 Number of send data Set the number of send data 1 or more User S1 S1 S1 ...

Страница 97: ...DIN Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s Variable that stores control data Array of ANY16 0 3 Output argument ENO Execution result Bit d1 Start number of the device that stores read data ANY16 d2 Variable that turns ON upon completion of the instruction d2 1 also turns ON at the...

Страница 98: ...el Set the reception channel 1 Channel 1 CH1 side 2 Channel 2 CH2 side 1 2 User 1 Reception result The instruction completion status is stored 0 Normal System 2 Number of receive data The number of received data are stored 1 or more System 3 Allowable number of words for receive data Set the allowable number of words for receive data to be stored in 1 or more User S S S S d1 ...

Страница 99: ...ndition indicates any of the following instructions G_SPBUSY GP_SPBUSY Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 Output argument ENO Execution result Bit d Variable that stores read communication status ANY32 Setting data Internal device R ZR J U G Zn Constant Others Bit Word Bit Word ...

Страница 100: ...I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s1 Channel number that requests receive data clear 1 Channel 1 CH1 side 2 Channel 2 CH2 side ANY16 s2 Variable that stores control data Array of ANY16 0 111 Output argument ENO Execution result Bit d1 Dummy ANY16 d2 Variable that turns ON upon completion of the instruction d2 1 also turns ON a...

Страница 101: ...ET Control Data Device Item Setting data Setting range Setting side 0 Execution type Specify 0 0 User 1 Completion status The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 2 Request type Specify the request 4 Recive data clear request 4 User 3 For system System to 111 S2 S2 S2 S2 S2 ...

Страница 102: ...he following instruction Z_BUFRCVS Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Reception channel number 1 Channel 1 CH1 side 2 Channel 2 CH2 side ANY16 Output argument ENO Execution result Bit d Start number of the device that stores read data Receive data are read from the receive ar...

Страница 103: ..._BUFRCVS Z_BUFRCVS Receive Data Device Item Setting data Setting range Setting side 0 Receive data length The number of data read from the number of receive data storage area is stored 0 or more System 1 Receive data Data read from the receive data storage area are stored in ascending address order System to n d d d ...

Страница 104: ...ecuting condition indicates any of the following instructions G_PRR GP_PRR Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s Variable that stores control data Array of ANY16 0 4 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turn...

Страница 105: ...smission result The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 2 CR LF addition specification Specify whether to add CR LF codes to the send data 0 CR LF not added 1 CR LF added 0 1 User 3 Transmission pointer Specify the position in the user frame specification area for transmission from where the frame number data are to be sent 1 ...

Страница 106: ... Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s1 Reception channel number 1 Channel 1 CH1 side 2 Channel 2 CH2 side ANY16 s2 Variable that stores control data Array of ANY16 0 111 Output argument ENO Execution result Bit d1 Dummy ANY16 d2 Variable that turns ON upon completion of the instruction d2 1 also...

Страница 107: ...ed by the on demand function 0H Current setting value is used 1H to 1A00H Size 0H 1H to 1A00H 6 Send area start address Specify the start address of the send area used for the nonprocedural bidirectional protocol 0H Current setting value is used 400H to 1AFFH 2600H to 3FFFH Start address 0H 400H to 1AFFH 2600H to 3FFFH 7 Send area size Specify the size the number of words of the send area used by ...

Страница 108: ...argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s1 Reception channel number 1 Channel 1 CH1 side 2 Channel 2 CH2 side ANY16 s2 Variable that stores control data Array of ANY16 0 111 Output argument ENO Execution result Bit d1 Dummy ANY16 d2 Variable that turns ON upon completion of the instructio...

Страница 109: ...ut start pointer Specify the start pointer of the table to which the user frame number for constant cycle transmission is set 0 No specification at condition agreement transmission and notification 1 to 100 Start pointer 0 1 to 100 8 Number of user frame transmissions Specify the number of user frame transmissions outputs for constant cycle transmission 0 No specification at condition agreement tr...

Страница 110: ...nstant cycle transmission 0 to 000AH 0101H to 010AH 19 User frame output start pointer Specify the start pointer of the table to which the user frame number for condition agreement transmission for this block is set 0 No specification at constant cycle transmission and notification 1 to 100 Start pointer 0 1 to 100 20 Number of user frame transmissions Specify the number of user frame transmission...

Страница 111: ...outputs for condition agreement transmission for this block 0 No specification at constant cycle transmission and notification 1 to 100 Number of transmissions 0 1 to 100 111 Modem connection data No Specify the data number for modem function connection when making notification in condition agreement transmission for this block 0 No specification at data transmission and constant cycle transmissio...

Страница 112: ...d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error completion Array of bit 0 1 Setting data 1 Internal device R ZR J U G Zn Constant Others Bit Word Bit Word Device Item Setting data Setting range Setting side 0 Registration deletion specification Specify whether to register the user frame of the number specified by 2 1 Registered 3 Deleted 1 3 User ...

Страница 113: ...ecuting condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 3 s2 Start number the device that stores the read registration data ANY16 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of er...

Страница 114: ...d 0 Normal completion Other than 0 Error completion error code System 2 Frame No specification Specify the user frame number 1000 to 1199 User 3 Allowable number of bytes for read data Specify the maximum number of bytes for storing the registered data of the read user frame to 1 to 80 User Number of registered bytes The number of bytes of the registered data for the read user frame is stored 1 to...

Страница 115: ...ion indicates the following instruction Z_UINI Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Variable that stores control data Array of ANY16 0 12 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error ...

Страница 116: ...ransmission specifications for CH2 Refer to 1 0 to 0FFFH 6 CH2 Communication protocol setting Set the communication protocol for CH2 Refer to 2 0 to 7 7 Station No setting Set the host station number 0 to 31 8 For system Always specify 0 0 to 12 Communication speed Bit position Communication speed Bit position Remarks b15 to b8 b15 to b8 50bps 0FH 14400bps 06H 230400bps is selectable only at CH1 s...

Страница 117: ...truction is applicable to the QJ71C24N R2 R4 the first five digits of the serial number are 06062 of function version B or later Setting No Description Remarks 0H GX Developer connection Specify 0000H for the transmission specification setting 1H MC protocol Format 1 2H Format 2 3H Format 3 4H Format 4 5H Format 5 6H Nonprocedural protocol 7H Bidirectional protocol 8H For link setting Setting is p...

Страница 118: ...the following instructions G_RIRD GP_RIRD Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s Variable that stores control data Array of ANY16 0 4 Output argument ENO Execution result Bit d1 Start number of the device that stores read data ANY16 d2 Variable that turns ON upon completion of the...

Страница 119: ...Buffer memory of the CC Link module Device Item Setting data Setting range Setting side 0 Completion status The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 1 Station No Specify the station number of the local station and the intelligent device station 0 to 64 User 2 Access code Attribute code Refer to 1 and 2 User 3 Buffer memory addr...

Страница 120: ...imal 03H Latch relay L Decimal 83H Link relay B Hexadecimal 23H Timer contact T Decimal 09H Timer coil T Decimal 0AH Timer current value T Decimal 0CH Retentive timer contact ST Decimal 89H Retentive timer coil ST Decimal 8AH Retentive timer current value ST Decimal 8CH Counter contact C Decimal 11H Counter coil C Decimal 12H Counter current value C Decimal 14H Data register d Decimal 04H Link reg...

Страница 121: ...any of the following instructions G_RIWT GP_RIWT Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 4 s2 Start number of the device that stores write data ANY16 Output argument ENO Execution result Bit d Variable that turns ON upon completio...

Страница 122: ...f the CC Link module Device Item Setting data Setting range Setting side 0 Completion status The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 1 Station No Specify the station number of the local station and the intelligent device station 0 to 64 User 2 Access code and attribute code Refer to 1 and 2 User 3 Buffer memory address or devi...

Страница 123: ...ernal relay M Decimal 03H Latch relay L Decimal 83H Link relay B Hexadecimal 23H Timer contact T Decimal 09H Timer coil T Decimal 0AH Timer current value T Decimal 0CH Retentive timer contact ST Decimal 89H Retentive timer coil ST Decimal 8AH Retentive timer current value ST Decimal 8CH Counter contact C Decimal 11H Counter coil C Decimal 12H Counter current value C Decimal 14H Data register D Dec...

Страница 124: ...ng instructions G_RIRCV GP_RIRCV Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 4 s2 Variable that stores interlock signal Array of ANY16 0 2 Output argument ENO Execution result Bit d1 Start number of the device that stores read data AN...

Страница 125: ...n Other than 0 Error completion error code System 1 Station No Specify the station number of the intelligent device station 0 to 64 User 2 Access code Attribute code Set 0004H 0004H User 3 Buffer memory address Specify the start address of the buffer memory 1 User 4 Number of read points Specify the number of data to be read in units of words 1 to 480 2 User Device Item Setting data Setting range ...

Страница 126: ...ing instructions G_RISEND GP_RISEND Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 4 s2 Variable that stores interlock signal Array of ANY16 0 2 Output argument ENO Execution result Bit d1 Start number of the device that stores write dat...

Страница 127: ...tion Other than 0 Error completion error code System 1 Station No Specify the station number of the intelligent device station 0 to 64 User 2 Access code Attribute code Set 0004H 0004H User 3 Buffer memory address Specify the start address of the buffer memory 1 User 4 Number of write points Specify the number of data to be written in units of words 1 to 480 2 User Device Item Setting data Setting...

Страница 128: ...gument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 n1 Intelligent device station number 1 to 64 Random access buffer specification FFH ANY16 n2 Offset value of specified intelligent device auto refresh buffer or random access buffer of the master station ANY16 n3 Number of read points ANY16 Output argu...

Страница 129: ... GP_RITO Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 n1 Intelligent device station number 1 to 64 Random access buffer specification FFH ANY16 n2 Offset value of specified intelligent device auto refresh buffer or random access buffer of the master station ANY16 n3 Number of write points...

Страница 130: ... Variable that stores control data Array of ANY16 0 7 s2 Variable that stores slave station setting data Array of ANY16 0 63 s3 Variable that stores reserved station specification data Array of ANY16 0 3 s4 Variable that stores error invalid station specification data Array of ANY16 0 3 s5 Variable that stores send receive and auto refresh buffer assignment data Array of ANY16 0 7 Output argument ...

Страница 131: ...Set the number of retries to be performed to a communication error station 1 to 7 User 4 Number of automatic return modules Set the number of slave stations that can be returned in one link scan 1 to 10 User 5 Operation specification when CPU is down Specify the data link status when a master station programmable controller CPU error occurs 0 Stop 1 Continue 0 1 User 6 Scan mode specification Spec...

Страница 132: ...64 BIN setting 1 to 40H Setting of the number of occupied slave stations 1 to 4H Setting of slave station type 4 0 to FH S2 S2 b15 b12 b11 b8 b7 b0 Station number Number of occupied Type of slave station to to to slave stations Number of occupied slave stations Setting 1 station 1H 2 stations 2H 3 stations 3H 4 stations 4H Type of slave station Setting Ver 1 compatible remote I O station 0H Ver 1 ...

Страница 133: ... an error invalid station and reserved station are specified for the same station Device Item Setting data Setting range Setting side 0 to 3 Specification for 1 to 64 stations 5 Specify the reserved station 6 0 Not specified 1 Specified Default parameter setting is 0 Not specified for all stations User Device Item Setting data Setting range Setting side 0 to 3 Specification for 1 to 64 stations 7 ...

Страница 134: ... completion of the instruction Precautions The RLPASET instruction is applicable to the QJ61BT11 the first five digits of the serial number are 03042 of function version B or later The QJ61BT11N is compatible with the RLPASET instruction Device Item Setting data Setting range Setting side 0 to 77 Specification for 1 to 26 modules 9 Specify the buffer memory size assignment at transient transmissio...

Страница 135: ...tion 1 to 239 254 254 Network specified in Valid module during other station access ANY16 Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 17 s2 Start number of the target station s device from which data are read ANY Output argument ENO Execution result Bit d1 Start number of the...

Страница 136: ...Specify the network number of the target station 1 to 239 Network number 254 Specify this when 254 has been set in Jn 1 to 239 254 User 5 Target station No Specify the station number of the target station 1 to 120 User 6 Reserved 0 User 7 Number of resends For instruction execution Specify the number of resends when the instruction is not completed within the monitoring time specified in 8 0 to 15...

Страница 137: ...a starting from 12 is stored 0 Invalid 1 Valid System 12 15 Clock data at the time of error completion 4 Clock data at the time of error completion are stored in BCD format System 16 Error detected network No 3 Network number of the station where an error was detected is stored However when an error was detected at the host station the network number is not stored 1 to 239 Network number System 17...

Страница 138: ...wo digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 17 s2 Start number of the target station s device from which data are read ANY Output argument ENO Execution result Bit d1 Start number of the host station s device that stores read data ANY16 d2 Variable that turns ON upon completion of the instruction d2 1 also turns ON at the tim...

Страница 139: ..._SREAD Function This instruction reads data from a word device of another station Control Data For the control data of the SREAD instruction that reads the word device memory of another station refer to READ instruction The control data of the SREAD instruction are the same as those of the READ instruction Accordingly this section omits the explanation ...

Страница 140: ...le during other station access ANY16 Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 17 s2 Start number of the host station s device that stores write data ANY16 Output argument ENO Execution result Bit d1 Start number of the target station s device to which data are written ANY1...

Страница 141: ...tation is on another network Completed when data reach to a relay station on the same network 1 With arrival confirmation Completed when data are written to the target station When 0 Without arrival confirmation is specified even if writing to the target station is completed abnormally in the following cases the processing of the instruction in the host station is completed normally Communication ...

Страница 142: ...ost station 1 to 8 Channel 1 to 8 User 3 Target station s CPU type Specify the type of the target station CPU 0000H 03FFH User 0000H 03E0H to 03E3H 03FFH 4 Target station network No Specify the network number of the target station 1 to 239 Network number 254 Specify this when 254 has been set in Jn 1 to 239 254 User Device Item Setting data Setting range Setting side 1 S1 S1 S1 S1 S1 S1 Setting va...

Страница 143: ...s when the instruction is not completed within the monitoring time specified in 8 Setting is available when Execution type is set to 1 With arrival confirmation in 0 0 to 15 User At instruction completion The number of resends result is stored Setting is available when Execution type is set to 1 With arrival confirmation in 0 System 8 Arrival monitoring time Specify the monitoring time required fo...

Страница 144: ...id status of the data in the area starting from 12 is stored 0 Invalid 1 Valid System 12 15 Clock data at the time of error completion 3 Clock data at the time of error completion are stored in BCD format System 16 Error detected network No 3 Network number of the station where an error was detected is stored However when an error was detected at the host station the network number is not stored 1...

Страница 145: ...module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 17 s2 Start number of the host station s device that stores write data ANY16 Output argument ENO Execution result Bit d1 Start number of the target station s device to which data are written ANY16 d2 Variable that turns ON upon completion of the instruction d...

Страница 146: ...uction writes data to a word device of another station Control Data For the control data of the SWRITE instruction that writes data to the word device memory of another station refer to WRITE instruction The control data of the SWRITE instruction are the same as those of the WRITE instruction Accordingly this section omits the explanation ...

Страница 147: ... station 1 to 239 254 254 Network specified in Valid module during other station access ANY16 Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 17 s2 Start number of the host station s device that stores write data ANY16 Output argument ENO Execution result Bit d Variable that turn...

Страница 148: ... another network Completed when data reach to a relay station on the same network 1 With arrival confirmation Completed when data are written to the target station When 0 Without arrival confirmation is specified even if writing to the target station is completed abnormally in the following cases the processing of the instruction in the host station is completed normally Communication itself was c...

Страница 149: ...ncrease the data reliability when the station number is specified executing the instruction with setting Execution Error completion type 0 to 1 With arrival confirmation is recommended 2 Group specification 81H to A0H All stations in group numbers 1 to 32 Setting is available when Execution type is set to 0 Without arrival confirmation in 0 3 All stations specification FFH All stations of the targ...

Страница 150: ...en an error was detected at the host station the network number is not stored 1 to 239 Network number System 17 Error detected station No 2 Number of the station where an error was detected is stored However when an error was detected at the host station the network number is not stored System Device Item Setting data Setting range Setting side 1 S1 S1 S1 Description Setting value Ethernet 0 to TC...

Страница 151: ...ion 1 to 239 254 254 Network specified in Valid module during other station access ANY16 Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s Variable that stores control data Array of ANY16 0 17 Output argument ENO Execution result Bit d1 Start number of the host station s device that stores read data ANY16 d2 Variable that turns ON u...

Страница 152: ...number of the sending station is stored 1 to 239 Network number System 5 Sending station No Station number of the sending station is stored System 6 Reserved 7 Reserved 8 Arrival monitoring time Specify the monitoring time required for the instruction completion When the instruction is not completed within the monitoring time it completes abnormally 0 to 32767 User 9 Receive data length The number...

Страница 153: ... when an error was detected at the host station the network number is not stored 1 to 239 Network number System 17 Error detected station No 1 Number of the station where an error was detected is stored However when an error was detected at the host station the network number is not stored System Device Item Setting data Setting range Setting side 1 S to S b15 b8 b7 to b0 to S S S S Month 01H to 1...

Страница 154: ...n Z_RECVS Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Variable that stores control data Array of ANY16 0 9 Output argument ENO Execution result Bit d1 Start number of the host station s device that stores read data ANY16 d2 Dummy Bit Setting data 1 Internal device R ZR J U G Zn Consta...

Страница 155: ... station that stores receive data 1 to 8 Channel 1 to 8 User 3 Channel used by sending station Channel used by the sending station is stored 1 to 8 Channel System 4 Network No of sending station Network number of the sending station is stored 1 to 239 Network number System 5 Sending station No Station number of the sending station is stored System 6 System area 7 8 9 Receive data length The number...

Страница 156: ...alid module during other station access ANY16 Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 s1 Variable that stores control data Array of ANY16 0 17 s2 Variable that stores request data Array of ANY16 0 5 Output argument ENO Execution result Bit d1 Variable that stores response data Array of ANY16 0 5 d2 Variable that turns ON upo...

Страница 157: ...Valid module during other station access 1 to 239 254 User 5 Target station No Specify the station number of the target station 1 Station number specification 2 Group specification 81H to A0H All stations in group numbers 1 to 32 Available only at clock data writing and remote RUN STOP 3 All stations specification FFH All stations of the target network number Except the host station Available only...

Страница 158: ...N STOP 6 Clock data read 2 Clock data write System 11 Clock set flag 3 Valid invalid status of the data in the area starting from 12 is stored 0 Invalid 1 Valid System 12 15 Clock data set only when errors occur Clock data at the time of error completion are stored in BCD format System 16 Error detected network No 3 Network number of the station where an error was detected is stored However when a...

Страница 159: ...the target station are as indicated below Specification is not possible for other modules An access is always made to the target station CPU Network module The first five digits of the serial number are 06092 or higher QCPU The first five digits of the serial number are 06092 or higher 3 This becomes valid only when 1 is set in bit 7 of Error completion type 0 17 Error detected station No 3 Number...

Страница 160: ...cution This setting can be specified for remote RUN The forced execution is used when the station stopped by remote STOP failed to start in remote RUN to forcibly start it by remote RUN from another station 3 Clear mode Specify the CPU device memory status only for remote RUN 0000H Not cleared Note that the local devices are cleared 0001H Cleared excluding the latch range and settings in remote RU...

Страница 161: ... Clock data read 0001H Clock data write 2 Change pattern Year data to be changed Change pattern bit 0 to 7 Specify the items to be written in high order byte of 2 to 5 0 Not changed 1 Changed Year to be changed bit 8 to 15 4 Store the year last two digits in BCD format 3 Clock data to be changed continued High order 8 bits Day 01H to 31H low order 8 bits Month 01H to 12H 4 High order 8 bits Minute...

Страница 162: ...n 5 1 Sub request type 0002H Clock data read 0001H Clock data write 2 Read clock data High order 8 bits Month 01H to 12H low order 8 bits Year 00H to 99H 5 3 High order 8 bits Hour 00H to 23H low order 8 bits Day 01H to 31H 4 High order 8 bits Second 00H to 59H low order 8 bits 00H to 59H 5 High order 8 bits 00H low order 8 bits Day of week 00H Sunday to 06H Saturday d1 S1 S1 d1 d1 b15 b7 b0 b8 Ye...

Страница 163: ...ng for the network module specified in Jn Un S P _ZCOM_J S P _ZCOM_U P Executing condition indicates any of the following instructions S_ZCOM_J SP_ZCOM_J S_ZCOM_U SP_ZCOM_U Input argument EN Executing condition Bit Jn Network number of the host station 1 to 239 ANY16 Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits ANY16 Output argument EN...

Страница 164: ...dule during other station access String Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String n1 Channel used by host station ANY16 n2 Target station number ANY16 n3 Target station s CPU type ANY16 n4 Mode ANY16 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the t...

Страница 165: ... 10 RRUN instruction 5 127 5 QCPU INSTRUCTION DETAILS Z_RRUN_J Z_RRUN_U Z_RRUN_J Z_RRUN_U Function This instruction remotely switches a CPU module on another station to RUN Precautions This instruction is applicable with the QJ71LP21 or QJ71BR11 of function version B or later ...

Страница 166: ...d module during other station access String Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String n1 Channel used by host station ANY16 n2 Target station number ANY16 n3 Target station s CPU type ANY16 n4 Mode ANY16 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at t...

Страница 167: ... RSTOP instruction 5 129 5 QCPU INSTRUCTION DETAILS Z_RSTOP_J Z_RSTOP_U Z_RSTOP_J Z_RSTOP_U Function This instruction remotely switches a CPU module on another station to STOP Precautions This instruction is applicable with the QJ71LP21 or QJ71BR11 of function version B or later ...

Страница 168: ...ion access String Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String n1 Channel used by host station ANY16 n2 Target station number ANY16 n3 Target station s CPU type ANY16 Output argument ENO Execution result Bit d1 Variable that stores read clock data Array of ANY16 0 3 d2 Variable that turns ON upon completion of the instruction d2...

Страница 169: ...12 RTMRD instruction 5 131 5 QCPU INSTRUCTION DETAILS Z_RTMRD_J Z_RTMRD_U Z_RTMRD_J Z_RTMRD_U Function This instruction reads clock data from a CPU module on another station Precautions This instruction is applicable with the QJ71LP21 or QJ71BR11 of function version B or later ...

Страница 170: ...ified in Valid module during other station access String Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String n1 Channel used by host station ANY16 n2 Target station number ANY16 n3 Target station s CPU type ANY16 Output argument ENO Execution result Bit d1 Variable that stores write clock data Array of ANY16 0 4 d2 Variable that turns ...

Страница 171: ...ELSECNET H and Ethernet Instruction 5 4 13 RTMWR instruction 5 133 5 QCPU INSTRUCTION DETAILS Z_RTMWR_J Z_RTMWR_U Z_RTMWR_J Z_RTMWR_U Precautions This instruction is applicable with the QJ71LP21 or QJ71BR11 of function version B or later ...

Страница 172: ...ligent function module mounted to the target remote I O station in four digits ANY16 n4 Read buffer memory start address Specifies the start address of the buffer memory for the read destination intelligent function module ANY16 n5 Number of read points in units of words ANY16 Output argument ENO Execution result Bit d1 Start number of the device that stores read data host station Specifies the st...

Страница 173: ...rk MELSECNET H and Ethernet Instruction 5 4 14 REMFR instruction 5 135 5 QCPU INSTRUCTION DETAILS Z_REMFR Z_REMFR Function This instruction reads data from the buffer memory of an intelligent function module on the remote I O station ...

Страница 174: ...ent function module mounted to the target remote I O station in four digits ANY16 n4 Write buffer memory start address Specifies the start address of the buffer memory for the write destination intelligent function module ANY16 n5 Number of write points in units of words ANY16 Output argument ENO Execution result Bit d1 Start number of the device that stores write data host station Specifies the s...

Страница 175: ...rk MELSECNET H and Ethernet Instruction 5 4 15 REMTO instruction 5 137 5 QCPU INSTRUCTION DETAILS Z_REMTO Z_REMTO Function This instruction writes data to the buffer memory of an intelligent function module on the remote I O station ...

Страница 176: ...P_OPEN Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s1 Connection number 1 to 16 ANY16 s2 Variable that stores control data Array of ANY16 0 9 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error compl...

Страница 177: ...ng or fixed buffer is not used in communication 1 For receiving Check of existence of the target 0 Not checked 1 Checked Pairing open setting 0 No pairing open 1 Pairing open Communication method protocol 0 TCP IP 1 UDP IP With without procedure in fixed buffer communication 0 Procedural communication 1 Nonprocedural communication Open system 00 Active open or UDP IP 10 Unpassive open 11 Fullpassi...

Страница 178: ...igher two digits when expressing the I O number in three digits String s1 Connection number 1 to 16 ANY16 s2 Variable that stores control data Array of ANY16 0 1 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error completion Array of bit 0 1 Setting data 1 Internal device R ZR J U G Zn Constant K H Others Bit W...

Страница 179: ...on ZP_BUFRCV Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s1 Connection number 1 to 16 ANY16 s2 Variable that stores control data Array of ANY16 0 1 Output argument ENO Execution result Bit d1 Start number of the device that stores read data ANY16 d2 Variable that turns ON upon completio...

Страница 180: ...tting side 1 0 System area Data length of the data read from the fixed buffer data area is stored Data length becomes the number of words or the number of bytes depending on the procedure used in fixed buffer communication System With procedure communication in binary code The number of words 1 to 1017 With procedure communication in ASCII code The number of words 1 to 508 Nonprocedural communicat...

Страница 181: ...tes the following instruction Z_BUFRCVS Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Connection number 1 to 16 ANY16 Output argument ENO Execution result Bit d Start number of the device that stores read data ANY16 Setting data 1 Internal device R ZR J U G Zn Constant K H Others Bit Wo...

Страница 182: ...h Data length of the data read from the fixed buffer data area is stored Data length becomes the number of words or the number of bytes depending on the procedure used in fixed buffer communication System With procedure communication in binary code The number of words 1 to 1017 With procedure communication in ASCII code The number of words 1 to 508 Nonprocedural communication communication in bina...

Страница 183: ...on ZP_BUFSND Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s1 Connection number 1 to 16 ANY16 s2 Variable that stores control data Array of ANY16 0 1 s3 Start number of the device that stores write data ANY16 Output argument ENO Execution result Bit d1 Variable that turns ON upon completi...

Страница 184: ...etting data Setting range Setting side 1 0 Send data length Data length of the data read from the fixed buffer data area is stored Data length becomes the number of words or the number of bytes depending on the procedure used in fixed buffer communication User With procedure communication in binary code The number of words 1 to 1017 With procedure communication in ASCII code The number of words 1 ...

Страница 185: ...xecuting condition indicates the following instruction ZP_ERRCLR Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Variable that stores control data Array of ANY16 0 7 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at t...

Страница 186: ...ecify the error information to be cleared 0000H Initial error code 0001H to 0016H Open error code of the corresponding connection 0100H Error log block area 0101H Communication status Status by protocol 0102H Communication status E mail reception status 0103H Communication status E mail transmission status FFFFH Clears all of the above See the left column User 3 Clear function specification Specif...

Страница 187: ...condition indicates the following instruction ZP_ERRRD Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Variable that stores control data Array of ANY16 0 7 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of...

Страница 188: ...er than 0 Error completion error code System 2 Read information specification Specify the error information to be read 0 Initial error code 1 to 16 Open error code of the corresponding connection 0 1 to 16 User 3 Read target information specification Specify the target error information to be read 0000H Latest error information 0000H User 4 Error information The read error information is stored 00...

Страница 189: ...e on host station Z P _UINI P Executing condition indicates any of the following instructions Z_UINI ZP_UINI Input argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Variable that stores control data Array of ANY16 0 5 Output argument ENO Execution result Bit d Variable that turns ON upon completi...

Страница 190: ...setting in 5 0 Not changed 1 Changed OH to 3H User CC Link IE controller network Specify the change target 0001H With station number setting 0001H 3 Host station No CC Link IE controller network only Specify the station number of the host station 1 to 120 User 3 4 Host station IP address Ethernet only Specify the IP address of the host station 00000001H to FFFFFFFEH User 5 Operation setting Ethern...

Страница 191: ... Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Variable that stores control data Array of ANY16 0 15 Output argument ENO Execution result Bit d1 Start number of the host station s device that stores the contents of the received e mail header attached file ANY16 d2 Variable that turns ON upon completion of the instruction d2 1 a...

Страница 192: ... 0 or more User 3 8 System area 9 Receivedata length For instruction execution Specify the data length header attached file of the mail that can be stored in to n Header 1 to 373 attached file 1 to 6144 0 Adjust data length to that of the received mail 1 to 6517 The number of data that can be stored in to n 0 to 6517 word Includes the header length explained below User At instruction completion Da...

Страница 193: ...orks2 parameter has elapsed Unnecessary read processing is not performed when the mail server has no mail Even if mails remain in the mail server they cannot be read immediately Mails tend to be accumulated in the mail server Request read E mail read processing from the mail server is performed After the execution of the MRECV instruction inquiry read processing for information on the received mai...

Страница 194: ... module 00 to FE Higher two digits when expressing the I O number in three digits String s1 Variable that stores control data Array of ANY16 0 15 s2 Start number of the host station s device that stores the contents of the sent e mail subject attached file or subject text ANY16 Output argument ENO Execution result Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at...

Страница 195: ...text to 78 characters or less Enter the line feed code CR LF 0D0AH at the last line of a text See the left column User 1 Completion status The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 2 Transmission destination No Specify the external device to which e mails are to be sent by the setting number on Send mail address setting of GX Wo...

Страница 196: ...or completion are stored in BCD format System Device Item Setting data Setting range Setting side 1 0 n Send data Specify the contents of subject attached file or Subject text of a mail to be sent User Device Item Setting data Setting range Setting side 1 S1 S1 S1 to S1 b15 b8 b7 to b0 to S1 S1 S1 S1 Month 01H to 12H Hour 00H to 23H Second 00H to 59H Year 00H to 99H First two digits Year 00H to 99...

Страница 197: ...ring the PID control data for the number of loops to be used to the CPU module in batch SP_PIDINIT P Executing condition indicates any of the following instructions S_PIDINIT SP_PIDINIT Input argument EN Executing condition Bit s Start number of the device that stores PID control data ANY16 Output argument ENO Execution result Bit Setting data Internal device R ZR J U G Zn Constant Others Bit Word...

Страница 198: ...erse operation 0 Forward operation 1 Reverse operation User An error occurs and the PID operation for the corresponding loop is not performed 3 Sampling cycle TS Set the PID operation cycle 1 to 6000 unit 10ms 1 to 6000 unit 10ms User 4 Proportional constant KP Proportional gain of PID operation 1 to 10000 unit 0 01 1 to 10000 unit 0 01 User 5 Integral constant TI Constant that expresses the magni...

Страница 199: ...0 MV change rate limit MVL Set the variation limit between the previous MV and the present MV When the MV variation is greater than the limit value bit 1 b1 of the alarm device is set to 1 MV variation is not limited Even if the MV variation exceeds the limit value the actual MV variation is used as it is for calculating the MV 0 to 2000 32768 to 32767 User In the case of With PID limits the PID o...

Страница 200: ... 32767 unit 0 01 If setting value 30000 KD Infinite 0 to 32767 unit 0 01 If setting value 30000 KD Infinite User An error occurs and the PID operation for the corresponding loop is not performed 14 Fixed value 0 0 User 15 Fixed value 0 0 User Setting data for No 2 loop device 16 to 29 16 Operational expression selection Setting data for No 1 loop 17 Sampling cycle TS 18 Proportional constant KP 19...

Страница 201: ...limits Without PID limits Setting data for No n loop m 0 Operational expression selection Setting data for No 1 loop m 1 Sampling cycle TS m 2 Proportional constant KP m 3 Integral constant TI m 4 Derivative constant TD m 5 Filter coefficient m 6 MV lower limit MVLL m 7 MV upper limit MVHL m 8 MV change rate limit MVL m 9 PV change rate limit PVL m 10 Fixed value m 11 Derivative gain KD m 12 Fixed...

Страница 202: ...eration result to the automatic manipulated value MV area in the I O data area 3 PID operation is performed in response to the first execution of the PIDCONT instruction after the set sampling cycle time has elapsed S P _PIDCONT P Executing condition indicates any of the following instructions S_PIDCONT SP_PIDCONT Input argument EN Executing condition Bit s Start number of the device that is assig...

Страница 203: ...peration is performed after values are replaced as follows If SV is less than 0 the value is clipped to 0 If SV is greater than 2000 the value is clipped to 2000 11 Process value PV Feedback data from the control target to the A D conversion module 50 to 2050 32768 to 32767 User In the case of With PID limits the PID operation is performed after values are replaced as follows If PV is less than 50...

Страница 204: ... to determine if the change rate of the MV manipulated value and the PV process value is within or outside the limit value range Once set the alarm data are maintained until the user resets it When the MV variation is outside the limit range bit 1 b1 is set to 1 When the PV variation is outside the limit range bit 0 b0 is set to 1 User System 17 PID control work area reserved by the system 32 I O ...

Страница 205: ...the setting data are outside the setting range With PID limits Without PID limits I O data area for No n loop 0 Set value SV I O data area for No 1 loop 1 Process value PV 2 Automatic manipulated value MV 3 Process value after filtering PVf 4 Manual manipulated value MVMAN 5 Manual automatic selection MAN AUTO 6 Alarm ALARM 7 PID control work area reserved by the system 22 CPU module model Inexact...

Страница 206: ... and the PID control instructions exact differential Applicable Not applicable S P _PIDSTOP S P _PIDRUN P Executing condition indicates any of the following instructions S_PIDSTOP S_PIDRUN SP_PIDSTOP SP_PIDRUN Input argument EN Executing condition Bit n Loop number for stop start ANY16 Output argument ENO Execution result Bit Setting data Internal device R ZR J U G Zn Constant K H Others Bit Word ...

Страница 207: ... Input argument EN Executing condition Bit n Loop number to be changed ANY16 s Start number of the device that stores PID control data to be changed ANY16 Output argument ENO Execution result Bit Setting data Internal device R ZR J U G Zn Constant K H Others Bit Word Bit Word Device Data item Description Setting range Setting side Processing when the setting data are outside the setting range With...

Страница 208: ...erivative constant causes significant changes in the manipulated value even with a slight change of the control target 0 to 30000 unit 10ms 0 to 30000 unit 10ms User 5 Filtercoefficient Set the degree of filtering to be applied to the process value The filtering effect decreases as the value gets closer to 0 0 to 100 0 to 100 User 6 MV lower limit MVLL Set the lower limit for the manipulated value...

Страница 209: ...hange rate limit PVL Set the variation limit between the previous PV and the present PV When the PV variation is greater than the limit value bit 1 b1 of the alarm device is set to 1 PV variation is not limited Even if the PV variation exceeds the limit value the actual PV variation is used as it is for performing the PID operation 0 to 2000 32768 to 32767 User In the case of With PID limits the P...

Страница 210: ... the PID control instructions inexact differential and the PID control instructions exact differential Applicable Not applicable CPU module model Inexact differential Exact differential High Performance model QCPU The first five digits of the serial number are 05031 or lower The first five digits of the serial number are 05032 or higher Universal model QCPU ...

Страница 211: ...ring the PID control data for the number of loops to be used to the CPU module in batch PIDINIT P P Executing condition indicates any of the following instructions PIDINIT PIDINITP Input argument EN Executing condition Bit s Start number of the device that stores PID control data ANY16 Output argument ENO Execution result Bit Setting data Internal device R ZR J U G Zn Constant Others Bit Word Bit ...

Страница 212: ...peration 0 Forward operation 1 Reverse operation User An error occurs and the PID operation for the corresponding loop is not performed 3 Sampling cycle TS Set the PID operation cycle 1 to 6000 unit 10ms 1 to 6000 unit 10ms User 4 Proportional constant KP Proportional gain of PID operation 1 to 10000 unit 0 01 1 to 10000 unit 0 01 User 5 Integral constant TI Constant that expresses the magnitude o...

Страница 213: ... MV change rate limit MVL Set the variation limit between the previous MV and the present MV When the MV variation is greater than the limit value bit 1 b1 of the alarm device is set to 1 MV variation is not limited Even if the MV variation exceeds the limit value the actual MV variation is used as it is for calculating the MV 0 to 2000 32768 to 32767 User In the case of With PID limits the PID op...

Страница 214: ...h PID limits Without PID limits Setting data for No 2 loop device 12 to 21 12 Operational expression selection Setting data for No 1 loop 13 Sampling cycle TS 14 Proportional constant KP 15 Integral constant TI 16 Derivative constant TD 17 Filter coefficient 18 MV lower limit MVLL 19 MV upper limit MVHL 20 MV change rate limit MVL 21 PV change rate limit PVL Setting data for No n loop S S S S S S ...

Страница 215: ...ocessing when the setting data are outside the setting range With PID limits Without PID limits m 0 Operational expression selection Setting data for No 1 loop m 1 Sampling cycle TS m 2 Proportional constant KP m 3 Integral constant TI m 4 Derivative constant TD m 5 Filter coefficient m 6 MV lower limit MVLL m 7 MV upper limit MVHL m 8 MV change rate limit MVL m 9 PV change rate limit PVL S S S S ...

Страница 216: ...he PID control instructions inexact differential and the PID control instructions exact differential Applicable Not applicable CPU module model Inexact differential Exact differential High Performance model QCPU The first five digits of the serial number are 05031 or lower The first five digits of the serial number are 05032 or higher Universal model QCPU ...

Страница 217: ...er and stores the operation result to the automatic manipulated value MV area in the I O data area 3 PID operation is performed in response to the first execution of the PIDCONT instruction after the set sampling cycle time has elapsed PIDCONT P P Executing condition indicates any of the following instructions PIDCONT PIDCONTP Input argument EN Executing condition Bit s Start number of the device ...

Страница 218: ...I O data area for No 1 loop device 10 to 27 10 Set value SV PID control target value 0 to 2000 32768 to 32767 User In the case of With PID limits the PID operation is performed after values are replaced as follows If SV is less than 0 the value is clipped to 0 If SV is greater than 2000 the value is clipped to 2000 11 Process value PV Feedback data from the control target to the A D conversion mod...

Страница 219: ...t to the D A conversion module is a manual manipulated value or an automatic manipulated value In manual operation the automatic manipulated value remains unchanged 0 Automatic manipulated value 1 Manual manipulated value User When other than 0 or 1 is selected an error occurs and the operation for the corresponding loop is not performed 16 Alarm ALARM Used to determine if the change rate of the M...

Страница 220: ...ocess value PV 30 Automatic manipulated value MV 31 Process value after filtering PVf 32 Manual manipulated value MVMAN 33 Manual automatic selection MAN AUTO 34 Alarm ALARM 35 PID control work area reserved by the system 45 I O data area for No n loop 0 Set value SV I O data area for No 1 loop 1 Process value PV 2 Automatic manipulate d value MV 3 Process value after filtering PVf 4 Manual manipu...

Страница 221: ...es applicable to the PID control instructions inexact differential and the PID control instructions exact differential Applicable Not applicable CPU module model Inexact differential Exact differential High Performance model QCPU The first five digits of the serial number are 05031 or lower The first five digits of the serial number are 05032 or higher Universal model QCPU ...

Страница 222: ...l and the PID control instructions exact differential Applicable Not applicable PIDSTOP P PIDRUN P P Executing condition indicates any of the following instructions PIDSTOP PIDRUN PIDSTOPP PIDRUNP Input argument EN Executing condition Bit n Loop number for stop start ANY16 Output argument ENO Execution result Bit Setting data Internal device R ZR J U G Zn Constant K H Others Bit Word Bit Word CPU ...

Страница 223: ...t argument EN Executing condition Bit n Loop number to be changed ANY16 s Start number of the device that stores PID control data to be changed ANY16 Output argument ENO Execution result Bit Setting data Internal device R ZR J U G Zn Constant K H Others Bit Word Bit Word Device Data item Description Setting range Setting side Processing when the setting data are outside the setting range With PID ...

Страница 224: ...tive constant causes significant changes in the manipulated value even with a slight change of the control target 0 to 30000 unit 10ms 0 to 30000 unit 10ms User 5 Filter coefficient Set the degree of filtering to be applied to the process value The filtering effect decreases as the value gets closer to 0 0 to 100 0 to 100 User 6 MV lower limit MVLL Set the lower limit for the manipulated value MV ...

Страница 225: ... In the case of With PID limits the PID operation is performed after values are replaced as follows MVL value is less than 0 the value is clipped to 0 MVL value is greater than 2000 the value is clipped to 2000 9 PV change rate limit PVL Set the variation limit between the previous PV and the present PV When the PV variation is greater than the limit value bit 1 b1 of the alarm device is set to 1 ...

Страница 226: ...put argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Variable that stores control data Array of ANY16 0 7 Output argument ENO Output status TRUE Normal FALSE Error Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error completion Array of bit 0 1 S...

Страница 227: ...r to the input module b0 ABS data bit0 b1 ABS data bit1 b2 Send data READY flag b0 0 1 b1 0 1 b2 0 1 User 3 Send signal to servo amplifier The ON OFF status of the following data that are calculated by the dedicated instructions on the basis of receive signal from servo amplifier and output to the amplifier are stored b0 Servo ON b1 ABS transfer mode b2 ABS request flag 1 to 600 System 4 Status Co...

Страница 228: ...Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Variable that stores control data Array of ANY16 0 2 Output argument ENO Output status TRUE Normal FALSE Error Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error completion Array of bit 0 1 Setting data Inte...

Страница 229: ... status The instruction completion status is stored 0 Normal completion Other than 0 Error completion error code System 2 Start No Specify the following data number to be started by the PSTRT instruction 1 to 600 Positioning data number 7000 to 7004 Block start 9001 Machine OPR 9002 Fast OPR 9003 Current value change 9004 Multiple axes concurrent start 1 to 600 7000 to 7004 9001 to 9004 User S S S...

Страница 230: ...argument EN Executing condition Bit Un Start I O number of the module 00 to FE Higher two digits when expressing the I O number in three digits String s Variable that stores control data Array of ANY16 0 3 Output argument ENO Output status Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error completion Array of bit 0 1 Setting data Internal device ...

Страница 231: ...tatus is stored 0 Normal completion Other than 0 Error completion error code System 2 Teaching data selection Set the address positioning address circular address to which the current feed value is written 0 Write the current feed value to the positioning address 1 Write the current feed value to the circular address 0 1 User 3 Positioning data No Set the positioning data number for which teaching...

Страница 232: ...ng the I O number in three digits String s Variable that stores control data Array of ANY16 0 1 Output argument ENO Output status Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error completion Array of bit 0 1 Setting data Internal device R ZR J U G Zn Constant Others Bit Word Bit Word Device Item Setting data Setting range Setting side 1 0 System...

Страница 233: ... number in three digits String s Variable that stores control data Array of ANY16 0 1 Output argument ENO Output status Bit d Variable that turns ON upon completion of the instruction d 1 also turns ON at the time of error completion ANY16 Array of bit 0 1 Setting data Internal device R ZR J U G Zn Constant Others Bit Word Bit Word Device Item Setting data Setting range Setting side 1 0 System are...

Страница 234: ...5 196 MEMO ...

Страница 235: ...1 OVERVIEW 2 INSTRUCTION TABLES 3 CONFIGURATION OF INSTRUCTIONS AND DATA SPECIFICATION 4 HOW TO READ INSTRUCTIONS 5 QCPU INSTRUCTION DETAILS I INDEX I Index 1 INDEX ...

Страница 236: ... Modules and Versions Applicable to Instructions 1 3 MRECV receiving e mail 5 153 MSEND sending e mail 5 156 N Network number 3 2 O OFFGAN mode switching 5 2 OGLOAD reading offset gain setting value 5 3 OGSTOR restoring offset gain setting value 5 27 ONDEMAND sending data using the on demand function 5 51 OPEN connection opening 5 138 OUTPUT sending data using nonprocedural protocol communication ...

Страница 237: ... communication module 1 3 Source 3 3 SPBUSY communication status check 5 61 SREAD reading data from a word device 5 100 SWRITE writing data to a word device 5 107 T TEACH teaching 5 192 U UINI re initialization 5 151 UINI switching the mode transmission specification and host station number 5 77 W WRITE writing data to a word device 5 102 Z ZCOM refresh processing 5 125 ...

Страница 238: ...Index 4 MEMO ...

Страница 239: ...ot to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Overseas service Overs...

Страница 240: ...ft Corporation in the United States and other countries Ethernet is a registered trademark of Xerox Corporation in the United States Other company names and product names used in this document are trademarks or registered trademarks of respective companies ...

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

Страница 242: ...out notice When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN ...

Отзывы: