Home

Mitsubishi Electronics FR-A700 Power Supply User Manual

image

Contents

1. Station Buter Station Buer Station Buter Station Buter NO Memory NO Memory NO Memory NO Memory Address Address Address Address 1 2 0 to 2E3H 17 320H to 323H 33 360H to 363 49 3A0H to 3A3H 2 2 4 to 2E7H 18 324H to 327H 34 364H to 367H 50 3A4H to 3A7H 3 2E8H to 2EBH 19 328 2 35 368 6 51 3A8H to 3ABH 4 2 to 2EFH 20 32CH to 32FH 36 36CH to 36FH 52 3ACH to 3AFH 5 2FOH 2 21 330H to 333H 37 370H to 373H 53 3BOH to 3B3H 6 2F4H to 2F 7H 22 334H to 337H 38 374 to 377H 54 3B4H to 3B7H 7 2F8H 2FBH 23 338H to 33BH 39 378H to 37BH 55 3B8H to 3BBH 8 2FCH to 2FFH 24 33CH to 33FH 40 37CH to 37FH 56 3BCH to 3BFH 9 300H to 303 25 340H to 343 41 380H to 383H 57 3 0 3C3H 10 304H to 307H 26 344H to 347H 42 384H to 387H 58 3C4H to 3C7H 11 308H to 30BH 27 348Hto34BH 43 388 38 59 3C8H 3CBH 12 28 44 38 60 3CCHto 3CFH 13 310H to 313 29 350H to 353 45 390H to 393H 61 to 3D3H 14 314H to 317H 30 354H to 357H 46 394H to 397H 62 3D4H to 3D7H 15 318uto31BH 31 358uto 5 47 398Hto39BH 63 3D8H to 3DBH 16 31CHto31FH 32 35CHto35FH 48 39 9 64 3DCHto 3DFH 60 3 SEQUENCE PROGRAMMING Sol OVERVICW Aet 62 3 2 RUN and STOP Operation Processings 64 3 85 Progr
2. 2 172 APPENDIX 175 Appendix1Instruction Processing Time 176 IV 1 PLC FUNCTION This manual describes the functions and devices necessary for programming 1 1 Function Block Diagram 2 1 2 PLC Function Specifications 3 1 3 System Configuration 4 1 4 Wiring of the Inverter and Personal Computer Using GX Developer for RS 485 Communication 5 1 5 Prior to Sequence Program Creation 6 1 62 Device 10 1 7 Inverter Status Monitoring Special Registers 1 8 Inverter Parameter Read Write Method 34 1 9 User Area Read Write Method 38 1 10 Analog I O function 39 1 11 Paluse train input function 40 1 12 PID CONTO 41 1 13 Inverter Operation Lock Mode Setting 43 Chapter 1 Chapter 2 Chapter 3 Chapter 4 Function Block Diagram N 1 1 Function Block Diagram How data are transferred to from the inverter by the built in PLC function is explained using function blocks 1 I O data read write etc can be performed by accessing the inverter in the predetermined method using special relays special registers etc 2 Operation parameter read write
3. processing 2 Inverter CPU stores inverter data 5 Inverter CPU confirms that into special register and turns on read command is off and read completion turns off read completion 1 Operation mode setting read D9140 Data Setting Operation Mode 0000 operation mode 0001 External operation mode 0002 PU operation mode REMARKS When the 79 operation mode selection setting is other than 0 the operation mode 1 as set However when Pr 79 3 4 the operation mode is H0002 PU operation mode lt Operation mode setting read program example gt The following program reads the operation mode data to DO PLC FUNCTION 4 Operation mode read setting request T o Turns on operation mode read request pulse X20 Stores operation mode data to DO 90 when operation mode setting read completion signal turns on Turns on operation mode setting read command Until operation mode setting read completion signal turns on 23 Inverter Status Monitoring Special Registers for Control S 2 Set frequency RAM 09141 The frequency set to the RAM is read to D9141 The unit is 0 01Hz For example 6000 indicates 60 00Hz When the speed is set the speed is either 1r min or O 1r min Set frequency RAM read program example The following program reads the set frequency RAM to DO T undi Set frequency read RAM setting request
4. Error code D9008 Error step D9010 D9011 Table 4 1 Error Code List Error Error Name Code Status Definition and Cause Corrective Action D9008 INSTRCT The instruction code that CODE ERR cannot be decoded is Read the error step using Checked at 10 Stop included in the program GX Developer and correct instruction e he memory contents that step in the program execution changed for some reason PARAMETER 1 Write to the CPU was ERROR performed after the Checked at capacity larger than the Check the memory capacity power on or memory capacity of the of the CPU with the STOP to RUN CPU was set using GX 11 Stop Developer memory capacity set using 2 The parameter data of the See Ope CPU memory changed using GX Developer due to noise or memory loading fault WDT ERROR The scan time exceeds the 22 St watchdog error monitor time dnd END processing e The user program scan execution reduce the scan time END NOT 1 The END instruction has Reset and RUN again If EXECUTE been read as another the same error appears Checked at instruction code due to again the cause is a CPU END instruction 24 Stop noise etc hardware fault Consult the execution l 2 The END instruction has Mitsubishi representative changed into another instruction code for some reason 172
5. Though there are the following two different program coding methods for connecting ladder blocks in parallel consecutively use the coding example 1 a Coding example 1 Coding example 2 0 LD 0 0 LD XO Y x3 1 AND X1 1 AND X1 2 LD K2 2 K2 3 AND X3 D 4 ORB 5 4 5 AND 5 X6 X7 6 AND XD 6 LD X6 7 7 AND X1 8 6 8 ORB 9 AND X1 9 ORB 10 ORB 10 ORB 11 OUT M7 11 OUT M7 12 END 12 END 116 2 Sequence Instructions 3 25 3 Connection Instructions Ladder block series connection parallel connection ANB ORB Usable Devices Digit Bit devices Word 16 bit devices Constants Level Desig X Y M T C D K H nation Error Flag M9010 M9011 Use OR or ORI to connect contacts in parallel 117 SEQUENCE PROGRAMMING Sequence Instructions N Functions ANB ANDs blocks A and B and uses the resultant value as an operation result The symbol of ANB is not a contact symbol but a connection symbol ANB can be written up to seven instructions eight blocks consecutively If ANB is written consecutively more than the above the PLC cannot perform normal operation ORB 1 blocks A and B and uses the resultant value as an operation result 2 ORB connects in parallel the ladder blocks of two or more contacts Use OR or ORI to connect in parallel the ladder blocks of only one con
6. 65 3 4 2 Logic symbolic language List 67 3 5 Operation Processing Method of PLC Function 68 3 6 I O Processing Method 69 316 1 What Is refresh System ooo Riis tier boo 69 3 6 2 Response delay in refresh 70 Oat 71 3 8 Numerical Values Usable Sequence Program 72 3 8 1 Binary 73 2022 HEX Decimal is ac ee ee ee 74 3 9 Description 75 Device ECT 15 OUPS XA a bal b dii 76 SJ 79 80 3 9 5 100 10 100ms retentive timers 80 3 9 6 Timer processing method and accuracy 81 9 10 83 3 10 1 Count processing in refresh system 22 2 84 2 3 10 2 Maximum counting speed of counter 85 z 3 11 Data Registers D a 86 3 12 Special Relays Special Registers 87 O 3 13 F NCHO N LISE ides anana aeaa 89 3 14 How t
7. 111 SEQUENCE PROGRAMMING Sequence Instructions N Functions LD LDI 1 LD is an N O contact operation start instruction and LDI is an N C contact operation start instruction Each of them imports the ON OFF data of the specified device and uses it as an operation result AND ANI 1 AND is an N O contact series connection instruction and ANI is an N C contact series connection instruction Each of them imports the ON OFF data of the specified device ANDs it with the previous operation result and uses the resultant value as an operation result 2 There are no restrictions on the use of AND and ANI but there are the following conditions in the ladder mode 1 Write When contacts are connected in series by AND or ANI a ladder of up to 21 contacts can be created 2 Read When contacts are connected in series by AND or ANI a ladder of up to 24 contacts can be displayed If the ladder has more than 24 contacts up to 24 contacts are displayed OR ORI 1 OR is an N O contact parallel connection instruction and ORI is an N C contact parallel connection instruction Each of them imports the ON OFF data of the specified device ORs it with the previous operation result and uses the resultant value as an operation result 2 There are no restrictions on the use of OR and ORI but there are the following conditions in the ladder mode 1 Write
8. Functions 1 Handled as an N O contact and performs 16 bit comparison operation 2 The comparison operation results are as indicated below Instruction Comparison Instruction Comparison symbolin Condition Operation symbolin Condition Operation Result Result 8888608 z 8 62 lt gt 51 2 62 lt gt gt gt Si 92 Energize lt 67 lt 62 lt lt 51 z 62 lt gt 51 62 gt Execution Conditions The execution conditions of LD AND landOR lareas indicated below Not energize IV 200006 A Instruction Execution Condition 101 Executed every scan AND Executed only when the preceding contact instruction is on OR Executed every scan 142 7 Basic Instructions REMARKS Seven steps are used when e The digit designation of a bit device is not K4 e The beginning of a bit device is not a multiple of 8 Program Examples 1 Program that compares the 0 data and D3 data Coding 0 LD D3 1 4 4 0 03 Y3 5 QUT Y3 6 END lt gt 2 Program that compares the BCD value 100 and D3 data Coding M3 0 LD M3 H100 D3 1 03 1 H100 DS 6 OUT Y3 7 END gt 3 Program that compares the BIN value 100 and D3 data Coding 0 LD M3 0 H100 0 1 LD H100 03 6 OR
9. 1 0N Special registers for control D9207 Option output terminal status All off 0 when an option is not fitted B15 B12B11 B8B7 BAB3 I ppn YO 1 Y2 Y4 Y5 Y6 2 The output status of the FR A7AY FR A7AR is stored 18 7 Device Number Name Description Page Second D9234 t ves When setting the calibration bias gain parameters changing RAM HOO Frequency toruque 34 36 Second 01 Parameter set analog value D9235 1 02 Analog value input from terminal EEPROM D9236 Pulse train input The number of pulses counted in count cycle is sampling pulse stored 0 to 32767 Pulse train input 09237 cumulative count value L The cumulative value of the number of sampling Pulse train input pulses is stored 0 to 99999999 09238 cumulative count 40 value H Reset request of The sampling pulses and cumulative count value are D9239 pulse train input cleared Automatically changes to 0 after reset count 1 count clear D9240 Count start of the Start counting the sampling pulses and cumulative pulse train input count value 0 count stop 1 count start 09241 Set the number of parameter read or written of the number RAM inverter E Parameter The parameter description of the inverter RAM value 5 09242
10. gt gt AND lt OR OR gt OR lt LD lt gt LD lt LD gt AND lt gt lt AND lt gt AND gt OR lt gt OR lt OR gt 4 The conditions that the comparison operation instructions turn on are as follows 1 N 100 OFF ON OFF Dn K100 ON gt 100 OFF lt 100 Dn lt K100 OFF Dn zK100 OFF ON 140 7 Basic Instructions CAUTION The comparison instruction regards the specified data as BIN values Hence if the value whose most significant bit b15 is 1 8 to F is specified for comparison of hexadecimal data it is regarded as a negative BIN value Comparison of 4 digit HEX values 78000 roses 10 Regarded Regarded as 32767 as 1384 in BIN in BIN Therefore the result is 32767 lt 1384 and Y10 does not turn on 141 SEQUENCE PROGRAMMING Basic Instructions 3 26 2 Comparison Operation Instructions 16 bit data comparison lt gt gt lt lt gt O O O O O O O K1 to K4 O Usable Devices Error Bit devices Word 16 bit devices Constants Level Digit Flag Designation M9010 X Y M T C D K H N M9011 67 Instruction symbol in lt gt gt lt lt gt 373 nt Compared data or head store compared data numbers of devices that
11. 2 00 series are ESBS 4 INVERTER FR A700 PLC FUNCTION PROGRAMMING MANUAL PLC FUNCTION Chapter 1 Chapter 2 Lin COMMUNICATIO SEQUENCE PROGRAMMING ERROR CODE C Q N Chapter 4 CONTENTS 1 PLC FUNCTION 1 1 1 Function Block Diagram 2 1 2 PLC Function Specifications 3 1 3 System Configuration 4 1 4 Wiring of the Inverter and Personal Computer Using GX Developer for RS 485 Communication 5 1 5 Prior to Sequence Program Creation 6 1 5 1 Precautions for sequence program creation 6 1 5 2 Usable main GX Developer functions 6 1 5 3 Sequence program execution 7 1 5 4 Sequence program 8 1 5 5 Setting list of built in PLC function 9 mier cR 10 15051 10 1 6 2 Internal relay M device 12 1 6 3 Data register D device 12 16A UE pu
12. D O P PLS command Set data Device number whose data D will be converted into pulses Functions PLS 1 Turns the specified device on when the PLS command turns from OFF to ON and turns it off except when the PLS command turns from OFF to ON When there is one PLS instruction for the device specified at D during one scan the specified device turns on for one scan Do not execute the PLS instruction for the same device more than once during one scan X5 ON o s MO 5 OFF ON 1 scan scan 2 If the status is switched to STOP and switched to RUN again after execution of the PLS instruction the PLS instruction is not executed 0 OFF 129 SEQUENCE PROGRAMMING Sequence Instructions N PLF 1 Turns the specified device on one scan when the PLF command turns from ON to OFF and turns it off except when the PLF command turns from ON to OFF When there is PLF instruction for the device specified at D during one scan the specified device turns on for one scan Do not execute the PLF instruction for the same device more than once during one scan H ON 0 MO X8 OFF ON OFF 1 scan 1 2 If the status is switched to STOP and switched to RUN again after execution of the PLF instruction the PLF instruction is not executed
13. 7 is 5 ORS 5 L E Continuity when 51 52 5 Non continuity when S1 gt S2 Th 7 5 OR 5 0 Continuity when 51 lt 52 5 Non continuity when 1 52 ji 7 5 5 gt 16 bit data Continuity when 81 2 5 comparison AND Non continuity when 51 lt S2 5 OR gt MOV lis Transfer S 5 D 153 107 SEQUENCE PROGRAMMING Instructions List N Executi 8 Classification Symbol Processing 5 5 5 S D D FP j 5 7 51 2 0 BIN 16 bit P j addition 145 subtraction 5 S D gt D j 5 51 52 0 Tere j 17 7 51 x S2 gt 0 1 D BIN 16bit j multiplication 149 in 51 52 gt Quotient D 7p Remainder 0 1 J 7 108 7 Instructions List 3 23 4 Application instructions Executi 8 Classification pct Symbol Processing E on 2 WAND
14. T1 T2 ON Count input signal of SEQUENCE PROGRAMMING 85 Data Registers D NG 3 11 Data Registers D 1 Data registers are memories that can store numerical data 32768 to 32767 or H0000 to HFFFF the built in PLC function One point of data register consists of 16 bits and allows data to be read written in units of 16 bits 16 bits Data register No Fig 3 20 Data Register Structure 2 The data stored once by the sequence program is maintained until other data is stored 3 If more data registers are needed the unused timers T and counters C can be used as data registers 86 7 Special Relays Special Registers 3 12 Special Relays Special Registers Special relays and special registers are internal relays and data registers respectively whose applications are predetermined by the built in PLC functions They have the following main applications 1 Sequence operation check The special relays and special registers can be used to a Check the operating status RUN STOP b Detect a fault by the self diagnostic function c Detect an operation error d Check the scan time 2 Timing contact There are special relays that can be used in a sequence program and differ in operating status a Normally ON OFF flag b RUN flag OFF for 1 scan c Initial processing flag ON for 1 scan REMARKS For the special relays and special registers usable with the built in PLC function refer to
15. to RX 90 RX AF to RX AO No 6 RX BF to RX BO RXCF to CO No 7 DF to RX DO For station For station J EEH No 8 For station J FOH No 9 F1u 2 to 15 15 15 For station No 64 RX FF to RX FO RX11F to RX110 to For station 15CH RX7CF to RX7CO No 63 15DuH RX7DF to RX7DO RX7EF to RX7EO RX7FF to RX7FO FR A700 series Remote device station Station No 1 1 station occupied 4 RX OF to RX 00 Inverter Correspondences between Master Station Buffer Memory Addresses and Station Numbers Buffer Buffer Buffer Buffer a Memory 1 17 100 33 120 49 140 2 2 18 102 34 122 50 142 3 E4H 19 104H 35 124H 51 144H 4 E6H 20 106H 36 126H 52 146H 5 E8H 21 108H 37 128H 53 148H 6 EAH 22 10 38 12 54 14 7 ECH 23 10CH 39 12CH 55 14CH 8 EEH 24 10EH 40 12EH 56 14 9 FOH 25 110 41 130 57 150H 10 F2H 26 112H 42 132H 58 152H 11 F4H 27 114H 43 134H 59 154H 12 28 116 44 136 60 156 13 F8H 29 118H 45 138H 61 158H 14 FAH 30 11AH 46 13AH 62 15AH 15 FCH 31 11CH 47 13CH 63 15CH 16 FEH 32 11 48 13EH 64 15EH 58 stored 7 Buffer Memory 2 4 3 Remote
16. 0 01kW 0 1kW units D9162 Input terminal status Input terminal status details 15 12 811 8 7 B4B3 lt lt BO 0 OFF 1 ON STF STR AU D9163 Output terminal status Output terminal status details D9164 Load meter 0 1 units D9165 Motor excitation current 0 01A 0 1A units 7 D9166 Position pulse Cumulative energization time 09169 Always 0 Actual operation 09170 1h unit D9171 Motor load factor 10 1 units 09172 Cumulative power unit D9179 Torque command 0 1 units Torque current D9180 command 0 1 units 09181 Motor output 0 01kW units D9182 Feedback pulse 1 unit D9197 Power saving effect Variable according to parameters 09198 Cumulative o saving power D9199 set point 0 1 units PID measured D9200 valde 0 1 units 09201 deviation 0 1 units 17 gt PLC FUNCTION Device N Number Name Description Page D9205 Option input terminal status 1 The input status of the FR A7AX is stored All off 0 when an option is not fitted 15 12811 8 7 lt lt B4B3 7 BO 09205 Lh 09206 Option input terminal status 2 15 12 11 8 7 7 B4B3 69206 1 3p
17. 12 1 6 5 25 14 1 77 Inverter Status Monitoring Special Registers for Control 20 1 7 1 Data that can be read at all 20 1 7 2 Data that are read by controlling OFF to ON the read command 23 1 7 3 How to write data by controlling OFF to ON the write COMANO PERRO NER M M M 25 1 7 4 Inverter operation status 31 1 7 5 Inverter parameter access error 09150 33 1 7 6 Inverter status D915 I iio 33 1 8 Inverter Parameter Read Write Method 34 1 8 1 Reading the inverter 34 1 8 2 Writing the inverter parameters 36 1 9 User Area Read Write Method 38 1 9 1 User parameter read write 38 1 10 Analog VO TURCUON a 39 10 1 ic eae en 39 1210 2 Analog te death rad De do rA 39 1 11 Paluse train input function 40 5 ec 41 1 13 Inverter Operati
18. 3 25 1 Contact Instructions Operation start series connection parallel connection LD LDI AND ANI TTE 111 3 25 2 Contact Instructions Ladder block series connection parallel connection ANB COE 113 3 25 3 Connection Instructions Ladder block series connection parallel connection ANB ORB 117 3 25 4 Connection Instructions Operation result push read pop MPS MRD MPP 120 3 25 5 Output Instructions Bit device timer counter OUT 123 3 25 6 Output Instructions Device set reset SET 126 3 25 7 Output Instructions Leading edge trailing edge differential outputs PLS NE eee 129 3 25 8 Shift Instructions Bit device shift SFT SFTP 131 3 25 9 Master Control Instructions Master control set reset MC MCR 133 3 25 10 End Instruction Sequence program end END 137 3 25 11 Other Instructions No operation 138 3 26 Basic 5 140 3 26 1 Comparison Operation Instructions 140 3 26 2 Comparison Operation Instructions 16 bit data comparison
19. EEPROM B Parameter write Parameter write request 092 092 completion EEPROM uis Ven EEPROM meee X2C Y2C X2D Y2D X2E System area V2E System area X2F 2 X30 RYO Y30 RXO X31 1 Y31 RX1 X32 RY2 Y32 RX2 X33 Y33 RX3 X34 4 Y34 RX4 X35 5 Y35 RX5 X36 RY6 Y36 RX6 X37 RX7 X38 FR A7NC Y38 RX8 FR A7NC X39 RY9 Y39 RX9 RYA RXA X3B RYB Y3B RXB X3C Y3C RXC X3D RYD Y3D RXD RYE RXE RYF RXF 11 gt PLC FUNCTION Device N 1 6 2 Internal relay M device map Device No Description 0 to M63 Use freely on user side 1 6 3 Data register D device map Data Inverter Pr Parameter Name Reference Register D Number Page DO to 099 Use freely on user side D100 to D119 ae User parameters Use freely on user side 38 1 6 4 Special relays The special relays are internal relays with special applications and therefore should not be switched on off in the program control flag STOP Number Name Description M9008 Self diagnostic error Turned on by self diagnosed error M9010 Operation error flag Turned on by an instruction execution error Turned off when error is removed M9011 Operation error flag Turned on by an instruction execution error
20. Turns on set frequency read RAM request pulse Stores data to DO when set frequency read RAM completion signal turns on Turns on set frequency read RAM command Until set frequency read RAM completion signal turns on REMARKS The read frequency is not the command value of the external signal 3 Set frequency EEPROM D9142 The frequency set to the EEPROM is read to D9142 The unit is 0 01Hz For example 6000 indicates 60 00Hz When the speed is set the speed is either 1r min or O 1r min Set frequency read EEPROM program example The following program reads the set frequency E PROM to DO The following program reads the set frequency to DO XOF Set frequency read or PLS Wo setting request Wi x29 Stores data to DO when set frequency pee read completion signal turns on MO X22 MI Turns on set frequency read command Until set frequency read 22 completion signal turns on REMARKS The read frequency is not the command value of the external signal 24 Inverter Status Monitoring Special Registers Lr Control 1 7 3 Howto write data by controlling OFF to ON the write command You can write the operation mode and set frequency to the inverter batch clear the alarm definitions and clear all parameters Device Name Write Write Data Access
21. 20 3 Stores 0 CC Link operation mode iin to D9143 and turns on operation KO 09143 mode setting write command Until completion signal turns on 26 Inverter Status Monitoring Special Registers Lr Control 2 Set frequency RAM D9144 The D9144 data is written to the RAM as a set frequency The unit is 0 01Hz For example 6000 indicates 60 00Hz When the speed is set the speed is either 1r min or O 1r min The range where the frequency can be set is 0 to 12000 0 to 120 00Hz When the frequency setting is written normally the write completion signal X24 turns on and at the same time O is set to D9150 If any value outside the range is written HFFFF is set to D9150 as soon as the write completion signal X24 turns on resulting in abnormal completion If abnormal completion occurs the set frequency is not changed The frequency can be set in the PU operation mode and NET operation mode Refer to the inverter instruction manual applied Set frequency write RAM program example The following program changes the set frequency RAM to 30Hz pac o Set frequency write RAM setting request 0 PLS Vo Tums on set frequency M write RAM command pulse i m E 09150 1 00 Check whether set frequency Normal write write RAM completion signal KO 0150 turned on to judge whether write Abnormal write Was Performed normally or not St
22. 7 Instruction Format 3 19 Instruction Format 1 Many of the instructions can be divided into an instruction part and a device and their applications are as described below Instruction part Indicates the function of that instruction Device Indicates the data used with the instruction 2 The instruction format can be roughly classified as follows according to the instruction part and device combinations 1 Instruction part This instruction does not change the device status and mainly controls the program END 2 Instruction part Device This instruction performs ON OFF control of the device controls the execution condition according to the ON OFF status of the device and branches the program Example LD Device Instruction part 3 m This instruction performs par Bebe operation using the data of the destination and source and stores the operation result into the destination Wov ioo Destination device Source device Instruction part 4 Combinations other than the above 1 to 3 97 SEQUENCE PROGRAMMING Instruction Format S 3 Source S The source contains the data to be used for operation The data changes depending on the specified device Specify the numerical value to be used for operation Since this value is set at the time o
23. Reset Pr 315 assignment function terminal RES function 1 DOO X3D General purpose remote input X3D General purpose remote input available in PLC function available in PLC function RY n 1 0 RX n 1 0 to Reserved to Reserved RY n 1 7 RX n 1 7 Not used Not used RY n 1 8 initial data process RX n 1 8 initial data process request completion flag flag Not used Not used RY n 1 9 initial data process request 1 9 initial data process flag completion flag RY n 1 A Error reset request flag RX n 1 A Error status flag 50 7 CC Link I O Specifications Remote PLC Remote output function input device device device No No Remote station Ready RX n 1 C n indicates a value determined according to the station number setting 4 Signal names are initial values Using 180 to Pr 186 Pr 188 and Pr 189 you can change input signal functions Signals of the RYnO RYn1 9 can not be changed Even when changed using Pr 178 Pr 179 and Pr 187 the settings are invalid Refer to the inverter manual applied for details of Pr 178 to 189 2 Signal names are initial values Using 190 to Pr 196 you can change output signal functions Refer to the inverter manual applied for details of Pr 190 to Pr 196 2 Remote resister PLC function Tr PLC function m D9062 Registers designed to D9078 Registers designed to D9063 read data received D
24. power supply FR A700 RS 232C RS 485 converter Communication specifications Set the following setting in communication parameters of the inverter Inverter Parameter GX Developer Setting Inverter initial setting Pr 118 PU communication speed 96 9600bps 192 19200bps 9 PU communication stop bit length 0 data length 8 bits stop bit 1 bit 1 data length 8 bits stop bit 2 bit 120 PU communication parity check 1 with odd parity check 2 with even parity check interval 122 PU communication check time 9999 without communication check 9999 without communication check eFor futher details refer to the nverter instruction manual applied eSupport GX Developer ver 8 0 or more eGX Developer Setting PLC series ACPU PLC type A0J2H Project data list gt Parameter PL C parameter A parameter Memory capacity tab Program capacity Sequence main eRefer to the nverter instruction manual applied for wiring eRefer to the GX Developer manuals for the specifications related to GX Developer and the personal computer that uses GX Developer GX Developer Version xx Operating manual GX Developer Version xx Operating manual startup programming tool that
25. 2 How to Read the Error Code Error Error Name Code Status Definition and Cause Corrective Action D9008 OPERATION Divided by zero Read the error step by use ERROR Run of peripheral device and Checked at 50 Stop check and correct the instruction program at that step execution ERROR CODE LIST 173 174 APPENDIX Appendix1Instruction Processing Time 175 Instruction Processing Time N Appendix1 Instruction Processing Time Instruction Condition Number Processing Device of Steps Time us E 1 2 6 LDI 2 AND 1 T ANI 1 T S 1 2 7 ORI 1 25 ORB 4 1 T MPS 1 US MRD 1 T MPP 4 26 me 5 3 7 MCR 3 24 NOP 1 27 NOPLF 1 27 END 1 v PLS 3 E PLF 3 at SFT 3 y SFTP 3 re YM 1 2 5 Special 3 39 OUT E C 1 2 6 SET MUN 1 2 5 Special M 3 3 1 YM 1 2 6 Special M 3 33 RST T 3 38 3 3 8 D 3 3 2 MOV 5 a MOVP 5 WAND TE WANDP 5 107 WAND 7 TE WANDP 7 107 WOR 5 10 3 WORP 5 Instruction Condition Number Processing Device of Steps Time us WOR 7 10 2 WORP 7 106 WXOR 5 104 WXORP 5 108 WXOR 7 10 3 WXORP 7 107 WXNR 105 WXNRP 5 109 WXNR 7 103 WXNRP 7 107 3 77 3
26. 3 8 1 BIN Binary Code 1 Binary code BIN is a numerical value represented by 0 OFF and 1 In the decimal code a number is incremented from 0 to 9 and at this point a carry occurs and the number is incremented to 10 In BIN 0 1 are followed by a carry and the number is incremented to 10 2 in decimal Table 2 2 indicates the numerical representations of BIN and decimal code Table 3 2 Differences between Numerical Representations of BIN and Decimal Code DEC Decimal Code BIN Binary Code 0000 0001 Al Carry 0010 0011 0100 0101 0110 0111 NIE 1000 1001 1010 11 1011 2 Numerical representation of BIN 1 Each register e g data register of the built in PLC function consist of 16 bits Each bit of the register is assigned a 2 value However the most significant bit is used to judge whether the value is positive or negative e Most significant bit is Positive e Most significant bit is 1 Negative The numerical representation of each register of the built in PLC function is shown in Fig 2 8 Most significant bit for judgment of positive negative SEQUENCE PROGRAMMING name gt 015 b14 613 612 611 610 b9 b8 b7 b6 65 b4 b3 b2 b1 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20 Ho Hn HH H H H H WH WH WW E T Decimal value 32768 16384 8192 4096 2048 1024 512 256 128 64 32 16 8 4 2 1
27. Method using GX Developer RUN STOP can be performed by remote RUN STOP operation from GX Developer For example this method can be used to STOP the function for sequence program write in a place where the inverter is out of reach Remote STOP command GX Developer Remote RUN command RUN STOP status m STOP status Fig 3 22 Timing Chart for RUN STOP Using GX Developer 4 Instructions Note the following points since the built in PLC function gives priority to STOP e The built in PLC function enters the STOP status when remote STOP is performed from any of the remote RUN contact GX Developer etc e To place the built in PLC function in the RUN status again after it has been put in the STOP status by remote STOP all external factors remote RUN contact GX Developer etc for remote STOP must be set to RUN REMARKS What are RUN and STOP statuses eRUN status Status where a sequence program is repeating operation from step O to END instruction status Status where sequence program operation is at a stop and the outputs Y are all off 91 SEQUENCE PROGRAMMING Watchdog Timer Operation clog up monitor timer N 3 15 Watchdog Timer Operation clog up monitor timer 1 2 Watchdog timer A watchdog timer is the internal timer of the built in PLC function designed to detect hardware or sequence program faults Its default value is set to 200ms Watchdog timer r
28. RY PLC CPU CC Link master module Inverter CPU Parameter read write monitor operation commands etc have been assigned in advance Inverter Pr 544 100 112 114 118 Built in CC Link module Built in sequence program PLC CPU Inverter CPU User assignment CC Link master module Using built in sequence program parameters monitor etc must be assigned Other data read write etc can be assigned freely as user areas Operation and speed commands have been assigned in advance 48 CC Link Parameters 2 2 CC Link Parameters 2 2 1 CC Link Extended Setting 544 Remote register function can be extended Parameter Initial Setting ae 1 12 14 18 Occupies one station compatible 1 CC Link extended Occupies one station octuple PLC function 1 program used for conventional series inverter FR ASNC can be used 2 When using double quadruple and octuple settings of the CC Link Ver 2 station data of the master station must be set to double quadruple and octuple also If the master station is CC Link Ver 1 compatible station the above setting can not be made REMARKS The setting change is reflected after an inverter reset Occupies one station Occupies one station double Occupies one station quadrople 2 Occupies one station octuple 1 Occupies one station PLC function Occupies one station d
29. and the present values of the counters are updated and their contacts are turned on 7 Overview Power on Initial processing O initialization Data memory initialization Self diagnostic checks I O refresh processing Sequence program operation processing Step 0 to Until execution of END instruction END processing Self diagnostic checks Updating of timer and counter present values and on off of their contacts SEQUENCE PROGRAMMING Fig 3 1 Operation Processings of Built in PLC function 63 RUN and STOP Operation Processings N 3 2 RUN and STOP Operation Processings The built in PLC function has two different operation statuses RUN status and STOP status This section explains the operation processings of the built in PLC function in each operating status 1 Operation processing in RUN status A RUN status indicates that a sequence program repeats its operation in order of step 0 to END FEND instruction to step 0 when SQ SD are shorted P RUN is on When entering the RUN status the function outputs the output status saved at STOP according to the STOP to RUN time output mode setting refer to page 96 2 Operation processing in STOP status A STOP status indicates that a sequence program stops its operation when SQ SD are opened or remote STOP is commanded P RUN is off When entering the STOP status the function saves the output status and turns off all outputs The contents of the d
30. control from external terminal is made invalid Operation command setting program example The following program example runs the inverter at high speed in forward rotation direction di Operation start w Turns on operation start pulse 036 E H 09149 Enables all inverter operation status control enable disable bits and ug disables external terminal inputs 1 09148 Self holds operation start and turns bits 0 STF and 2 RH of inverter 1 operation status control 09148 verationcts operation status control D9148 Bo to 0 and decelerates inverter to stop 32 Inverter Status Monitoring Special Registers for Control 1 7 5 Inverter parameter access error 09150 Data Access Enable Device No Name Condition D9150 Inverter parameter access error Always If any value outside the setting range is written during parameter write set frequency write parameter clear etc from the sequence program of the inverter or if write is performed when write is disabled a write alarm occurs and the corresponding alarm code is stored into D9150 lt Parameter gt The parameter No H8000 is stored into D9150 Example an error occurs during write of 0 Torque boost 8000 HO 8000 is stored into D9150 If an error occurs during write of Pr 0 DC injection brake operation frequency H800A is
31. description specified by 09241 is stored Set the parameter 2 RAM setting for parameter write e Parameter 34 36 59243 Set the number of parameter read or written of the D number inverter i EEPROM D Parameter The parameter description of the inverter 09244 description value specified by D9243 is stored Set the 5 EEPROM parameter setting for parameter write z 2 5 09245 1 eee input value of terminal 1 0 1 increments is 09246 Terminal 2 input input value terminal 2 0 1 increments is 39 29247 Terminal 4 input Analog input value of terminal 4 0 196 increments is stored 09248 blDsetpoint set point or PID deviation 0 01 units PID deviation QUES ci dci RM PID 09249 measurement Set the PID measurement value 0 01 units 41 value PID manipulated 09250 vanable Stores the PID manipulated variable 0 01 units When Pr 54 is set to 70 pulse train can be output D9251 ius from terminal FM High speed pulse train output be performed 0 1 increments 09252 Terminal AM When Pr 158 is set to 70 analog output can be 39 output performed from terminal AM 0 1 increments 09253 output Analog output can be performed from terminal AMO 09254 AM1 output and AM1 of the FR A7AY 0 1 increments D9255 PID operation Setting 1 starts PID control 41 control 19 gt PLC FUN
32. mode use it in the program to prevent a mechanical system malfunction For the errors detected by the self diagnostic refer to the error code list on page 172 93 SEQUENCE PROGRAMMING Self diagnostic Function N 3 16 1 Error time operation mode The built in PLC function allows you to set whether the sequence program operation will be stopped or continued at occurrence of an operation error Use the built in PLC function parameter to set whether operation will be stopped or continued Default value of error time operation mode The following table indicates the default value initial value of the error time operation mode and the status of the built in PLC function Table 3 5 Error time Operation Mode CPU Status Error Definition Operation P RUN Special ae Default value LED for data error No storage D9008 An error occurred in the sequence program e g an attempt was made to Operation M9010 D9010 B make BCD Continuation Flicker M9011 D9011 50 conversion of any value outside the range 0 to 9999 or 0 to 99999999 94 7 Keyword Registration 3 17 Keyword Registration The keyword is designed to inhibit the read and rewrite of the program and comments in the built in PLC function using GX Developer 1 Read write from built in PLC function where keyword has been registered When the keyword has been registered the built in PLC function parameters main
33. 0 processing is the same as when the setting is 1 Refer to page 83 for the counting method of the counter Execution Conditions Executed every scan independently of the operation result up to the OUT instruction 124 2 Sequence Instructions Program Examples OUT 1 Program that outputs to the output module 5 o p ris 0 1 2 3 QUT Y4 4 QUT Y5 5 END 2 Program that turns on Y10 and Y14 10s after XO has turned on Coding X0 K100 Pt 0 LD X0 1 QUT T1 K100 Y10 2 LD T1 3 QUT Y10 4 OUT 14 n 5 END 3 Program that turns on YO when XO turns on 10 times and turns off YO when X1 turns On Coding X0 K10 0 be 0 0 LD X0 T 1 OUT CO K10 2 A 2 LD 00 3 OUT YO xt 4 X1 4 tb 00 5 RST CO 8 END 4 Program that changes the CO setting to 10 when XO turns on and to 20 when X1 turns on S Stores 10 into DO when turns 0 0 DO 5 9 6 DO Stores 20 into DO when X1 turns X3 DO 2 12 CO counts data stored in DO as setting o When CO stops counting YO turns on Coding 0 LD X0 1 K10 DO 6 LD X1 7 MOVP K20 DO 12 LD X3 13 QUT 00 00 14 00 15 OUT YO 16 END 125 Sequence Instructions N 3 25 6 Output Instructions Device set reset SET RST Usable Devices Error Bit devices rere un Constants Level Digit Flag devices Designation M9010 X Y
34. 5678 and 1234 BIN to D3 4 when X5 turns on Coding X005 PK K 0 LD x005 BATS dips Hm a 1 CP K5678 K1224 03 amp END 2 Program which outputs the multiplication result of the BIN data of X8 to F and the BIN data of X10 to 1B to Y30 to Coding M9038 K2 K3 0 LD 9038 DEC mue ae H 2 008 K3X010 K4YO30 END Program which outputs the quotient obtained by dividing the data of X8 to F by 3 14 to Y30 to 3F when X3 turns on Coding va Do o LO KOS 1 XP 2 100 DO 00 m em 8 IP DO K314 KAY 030 15 END 152 7 Basic Instructions 3 26 6 Data Transfer Instructions The data transfer instructions are designed to transfer data The data moved by the data transfer instruction is maintained until new data is transferred 3 26 7 Data Transfer Instructions 16 bit data transfer MOV MOVP Usable Devices Word 16 bit EITOr Bit devices aid Constants Level Digit Flag devices Designation 9010 X Y M T C D K H N M9011 55 IO aes MOV K1 to K4 O Transfer commands Transfer source data or head number of device that stores that data Head number of transfer destination device Functions MOV Transfers the 16 bit data of the device specified at S to the device specified at D 16 bits Befo
35. 81 5 7 7 Ene 7 8 3 5 7 8 7 8 3 LD gt 5 77 LD gt 7 83 LD 5 78 LD 7 83 LD 5 78 LD 7 83 LD 5 79 LD 7 83 AND 5 73 AND 7 75 lt gt 5 74 lt gt 7 75 gt 5 74 7 75 AND lt 5 75 AND lt 7 77 AND lt 5 74 lt 7 77 gt 5 gt 7 77 um 5 74 a 7 8 1 5 7 5 176 2 Instruction Processing Time Condition Number Processing Device of Steps Time 5 OR 7 8 2 OR 5 7 5 D 7 8 2 5 7 5 aes 7 8 2 5 7 5 7 8 2 5 7 6 oe 7 8 2 5 5 10 3 5 10 7 7 10 3 SR 7 10 7 5 10 3 zi 5 10 7 7 10 4 e 7 10 8 7 10 8 ds 7 11 3 7 11 3 is 7 118 As inverter control is also performed actually the scan time is approximately 40ms at 500 steps 177 REVISIONS manual number is given on the bottom left of the back cover Print Date Manual Number Sep 2005 IB NA 0600262ENG A First edition
36. A ladder of up to 23 contacts connected consecutively by OR or ORI can be created 2 Read A ladder of up to 23 contacts connected consecutively by OR or ORI can be displayed If the ladder has more than 23 contacts it cannot be displayed properly Execution Conditions Executed every scan independently of the device ON OFF and preceding operation result 112 2 Sequence Instructions Program Examples LD AND ANI OR ORI Coding 0 LD X3 D 1 OR X4 M 2 OR XD 3 OUT Y3 4 LD X5 5 AND M11 6 OR X6 X6 Coding 6 M9 0 LD H em i AND M6 d gt 2 SN ci I O lt gt oO GIRS gt 2 gt lt lt lt OR M9 10 ANB 11 ANI M11 12 OUT YA 13 END Coding 0 LD 5 1 OUT Y5 2 AND X8 3 OUT Y6 z i 4 ANI X9 5 OUT Y7 lt 6 END 5 Qc gt 3 25 2 Contact Instructions Ladder block series connection parallel connection ANB ORB Usable eae Digit Error Flag Bit devices Word 16 bit devices Constants Level Desig X Y M T C D K H M9010 M9011 113 Sequence Instructions N Use OR or ORI to connect contacts in parallel 114 2 Sequence Instructions Functions ANB ANDs blocks A and B and uses the resultant
37. C contacts of output Yn used in the program if they are used within the program capacity range No restrictions on the number of used contacts Sequence function Program Output circuit external devices Fig 3 13 Concept of Outputs Y When no external devices are connected to the control output terminals Y can be used as the internal relay M 78 7 Description of devices 3 9 3 Internal Relays Internal relays are auxiliary relays that are used in the PLC function and cannot latch data backup for power failure All internal relays are turned off when e Power is switched from off to on or e Reset is performed There are no restrictions on the number of contacts N O and N C contacts used in the program Use outputs Y when outputting the operation results of the sequence program to outside the inverter No restrictions on the number of When turns from OFF to ON used contacts internal relay is set turned on MO may only be turned on in sequence function and cannot be output to outside ON OFF data of MO is output to outside Fig 3 14 Internal Relay SEQUENCE PROGRAMMING 79 Description of devices N 3 9 4 Timers T The timers of the PLC function are count up timers The count up timer starts timing the present value when its coil turns on and the contact of that timer turns on when the present value reaches the setting time out 3 9 5 100ms 10ms and 100ms retentive
38. Chapter 4 one 45 System Configuration 2 1 System Configuration 2 1 1 System configuration example 1 PLC side Mount the Control amp Communication Link system master local module on the main base unit or extension base unit of the PLC CPU that will act as the master station 2 Connect the PLC CC Link module master station and inverters by CC Link dedicated cables Master station Up to 42 inverters can be connected when only inverters are connected Power supply module Terminating resistor E Power CC Link dedicated cable supply Refer to the FR A7NC indtruction manual for the CC Link communication wiring and CC Link cables 46 2 System Configuration 2 1 2 Function block diagram How I O data are transferred to from the inverter in CC Link will be described using function blocks 1 Between the master station and inverter in the CC Link system link refresh is always made at 3 5 to 18ms 512 points 2 refresh and master station s sequence program are executed asynchronously 3 Data read from the inverter are read from the buffer memory of the CC Link system master local module using the FROM instruction 4 Data to be written to the inverter are written to the buffer memory of the CC Link system master local module using the TO instruction Inverter CC Link module 1 CC Link
39. Error Bit devices men 60 Constants Level Digit Flag devices I Designation M9010 X Y M T C D K H N M9011 Bit device Device Timer Setting Device O Counter Setting O O Device number 50 Setting Any of 1 to 32767 is valid Device number TO to 7 D10 4 Setting Any of data register contents 1 to 32767 is valid rra c Device number TO to 7 K50 Setting Any of 1 to 32767 is valid Device number CO to 7 010 Setting Any of data register contents 1 to 32767 T Device number CO to 7 Functions OUT Y 1 Outputs the operation result up to OUT instruction to the specified device OUT Instruction Operation Result Coil Contacts 2 contact contact 7 OFF OFF Not energize Energize ON ON Energize Not energize REMARKS Three steps are used for the OUT instruction only when the following device is used e Special relay M 123 Sequence Instructions N OUT T 1 2 When the operation result up to the OUT instruction is ON the coil of the timer turns on and the timer times up to the setting and when the timer times out timing value gt setting the contact operates as indicated below N O contact Energize N C contact Not energi
40. LD X8 3 r 772 1 2 ANI Y6 3 OUT 12 4 END 2 Contact short circuit LD LDI Note that if LD or LDI is replaced by NOP the ladder will be completely changed Coding 0 LD 1 OUT Y16 2 LD Y16 T3 3 AND T3 2 4 QUT Y6 5 END Replaced by NOP 0 0 X0 0 Y16 1 OUT Y16 2 v6 3 AND T3 4 OUT Y6 9 5 lt 0 LD X0 XO 1 OUT Y16 0 2 LD Y16 3 AND T3 2 Y6 4 OUT Y6 5 m o Replaced Replaced by LD 3 by NOP 5 Ws 0 LD 1 OUT Y16 T3 2 NOP 2 6 3 T3 4 OUT Y6 5 END 139 Basic Instructions S 3 26 Basic Instructions The basic instructions can handle numerical data represented in 16 bits 3 26 1 Comparison Operation Instructions 1 The comparison operation instruction is handled as a contact compares the magnitudes of two pieces of data e g gt lt and turns on when the condition holds Use the comparison operation instructions in the same manner as the contact instructions of the PLC instructions as indicated below e LD LDI LD AND ANI AND OR ORI OR 3 Refer to page 142 for details There are the following 18 different comparison operation instructions Classification Classification Classification Symbol Symbol Symbol LD D gt LD
41. M T M9011 SET O D Ge SET input Device number to be set turned RST input on Device number to be reset Functions SET 1 Turns on the specified device when the SET input turns on 2 The device turned on is held on if the SET input turns off It can be turned off by the RST instruction 4 SET input ON X5 10 X5 OFF ON X7 X7 OFF N RST input Y 10 OFF 3 When the SET input is off the device status does not change RST 1 When the RST input turns on the specified device operates as described below Device Status The coil and contact are turned off The present value is reset to 0 and the coil and contact are turned off D Cleared to 0 2 When the RST input is off the device status does not change 126 2 Sequence Instructions 3 The function of RST D is the same as that of the following ladder RST input RST input aoa 0 ART D50 1 c 0 ov KO 050 e number Device number D D Execution Conditions The SET and RST instructions are executed every scan REMARKS Three steps are used when the following device is used SET instruction Special relay M RST instruction Special relay M all word devices Program Examples SET RST 1 Program that sets
42. OFF to ON Therefore D9011 data does not change if M9011 remains on 2 To reset M9011 and D9011 program as shown below Reset command RST M9011 Resets turns off M9011 Reset command Resets 09011 RST 09011 Clears 09011 to 0 Fig 3 28 Special Relay and Register Resetting Ladder 3 Whether sequence processing will be stopped or continued at occurrence of an operation error can be selected by built in PLC function parameter setting Refer to page 94 for details 102 7 Instructions List 3 23 Instructions List 3 23 1 How to use the instruction list Classification Symbol Processin execution Number Symbol J Condition of Steps MOV Transfer S 5 D 5 MOVP t Ji T T T T T 1 2 3 4 5 6 Ties Classifies the instruction by application 2 s Indicates the instruction symbol used for programming The instructions are based on 16 bit data instructions Example MOV 16 bit transfer instruction Add P to the end of the instruction to define it as executed only on the leading edge of the preceding condition Example MOV MOVP Y Y Instruction executed continuously Instruction executed only on leading while preceding condition is on edge of preceding contact condition Indicates the symbol used the ladder diagram ro Indicates destination Indicates destination Indicates source Indicates source Destina
43. Program Examples PLS Program that executes the PLS instruction when 9 turns on Coding X9 0 LD X9 0 PLS M9 1 PLS M9 4 END ON X9 OFF ON M8 OFF PLF Program that executes the PLF instruction when 9 turns off Coding 9B 4 END 130 2 Sequence Instructions 3 25 8 Shift Instructions Bit device shift SFT SFTP Usable Devices Error Bit devices Word 16 bit devices Constants Level Digit Flag Designation M9010 X Y M T C D K H N D O SFT commands M9011 Set data Device number to which data will be shifted Functions 1 Shifts the ON OFF status of the device preceding the one specified at to the specified device and turns off the preceding device 2 Use the SET instruction to turn on the first device from which data will be shifted 3 When using the SFT or SFTP instructions consecutively program in order of larger to smaller device numbers Shift range Shift input M15 M13 MIO M9 M8 MO 0 SFTP M14 AUT AUN 9 After first shift input SFTP M13 After second shift input 9 SFTP M12 X02 ON SFTP M11 After third shift input 2 5 Y rset After fourth shift input 9 N After fifth shift input At M8 to 15 1 indicates ON and 0 indicates OFF 131 Sequence Instructions N Program Example SFT 1 Program that shi
44. Remains on after normal status is restored ee M9036 and M9037 t d d off ind dentl M9037 Normally OFF an are turned on and off independently O o of STOP or RUN M9038 EDT y tor I Scan alter M9038 and M9039 change depending on the STOP or RUN status In other than the STOP status M9038 is on M9039 A for 1 scan after one scan only and M9039 is off for one scan only Inverter operation status Control the STF terminal of the inverter from PLC M9200 control flag STF function Inverter operation status Control the STR terminal of the inverter from PLC M9201 control flag STR function Inverter operation status Control the RH terminal of the inverter from PLC M9202 control flag RH function Inverter operation status Control the RM terminal of the inverter from PLC M9203 control flag RM function M9204 Fest operauonietatus Control the RL terminal of the inverter from PLC function control flag RL Inverter operation status Control the JOG terminal of the inverter from PLC M9205 control flag JOG function M9206 Control the RT terminal of the inverter from PLC function control flag RT Inverter operation status Control the AU terminal of the inverter from PLC M9207 control flag AU function Inverter operation status Control the CS terminal of the inverter from PLC M9208 control flag CS function Inverter operation status Control the MRS terminal of the inverter from PLC M9209 control MRS function M
45. Sequence instruction TM Executi 3 S nstruction 9 Classification Symbol Symbol Processing Conditi 5 2 Logical operation start LD 4 4 Operation start at 1 contact Logical NOT operation start 4 Operation start at N C contact Logical product AND J N O contact series 1 connection Contacts Logical product NOT 111 ANI _ NC contact series 1 connection Logical sum OR L contact parallel 1 connection Logical sum NOT ORI pp contact parallel 1 connection res oe AND between logical blocks ANB series connection between 1 blocks 117 PONE OR between logical blocks ORB mr Ned ise parallel connection between 1 blocks Connectio n MPS Stores the operation result 1 Reads the operation result stored MPS 120 Reads and resets the MPP operation result stored in 1 MPS 1 OUT Outputs device 3 123 1 SET Sets device 3 4 126 RST Reset ice Outputs esets device 3 Produces a pulse lasting one PLS program scan time on the f 3 leading edge of input signal 129 Produces a pulse lasting one PLF program scan time on the 3 trailing edg
46. contact Using GX Developer Via CC Link communication refer to page 49 REMARKS eThe validity limit of the SQ signal can be controlled using Pr 4 5 Inverter operation lock mode setting Refer to page 43 CAUTION The outputs Y are cleared by turning the SQ signal off STOP after sequence program execution SQ signal on The other devices retain the device data prior to STOP When you want to clear the remaining device data power off or reset short RES SD for 0 1s then open the inverter PLC FUNCTION Prior to Sequence Program Creation N 1 5 4 Sequence program write Sequence program write can be performed in any operation mode When rewriting the PLC function parameters and sequence program using GX Developer check the following 1 Check that the sequence program execution key is in the STOP position SQ signal is off refer to page 7 2 Check that the inverter is at a stop Check that the communication specification setting parameters Pr 117 to Pr 124 are set correctly If any of these parameters is set incorrectly communication with GX Developer cannot be made REMARKS Check and set the communication specification parameter Pr 117 to Pr 124 using the parameter unit FR PUOA FR PUO7 Refer to the FR PUOA FR PUO7 instruction manual for the handling of the FR PUOA FR PUO7 GX Developer and the FR PUOA FR PUO7 cannot be connected and used simultaneously 4 Check the PLC s
47. every Executed every scan scan NEGP Executed only once Executed only once Program Examples NEG 1 Program which calculates D10 D20 when XA turns on and obtains the absolute value when the result is negative oH 010 020 3 When 010 020 M3 turns on T 020 010 010 020 js executed M3 P When M3 is absolute value 275 complement NEG 010 be VHC is obtained e Coding o LO XODA 1 010 020 OUT M3 7 LO 020 010 AND 14 010 17 END 169 SEQUENCE PROGRAMMING 170 4 ERROR CODE LIST 4 1 Howto Read the Error Code Chapter 1 Chapter 2 Chapter 3 Chapter 4 pa M ne 171 How to Read the Error Code N When the built in PLC function is in the RUN status or if an alarm occurs during RUN the self diagnostic function displays the error and stores the error code and error step into the special registers This chapter describes the error definitions and corrective actions 4 1 How to Read the Error Code When an error has occurred the error code can be read with the peripheral device For the operation method refer to the operating manual of the peripheral device The following table indicates the error names error codes definitions causes and corrective actions The error code and error step are stored into the following special registers
48. executes the sequence program stored in the internal memory from step 0 in due order 2 When the END instruction is executed internal processings such as timer counter present value updating and self diagnostic checks are performed and the execution returns to step 0 of the sequence program again Built in sequence function repeats this operation Timer counter present value updating Self diagnostic checks etc Fig 3 5 Operation Processing Method of Built in PLC Function REMARKS A processing from step 0 to next step 0 or from END to next END is called one scan Therefore one scan is the sum of the processing time of a user created program step 0 to END and the internal processing time of the built in PLC function 68 2 Processing Method 3 6 I O Processing Method The control system is a refresh system 3 6 1 What is refresh system In the refresh system control input terminal changes are batch imported into the input data memory of the CPU before execution of each scan and the data of this input data memory are used as the input data for operation execution Each program operation result of the output Y is output to the output data memory and after the END instruction is executed the contents of the output data memory are batch output from the control output terminal PLC CPU Central Processing Unit Input X data At input refresh Control input memory terminal At output refres
49. faults and can be changed in setting Watchdog timer variable 10 to 2000ms e The built in PLC function itself diagnoses faults and performs Self diagnostic function fault detection indication built in sequence function stop etc e This setting is made to determine the output Y state when the function has switched from the STOP status to the RUN status STOP to RUN time output setting e This setting is made to inhibit read interrupt of a program Keyword registration parameters and main sub program and comments CAUTION The following functions are unavailable Constant scan latch backup for power failure PAUSE status latch sampling trace step run clock interrupt processing comment microcomputer mode print title registration annunciator display mode ERROR LED priority setting SEQUENCE PROGRAMMING 89 How to RUN STOP the Built in PLC Function from Outside Remote RUN S TOP N 3 14 How to RUN STOP the Built in PLC Function from Outside Remote RUN STOP The built in PLC function is RUN STOPped by shorting opening SQ SD Remote RUN STOP is to RUN STOP the built in PLC function from outside the inverter with SQ SD shorted RUN status 1 2 3 Applications of remote RUN STOP In the following cases the function can be RUN STOPped by remote operation using remote RUN STOP 1 When the inverter is out of reach 2 When the inverter in a control box is
50. input is off the device status does not change 7 _ Execution Conditions The SET and RST instructions are executed every scan 8 Program Examples SET RST 1 Program that sets turns Y8 when X8 turns and resets turns off Y8 when X9 turns on LD X9 RST Y8 SET Y8 RST Ya ET Description 1 Indicates the section number instruction outlines and instruction symbols 2 The devices usable with the instructions are marked 3 The digit designation that can be set is indicated for the instruction that requires digit designation when a bit device is used 4 The instruction for which the error flag turns on at operation error occurrence is marked 5 Shows the format in the ladder mode 6 Explains the instruction 7 the execution conditions of the instructions 8 Shows program examples in the ladder mode and list mode 110 2 Sequence Instructions 3 25 Sequence Instructions Sequence instructions are used for relay control circuits etc 3 25 1 Contact Instructions Operation start series connection parallel connection LD LDI AND ANI OR ORI Usable Devices Digit Error Flag Bit devices Word 16 bit devices Constants Level Desig T nation M9010 M9011 O O O O O
51. lt gt gt lt lt gt 142 3 26 3 Arithmetic Operation 144 3 26 4 Arithmetic Operation Instructions BIN 16 bit addition subtraction 4 4 4 145 3 26 5 Arithmetic Operation Instructions BIN 16 bit multiplication division 149 3 26 6 Data Transfer 153 3 26 7 Data Transfer Instructions 16 bit data transfer MOV 153 3 27 Application instructions sue 155 3 27 1 Logical Operation Instructions 155 3 27 2 Logical Operation Instructions 16 bit Logical Product WAND 156 3 27 3 Logical Operation Instructions 16 bit Logical Add WOR WORP 159 3 27 4 Logical Operation Instructions 16 bit Exclusive Logical Add WXOR WXORP 162 3 27 5 Logical Operation Instructions 16 bit NOT Exclusive Logical Add WXNR 2 165 3 27 6 Logical Operation Instructions BIN 16 bit 25 complement NEG 168 4 ERROR CODE LIST 171 4 1 Howto Read the Error Code
52. module signals 3 CC Link dedicated cable Input signal PLC CPU 2 Buffer memory read write Interface with PLC CC Link interface Inverter CPU Output signal CC Link interface Built in sequence program 1 signals assigned to the CC Link system master local module These signals are used to make communication between the PLC CPU and CC Link system master local module 2 Input data from the inverter can be read and output data from the inverter can be written Buffer memory read write is performed using the FROM TO instruction of the sequence program Refer to page 57 for details of the buffer memory 3 PLC link start is commanded from the sequence program After PLC link has started link refresh is always made asynchronously with the sequence program execution 4 I O data are transferred between the CC Link system master local module and inverter CPU via the sequence program 5 I O data are transferred between the inverter CPU and sequence program 5 indicates the operation performed when CC Link is not used and is irrelevant to 1 to 4 REMARKS Programs cannot be read written via CC Link communication CC Link COMMUNICATION 47 System Configuration POINT The difference between CC Link communication Pr 544 100 112 114 118 with PLC function and normal CC Link communication Pr 544 1 2 12 14 18 is indicated below Inverter Pr 544 0 1 12 14 18 I O RX
53. of used instructions operation will be performed as described below 1 If the MPS instructions are used more than MPP instructions the ladder is changed and the built in PLC function performs operation according to the new ladder Before change 0 x2 o X3 X 4 When MPP is replaced by 0 2 3 4 5 6 1 8 9 0 1 1 1 After change X0 x1 x2 n X3 4 oz SEQUENCE PROGRAMMING O lt END 2 If the MPP instructions are used more than MPS instructions that ladder block results in a ladder creation error and the built in PLC function cannot perform normal operation Sequence Instructions N Program Example MPS MRD MPP 1 Program using MPS MRD and MPP XiC 1 M8 1 0 e co Lo 2 XID 3 6 c e LD X1G AND 8 OUT YO OUT Y1 LD X1D AND M9 ao htop Dor gt 1 M18 11 OUT Y2 X1E M11 7 M16 5 1 MPP 13 AND 14 OUT Y3 6 15 MPP 16 OUT YA 17 18 AND M11 7 19 MPS 20 AND M16 21 QUT Y5 22 MRD 23 AND M17 24 OUT Y6 9 25 MRD 26 AND M18 27 QUT Y7 10 28 MPP 29 OUT Y8 30 END 122 2 Sequence Instructions 3 25 5 Output Instructions Bit device timer counter OUT Usable Devices
54. page 10 87 SEQUENCE PROGRAMMING Special Relays Special Registers N Table3 4 Special Relay Application List Special NS o Item Relay Application Description 1 This relay turns on for one scan when the built in PLC function switches from STOP to RUN Sequence 0 END O END O END O END O program 1 scan Initial ON processing MEOS OFF flag M9038 1 Switching from STOP to RUN 2 Using M9038 you can create a sequence program to be executed only once without using the PLS instruction at switching from STOP to RUN 55 processing program Normal OFF M9037 This relay remains off while power is on flag Can be used to temporarily disable execution for debugging etc This relay is on while power is on Can be used to create a program to be executed only once after power on Normally ON M9036 flag M9036 0 4 0 00 This relay turns on at the second scan of the sequence program when SQ SD are shorted Sequence 0 END O RUN flag M9039 progran ON M9039 OFF RUN 88 7 Function List 3 13 Function List Function Description e This function performs remote RUN STOP from outside the Remote RUN STOP inverter when SQ SD are shorted PLC function in RUN status P RUN lit e The watchdog timer is an internal timer of the sequence function designed to detect hardware or program
55. program and comments cannot be read written from the built in PLC function to the GX Developer device unless the keyword registered to the built in PLC function is entered 2 Registration and cancel of keyword A keyword of up to six digits can be set in hexadecimal 0 to 9 A to F Make built in PLC function parameter setting to register or cancel the keyword SEQUENCE PROGRAMMING 95 STOP Status to RUN Status 3 18 Setting of Output Y Status at Switching from STOP Status to RUN Status When the RUN status is switched to the STOP status the outputs Y in the RUN status are stored into the built in PLC function Using the built in PLC function parameter you can set whether the outputs Y will be output again or will be output after execution of operation when the STOP status is switched to the RUN status Output Y status at STOP is output The sequence program operation is performed after the output Y status at the time of entering the STOP status is output Outputs Y are cleared output one scan later The outputs Y are all cleared and after execution of the sequence program operation the outputs are provided STOP status to RUN status Is output Y status at STOP to be output Output Y status at the time of Output Y status is cleared entering the STOP status is output Sequence program operation is executed Fig 3 24 Processing Performed when STOP Status Is Switched to RUN Status 96
56. station RWwn Wnt TB 0909 n indicates a value determined according to the station number setting 56 7 Buffer Memory 2 4 Buffer Memory 2 4 1 Remote output signals Master module to inverter FR A7NC elnput states to the remote device station are stored Two words are used for each station not use address 16n 2 1 1 X station No 700 series Remote device station Station No 1 1 station occupied Inverter Master Station 4 Addresses station 160 1 1614 RY 1F to RY 10 For station J 162 No2 163H For station J 164 3 165 station J 166 No 4 167 For station J 168 No 5 169 1 For station J 1 RY AF to RY AO No 6 16 BF to RY BO For station J 16 CF to CO 00 30 7 160 RY DF to RY DO For station 16 No 8 16FH RY FF to RY FO For station 170H RY10F to RY100 No 9 171H RY11F to RY110 to t For station 10 to RY7EO No 64 1DFH LRY7FF to RY7FO Correspondences between Master Station Buffer Memory Addresses and Station Numbers For station 10 7 to RY7CO No 63
57. stored into 09150 Operation mode set frequency alarm definition batch clear all parameter clear HFFFF is stored into D9150 Normal 0 If write is completed normally after error occurrence D9150 is not cleared D9150 data is held at error occurrence When using D9150 to stop operation etc the user must clear it 1 7 6 Inverter status D9151 Data Access Enable Condition D9151 Inverter status Always Device No Name The running status and operating status of the inverter are stored The corresponding bits are set according to the inverter status 15 orem 8 7 4 7 BO Inverter running RUN Forward running Reverse running Up to frequency SU Overload alarm OL Instantaneous power failure undervoltage IPF Output frequency detection FU Alarm output ALM Minor fault output LF 33 PLC FUNCTION Inverter Parameter Read Write Method N 1 8 Inverter Parameter Read Write Method 1 8 1 Reading the inverter parameters Data Access Enable Device No Name Command Completion Condition Operation mode D9241 Parameter number RAM D9242 Parameter description Y28 X28 Always 09234 Second parameter changing RAM 09243 Parameter number EEPROM Parameter description 09244 Y2A 2 operation mode as in Pr 77 Second parameter changing EEPROM When re
58. the result number of different bits is stored into 08 e Coding QO LO AXOOC 1 WXNRP 099 6 SUMP 099 9 AD 14 16 08 19 P AQ DE 24 END 2 Program which compares the bit pattern of the 16 bit data of X30 to 3F and that of the data of D99 and stores the result to D7 when turns on 9 Coding 000 Lo WOOO T n Ww X030 99 T dm b 1 WXNRP K4X030 099 07 8 END Lu 2 o 3 167 Application instructions N 3 27 6 Logical Operation Instructions BIN 16 bit 2 s complement Usable Devices Word 16 bit Er Bit devices Constants Level Digit Flag Designation M9010 X Y M T M9011 NEG D n x K1 to K4 O Head number of device which stores data for which 2 complement will be performed Functions 1 Reverses the sign of the 16 bit data of device specified at D and stores the result in device specified at D 16 bits Before P execution Sign 9 0 conversion __ After execution 2 Used to reverse the positive sign to the negative sign and vice versa 168 7 Application instructions Execution Conditions 2 s complement OFF execution command NEG Executed
59. timers 1 100ms and 10ms timers The timer starts timing the present value when its coil turns on and the present value is reset to 0 and the contact turns off when the coil turns off Ladder example AS x K50 When input X5 turns on T2 coil turns on and timer times 5s T2 is 100ms timer Timing chart ON ON T2 coil OFF gt OFF OFF Setting Timer present value 5s i ON 2 contact Fig 3 15 Timing Chart REMARKS 100ms 10ms and 100ms retentive timers can be changed using the built in PLC function parameter The default is a 100ms timer Since the FR C500 has 8 timers TO to T7 it can use only any one type of 100ms 10ms and 100ms retentive timers 80 7 Description of devices 2 100ms retentive timers 1 100ms retentive timer is designed to time the ON period of the timer coil When its coil turns on the timer starts timing the present value and maintains the present value and contact ON OFF state if the coil turns off When the coil turns on again the timer resumes timing from the maintained present value 2 Use the RST T instruction to clear the present value and turn off the contact Ladder example X5 K200 0 5 6 5 Times ON 5 for 20s Resets T5 contact and clears present value when X6 turns on X6 op P_ ig MO 5 Timing chart x5
60. turns on Y8 when X8 turns and resets turns off 8 when 9 turns on Coding 9 0 LD 9 0 Y3 1 RST Y8 x8 2 LD X8 T stT 3 SET Y8 4 END X8 SET input OFF X9 RST input OFF Y8 OFF Operations of SET and RST instructions 127 SEQUENCE PROGRAMMING Sequence Instructions N 2 Program that resets the data register contents to 0 X0 0 L w 8 Stores X10 to 1F contents into D8 when turns on X5 6 08 Resets D8 contents to 0 when 5 turns Coding 0 LD 0 1 MOV 4 10 08 6 5 1 RST 08 10 END 3 Program that resets the 100ms retentive timer and counter X4 K18000 When 5 is set as retentive timer 5 turns when ON period of X4 reaches 30 minutes 15 K16 2 CO Counts the number of times T5 turned on RST 5 Resets 5 when 5 turns CO be 15 When CO stops counting Y5 turns on X5 9 RST 0 When X5 turns on is reset Coding 0 LD X4 1 OUT 5 K18000 2 LD T5 3 OUT 00 K16 4 RST T5 7 LD 00 8 OUT Y5 9 LD X5 10 RST 00 13 END 128 2 Sequence Instructions 3 25 7 Output Instructions Leading edge trailing edge differential outputs PLS PLF Usable Devices Error Bit devices Word 16 bit devices Constants Level Digit Flag Designation M9010 T M9011
61. 09148 Inverter operation za 34 status control RH RM RL JOG RT AU CS MRS STOP RES Enable disable the inverter operation status control using 09148 and M9200 to M9211 by turning on off status control 09149 the corresponding bits 32 enable disable up met Bit image is the same as D9148 9 The initial value All invalid Inverter Stores the error No when an error occurs because 09150 parameter the data stored in the parameter or special register is 33 5 access error not reflected on the inverter Stores the running status and operating status of the 2 inverter D 5 BSB 5 B4B3 BU GEE Inverter running RUN e Forward running 0 R 09151 Inverter status 33 Overload alarm OL Instantaneous power failure undervoltage IPF Output frequency detection FU Alarm output ALM Minor fault output LF 9152 Frequency 0 01Hz units setting 09153 Running speed 1 0 1 r min unit 09154 Motor torque 0 1 units 09155 Converter output 0 1V units __ voltage Regenerative 09156 brake duty 0 1 units Electronic thermal 09157 function load 0 1 units factor 09158 Output current 94 9 1A units 16 7 Device Number Name Description Page Special registers for control D9159 Converter output voltage peak value 0 1V units 09160 Input power 0 01kW 0 1kW units 09161 Output power
62. 1 3 26 Basic Instructions 1 onec Corey 140 3 27 Application instructions 155 Chapter 1 Chapter 2 Chapter 3 Chapter 4 61 Overview 3 1 Overview 3 1 1 Outline of Operation Processings This section outlines processings performed from when the inverter is powered on until a Sequence program is executed The built in PLC function processings are roughly classified into the following three types 1 62 Initial processing Pre processing for executing sequence operation This processing is executed only once when power is switched on or a reset is performed a The inputs outputs are reset and initialized 6 The data memories are initialized the bit devices are turned off and the word devices are cleared to 0 c Self diagnostic checks are made on the built in PLC function parameter setting operation circuit etc The built in PLC function parameters can be confirmed from GX Developer Refer to the GX Developer Operating Manual Sequence program operation processing The sequence program written to the built in PLC function is executed from step 0 to an END instruction END processing Post processing for terminating one sequence program operation processing and return the sequence program execution to step 0 a Self diagnostic checks are performed 6 The present values of the timers are updated and their contacts are turned on off
63. 100 7 to RY7DO Buffer Buffer Buffer Buffer n Memory n Memory e Memory 1 160 17 180 33 1 49 1 2 162 18 182 34 1 2 50 1 2 3 164 19 184H 35 1A4H 51 1C4H 4 166H 20 186H 36 1A6H 52 1C6H 5 168H 21 188H 37 1A8H 53 1C8H 2 6 16 22 18 38 1 54 1 7 16 23 18 39 1 55 1 T 8 16 24 18EH 40 1 AEH 56 1CEH 2 9 170 25 190 41 1BOH 57 10 172 26 192 42 1 2 58 102 11 174 27 194 43 1 4 59 104 S 12 176H 28 196 44 1B6H 60 1D6H 5 13 178 29 198 45 1B8H 61 1D8H 14 17 30 19 46 1 62 1DAH 15 17CH 31 19CH 47 1BCH 63 1DCH 16 17EH 32 19EH 48 1BEH 64 1DEH 57 Buffer Memory N 2 4 2 Remote input signals Pr 544 100 Inverter FR A7NC to master module e Input states from the remote device station are stored e Two words are used for each station Do not use address En n 2 X 1 1 X station No Master station Addresses For station EOu No 1 1 For station J 2 No 2 For station E4u No 3 5 For station No 4 For station 8 5 For station Remote inputs RX RX 1F to RX 10 RX to RX 30 RX AF to RX 40 to RX 50 RX 6F to RX 60 RX 7F to RX 70 RX 8F to RX 80
64. 1FBH 23 238H to 23BH 39 278 to 27 55 2 8 to 2BBH 8 1FCH to 1FFH 24 23CH to 23FH 40 27CH to 27FH 56 2BCH to 2BFH 9 200H to 203H 25 240H to 243H 41 280H to 283H 57 2 0 to 2C3H 10 204H to 207H 26 244H to 247H 42 284H to 287H 58 2C4H to 2C7H 11 208H to 20BH 2 248H to 24BH 43 288H to 28BH 59 2C8H to 2CBH 12 20CH to 20FH 28 24CH to 24FH 44 28CH to 28FH 60 2CCH to 2CFH 13 210H to 213H 29 250H to 253H 45 290H to 293H 61 200 to 2D3H 14 214H to 217H 30 254H to 257H 46 294H to 297H 62 2D4H to 2D7H 15 218H to 21BH 31 258H to 25BH 47 298H to 29BH 63 2D8H to 2DBH 16 21CH to 21FH 32 25CH to 25FH 48 29CH to 29FH 64 2DCH to 2DFH 59 CC Link COMMUNICATION Buffer Memory N 2 4 4 Remote registers Pr 544 100 Inverter FR A7NC to master module e Data sent from the remote registers RWR of the remote device station are stored e Four words are used for each station FR A700 series Remote device station Master station Station No 1 1 station occupied Inverter po ed See Sho po ENT Addresses Remote registers RWr For station No 1 For station No 2 RWR 3 For station No 3 For station No 4 3DCH For station 3DDu No 64 3DFH ee ee mm mm m mom ond Correspondences between Master Station Buffer Memory Addresses and Station Numbers
65. 25ms END OUT OUT OUT OUT T3 END T3 END T3 END END T3 END When external input turns on 25ms 25ms 25ms_ in hatched range XO T3 coil T3 contact 10ms timer timing 1 2 Timing set at END 0 3 3 T3 present value 2 1 scan Fig 3 17 Timer Timing Method In Fig 3 8 the time out period of the 10ms timer T3 has the following errors uk rcd 10ms timer error 1 scan time ES The accuracy is 2 scan time 0 05s in Fig 3 8 3 When the timer times out its contact remains on until END even if the coil turns off and turns off at execution of the END instruction 82 7 3 10 Counters The counters of the built in PLC function are up counters An up counter stops counting and its contact turns on when the count value reaches the setting 1 Count processing and its present value is updated and its contact turns on after execution of the END instruction 2 The counter counts on detection of the leading edge OFF to ON of the coil It does not count if the coil remains on 2 Counter resetting 1 The count value is not cleared even if the coil turns off Use the RST instruction to clear the count value and turn off the contact 2 When the counter is reset by the RST instruction the present value and contact of the counter are cleared at execution of the RST instruction Ladder example K Input condition X5 K10 counts on leading edge O
66. 9 nt s 25 2 O xe y O W gt 1 5 TI CC Link I O Specifications n indicates a value determined according to the station number setting 4 Signal names are initial values Using 180 to Pr 186 Pr 188 and Pr 189 you can change input signal functions Signals of the RYnO RYn1 9 can not be changed Even when changed using Pr 178 Pr 179 and Pr 187 the settings are invalid Refer to the inverter manual applied for details of 178 to Pr 189 2 Signal names are initial values Using Pr 190 to Pr 196 you can change output signal functions Refer to the inverter manual applied for details of 190 to 196 2 Remote resister m TE ti i device No Address Upper 8 Lower 8 deviceNo Description Bits Bits Monitor Monitor RWrn First monitor value code 2 code 1 RWwn 1 frequency 0 01 2 monitor increments Link RWwn 2 parameter Instruction expansion code code2 1 setting RWwn 3 Write data RWrn 3 data a Registers designed to designed as read data received ue Bus write data to be D9064 from the master D9080 sent to the master 09065 RWwn 7 station D9081 RWrn 7_ Station n indicates a value determined according to the station number setting CC Link COM
67. 9079 write data to be sent 09064 RWwn 2 from the master D9080 RWrn 2 to the master station station n indicates a value determined according to the station number setting 3 Data I O image FR A700 series Devices in built in sequence X30 to 3F Y30 to Devices in CC Link station No 1 RYOO to OF RXOO to OF Master station Automatically refreshed at every END REMARKS Use the remote registers freely since they are all user areas CC Link COMMUNICATION 51 CC Link I O Specifications N 2 3 2 l O signal when CC Link Ver 2 double setting is selected Pr 544 112 The device points usable in CC Link communication are 32 input RX points 12 points are available for PLC function 32 output RY points 12 points are available for PLC function 4 remote register RWr points and 4 remote register RWw points 1 Remote I O PLC Remote Remote function output input device device device No No No No Forward running Forward rotation command X30 RXn0 Forward running Reverse rotation command RX High speed operation RYn2 command X32 terminal RH function 1 Running RXn2 terminal RUN function 2 Up to frequency Second function selection terminal RT function 1 Current input selection terminal AU function 1 Selection of automatic restart after RYn8 instantaneous power failure terminal CS function 1 Start self holding selection termin
68. 9210 Inverter operation status Control the STOP terminal of the inverter from PLC function 12 7 Device Number Name Description Inverter operation status Control the RES terminal of the inverter from PLC M9211 control flag RES function M9216 Inverter status RUN Inverter running M9217 Inverter status FWD Forward running M9218 Inverter status REV Reverse running M9219 Inverter status SU Up to frequency M9220 Inverter status OL Overload alarm M9221 Inverter status IPF Instantaneous power failure undervoltage M9222 Inverter status FU Output frequency detection M9223 Inverter status ALM Alarm output M9224 Inverter status LF Minor fault output M9225 Inverter status DOO Status of output terminal function set in Pr 3 3 is stored 1 M9226 Inverter status 001 of output terminal function set in 3 4 is stored 1 M9227 Inverter status 002 of output terminal function set in 3 5 is stored 1 M9228 Inverter status DO3 Status of output terminal function set in Pr 3 6 is stored 1 M9229 Inverter status 004 of output terminal function set in 3 7 is stored 1 M9230 Inverter status 205 of output terminal function set in 3 8 is stored 1 M9231 Inverter status 006 Status of output terminal function set in Pr 3 9 is stored 1 M9232 Inverter status RA1 Stat
69. C and MCR are as performed by the instructions ladder 2 If the MC instruction is off the scan between the and MCR instructions is executed and therefore the scan time does not become short When the MC instruction is off the operation results between MC and MCR are as described below The count value is reset to 0 and both the coil and contact turn off The coil turns off but both the count value and contact maintain the current states 100ms 10ms timer 100ms retentive timer counter Devices in OUT instruction All turn off SET RST SFT or device in instruction Maintains the current state basic 3 By changing the device at the MC instruction can use the same nesting number any number of times 4 When the MC instruction is on the coil of the device specified at D turns on Since using the same device in the OUT instruction etc will result in double coils the device specified at D should not be used in any other instruction 134 2 Sequence Instructions MCR 1 This instruction is designed to reset the master control and indicates the end of the master control range 2 Do not provide a contact instruction in front of the MCR instruction The master control instructions can be nested Their master control ranges are differentiated by the nesting The nesting can be used from NO to 7 Using the nesting structure you can create a la
70. CTION Inverter Status Monitoring Special Registers for Control S 1 7 Inverter Status Monitoring Special Registers for Control You can assign the data for grasping and changing the inverter s operation status to D9133 D9147 and read write them from the user sequence Refer to page 14 for the list 1 7 1 Data that can be read at all times The following data can always be read They are automatically refreshed every time the END instruction is executed 1 Operation monitor The following data devices are always read enabled write disabled to allow you to monitor the output frequency output current and output voltage of the inverter Note the setting units Device Name Setting Data Access Enable No Unit Condition 09133 Output frequency Device data 6000 60 00Hz monitor 09134 Output current 0 01A Device data 200 gt 2 00A Always monitor 09135 Qutput voltage 01V Device data 1000 100 0V monitor CAUTION The frequency can be set in increments of 0 01Hz but actual operation is performed in increments of 0 1Hz 20 Inverter Status Monitoring Special Registers Lr Control 2 Error history error codes and error definitions The inverter stores the error codes of the errors that occurred The error codes of up to eight errors are stored in the order as shown below and are always read enabled write disabled lt Error code storing method detai
71. D AND S gt D WANDE z 5 product WAND 7 S1 AND S2 D WANDP WOR 5 D OR S gt D WORP t 5 WOR S1 OR S2 gt D WORP f 7 WXOR 5 5 D WXORP Exclusive 162 logical sum WXOR 7 S1 XOR S2 5 D WXORP 17 WXNR 5 D S gt D 1 165 ogical WXNR BI dud 81 XOR 82 D WXNRP 7 2 NEG 3 com eer 0 D 2 D 168 NEGP 109 SEQUENCE PROGRAMMING Description of the Instructions N 3 24 Description of the Instructions In Chapter 6 the instructions are described in the following format Output Instructions 3 4 1 6 5 2 Device set reset SET RST Usable Devices crc Bit devices wore 16701 Constants Level Digit Flag devices Designation X Y M T K H N woot 2 SET RST 2 Device number to be set turned RST input on Device number to be reset 6 Functions SET 1 Turns on the specified device when the SET input turns on 2 The device turned on is held on if the SET input turns off It can be turned off by the RST instruction SET input ON X5 L Tstr x5 OFF m c er ON x7 N RST input q Y 10 OFF 3 When the SET
72. D instruction 1 At power on at reset Whether operation can be executed or not is diagnosed 2 At execution of any instruction An error occurs if the operation of any instruction in the sequence program is not executed properly CAUTION For the LD AND OR logical comparison operation and OUT instructions the set devices are always checked For the other instructions SET RST MOV etc a check is made as soon as the execution condition holds and the instruction is ready to be executed 3 At execution of END instruction Operation clog up monitor timer Operation mode at fault detection There are two different PLC operation modes at detection of a fault by the self diagnostic operation stop mode and operation continuation mode The operation continuation mode includes a fault that enables operation to be stopped by built in PLC function parameter setting Refer to page 94 1 If an operation stop error is detected by the self diagnostic operation is stopped and outputs Y are all turned off as soon as the error is detected The other devices maintain their states at occurrence of the error 2 operation continuation error is detected only the faulty program part is not executed and the program at the next step is executed Error definition checking When M9008 self diagnostic error turns on at detection of an error the error code is stored into D9008 self diagnostic error Especially in the continuation
73. FF to ON 0 of input X5 X6 2 CO Resets CO when input X6 turns on Fig 3 18 Count Ladder 83 SEQUENCE PROGRAMMING Counters N 3 10 1 Count processing in refresh system The counter counts on the leading edge of the input condition of the counter imported at an input refresh Ladder example ita ioe OFF to ON of X5 is counted twice C3 contact turns on Counting method Input X refresh Does not count since X5 remains on OUT OUT y OUT OUT OUT END C3 END C3 END C3 END C3 END C3 END EH MM Lm rn ON x5 5 ON Image d C3 coil 2 C3 present 0 gt value ON C3 contact OF Fig 3 19 Counter Counting Method REMARKS Refer to page 85 for the maximum counting speed of the counter 84 7 Counters 3 10 2 Maximum counting speed of counter The maximum counting speed of the counter is determined by the scan time and the counter can count only when the ON OFF period of the input condition is longer than the scan time n Duty Maximum counting speed ts Scan time n d o2 1 00 re times s REMARKS The duty n is a percent ratio of ON OFF period to ON OFF period of the count input signal 1 lt When T1 lt T2 n ae d 100 When 1 gt T2 a x 100 T1 T2
74. G Pr 185 RT Pr 183 AU Pr 184 CS Pr 186 MRS Pr 187 STOP Pr 188 RES Pr 189 CAUTION As in the external input terminals functions can be assigned to the bits of 09148 using Pr 78 to Pr 189 However no function can be assigned to SQ sequence RUN setting 50 31 PLC FUNCTION Inverter Status Monitoring Special Registers for Control S 2 Inverter operation status control enable disable setting D9149 You can enable or disable D9148 inverter operation status control The controls of the corresponding bits of D9148 are enabled by turning on off 1 O bits bO to b11 of 09149 All bits are factory set to O Example When H1F is set to D9149 bits bO to b11 are 1 ON the external terminal inputs are therefore all disabled and operation control using the inverter operation status control D9148 can be performed 15 12 11 8 7 1 ON Invalid STF Pr 178 STR Pr 179 RH Pr 182 RM Pr 181 RL Pr 180 JOG Pr 185 RT Pr 183 AU Pr 184 CS Pr 186 MRS Pr 187 STOP Pr 188 RES Pr 189 CAUTION eWhen D9148 inverter operation status control is enabled using D9149 the control performed by external terminal inputs and the control performed by CC Link remote inputs are disabled for the enabled bits Same as when No functions are set to 178 to Pr 189 eWhen the terminal is made valid from PLC function
75. LD XO OUT 3 20 2 Digit designation processing When a basic or application instruction is used the bit device used as the target of Operation processing may have to be specified by digit designation When the instruction whose processing unit is 16 bits is specified by this digit designation up to 16 points can be specified in units of four points 1 16 bit instruction K1 to 4 4 to 16 points Setting ranges of 16 bit data to by digit designation 4 Designation range of K1 4 points Designation range of K2 8 points Designation range of K3 12 points Designation range of K4 16 points Fig 3 25 Digit Designation Setting Range for 16 bit Instruction a When there is digit designation on the source S side the numerical values that can be handled as the source data are as indicated in Table 3 6 Table 3 6 List of Designated Digits and Numerical Values That Can Be Handled Number of Designated Digits 16 bit Instruction K1 4 points 0 to 15 K2 8 points 0 to 255 12 points 0 to 4095 4 16 points 32768 to 32767 99 SEQUENCE PROGRAMMING Bit Device Processing Method N Ladder Example Processing For 16 bit instruction X10 0 H K1X0 DO Source S data 3 2 x0 _ 7 0 53 62 b Turn to Os Fig 3 26 Ladder Example and Processing b W
76. M8 7 ANB 2 INE gt 5 O lt a 4 Program that compares the DO and D3 data 5 Coding o0 0 LD M3 1 AND 8 2 0 lt 00 03 lt DO D3 7 OUT Y3 8 END 143 Basic Instructions N 3 26 3 Arithmetic Operation Instructions The arithmetic operation instructions are instructions which perform the addition subtraction multiplication and division of two BIN data 1 Arithmetic operation with BIN Binary e f the operation result of an addition instruction exceeds 32767 the result becomes a negative value e f the operation result of a subtraction instruction is less than 32768 the result becomes a positive value e The operation of a positive value and a negative value is as follows 548 513 5 8 gt 3 5 3 gt 15 5 3 gt 15 5 x 3 gt 15 5 3 1 and remainder 2 5 3 gt 1 and remainder 2 5 3 gt 1 and remainder 2 144 7 Basic Instructions 3 26 4 Arithmetic Operation Instructions BIN 16 bit addition subtraction P P Usable Devices hi Error Fla Bit devices more 119 DU Constants Level Digit 3 devices Designation M9010 X Y M T M9011 O O K1 to K4 O 001 0 0 O Addition subtraction commands Instruction symbol in 3 Setting data Addend subt
77. M9011 is cleared by the user program I O control 09014 method 3 fixed Both input and output refreshes Stores the operating status of the PLC function 4 15 12811 8 B4B3 BO E lt SSESSAESZAESEE 2 D CPU operating C 09015 status Invalid Remote run stop using Shorting 5 using GX Developer sequence parameter setting opening SQ SD 2 ojn o RUN STOP Stores the number that indicates which sequence 09016 Program number is currently in execution 1 fixed program Pee Stores the scan time at every END that is smaller than 09017 09017 data i e stores the minimum scan time in BIN 10ms units Scan time Stores and updates the scan time at every END in 09018 10ms units BIN Maximum scan Stores the scan time at every END that is greater than D9019 time D9019 data i e stores the maximum scan time in 10ms units BIN D9062to panos Special registers for communication with the master 50 D9093 9 station CC Link 14 7 Device Number Name Description Page Output frequency Stores the current output frequency D9133 monitor 0 01Hz units 09134 Output current Stores the current output current 20 monitor 0 01A units Output voltage Stores the current output voltage D9135 monitor 0 1V units 09136 E
78. MUNICATION 53 CC Link I O Specifications N 2 3 3 VO signal when CC Link Ver 2 quadruple setting is selected Pr 544 114 The device points usable in CC Link communication are 32 input RX points 12 points are available for PLC function 32 output RY points 12 points are available for PLC function 8 remote register RWr points and 8 remote register RWw points 1 Remote I O Same as when Pr 544 112 38 Refer to page 52 2 Remote resister eee Address Upper 8 Lower 8 Address Description Bits Bits Monitor Monitor code 2 code 1 Set frequency 0 01Hz increments parameter Instruction Reply expansion code setting Fifth monitor value Sixth monitor value Registers designed to Registers designed read data received to write data to be from the master sent to the master station station D9069 RWwn F D9085 RWrn F n indicates a value determined according to the station number setting 54 7 CC Link I O Specifications 2 3 4 signal when CC Link Ver 2 octuple setting is selected Pr 544 118 The device points usable in CC Link communication are 32 input RX points 12 points are available for PLC function 32 output RY points 12 points are available for PLC function 16 remote register RWr points and 16 remote register RWw points 1 Remote I O Same as when Pr 544 112 38 Refer to page 52 2 Remote resister Pie une Addres
79. No Command Completion Enable Condition 09143 mode setting write Y23 X23 Pr 79 20 2 09144 Setfrequency write RAM Y24 X24 PU operation mode PU LED on or CC Set frequency write Link operation mode D3145 E2PROM uo X29 EXT LEDs flicker slowly 09146 Alarm definition batch clear Y26 X26 Always D9147 All parameter clear Y27 X27 As set in 77 The above data are written as soon as the write completion turns on after the write command has turned from off to on Alarm definition batch clear D9146 and all parameter clear D9147 turn on at completion of clear To write the data again the write command must be turned off once then on again Data write timing chart 4 After confirmation of write ser 2 In user sequence write completion write command data is stored into write command is turned on RODEO data area D914n Y2n n 3 to 7 Write command X2n n 3107 N 7 Write completion D914n n 3 to 7 oe Write data 2 2 LL 3 Turns when inverter CPU completes data 5 Inverter CPU confirms that write to inverter write command is off and Alarm definition clear and parameter clear turn on at completion of clear 0 written to D9150 indicates normal completion Any value other than 0 indicates abnormal completion turns off write completion 25 Inverter Status Monitoring Special Registers for Control S 1 Operat
80. OFF PEN orr juste 5 coil OFF OFF OFF Timer present value 15s 4 ON TS contact OFF OFF Fig 3 16 Timing Chart 3 9 6 Timer processing method and accuracy 1 Timer processing method the timer s present value is updated and its contact turned on off at execution of the END instruction 1 When the coil of the timer turns on the present value of that timer is updated after execution of the END instruction and when the timer times out its contact turns on a When the coil of the 10ms or 100ms timer turns off the present value of that timer is reset to O and the contact is also turned off after execution of the END instruction b If its coil turns off the 100ms retentive timer maintains the prevent value and contact ON OFF state 2 When the timer is reset by the RST instruction the present value of the timer is If the timer setting is the setting becomes infinite and the timer does not time out SEQUENCE PROGRAMMING Description of devices N 2 Present value update timing and accuracy in refresh system 1 The timer accuracy is 2 scan times independently of the used timer and scan time 2 The following shows the present value update timing and accuracy when the 10ms timer is used in a program where the scan time is 10ms or more Ladder example y K600 T3 contact turns 6s after turns is 10ms timer Timer timing method Scan time
81. RUN STOPped from outside the control box Operation performed at remote RUN STOP The operation of the sequence program for performing remote RUN STOP is as described below e Remote STOP The function enters the STOP status after the sequence program is executed up to the END instruction e Remote RUN When remote RUN is performed after the function has been put in the STOP status by remote STOP the function enters the RUN status again and executes the sequence program from step O Remote RUN STOP method There are the following remote RUN STOP methods 1 Setting using built in PLC function parameter using contact Remote RUN STOP can be performed by turning the remote RUN contact off on For example this method can be used to STOP the PLC function with the emergency stop contact e When the remote RUN contact turns off the function enters the RUN status e When the remote RUN contact turns on the function enters the STOP status Step 0 END Step 0 END 0 SQ terminal Remote RUN contact External input terminal Built in sequence function RUN STOP status STOP status Fig 3 21 Timing Chart for RUN STOP Using Remote RUN Contact Setting of remote RUN contact built in PLC function parameter to X1F can be set as the remote RUN contacts Refer to the GX Developer manual for details 90 How to RUN STOP the Built in PLC Function from Outside Remote RUN STOP 2
82. Value is negative if most significant bit is 1 Fig 3 9 Numerical Representation of Each Register of Built in PLC Function 2 Numerical data usable with the built in PLC function In the numerical representation shown in Fig 2 8 values can be represented in 73 Numerical Values Usable Sequence Program N the range 32768 to 32767 Therefore each register of the built in PLC function can store any value between 32768 and 32767 3 8 2 HEX HEX Decimal 1 HEX HEX represents four bits of BIN data as one digit Using four bits in BIN you can represent 16 values from 0 to 15 Since HEX represents any of 0 to 15 in a single digit 9 is followed by alphabets A instead of 10 B 11 and F 15 is followed by a carry Refer to page 72 for the correspondences between BIN HEX and decimal code 2 Numerical representation of HEX Each register e g data register of the built in PLC function consist of 16 bits Therefore the value that can be stored into each register is represented as any of 0 to HFFFF in HEX 74 3 9 1 Device List 2 Description of devices 3 9 Description of devices The following table indicates the device names usable with the built in PLC function and their ranges of use Table 3 3 Device List Input X 64 to X3F lt 12 points installed gt Output Y 64 YO to lt 7 points installed Internal relay M 64 MO to M63 Latch relay L None Can be set wi
83. a specified at 67 and the BIN data specified at 62 and stores the subtraction result into the device specified at MM b1 678 BN 1234 m inm o w 3 At S 62 62 and D 32768 to 32767 BIN 16 bits can be specified 4 The judgment of whether the data of S 67 62 and D are positive or negative is made at the highest bit b15 Ds Positive Negative 5 When the Oth bit has underflown the carry flag does not turn on When the 15th bit has overflown the carry flag does not turn on 147 SEQUENCE PROGRAMMING Basic Instructions N Execution Conditions Addition subtraction command ON Addition subtraction OFF 2 Lfd command Executed every Executed every scan scan Executed only once Executed only once Program Examples Program which adds the content of AO to the content of D3 and outputs the result to Y38 to when X5 turns Coding OOS K2 Lo MOOS Da 038 1 P AD 2 038 8 END Program which outputs the difference between the set value present value timer T3 to Y40 to 53 in BCD KOO K18000 Coding T3 KOS M9036 PK 1 OUT T3 12000 2 12000 T3 D3 2 LD 8036 F 18000 T3 D3 10 DBCD 03 40 DBCD 03 040 19 END 148 7 Basic Instructions 3 26 5 Arithmetic Operation Instructions BIN 16 bit multiplica
84. ading the parameter the parameter description is stored to D9242 D9244 by storing the parameter number to D9241 D9243 and turning Y28 Y2A on When reading is completed X28 X2A turns ON to notify the completion The device number within parentheses is used to read the parameter setting value from EEPROM When reading the calibration parameter Pr 902 to Pr 939 set the following value to D9234 D9235 to read each calibration parameter value 0 Setting value Frequency Toruque 1 Parameter set analog value 2 Analog value input from terminal When access error occurs such as parameter does not exist value obtained by adding the parameter number and 8000H is stored to D9150 Refer to page 33 D9235 34 7 Inverter Parameter Read Write Method Inverter parameter data read timing chart 3 In user sequence ON of read completion is confirmed and data are read from data registers D9242 D9243 and processed 1 Read command is turned 4 After completion of read on in user sequence read command is turned off Y28 Y2A Parameter read Pm 100 3 28 2 Parameter read completion Inverter parameter D9242 D9243 read data processing 2 Inverter CPU stores inverter parameter 5 Inverter CPU confirms that read data into data registers D9242 D9243 command is off and turns off and turns on read completion read completion PLC FUNCTION 35 Inver
85. al STOP function 1 X Reset terminal RES function 1 Frequency setting command Frequency setting command Instruction code execution aes 1 0 to Reserved n 1 7 Not used RY n 1 8 initial data process completion flag Not used RY n 1 9 initial data process request flag Error reset request flag 52 Middle speed operation RYn3 command X33 terminal RM function 1 Low speed operation 4 command terminal RL function 1 Jog operation command X95 RYn5 terminal JOG function 1 X32 X33 X34 X35 X36 X37 X38 39 3B terminal SU function 2 Overload alarm X34 n4 terminal OL function 2 Instantaneous power failure terminal IPF function 2 Frequency detection X36 RANG terminal FU function 2 Er X37 RXn7 terminal ABC1 function 2 X38 RXn8 terminal ABC2 function 2 X35 RXn5 ro Pr 313 assignment function Pr 314 assignment function RXnA 001 02 X3B 0 Pr 315 assignment function DO2 M RXnD Frequency setting completion RA Frequency setting completion RXnE RAM EEPROM Instruction code execution completion 1 7 to n Not used RX n 1 8 initial data process request flag Not used initial data process completion flag Error status flag Remote station Ready Reserved 2 2 2 5 Co 2 5 5 RX n 1
86. am Makeup x 64 3 4 Programming Languages 65 3 5 Operation Processing Method of PLC Function 68 3 6 Processing Method 69 7 71 3 8 Numerical Values Usable Sequence Program 72 3 9 Description of devices 75 3 10 CONTES 83 3 11 Data Registers oe Cose nouae 86 3 12 Special Relays Special Registers 87 3 13 Tg edo M B Cio LI c 89 3 14 How to RUN STOP the Built in PLC Function from Outside Remote RUN STOP 90 3 15 Watchdog Timer Operation clog up monitor UMET 92 3 16 Self diagnostic Function 93 3 17 Keyword Registration 95 3 18 Setting of Output Y Status at Switching from STOP Status to RUN Status 96 3 19 Instruction Format 97 3 20 Bit Device Processing Method 99 3 21 Handling of Numerical Value 101 3 22 Operation niriana 102 3 23 Instructions List 103 3 24 Description of the Instructions 110 3 25 Sequence Instructions 11
87. ameter clear request w OP q Turns on all parameter clear request pulse 4 HO UR z 09159 Check whether all parameter Normal write Clear signal turned on to judge 09150 whether write was performed Abnormal write normally or not 20 T ua Stores H9696 all parameter clear code to D9146 and turns H3696 09147 on alarm definition batch clear command Until completion signal turns on Related device Device D9150 Parameter access error code refer to page 33 30 Inverter Status Monitoring Special Registers for Control 1 7 4 Inverter operation status control Device No Name Data Access Enable Condition D9148 Inverter operation status control Always Note that this function is enabled in D9149 Inverter operation status control the external NET operation mode enable disable Not enabled in the PU operation mode 1 Inverter operation status control D9148 Device for inverter operation status control The operation of the inverter can be controlled by turning on off 1 0 bits bO to b11 of D9148 All bits are factory set to O Example When 5 is set to 09148 bits bO and b2 are 1 STF and RH therefore turn on to give a high speed forward rotation command 15 12811 8 7 doo ojo 00 0j010 1 OFF 1 ON Invalid STF Pr 178 STR Pr 179 RH Pr 182 RM Pr 181 RL Pr 180 JO
88. ata memories other than the outputs Y are maintained In either the RUN STOP status the built in PLC function is performing I O refresh processings In the STOP status therefore I O monitoring and test operation can be performed from the peripheral device 3 3 Program Makeup 1 Program classification The program that can be used by the built in PLC function is a main sequence program only Microcomputer interrupt and SFC programs cannot be used 2 Program capacity A program capacity indicates the capacity of the program storage memory and it is 1k steps Set the program capacity in the built in PLC function parameter 64 7 Programming Languages 3 4 Programming Languages The built in PLC function has two different programming methods one that uses ladders and the other that uses dedicated instructions e Programming that uses ladders is performed in the relay symbolic language 1 e Programming that uses dedicated instructions is performed in the logic symbolic language 2 Whether the relay symbolic language or logic symbolic language is used the same program is created 1 When using GX Developer for programming perform programming in the ladder mode 2 When using GX Developer for programming perform programming in the list mode 3 4 7 Relay symbolic language Ladder mode The relay symbolic language is based on the concept of a relay control circuit You can perform programming in the repr
89. can be used is GX Developer only The A6GPP A7PHP etc cannot be used Wiring of the Inverter and Personal Computer Using Z GX Developer for RS 485 Communication 1 4 Wiring of the Inverter and Personal Computer Using GX Developer for RS 485 Communication Personal computer f A GX Developer Programming tool RS 232C RS 485 converter RS 232C connector e Personal computer inverter connection cable Make connection after conversion between RS 232C and RS 485 Examples of commercially available products as of Sep 05 Type Meer SC FRPC BEIJERS REMARKS When fabricating the cable on the user side refer to the inverter instruction manual applied PLC FUNCTION Prior to Sequence Program Creation S 1 5 Prior to Sequence Program Creation 1 5 1 Precautions for sequence program creation eOnline change of the sequence program and access to other stations are not allowed In addition program read write from other stations and all PLC memory clear cannot be performed eBack up the ladder configured with the protective function of GX Developer If any of the instructions refer to page 103 and devices refer to page 3 that cannot be used with the built in PLC function exists in a sequence program an instruction code error occurs at the
90. ct switch Inputs X Outputs Y S Digital switch Contactor Fig 3 10 Inputs X Outputs Y 76 7 Description of devices 1 Inputs X a Inputs are designed to give commands and data from external devices such as pushbuttons select switches limit switches and digital switches to the inverter built in PLC function b On the assumption that the PLC function contains a virtual relay Xn for one input point the normally open N O or normally closed N C contact of that Xn is used in the program Virtual relay PB1 Oo 4 Sequence aus function 2 1 Input circuit external devices Program Fig 3 11 Concept of Inputs X c There are no restrictions on the number of N O and N C contacts of Xn used in the program No restrictions on the number of used contacts Fig 3 12 Use of Contacts in Input X Program When no external devices are connected to the control input terminals X can be used as the internal relay M 77 SEQUENCE PROGRAMMING Description of devices N 2 Outputs Y a Outputs are designed to output the control results of a program to outside the inverter signal lamps digital indicators magnetic switches contactors solenoids etc b An output can be exported to outside the inverter as equivalent to one N O contact c There are no restrictions on the number of N O and N
91. ctions N 3 25 4 Connection Instructions Operation result push read pop MPS MRD MPP Usable Devices Digit Error Flag Bit devices Word 16 bit devices Constants Level Desig T nation 9010 9011 MPS MRD and MPP do not appear in ladder display Functions MPS 1 Stores the operation result ON OFF immediately before itself 2 The MPS instruction can be used consecutively up to 12 times In the ladder mode however it can be used up to 11 times When the MPP instruction is used midway the number of used MPS instructions is decremented by 1 MRD 1 Reads the operation result stored by the MPS instruction and continues operation from the next step with that operation result MPP 1 Reads the operation result stored by the MPS instruction and continues operation from the next step with that operation result 2 Clears the operation result stored by the MPS instruction 120 2 Sequence Instructions 1 Ladders differ as shown below between when MPS MRD and MPP are used and when they are not used Ladder using MPS MRD and MPP Ladder not using MPS MRD and MPP x2 c crio X3 x4 H X5 e e 0 x1 x2 PJ 0 X3 X4 4 X0 x1 xb of 1 2 2 Use the same number of MPS and MPP instructions If they differ the number
92. ctions for programming contacts coils etc instead of their symbols used by the relay symbolic language 1 Program operation method Sequence program operation is executed from an instruction at step 0 to an END instruction in due order When the END instruction is executed operation is executed from the instruction at step 0 again Logic symbolic language Relay symbolic language 1 2 9 7 8 Step number X5 X6 xi 10 pec H P9 M ro WM 9 X s 6 ei 7 Operation sequence O O Execution returns to step 0 when END instruction is executed Fig 3 4 Operation Processing Sequence SEQUENCE PROGRAMMING 67 Operation Processing Method of PLC Function N 3 5 Operation Processing Method of PLC Function The operation processing method is the repeated operation of a stored program 1 Stored program system 1 In a stored program system a sequence program to be operated is stored in the internal memory beforehand 2 When sequence program operation is executed the sequence program stored in the built in PLC function is read to the CPU instruction by instruction to execute the operation and the corresponding devices are controlled according to the results 2 Repeated operation system In a repeated operation system a sequence of operations is repeated The built in PLC function repeats the following processings 1 The built in PLC function
93. d Instruction Sequence program end END Usable Devices Error Bit devices Word 16 bit devices Constants Level Digit Flag Designation M9010 X Y M T C D K H M9011 END Functions 1 Indicates the end of a program Execution terminates scanning at this step and returns to step 0 Sequence program 2 The END instruction cannot be used halfway through the sequence program CAUTION If the END instruction does not exist in the program an operation error occurs and the PLC function does not operate 137 SEQUENCE PROGRAMMING Sequence Instructions N 3 25 11 Other Instructions No operation NOP Usable Devices Error Bit devices Word 16 bit devices Constants Level Digit Flag Designation M9010 X Y T C D K H N M9011 NOP does not appear ladder display Functions NOP 1 No operation instruction that has no influence on the preceding operation 2 Use NOP to 1 Provide space for debugging of a sequence program 2 Delete an instruction without changing the number of steps Change the 138 instruction for NOP 3 Delete an instruction temporarily 2 Sequence Instructions Program Examples NOP 1 Contact short circuit AND ANI 0 LD X8 ti 1 AND Y7 gt 2 ANI Y6 3 OUT Y12 Replaced by NOP 4 END 9 Coding b 0
94. d at D Before WXNR execution 101011101011111011101110 1 1 1 After Y execution 2 Performs the exclusive NOR of the 16 bit data of device specified at 6 and the 16 bit data of device specified at 62 per bit and stores the result into the device specified at D 16 bits Before execution Ater ion 6620000000220 Deo 3 When operation is performed the digits of bit device higher than the specified are regarded as O Execution Conditions The execution conditions of the not exclusive logical add instructions are as shown below LI L Operation OFF command WXNR Executed every Executed every scan scan Executed only once Executed only once 166 7 Application instructions Program Examples WXNR 1 Program which compares the bit pattern of the 16 bit data of X30 to 3F and that of the 16 bit data of D99 and stores the number of the same bit patterns and the number of different bit patterns to D7 and 8 respectively when XC turns on MOOG P Exclusive NOR of the 16 bit data of X30 to WANR XO30 099 and the data of 099 is performed and the result is storec into 099 SUM 099 Com parin g the 1 6 bit of 09 3 the total number af 1 bits is stored into AO um AD 07 Data of AO number of the same bits is stored 77 d into D7 16 08 16 is stored into D amp in n Da Operation of 16 is performed and
95. d at inverter reset or power restoration When the inverter is reset the Pr 506 to Pr 515 values stored in the EEPROM are transferred to the RAM area and D110 to D119 FR PUO4 or RS 485 communication Pr 506 to Pr 515 RAM 01100 0119 EEPROM 38 7 Analog I O function 1 10 Analog function 1 10 1 Analog input Analog input value of termianl 1 2 4 can be read from 09245 to 09247 Device Terminal Setting DataAccess Enable No Unit Condition 09245 Terminal 1 input 0 1 09246 2 input 0 1 Always D9247 Terminal 4 input 0 1 Actual read processing is performed at the END processing of the sequence REMARKS Full scale value of analog input is determined by the setting of Pr 73 Analog input selection Pr 267 Terminal 4 input selection Refer to the inverter instruction manual applied 1 10 2 Analog output Analog output from each terminal can be performed by setting value on D9251 to D9254 Output from PLC function can be performed by setting 7 in output signal selection parameters of each terminal terminal FM 54 terminal 158 terminal AM1 Pr 306 Pr 310 Device Terminal Name Setting Data Access Enable No Unit Condition D9251 Terminal FM 0 1 09252 AM 0 1 Terminal AMO A D9253 FR A7AY 0 1 Always Terminal AM1 5 D9254 0 1 Actua
96. d normally or not 20 2 Stores 1000 10 2 into 09145 W3 and turns on set frequency write OYP K1000 09145 1 E2PROM commana Until completion signal turns on When rewriting the set frequency frequently use device D9144 set frequency RAM There are restrictions on the number of write times of the EEPROM Approximately 100 000 times 28 Inverter Status Monitoring Special Registers onto 4 Alarm definition batch clear D9146 Writing H9696 to D9146 batch clears the alarm definitions At completion of clear the write completion signal X26 turns on and at the same time 0 is set to 09150 If any value outside the setting range is written or write is performed during inverter operation HFFFF is set to D9150 as soon as the write completion signal X26 turns on resulting in abnormal completion If abnormal completion occurs the alarm definitions are not cleared lt Alarm definition batch clear program example gt The following program batch clears the alarm history Alarm definition batch clear request Turns on alarm definition MO batch clear request pulse 4 KO 09150 it Check whether alarm definition Normal write batch clear signal turned on to 09150 oe judge whether write was Abnormal write performed normally or not Wo X26 20 LO Stores H9696 batch clear code to D9146 and turns on alarm 9696 09146 definition batch clear command Until compl
97. dder that restricts the program execution conditions in order The ladder using the nesting structure is as shown below Display in ladder mode Actual operation ladder A MC NO M15 Executed when A turns on B B Ni M16 M16 Executed N1 6 and gt turn on N2 M7 Executed when turn on Executed NCR N2 E unen A and B H MCR 1 MCR Executed D when turns on MCR NO Irrelevant to A and SEQUENCE PROGRAMMING 135 Sequence Instructions N Note the following when nesting the instructions 1 The instructions can be nested to a level of eight NO to 7 When nesting them use MC from lower to higher nesting N numbers and MCR from higher to lower numbers In the opposite order the PLC function cannot perform normal operation since the instructions cannot be nested Display in ladder mode f pe N LI Nesting numbers of MCR are opposite Actual operation ladder a MOR Since buses cross each other normal master control ladder cannot be created 2 When the MCR instructions are gathered in one place in the nesting structure all master controls can be terminated by one lowest nesting N number NO M15 x1 M15 M16 M17 M17 136 M15 X2 Huc M16 2 Sequence Instructions 3 25 10 En
98. e specified at D Before execution After execution 0 110 1 1 0 2 Performs the exclusive OR of the 16 bit data of device specified at 67 and the 16 bit data of device specified at 62 bit and stores the result into the device specified at D 16 bits d Before execution Afer ion 8200002602022 3 When operation is performed the digits of bit device higher than the specified are regarded as 0 Execution Conditions The execution conditions of the exclusive logical add instructions are as shown below Operation OFF command WXOR Executed every Executed every scan scan Executed only once Executed only once 163 SEQUENCE PROGRAMMING Application instructions N Program Examples WXOR 1 Program which performs exclusive OR of the data of D10 and that of D20 and stores the result to D10 when XA turns on u Coding Lp N XOR D20 D10 dice e AXE i 1 WXORP 020 010 6 END 2 Program which performs the exclusive OR of the data of X10 to 1B and data of D33 and sends the result to the Y30 to 3B when XA turns on Exclusive OR of the data of X10 to 1B and the D Le OR X010 D33 data of D33 is performed and the result is stored into 033 033 OS0 Data of 033 is sent to Y30 to 3B Coding 0 LD 1 WXORP K3X010 03 6 MOVP 033 K23YO030 11 END 3 Program which performs
99. e device specified at D and the 16 bit data of the device specified at S on a bit by bit basis and stores the result into the device specified at D 16 bits Before WAND f Q Aft 102 0 0 1 0 0 1 2 0 0 0 0 0 1 0 0 156 7 Application instructions 2 ANDs the 16 bit data of the device specified at 51 and the 16 bit data of the device specified at 62 bit by bit basis and stores the result into the device specified at 16 bits Before execution WAND SP 2 1010 0 1 0 0 1 0 0 0 0 0 0 11010 3 More than the digit designation of a bit device is regarded as 0 for operation Execution Conditions The execution conditions of the logical product instructions are as shown below LI OFF command WAND Executed every Executed every scan scan Executed only once Executed only once Program Examples WAND 1 Program that masks the tenth digit second place from the least significant digit with among the four BCD digits of D10 when XA turns on D10 1234 1204 SEQUENCE PROGRAMMING Coding 0 yp w HOFFOF D10 0 LD 1 WANDP HOFFOF D10 END 6 157 Application instructions N 2 Program that ANDs the X10 1B and D33 data and outputs the result to YO B when XA turns on ANDs X10 1B data and 033 data 0 a ee and stores r
100. e inverter start signal is made valid regardless of the sequence program execution key The inverter start signal is made valid only when the sequence program execution key is set to RUN SQ signal is turned on When the sequence program execution key is in the STOP position SQ signal is off the inverter does not start if the inverter start signal STF or STR is turned on If the key is switched from RUN to STOP during inverter operation the inverter is decelerated to a stop CAUTION elndependently of the Pr 77 setting this parameter value cannot be rewritten during inverter operation eDuring automatic operation performed using D9148 or M9200 to M9211 in the sequence program the inverter comes to a stop when the sequence is set to STOP status with 1 set in Pr4 5 However when 0 is set Pr 4 5 the device data are held and the operation status does not change if the sequence is set to a STOP status Inverter operation is continued REMARKS This parameter setting is also valid for the start signal from the operation panel or FR PUOA FR PUOT PLC FUNCTION 43 44 2 CC Link COMMUNICATION 2 1 2 2 2 3 2 4 System Configuration 46 CC Link Parameters 49 CC Link I O Specifications 50 B lter MGM OLY 57 Chapter 1 Chapter 2 Chapter 3
101. e of input signal SFT SFT 3 Shift 1 bit device shift 131 SFTP P 5 105 SEQUENCE PROGRAMMING Instructions List S 2 g Executi 2 S 4 nstruction on 15 8 Classification Symbol Symbol Processing Conditi 5 5 5 8 Master control start 5 Master 133 control MCR MCR Master control reset 3 Must be written at the end of END sequence program to return to 11137 step 0 2 No For program deletion or space operation NOPLF Line feed instruction for printer 1 output 106 7 Instructions List 3 23 3 Basic instructions Instruction d Classification Symbol Processing 2 312 5 D BOA Continuity when S1 S2 5 16562 Non continuity when 1 52 AN 7 5 _ SS 5 Ds Continuity when 51 52 5 puse Non continuity when S1 S2 B 7 5 ORS 5 D gt E 16 bit data Continuity when S1 gt S2 5 comparison Bus Non continuity when S1 S2
102. e set invalid if set Link range setting None Cannot be set default assignment None Cannot be set default Internal relay latch relay MO to 999 L and S cannot be set step relay setting i L1000 to 2047 Operates as M if set None for S to M63 gt Watchdog timer setting 200ms 10 to 2000ms Timer setting 100ms TO to 199 10ms T200 to 255 100ms timers since only TO to 7 16 points for 100ms 10ms and retentive timers Timers have consecutive numbers are available to 15 gt Counter setting Without interrupt counters 1 E default Remote run pause None Can be set using XO to 1F Otherwise invalid Pause does not function Error time operation mode Fuse blow Continued Setting invalid since there are no fuses verify error Stop Setting invalid since there are no I O modules Operation error Continued Stop Continued Special function module check error Stop Setting invalid since there are no special modules STOP RUN output mode Operation status prior to STOP is re output Prior to STOP after operation execution Print title registration None Cannot be set Keyword registration None Online setting cannot be made but parameter setting is valid REMARKS e The following functions are not supported 1 Constant scan 2 Latch device data backup for power failure 3 Pause 4 Status latch 5 Sampli
103. erforms the division of BIN data specified at 67 the BIN data specified at 62 and stores the result into the device specified at D Quotient Remainder GD 0 _ Ot b 15 b0 b15 ua 9678 BIN 4 BN 2 In regards to the operation result the quotient and remainder are stored by use 32 bits in the case of word device and only the quotient is stored by use of 16 bits in the case of bit device Quotient Stored to the lower 16 bits Remainder Stored to the upper 16 bits Storable only in the case of word device 3 At 6 and 62 32768 to 32767 BIN 16 bits can be specified 4 The judgment of whether the data of 3 2 D and D 1 are positive or negative is made at the highest bit b15 Both quotient and remainder have sign Positive il Negative Execution Conditions scan scan o The execution conditions of the transfer instructions are as shown below ON lt Multiplication division off D Lu 2 Executed every Executed every o _ Executed only once Executed only once Basic Instructions N Operation Errors In the following case operation error occurs and the error flag turns on 1 or V has been specified at D The divisor 62 is 0 Program Examples 1 Program which stores the multiplication result of
104. eries and sequence program capacity in the GX Developer parameters refer to page 4 5 Refer to the GX Developer manual and write the sequence program CAUTION eA sequence program cannot be written with its steps specified If written the sequence program does not run The program outside the specified range is initialized eDo not read the built in PLC function parameters and sequence program without writing them to the inverter once using GX Developer Since the inverter does not have normal data always write the built in PLC function parameters and sequence program once eSince the built in PLC function parameters and sequence program are written to the flash ROM there are restrictions on the number of write times Approximately 100 000 times 7 Function Block Diagram 1 5 5 Setting list of built in PLC function parameter The built in PLC function parameters are designed to specify the ranges of using the PLC function e g program capacity device assignment and various functions Setting Range Item GX Developer Default lt Usable device range gt Sequence Progar 6k steps 1k step capacity File register capacity None Cannot be set default Comment capacity None Cannot be set default Status latch None Cannot be set default Sampling trace None Cannot be set default Cannot be set default capacity Latch range setting L1000 to L2047 Cannot b
105. esentation close to the sequence circuit of relay control 1 Ladder block A ladder block is the minimum unit for performing sequence program operation It starts with the left hand side vertical bus and ends with the right hand side vertical bus Left hand side vertical bus Right hand side vertical bus Step number Ladder blocks to X5 Indicate inputs 10 to Y14 Indicate outputs Fig 3 2 Ladder Blocks 65 SEQUENCE PROGRAMMING Programming Languages N 2 Sequence program operation method Sequence program operation repeats execution from a ladder block at step 0 to an END instruction In a single ladder block operation is performed from the left hand side vertical bus to the right and from the top to the bottom Operation from left to right Beginning of one 10 p gt ladder block 7 8 9 X6 X7 _ H n End of one ladder block Operation from top to bottom Beginning of v Execution one ladder block 11 13 14 Operation from left id right 15 returns to i step 0 when END instruction is to bottom 17 End of one executed Y13 ladder block 12 Operation x9 16 Y12 from top 1 to 17 indicate the sequence of program operation Fig 3 3 Operation Processing Sequence 66 7 Programming Languages 3 4 2 Logic symbolic language List mode The logic symbolic language uses dedicated instru
106. esetting The built in PLC function resets the watchdog timer before execution of step O after execution of END processing When the built in PLC function operates properly and the END instruction is executed within the setting in the sequence program the watchdog timer does not time out If the hardware fault of the built in PLC function occurs or the scan time of the sequence program is too long to execute the END instruction within the setting the watchdog timer times out Sequence program gt Excess of scan time over setting ima results in watchdog timer error 0 END 0 F WDT resetting Internal processing Fig 3 23 Watchdog Timer Resetting 3 Processing performed when watchdog timer times out If the scan time exceeds the watchdog timer setting a watchdog timer error occurs and 1 The built in PLC function turns off all outputs 2 The P RUN LED goes off or flickers 3 M9008 turns on and the error code is stored into D9008 REMARKS The watchdog timer setting can be changed by built in PLC function parameter setting of GX Developer Refer to the GX Developer manual for details 92 7 Self diagnostic Function 3 16 Self diagnostic Function The self diagnostic function diagnoses faults by the built in PLC function itself 1 3 Self diagnostic timing The self diagnostic function is performed at power on at reset at execution of any instruction or at execution of the EN
107. esult to 033 MOVP 033 K3YO Outputs D33 data to YO F Coding 0 LD 1 WANDP K3X10 D33 6 MOVP D33 K3Y0 11 615 614 b13 b12 b11 b10 b9 b7 b3 b2 D33 BIMBI ISI I WAND X19 X18 X17 X16 X15 X14 X13 X12 X11 X10 0 0 0 0 Lip Regarded as Os U 0 0 0 0 1j 0 1 0 0 0 0 0 1 0 0 0 Turn to Os 3 Program that ANDs the X10 1B and D33 data and outputs the result to YO B when XA turns on Coding 0 LD H K3X10 033 K3YO 1 WANDP K3X10 D33 K3YO 8 END X1B X1A X19 X18 X17 X16 X15 X14 X13 X12 X11 X10 WAND L Regarded as Os 615 614 b13 b12 b11 b10 b7 YA YQ Y8 Y6 YS 4 L Remain unchanged 158 7 Application instructions 3 27 3 Logical Operation Instructions 16 bit Logical Add WOR WORP Usable Devices Word 16 bit Bit devices Constants Level Digit Flag devices Designation M9010 X Y M T C D K H N M901 1 5 0 WOR 67 O 1 15 1 K1 to K4 O 62 Operation commands Data to be ORed or head numbers of devices that store data amp amp G9 commands r Head numbe
108. etc can be performed in accordance with the created sequence programs built in the inverter using input data from the control input terminals With the output signals output data can be output to outside the inverter from the control output terminals as not only the inverter s status signals but also pilot lamp on off interlock and other control signals set freely by the user Inverter relays Input signal 5 gt m data 9 O 5 c 5 gt Output signal special registers en 2 PLC Function Specifications 1 2 PLC Function Specifications The following table indicates the program capacity and devices of the PLC function A700 Sequence Section Control method Repeated operation by stored program control method Refresh Relay symbolic language ladder mode Logic symbolic language list mode Programming language PLC instructions 23 58 Basic instructions 32 58 Application instructions 18 Processing speed PLC instruction 1 9us to 12us step 2 128 X 64 points Y 64 points 19 points installed X 12 points Y 7 points 41 Number of I O points FR A7AX X 16 points FR A AY Y 6 points FR A7AR Y 3 points 5 points installed Input 3 points Output 2 points Number of analog I O points FR A7AY output 2 points Watchdog timer 10 to 2000 ms Memory capacity 6k bytes used by sequence and para
109. etion signal turns on Y26 PLC FUNCTION 29 Inverter Status Monitoring Special Registers for Control S 5 Parameter clear D9147 Writing H9696 or H9966 to D9147 clears all parameters Writing H5A5A or H55AA to D9147 clears the parameters other than the communication parameters Refer to the nverter instruction manual applied Device No Setting Description Details H9696 Terminal functions are not cleared All parameter clear Terminal functions are H9966 cleared 09147 Terminal functions are not H5A5A Parameters other than lasted communication parameters Terminal 55 are cleared cleared At completion of clear the write completion signal X27 turns on and at the same time 0 is set to 09150 If any value outside the setting range is written or write is performed during inverter operation HFFFF is set to D9150 as soon as the write completion signal X27 turns on resulting in abnormal completion If abnormal completion occurs the parameters are not cleared REMARKS Check the terminal function parameters and communication related parameters in the parameter list Refer to the nverter instruction manual applied Setting is enabled in the PU operation mode and NET operation mode Refer to the inverter instruction manual applied lt All parameter clear program example gt The following program clears all parameters All par
110. exclusive OR of the data of D10 and that of 020 and stores the result to D33 when XA turns on Coding vail V LO ZIGA Vi IR 01 0 020 033 eels 1 WAORP 010 020 033 8 END 4 Program which performs exclusive OR of the data of X10 to 1B and the data D33 and sends the result to the Y30 to 3B when XA turns on s Coding AUTO P LO 10 WXOR 10 D33 WXORP K3X010 D33 K3Y030 8 END 164 7 Application instructions 3 27 5 Logical Operation Instructions 16 bit NOT Exclusive Logical Add WXNR WXNRP Usable Devices Word 16 bit Bit devices Constants Level Digit Flag devices Designation M9010 X Y M T H N M9011 5 D O O O O O WXNR 67 K1 to K4 O 62 Operation commands Data for which exclusive NOR will be performed or head WXNRP number of device which stores data Operation commands Head number of device which will store the result of exclusive NOR SEQUENCE PROGRAMMING 165 Application instructions N Functions WXNR 1 Performs the exclusive NOR of the 16 bit data of device specified at D and the 16 bit data of device specified at 5 per bit and stores the result into the device specifie
111. execution of that instruction Error code 09008 10 Operation error step 09010 09011 eRefer to page 22 for the error codes 1 5 2 Usable GX Developer functions Parameter or sequence program read write Ladder monitor Device monitor Device test All device memory clear Remote RUN STOP CAUTION Device test Online Debug Device test of Developer be performed but if devices corresponding to control terminal e g STF STR signals are tested the devices turn on in the sequence but the inverter does not perform the corresponding operation 7 Prior to Sequence Program Creation 1 5 3 Sequence program execution key The sequence program execution key STOP RUN of the PLC is switched by turning off on the SQ signal eFor the terminal used for SQ signal input set 50 in any of Pr 178 to Pr 189 to assign the function eSQ SD must be shorted to execute the built in PLC function CAUTION If the SQ signal is not turned on the start signal of the inverter is designed to become valid by the factory setting of Pr 415 Inverter operation lock mode setting Open STOP the SQ signal SD terminals when writing a sequence program for example When executing the sequence program short RUN the SQ signal SD terminals Remote run stop of the built in PLC function can be executed in any of the following methods e Setting using the built in PLC function parameter
112. f program creation it is fixed and cannot be changed during program execution o Bit Specify the device that stores the data to be Word device used for operation Therefore the data must have been stored into the specified device until operation is executed By changing the data stored into the specified device during program execution the data used for that instruction can be changed 4 Destination D The destination stores the data resulting from operation Note that if the format consists of Instruction part Source device Destination device the data to be used for operation must have been stored into the destination before operation At the destination always specify the device for storing data REMARKS 98 In this manual the source and destination are abbreviated as follows 5 SOUL Ce 51 SOUCO 62 Destination D Destination 1 2 Bit Device Processing Method 3 20 Bit Device Processing Method As the processing method when the bit device X Y M is specified 1 bit processing and 16 bit processing using digit designation processing are available 3 20 1 1 bit processing When a PLC instruction is used the device used as the target of operation processing is one bit one point of bit device and multiple bits cannot be specified
113. fts the Y7 data when X8 turns on X8 0 SFIP YOB SFTP Executes shifts when X8 turns Program in order of larger to smaller device numbers SFTP X7 13 lt 8 Turns Y7 when X7 turns M8 17 57 Y7 ON Coding OFF 0 LD X8 X8 1 SFTP YOB 1 4 SFTP YOA X7 7 SFTP Y9 iE OFF 1 13 LD 7 OFF YB OFF 132 2 Sequence Instructions 3 25 9 Master Control Instructions Master control set reset MC MCR Usable Devices Error Bit devices Word 16 bit devices Constants Level Digit Flag Designation M9010 T M9011 MC ON OFF command Set data Nesting NO to 7 Device number to be Device turned Nesting NO to 7 Functions 1 The master control instructions are designed to create an efficient ladder switching sequence program by switching on off the common bus of the ladder The ladder that uses master control is as shown below Display in ladder mode of GPP Actual operation ladder x0 04 Ni XO N1 M0 X1 X3 Q Executed only when 5 5 is on SEQUENCE PROGRAMMING 133 Sequence Instructions N MC 1 When the MC ON OFF command is on at the start of master control the operation results between M
114. h Output Y data memory e Input refresh Before execution of step 0 input data are batch read from the input module 1 and stored into the input X data memory e Output refresh Before execution of step 0 the data of the output Y data memory 2 are batch output to the output module e When input contact instruction is executed Input data are read from the input X data memory 3 and the sequence program is executed e When output contact instruction is executed Output data are read from the output Y data memory 4 and the sequence program is executed e When output OUT instruction is executed The operation result 5 of the sequence program is stored into the output Y data memory Fig 3 6 1 Data Flows in Refresh System 69 SEQUENCE PROGRAMMING Processing Method N 3 6 2 Response delay in refresh system This section describes a delay of an output change in response to an input change An output change in response to an input change has a delay of up to two scans as shown in Fig 2 6 Ladder example 0 pp In this ladder output Y1E turns on when input X5 turns on When turns on earliest Input refresh Input refresh Output refresh 0 END 40 56 ENDY 0 ON Control input 2 NION terminal OFF 5 ON OFF es FF Control output 2 Del terminal gu Minimum 1 scan The output turns on earliest when the control input terminal tur
115. hen there is digit designation on the destination D side the number of points specified by digit designation is the target on the destination side Destination D side Ladder Example Processing When source S data 1 2 3 4 is numerical value I BREEDS GSES X10 E Jb ANON MBM Destination D side ofo EX JE AL _ Remain unchanged 3 4 When source 5 data bir bO is word device X10 gt H Sio 00 K2M100 Mi 08107 MID 1 000000000 a Remain unchanged Fig 3 27 Ladder Examples and Processingse 100 2 Handling of Numerical Value 3 21 Handling of Numerical Value The built in PLC function has instructions that handle numerical values indicated in 16 bits The most significant bit of the 16 bits is used to judge whether the value is positive or negative Therefore the numerical values that can be handled as 16 bits are as follows 16 bits 32768 to 32767 eNumerical value setting method 1 Decimal number X10 0 10 is stored into 010 in BIN X10 0 10 is stored into 010 in BIN 2 Hexadecimal number X10 10 is stored into D10 in 0 oy hexadecimal The decimal notation and hexadecimal notation correspond as indicated below Decimal No
116. inal FR A7AR X10 terminal Y1A X1B X11 terminal Y1B X1C X12 terminal 1 Empty X13 terminal Y1D X1E X14 terminal X1F 1X15 terminal Y1F 10 7 Device ROVIGO Name Remarks 25050 Remarks No No X20 Operation mode setting 09140 Y20 Operation mode setting D9140 read completion read command Set frequency read Set frequency read ed completion RAM idi us command RAM X22 Set frequency read D9142 22 Set frequency read 09142 completion 2 2 Operation mode setting Operation mode setting es write completion DUE TAS write command lee Set frequency write Set frequency write completion BARR 727 X25 Set frequency write D9145 Y25 Set frequency write D9145 completion 2 2 Alarm definition batch Alarm definition batch des clear completion SEIS clear command X27 Parameter cigar D9147 Y27 Parameter clear command D9147 5 completion Parameter read Parameter read request X28 completion RAM 2 28 2 Parameter write Parameter write request 09234 09234 AN completion RAM AP is RAM ns Parameter read Parameter read request X2 completion EEPROM 2
117. ion mode setting write D9143 Data are as follows Data Setting Operation Mode 0000 operation mode 0001 0002 PU operation mode The operation mode switching method is as shown below when the Pr 79 Operation mode selection value 1 0 0000 When 79 2 switching is performed as shown below NET mode H0001 External CC Link 4 mode 0000 REMARKS When Pr 79 is other than 0 the mode is fixed There are no restrictions on operation mode switching On normal completion of operation mode setting the write completion signal X23 turns on and at the same time 0 is set to 09150 If the value written is other than 0000 to 0002 or write is performed during inverter operation HFFFF is set to D9150 as soon as the write completion signal X23 turns on resulting in abnormal completion If abnormal completion occurs the operation mode is not changed lt Operation mode setting write program example gt The following program changes the operation mode to the NET mode 4 Operation mode write setting request XOF Turns on operation mode setting write request pulse 4 2 KO 09150 1 Check whether operation mode lt gt KO X23 PLS 0 Normal write setting write completion signal Pt turned on to judge whether write Abnormal write was performed normally or not
118. l input 91 PID forward action PLC function PID reverse action Measured value Set point input PID forward action PLC function PLC FUNCTION 41 PID control N Device No Name Description ee Set the PID set point or PID D9248 PID set point PID deviation 100 to 100 deviation 0 0195 units o PID measurement value D9249 PID measurement value 0 to 100 0 0196 units Stores the PID manipulated 0 PID operation stop D9255 PID operation control 1 PID operation start CAUTION e The PID set point PID deviation value of D9248 automatically switches over by Pr 128 setting e f Pr 128 is set to deviation input 70 71 90 91 setting value of PID process value D9249 is made invalid e Operates in the maximum value the minimum value of the setting range if the value outside the range is set 42 7 Inverter Operation Lock Mode Setting 1 13 Inverter Operation Lock Mode Setting You can disable a sequence program from being executed until the sequence program execution key is set to RUN SQ signal is turned on When you want to perform only inverter operation without using the PLC function set 0 inverter start signal enable this parameter initial Setting Minimum Setting nane Setting Range Unit 415 Inverter operation 0 0 1 lock mode setting Setting Description 0 Th
119. l read processing is performed at the END processing of the sequence REMARKS High speed pulse train output 291 from terminal FM can be performed Refer to the inverter instruction manual applied 39 PLC FUNCTION Paluse train input function N 1 11 Paluse train input function Pulse train the number of sampling pulses from terminal JOG is stored to D9236 When the sampling pulses overflow make adjustment with the setting of Pr 416 and Pr 417 The number of sampling pulses the number of input pulses per count cycle x Pre scale setting value 417 x increments scaling factor Pr 4 6 Parameter Name Du Sening Description Value Range 291 Pulse train input 0 0 10 20 Terminal JOG selection 1 11 21 100 Pulse train input Pre scale function selection increments scaling factor 0 No function 416 function 0 0to5 1 x1 selection 2 0 1 3 x0 01 4 x0 001 5 x0 0001 Set the pre scale value to calcute the 417 po SOng 1 to 32767 number of sampling pulse when cad inputting the pulse train Device No Name Setting Description Range D9236 Pulse train input sampling 0 to 32767 The number of pulses counted in pulse count cycle is stored D9237 Pulse train input cumulative count value L 0 to The cumulative value of the number Pulse train input cumulative 99999999 sampling pulses is stored D9238 coun
120. ls gt b15 to b8 b7 to bO D9136 Error history 2 Error history 1 D9137 Error history 4 Error history 3 Newer 09138 Error history 6 Error history 5 D9139 Error history 8 Error history 7 Older Refer to the Inverter instruction manual applied for alarm definition details PLC FUNCTION 21 Inverter Status Monitoring Special Registers for Control S Alarm definition read program example The following program reads the latest alarm definition of the inverter to DO Alarm definition read request XOF Stores only the lower 8 bits iH WANDP D9136 HOFF D of error history 1 2 D9136 into DO The latest error information is stored into DO Regarding the error No and details of the self diagnostic errors During execution of a sequence program any of the following error No is stored into 09008 due to an operation error At occurrence of a self diagnostic error the P RUN indication LED flickers Error No Error Name Details 10 INSTRCT CODE ERR There is an instruction code that cannot be decoded Unusable device is specified Main program capacity setting is over 1k step Unusable function is set 22 WDT ERR Scan time is longer than the time that can be monitored by the watchdog timer 24 END NOT EXECUTE END instruction was not executed 11 PARAMETER ERR CAUTION 11111111 1 For the LD AND OR logical c
121. meters Program capacity 1k step Internal relay M 64 MO to M63 Latch relay L None Can be set with parameters but will not latch Step relay S None Can be set with parameters but will operate as M Link relay B None Points 16 Timer T 100ms timer Set time 0 1 to 3276 7s TO to T15 Specifications 10ms timer Set time 0 01 to 327 67s 100ms retentive timer Set time 0 1 to 3276 7s Points 16 Counter m Normal counter Setting range 1 to 32767 CO to C15 8 Specifications Interrupt program CoU el None a Data device D 120 00 to D119 Link register W None Annunciator F None File register R None Accumulator A None Index register Z V None Pointer Interrupt pointer None Special relay 256 M9000 to 9255 with function limit Special register 0 256 09000 to 9255 with function limit 1 These signals use the same terminals as used by the input and output signals given in the common specifications of the inverter One point is always necessary for a sequence start RUN STOP 2 As inverter control is also performed actually the scan time is approximately 40ms at 500 steps System Configuration 1 3 System Configuration The following shows the system configuration for use of the PLC function lt System configuration example gt GX Developer Programming tool 0 4 9 0 3 phase AC
122. nd outputs the result to YO F when XA turns on l D33 and stores MOVP 033 4 0 Outputs D33 data to YO F Coding 0 LD 1 WORP K3X10 D33 6 MOVP 033 KAYO 11 END 3 Program that ORs the D10 and D20 data and stores the result into D33 when XA turns on Coding 0 LD 0 1010 020 033 1 WORP 010 020 033 8 END 4 Program that ORs the X10 1B 033 data and outputs the result to YO B when XA turns on Coding 0 LD 0 0 033 K3YO 1 WORP K3X10 D33 K3Y0 8 END SEQUENCE PROGRAMMING Application instructions N 3 27 4 Logical Operation Instructions 16 bit Exclusive Logical Add WXOR WXORP Usable Devices Bit devices more oon Constants Level Digit Flag oT Designation T Ain 5 D 6 K1 to K4 O 62 OO 0 6 162 Data for which exclusive OR will be performed or head number of device which stores data 9 Head number of device which will store the result of exclusive OR 7 Application instructions Functions WXOR 1 Performs the exclusive OR of the 16 bit data of device specified at D and the 16 bit data of device specified at S per bit and stores the result into the devic
123. ng trace 6 Offline switch elf parameter clear of the inverter is performed the above built in PLC function parameters are not cleared eFor the built in PLC function parameter setting operation refer to the GX Developer Operating Manual PLC FUNCTION Device N 1 6 Device Map 1 6 7 I O device Device Device Name Remarks Name Remarks No No X00 terminal YOO IRUN terminal X01 ISTR terminal 01 SU terminal X02 IRH terminal 02 JOL terminal X03 RM terminal YO3 terminal terminal X04 RL terminal YOA terminal X05 JOG terminal External YO5 ABC1 terminal X06 RT terminal terminal 06 2 terminal s X07 AU terminal 07 X08 CS terminal 08 lt X09 MRS terminal 09 terminal YOA RES terminal YOB YOC Empty YOD XOE YOE XOF YOF X10 terminal Y10 DOO terminal X11 X1 terminal 11 terminal X12 X2 terminal Y12 DO2 terminal Dgital X13 terminal Y13 terminal output X14 terminal Y14 004 terminal FR A7AY O X15 Xd terminal Y15 DO5 terminal 5 X16 terminal 16bit Y16 DO6 terminal 17 terminal digital 17 terminal E X18 X8 terminal Input Y18 RA2 terminal output X19 terminal FR A AX v19 term
124. ns from OFF to ON immediately before a refresh X5 turns on at an input refresh Y1E turns on at step 0 and the control output terminal turns on at an output refresh after execution of the END instruction In this case therefore a delay of a control output terminal change in response to a control input terminal change is one scan When turns on latest Input refresh Input refresh Output refresh NO END O 56 ENDy 0 ON Control input OFF DE terminal 5 Y1E 0042 Control output OFF terminal Delay Maximum 2 scans The Y1E output turns on latest when the control input terminal turns from OFF to ON immediately after a refresh X5 turns on at the next input refresh Y1E turns on at step 0 and the control output terminal turns on at an output refresh after execution of the END instruction In this case therefore a delay of a control output terminal change in response to a control input terminal change is two scans Fig 3 7 Output Y Change in Response to Input X Change 70 7 Scan Time 3 7 Scan Time 1 Scan time A scan time is a time from when sequence program operation is executed from step 0 until step 0 is executed again The scan time of each scan is not equal and changes depending on whether the used instructions are executed or not Scan time 0 END 0 ft SSSR U _ E uy Sequence program END processing Timer counter count proces
125. o RUN STOP the Built in PLC Function from Outside Re mote RUN STOP J een EE E 90 3 15 Watchdog Timer Operation clog up monitor timer 92 3 16 Self diagnostic Function 93 3 16 1 Error time operation mode nennen 94 3 17 Keyword Registration 2 1 95 3 18 Setting of Output Y Status at Switching from STOP Status to RUN Ec rice 96 2 19 Instruction Format 97 3 20 Bit Device Processing Method 99 9 20 T ass oi idet s 99 3 20 2 Digit designation processing 99 3 21 Handling of Numerical Value 101 3 22 ODeratlon ETO 102 3 23 Instructions 5225420 ar plos a rh sa 103 3 23 1 How to use the instruction 5 103 3 232 SOQuence dioec aera E uu uso eoe Cun 105 9 29 9 Basic Inst Vellolds 107 S234 APDIIGATION WISI UC HORIS 109 3 24 Description of the Instructions 110 3 25 Sequence Instructions cesser sees 111
126. omparison operation and OUT instructions device checks are always made For the other instructions SET RST MOV etc however device checks are made when the execution condition holds 2 Operation at error stop The outputs Y are cleared The other devices hold the states prior to an error stop When you want to clear them power off or reset short RES SD 0 1s then open the inverter 22 Inverter Status Monitoring Special Registers for Control 1 7 2 Data that are read by controlling OFF to ON the read command You can read the operation mode and set frequency of the inverter Device Write Data Access No Command Completion Enable Condition 09140 mode setting read Y20 X20 09141 Set frequency read RAM Y21 X21 Always 09142 Set frequency read EEPROM Y22 X22 Data are stored into the above data devices as soon as the read completion turns from off to on after the read command has turned from off to on If the read command remains on data is not refreshed Data is not updated Turn the device off once then on again to refresh data Data read timing chart 3 In user sequence ON of read completion 1 Read command is turned is confirmed and data is read from special on in user sequence register and processed 4 After completion of read read command is turned off Y2n n 0 to 2 Read command Read completion Read data
127. on Lock Mode Setting 43 CONTENTS 2 CC Link COMMUNICATION 45 2 1 46 2 1 1 System configuration 46 Zila Function DIOCK GIAG FANN 47 2 2 CC Link Parameters 49 2 2 1 Extended Setting Pr 544 49 2 3 CC Link Specifications 50 2 4 BUTTER MEMO 57 2 4 1 Remote output signals Master module to 57 2 4 2 Remote input signals 544 100 Inverter FR A7NC to master 58 2 4 3 Remote registers Pr 544 100 Master module to 59 2 4 4 Remote registers Pr 544 100 Inverter FR A7NC to master 60 3 SEQUENCE PROGRAMMING 61 3T OVEVICW ETT URS 62 3 1 1 Outline of Operation Processings 62 3 2 and STOP Operation Processings 64 2 9 Program Makeup uoa cua Ci aep HS E 64 3 4 Programming Languagges eere een 65 3 4 1 Relay symbolic language Ladder
128. ores 3000 30Hz into 09144 and turns on set frequency write K3000 09144 command Until completion signal turns 27 PLC FUNCTION Inverter Status Monitoring Special Registers for Control S 3 Set frequency EEPROM D9145 The D9145 data is written to the EEPROM as a set frequency The unit is 0 01Hz For example 6000 indicates 60 00Hz When the speed is set the speed is either 1r min or O 1r min The range where the frequency can be set is 0 to 12000 0 to 120 00Hz When the frequency setting is written normally the write completion signal X25 turns on and at the same time 0 is set to 09150 If any value outside the range is written HFFFF is set to D9150 as soon as the write completion signal X25 turns on resulting in abnormal completion If abnormal completion occurs the set frequency is not changed Setting is enabled in the PU operation mode and NET operation mode Refer to the nverter instruction manual applied Set frequency write EEPROM program example The following program changes the set frequency EEPROM to 10Hz 4 Set frequency write E7PROM setting request E ii PLs 1 Turns on set frequency write request pulse 4 HOE 09150 Check whether set frequency Normal write write completion signal J e turned on to judge whether write Abnormal write was performe
129. ormed in the sequence program can also be monitored using Pr 506 to Pr 515 Device neue Initial Setting Minimum Setting Parameter Data Access No No Value Range Unit D110 to User 0 to Always D119 95940249 parameters 65535 enabled Inverter parameters PLC function devices Pr 506 to Pr 515 D110 to D119 POINT Example of using the user parameter area When the timing is to be changed for machine adjustment using D110 that stores the timer setting setting Pr 506 without modifying the program enters the set data into D110 enabling adjustment 1 9 1 User parameter read write method User parameter Pr 506 to Pr 515 and device D110 to D119 data be read written freely Data transfer between Pr 506 to Pr 515 D110 to D119 is executed automatically 1 User parameter write processing When values are written to Pr 506 to Pr 515 using the 04 or computer link communication they are written to the parameter storing RAM area and EEPROM area and further to D110 to D119 simultaneously 2 User parameter read processing When values are written to D110 to D119 from the PLC function side they are written to the parameter storing RAM area Pr 506 to Pr 515 and read using the FR PUOA FR PUO7 or communication RS 485 or communication option Since data are not written to the EEPROM making power on reset returns the data to the original values 3 Processing performe
130. ouble PLC function Occupies one station quadrople PLC function CC Link COMMUNICATION 49 CC Link I O Specifications N 2 3 CC Link I O Specifications 2 3 1 signal when CC Link Ver 1 one station is occupied Pr 544 100 The device points usable in CC Link communication are 32 input RX points 16 points are available for PLC function 32 output RY points 16 points are available for PLC function 4 remote register RWr points and 4 remote register RWw points 1 Remote I O PLC Remote function input device i device No 32 33 34 35 36 37 38 39 B No Forward rotation command X30 Reverse rotation command High speed operation Running X32 terminal RH function 4 X RXn2 terminal RUN function 2 Middle speed operation 5 commanda RAN emina SU acion 2 terminal RM function 1 Low speed operation X34 command X ANg e aian 2 terminal RL function 1 Jog operation command Instantaneous power failure terminal JOG function 1 terminal IPF function 2 Frequency detection terminal FU function 2 Current input selection Error terminal AU function 1 terminal ABC1 function 2 Selection of automatic restart after X38 RYn8 instantaneous power failure RXn8 1 terminal ABC2 function 2 terminal CS function 1 Pr 313 assignment function X39 RYn9 Output stop RXn9 DOO Start self holding selection Pr 314 assignment function terminal STOP function 1 DO1
131. r of device that will store result of logical add Functions WOR 1 ORs the 16 bit data of the device specified at D and the 16 bit data of the device specified at S on a bit by bit basis and stores the result into the device specified at D SEQUENCE PROGRAMMING 16 bits serre 011011 opr WOR execution execution 159 Application instructions N 2 ORs the 16 bit data of the device specified at 67 and the 16 bit data the device specified at 62 bit by bit basis and stores the result into the device specified at 16 bits v WOR Before execution After execution 01 3 More than the digit designation of a bit device is regarded as 0 for operation Execution Conditions The execution conditions of the logical add instructions are as shown below ON Operation command OFF WOR Executed every Executed every scan scan iiem Executed only once Executed only once Program Examples WOR 1 Program that ORs the D10 and D20 data and stores the result into D10 when XA turns on Coding al 0 LD 020 010 1 WORP 020 010 6 END 160 7 Application instructions 2 Program that ORs the X10 1B and D33 data a
132. rahend or head device number storing addend subtrahend Head device number storing augend minuend Augend minuend or head device number storing augend minuend Addend subtrahend or head device number storing addend subtrahend Head device number which will store the operation result SEQUENCE PROGRAMMING 145 Basic Instructions N Functions 1 Performs the addition of BIN data specifies at D and the BIN data specified at S and stores the addition result into the device specified at D IE Pus 2 Performs the addition of BIN data specified at 67 the BIN data specified at 62 and stores the addition result into the device specified at D _ D 3 At S 67 62 and D 32768 to 32767 BIN 16 bits can be specified 4 The judgment of whether the data of S 67 62 and D are positive or negative is made at the highest bit b15 O usus Positive gem Negative 5 When the Oth bit has underflown the carry flag does not turn on When the 15th bit has overflown the carry flag does not turn on 146 7 Basic Instructions Functions 1 Performs the subtraction of BIN data specifies at D and the BIN data specified at S and stores the subtraction result into the device specified at D PRATER RRRARBMRAARARARRATEE IE 2 Performs the subtraction of BIN dat
133. re anser po p pa pt X Transfer After transer O 1 0 0 1 0 1 1 0 0 1 1 0 0 1 1 1 Execution Conditions The execution conditions of the transfer instructions are as shown below 153 SEQUENCE PROGRAMMING Basic Instructions S ON Transfer ROC EN command MOV Executed every Executed every scan scan MOVP Executed only once Executed only once Program Examples MOV 1 Program that stores the input XO B data into D8 Coding 0 K3X0 08 0 LD M9036 1 K3X0 D8 6 END 2 Program that stores 155 into D8 in binary when X8 turns Coding 0 LD X8 3 K155 08 1 MOVP K155 D8 6 END 154 7 Application instructions 3 2 Application instructions Application instructions are used when special processing is required 3 27 1 Logical Operation Instructions 1 The logical operation instructions are instructions which perform the logical operations such as logical add and logical product 2 The logical operation instructions are available in the following 10 types Classification instrueuon Classification Classification i WAND WXOR 2 s NEG Exclusive OR complement VATIC WXORP Sign reversal NEGP WOR Exclusive WXNR Logical add WORP NOR WXNRP REMARKS The logical operation instructions perform the following processings in unit
134. registers Pr 544 100 Master module to inverter FR A7NC e Data to be sent to the remote registers RWW of the remote device station are e Four words are used for each station t qp UM I m SEM E ee Remote registers RWw L eee eB eB ee eB eB eB eB e Be ld Master station Addresses 1 For station J 1E1H No 1 1 2 1 1 4 For station 1 No 2 1E6H 1 1 8 For station 1 9 No 3 1 1 4 1 1 For station 1EDu 1 1 to 20 64 20 2DCH For station 2DDud 20 FR A700 series Remote device station Station No 1 1 station occupied Ll e e m Inverter L e e e Correspondences between Master Station Buffer Memory Addresses and Station Numbers Buffer Buffer Buffer Buffer 2 Address Address Address Address 1 1 to 1E3H 17 220H to 223H 33 260H to 263H 49 2A0H to 2A3H 2 1E4H to 1E7H 18 224H to 227 34 264 to 267 50 2A4H to 2A7H 3 1E8H to 1EBH 19 228H to 22BH 35 268H to 26BH 51 2A8H to 2ABH 4 1ECH to 1EFH 20 22CH to 22FH 36 26CH to 26FH 52 2ACH to 2AFH 5 1FOH to 1F3H 21 230H to 233H 37 270 to 273 53 2 to 2B3H 6 1 4 to 1F 7H 22 234H to 237H 38 274 to 277H 54 2 4 to 2B7H T 1F8H to
135. resulting in abnormal completion If abnormal completion occurs the parameters are not written For example if an error occurs in the torque boost H8000 is written to D9150 For whether inverter parameter write can be performed or not refer to Pr 77 Parameter write selection Inverter parameter write must be performed in the PU operation mode or NET operation mode Refer to the inverter instruction manual applied 36 7 Inverter Parameter Read Write Method nverter parameter data write timing chart 1 In user sequence user data 4 After confirmation of write are stored into parameter write 2 Write command is turned completi pletion write command Y29 Y2B Parameter we write command X29 X2B i 79 Parameter P Y write completion TENE NU uum x Parameter write data data 3 Turns on when inverter CPU completes inverter 5 Inverter CPU confirms parameter data write that write command is 0 written to D9150 indicates normal completion off and turns off write Any value other than 0 indicates abnormal completion completion PLC FUNCTION 37 User Area Read Write Method N 1 9 User Area Read Write Method Inverter parameters Pr 506 to Pr 515 can be used as user parameters Since this parameter area and the devices used with the PLC function D110 to D119 are accessible to each other the values set in Pr 506 to Pr 515 can be used in a sequence program The result of operation perf
136. rror history 1 2 D9137 Error history 3 4 Store the errors that occurred in the inverter in order 21 09138 Error history 5 6 of occurrence D9139 Error history 7 8 D9140 i del mode Stores the current operation mode 23 setting read Set frequency 2 09141 read RAM Reads and stores the set frequency RAM 24 Set frequency o 09142 Reads and stores the set frequency EEPROM 24 5 read E2PROM quency 7 2109143 OE Sets a new operation mode 26 setting write T Set frequency i 09144 write RAM Sets the running frequency RAM 27 pogas 9 setsthe running frequency EEPROM 28 write E2PROM 29146 Alarm definition Write H9696 to clear the error history 29 batch clear H9696 write Parameter clear H9966 write All clear H5A5A write Parameter clear except communication D9447 P terc parameters Y H55AA write All clear except communication id parameters During GX Developer communication perform clearing by H5A5A or H55AA 15 gt e PLC FUNCTION Device N peak value Number Name Description Page Turn on off the corresponding bits to control the inverter operation status The initial value All 0 When M9255 is off this device does not function 15 12 11 8 7 B4B3 BO OFF i Invalid STF
137. s Upper8 Lower 8 Address Description Bits Bits RWwn monte money First monitor value code 2 code 1 Set frequency Second monitor 0 01Hz increments value Link parameter Instruction Reply Reply expansion code2 code setting Wwnt Write data Read data RWwn 4 Monitor code 3 Third monitor value RWwn 2 A A Wwnt Monitor code 4 Fourth monitor value RWwn 6 Monitor code 5 Fifth monitor value Wwn Monitor code 6 Sixth monitor value Alarm Alarm Alarm RWwn 8 definition HOO RWrn 8 definition definition No No data PID set point Alarm definition iiid 0 0196 increments 1 output frequency PID measured value Alarm definition 0 01 increments 1 output current PID deviation Alarm definition ee 0 01 increments 1 output voltage toruge command limit Alarm definition Pe 0 01 increments energization time Wwn E HOO HOO Free RWwn F When Pr 128 50 51 60 61 they are valid A A N A ELI per 1 CC Link COMMUNICATION 55 CC Link I O Specifications Description PLC function PLC function TT SONS Address Lower 8 NS Address Description its Bits D9067 RWwn 15 D9083 RWrn 15 D9068 RWwn 16 Registers designed to 09084 RWrn 16 Registers designed D9069 RWwn 17 read data received D9085 RWrn 17 to write data to be from the master sent to the master station
138. s of one bit i E Classification Processing Expression A B Y 0 0 0 Set to 1 only when both inputs A a 0 1 0 1 Set to 0 otherwise ae 1 0 0 1 1 1 0 0 0 Set to 0 only when both inputs 0 1 1 is Logical add and B are 0 Set to 1 to 1 2 otherwise 0 1 1 1 lt 0 0 0 Set to 0 when inputs _ _ 0 1 1 Exclusive OR equal Set to 1 when they are Y A B AB different 1 0 9 1 1 0 Set to 1 when inputs A and are Exclusive NOR equal Set to 0 when they Y A B A B different 1 0 0 1 1 1 155 Application instructions N 3 27 2 Logical Operation Instructions 16 bit Logical Product WAND WANDP Usable Devices Word 16 bit Bit devices Constants Level Digit Flag devices Designation M9010 X Y M T C D K H N M901 1 D WAND 51 K1 to K4 O 62 Operation commands Data to be ANDed or head numbers of devices that store data Operation commands Head number of device that will store result of logical product amp Functions WAND 1 ANDs the 16 bit data of th
139. sing Self diagnostic checks Fig 3 8 Scan Time 2 Scan time confirmation a The scan time from the END instruction to the next END instruction is timed in the PLC and stored into the special registers D9017 to D9019 in units of 10ms 1 Data stored into special registers D9017 to D9019 e D9017 Minimum value of scan time e 09018 Present value of scan time e D9019 Maximum value of scan time 2 Scan time accuracy The accuracy of the scan time observed in the PLC is 10ms For example when the D9018 data is 5 the actual scan time is 40ms to 60ms SEQUENCE PROGRAMMING 71 Numerical Values Usable Sequence Program S 3 8 Numerical Values Usable in Sequence Program The built in PLC function represents numerical values alphabets and other data in two statuses 0 OFF and 1 ON The data represented by these 0 and 1s are called BIN binary code The built in PLC function can also use HEX hexadecimal code that represents BIN data in blocks of four bits Table 2 1 indicates the numerical representations of BIN HEX and decimal code Table 3 1 Numerical Representations of BIN HEX and Decimal Code DEC HEX BIN Decimal Code Hexadecimal Code Binary Code 0 0 0 1 1 1 2 2 10 3 3 11 9 9 1001 10 A 1010 11 B 1011 12 C 1100 13 D 1101 14 E 1110 15 F 1111 16 10 10000 17 11 10001 47 2F 101111 72 7 Numerical Values Usable Sequence Program
140. t value H D9239 Reset request of pulse train 0 Not clear input count 1 Count clear Count start of the pulse train 0 Stop counting 09240 input 1 Start counting 40 2 PID control 1 12 PID control With PLC function PID set point PID deviation value PID process value can be set by setting Pr 128 Performing the PID operation using the value of D9248 and D9249 as PID set point PID deviation value PID process value manipulated variable is stored to D9250 When performing PID control with PLC function 1 is set on D9255 instead of X14 signal PID set point PID deviation 09248 PID manipulated variable D9250 PID control or Inverter frequency setting PID measurement D9249 value Parameter Name i setting Description Value Range PID reverse action Deviation value 11 PID forward action Signal ne terminal 1 PID reverse action Measured value terminal 4 PID forward action Set point terminal 2 or Pr 133 PID reverse action Deviation value signal input LONWORKS PID forward action CC Link communication 0 PID reverse action Measured value set point input PID action selection PID forward action LONWORKS CC Link communication PID reverse action Deviation value signal input 71 PID forward action PLC function 80 PID reverse action Measured value Set point 81 PID forward action PLC function 07 PID reverse action Deviation value signa
141. tact 1 2 3 gt OR 4 OUT Y10 END Coho gt gt ce UJ 3 The symbol of ORB is not a contact symbol but a connection symbol 4 ORB can be written up to seven instructions eight blocks consecutively If ORB is written consecutively more than the above the PLC cannot perform normal operation 118 2 Sequence Instructions Program Examples ANB Though there are the following two different program coding methods for connecting ladder blocks in series consecutively use the coding example 1 0 X2 X4 X6 X8 0 M7 X X3 X5 X7 X9 Coding example 1 Coding example 2 0 LD 0 0 LD X0 1 OR X1 1 OR X1 2 LD X2 2 LD X2 3 OR X3 3 OR X3 4 ANB 4 LD X4 o LD X4 5 OR 5 6 OR 5 6 6 1 ANB 1 OR X1 8 X6 8 LD X8 9 OR 7 9 OR 9 10 10 11 LD X8 11 ANB 12 OR X9 12 ANB 13 ANB 13 ANB 14 M7 14 OUT M7 15 END 15 END ORB Though there are the following two different program coding methods for connecting ladder blocks in parallel consecutively use the coding example 1 i Coding example 1 Coding example 2 0 LD 0 LD X0 z x3 1 AND X1 1 AND X1 pe 2 LD X2 2 LD X2 lt i 3 X3 i 4 ORB 5 LD X4 5 AND y 5 X6 x7 6 AND 5 6 LD X6 m 7 ORB 7 AND X7 8 LD X6 8 ORB 9 AND X7 9 ORB 10 ORB 10 ORB 7 11 OUT M7 11 OUT M7 12 END 12 END 119 Sequence Instru
142. tation Hexadecimal Notation 32767 H7FFF to to 5 0005 4 0004 2 3 0003 2 0002 1 0001 0 0000 1 2 HFFFE o 3 HFFFD 4 HFFFC 5 HFFFB to to 32768 H8000 Operation Error 3 22 Operation Error When a basic instruction is used an operation error will occur in the following case If any error described in the description of the corresponding instruction occurs Note that if the device designation range is outside the corresponding device range an operation error does not occur and data is written to other than the specified device Lt M50 to M65 are the targets but actual 0 50 setting range is to M63 and error occurs since M64 and M65 do not exist 1 Error processing If an operation error occurred at execution of a basic instruction the error flag turns on and the error step number is stored into the error step storage register M9010 Turns on at an operation error and turns off if the next basic Error flag J instruction is normal 9011 Turns at the first operation error 4 D9010 Stores the first step number of the instruction where an operation Error step error occurred storage register D9011 Stores the first step number of the instruction where an operation error occurred first 1 D9011 stores the step number of the instruction where an operation error occurred when M9011 turned from
143. ter Parameter Read Write Method N 1 8 2 Writing the inverter parameters Data Access Enable Device No Name Command Completion Condition Operation mode D9241 Parameter number RAM D9242 Parameter description RAM D9234 Second parameter changing mee A iE RAM 09243 Parameter number EEPROM Parameter description 09244 EEPROM E NET operation mode 59235 Second parameter changing as in Pr 77 EEPROM Parameter writing is performed when the parameter number is stored to D9241 D9243 and parameter writing value to D9242 D9244 and turns ON the Y29 Y2B When writing is completed X29 X2B turns ON to notify the completion The device number within parentheses is used to write the parameter setting value to EEPROM When writing the calibration parameter Pr 902 to Pr 939 set the following value to D9234 D9235 to write each calibration parameter value 0 Setting value Frequency Toruque 1 Parameter set analog value 2 Analog value input from terminal As soon as the inverter parameter write completion X29 RAM or X2B EEPROM turns on 0 is set to D9150 on normal completion If an error occurs during access to the parameters e g if any value outside the setting range is written or write is performed during inverter operation the value of parameter No H8000 is set to D9150 as soon as the write completion signal X29 RAM or X2B EEPROM turns on
144. th built in PLC function parameters but will not latch Step relay S None Can be set with built in PLC function parameters but will operate as M Link relay B None Points 16 TO to T15 Timer T 100ms timer Set time 0 1 to 3276 7s Specifications 10ms timer Set time 0 01 to 327 67s 100ms retentive timer Set time 0 1 to 3276 7s Points 16 CO to T15 Counter C daz t Normal counter Setting range 1 to 32767 Specifications Interrupt program counter None Data device D 120 D0 to D119 Link register W None Annunciator F None File register R None Accumulator A None Index register Z V None Pointer P None Interrupt pointer 1 None Special relay M 256 M9000 to 9255 with function limit Special register D 256 D9000 to 9255 with function limit 75 SEQUENCE PROGRAMMING Description of devices N 3 9 2 Inputs Outputs X Y Inputs and outputs are devices designed to transfer data between the inverter and external devices Inputs provide ON OFF data given to the corresponding control input terminals from outside the inverter In a program they are used as contacts normally open normally closed contacts and the source data of basic instructions Outputs are used when the operation results of a program are output from the control output terminals to outside the inverter Pushbutton switch velar Signal lamp Sele
145. tion Indicates the destination of the operation result Indicates the source of the data for the operation 103 SEQUENCE PROGRAMMING Instructions List S 4 Indicates the operation S D Indicates 16 bits Indicates the condition of execution for each instruction as described below Symbol Execution Condition The instruction is always executed independently of whether its preceding No entry condition is on or off When the preceding condition is off the instruction is off The instruction is executed continuously only while its preceding condition is on When the preceding condition is off the instruction is not executed and not processed The instruction is executed once only when the preceding condition turns from off to on If the condition remains on after that the instruction is not executed and not processed The instruction is executed continuously only while its preceding condition is off When the preceding condition is on the instruction is not executed and not processed The instruction is executed once only when the preceding condition turns from on to off If the condition remains off after that the instruction is not executed and not processed D nes Indicates the number of program steps required for each instruction The number of steps that changes depending on conditions is two 104 7 Instructions List 3 23 2
146. tion division P Usable Devices bi Error Fla Bit devices Mera d ui Constants Level Digit 3 devices Designation 9010 X T H N M9011 O O K1 to K4 O O Multiplication division commands Instruction symbol in Setting data Multiplicand dividend or 67 head device number storing multiplier dividend Multiplicand divider or 62 head device number storing multiplier divider Head device number which will store the result SEQUENCE PROGRAMMING 149 Basic Instructions N Functions x 1 Performs the multiplication of BIN data specified at 67 and the BIN data specified at 62 and stores the multiplication result into the device specified at D 52 1 15 6 31 16 5678 58m BIN w k 7006652 BIN 2 When is a bit device specify the bits beginning with the lower bits Example K1 Lower 4 bits bO to Lower 16 bits to 15 3 At 67 62 32768 to 32767 BIN 16 bits can be specified 4 The judgment of whether the data of 67 62 are positive or negative is made at the highest bit 615 and that of 0 at 631 0 Positive Negative 150 7 Basic Instructions 1 P
147. us of output terminal function set in 320 is stored 1 M9233 Inverter status RA2 Status of output terminal function set in Pr 32 is stored 1 M9234 Inverter status RA3 Status of output terminal function set in 322 is stored 1 Select the inverter status control command from M9200 M9255 Inverter operation status to M9211 or D9148 control selection OFF Special relay selection ON Special register selection 1 Even if the FR A7AY FR A7AR is not mounted Pr 313 to Pr 322 are accessible during PLC function operation and status of output terminal functions are stored in each device virtual output terminal 13 gt e PLC FUNCTION Device N 1 6 5 Special registers The special registers are data registers with special applications and therefore data should not be written to the special registers in the program Number Name Description Page Self diagnostic Stores the self diagnosed error number in BIN Refer D9008 22 error to page 22 for the error codes eror Stores the step number BIN at which an instruction D9010 EE execution error occurred After that data is updated each time operation error occurs Stores the step number in BIN at which an instruction D9011 Operation error error occurred Since data is stored into D9011 when m step M9011 turns from off to on D9011 data is not updated unless
148. value as an operation result The symbol of ANB is not a contact symbol but a connection symbol ANB can be written up to seven instructions eight blocks consecutively If ANB is written consecutively more than the above the PLC cannot perform normal operation ORB 1 ORs blocks A and B and uses the resultant value as an operation result 2 ORB connects in parallel the ladder blocks of two or more contacts Use OR or ORI to connect in parallel the ladder blocks of only one contact 1 2 3 gt gt OR 4 QUT 10 END J cho gt gt ce UJ 3 The symbol of ORB is not a contact symbol but a connection symbol 4 ORB can be written up to seven instructions eight blocks consecutively If ORB is written consecutively more than the above the PLC cannot perform normal operation 115 SEQUENCE PROGRAMMING Sequence Instructions N Program Examples ANB Though there are the following two different program coding methods for connecting ladder blocks in series consecutively use the coding example 1 X2 X4 X6 X8 0 X3 X5 X7 X9 Coding example 1 Coding example 2 0 LD 0 0 LD X0 1 OR X1 1 OR X1 2 LD X2 2 LD X2 3 OR X3 3 OR X3 4 ANB 4 LD X4 o LD X4 5 OR 5 6 OR 5 6 6 1 ANB 1 OR X1 8 X6 8 LD X8 9 OR 7 9 OR 9 10 10 11 LD X8 11 ANB 12 OR 9 12 ANB 13 13 14 OUT 14 OUT 7 15 15
149. ze When the operation result up to the OUT instruction turns from ON to OFF the timer operates as indicated below Timer Present Before Time out After Time out Timer Type Value of N O NIC Timer contact contact contact contact 100ms ti 4 OFF 0 Energize Energize 10ms timer energize energize OFF Maintained net Energize Energize NOI retentive timer energize energize 3 4 5 6 After a time out the contact state of the retentive timer remains unchanged until the RST instruction is executed A negative number 32768 to 1 cannot be specified for the setting If the setting is 0 it is timed as infinity Hence the timer does not time out Refer to page 81 for the timing method of the timer OUT C 1 When the operation result up to the OUT instruction turns from OFF to ON the present value count value is incremented by 1 and when the counter stops counting present value setting the contact operates as indicated below N O contact Energize N C contact Not energize The counter does not count if the operation result remains ON Count inputs need not be converted into pulses After the counter has stopped counting the count value and contact state remain unchanged until the RST instruction is executed A negative number 32768 to 1 cannot be specified for the setting If the setting is

Download Pdf Manuals

image

Related Search

Related Contents

Tratamiento de perforaciones radiculares con Agregado Trióxido  EVGA 02G-P4-2670-KR NVIDIA GeForce GTX 670 2GB graphics card  今過剰包装を自粛し、 量り売り等を推進する 等再利用の推進と分鬼り    Guia de ayuda al viajero  JD-65S3 の取扱説明書を見る  Siemens ME 45 User's Manual  仕 様 書 - 建築研究所  Product User Manual - E. G. Kantawalla Private Ltd.  Gear Head MP2350BLK mice  

Copyright © All rights reserved.
Failed to retrieve file