background image

120

Instructions list

3.23.4 Application instructions

Classification

Instruction 

Symbol

Symbol

Processing

E

x

e

cuti

on 

C

o

n

d

itio

n

N

u

m

b

er

 o

f S

tep

s

R

e

fe

re

nc

e p

a

ge

Logical 

product

(D) AND (S) 

 (D)

5

179

5

(S1) AND (S2) 

 (D)

7

7

Logical 

sum

(D) OR (S) 

 (D)

5

182

5

(S1) OR (S2) 

 (D)

7

7

Exclusive 

logical sum

(D) XOR  (S) 

 (D)

5

185

5

(S1) XOR (S2) 

 (D)

7

7

NOT

 

exclusive

 

logical

 

sum

(D) XOR (S) 

 (D)

5

188

5

(S1) XOR (S2) 

 (D)

7

7

2’s 

complement

0 -  (D) 

 (D)

3

191

3

PU display 

customization

For the device specified by 

(S), register the data to be 

displayed on FR-PU07-01.

7 193

ASCII

conversion

Converts alphanumeric 
characters into ASCII codes 
and stores into 4 points 
beginning with the devices, D.

13 198

WAND

D

S

WAND

WANDP

WANDP

D

S

WAND

WAND

D

S2

S1

WANDP

WANDP

D

S2

S1

WOR

D

S

WOR

WORP

WORP

D

S

WOR

WOR

D

S2

S1

WORP

WORP

D

S2

S1

WXOR

D

S

WXOR

WXORP

D

S

WXORP

WXOR

WXOR

D

S2

S1

WXORP

WXORP

D

S2

S1

WXNR

D

S

WXNR

WXNRP

D

S

WXNRP

WXNR

WXNR

D

S2

S1

WXNRP

WXNRP

D

S2

S1

NEG

D

NEG

NEGP

D

NEGP

PR

D

S

PR

ASC

D

Alphanumeric  

characters

ASC

Summary of Contents for FR - F700

Page 1: ...INVERTER FR F700 FR F 700 INVERTER PLC FUNCTION PROGRAMMING MANUAL ...

Page 2: ...tion parameter 12 1 9 Device map 13 1 9 1 I O device map 13 1 9 2 Internal relay M device map 15 1 9 3 Data register D device map 15 1 9 4 Special relays 15 1 9 5 Special registers 17 1 10 Inverter status monitoring special registers for control 23 1 10 1 Data that can be read at all times 23 1 10 2 Data that are read by controlling OFF to ON the read command 27 1 10 3 How to write data by control...

Page 3: ...selected Pr 544 112 58 2 3 3 I O signal when CC Link Ver 2 quadruple setting is selected Pr 544 114 60 2 3 4 I O signal when CC Link Ver 2 octuple setting is selected Pr 544 118 61 2 4 Buffer memory 63 2 4 1 Remote output signals Master module to inverter FR A7NC 63 2 4 2 Remote input signals Pr 544 100 Inverter FR A7NC to master module 64 2 4 3 Remote registers Pr 544 100 Master module to inverte...

Page 4: ...1 Data registers D 93 3 12 Special relays special registers 94 3 13 Function list 96 3 14 How to RUN STOP the built in PLC function from outside re mote RUN STOP 97 3 15 Watchdog timer operation clog up monitor timer 99 3 16 Self diagnostic function 100 3 16 1 Error time operation mode 101 3 17 Keyword registration 102 3 18 Setting of output Y status at switching from STOP status to RUN status 103...

Page 5: ...16 bit 148 3 26 1 Comparison Operation Instructions 148 3 26 2 Comparison Operation Instructions 16 bit data comparison 150 3 26 3 Arithmetic Operation Instructions 152 3 26 4 Arithmetic Operation Instructions BIN 16 bit addition subtraction P P 153 3 26 5 Arithmetic operation instructions BIN 16 bit multiplication division P P 157 3 26 6 Data transfer instructions 161 3 26 7 Data transfer instruc...

Page 6: ...logical add WXOR WXORP 185 3 28 5 Logical operation instructions 16 bit not exclusive logical add WXNR WXNRP 188 3 28 6 Logical operation instructions BIN 16 bit 2 s complement NEG NEGP 191 3 29 Display command 193 3 29 1 PU display function command PR 193 3 29 2 ASCII code conversion command ASC 198 4 ERROR CODE LIST 201 4 1 How to read the error code 202 APPENDIX 205 Appendix 1 Instruction proce...

Page 7: ...VI MEMO ...

Page 8: ...1 6 Wiring of the inverter and personal computer using GX Developer for RS 485 communication 6 1 7 Operation by PLC function Pr 414 Pr 415 Pr 498 Pr 506 to Pr 515 Pr 826 to Pr 865 7 1 8 Prior to sequence program creation 8 1 9 Device map 13 1 10 Inverter status monitoring special registers for control 23 1 11 Inverter parameter read write method 40 1 12 User area read write method 44 1 13 Analog I...

Page 9: ...ion parameter read write 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 us...

Page 10: ...n the parameter unit FR PU07 01 are as shown below table P RUN status FR DU07 FR PU07 01 LED LCD operation Status Off normal display Sequence program is at a stop On inverted display Sequence program is in progress Blinking flickering Sequence error is occurring P RUN PLC function LED P RUN is displayed on the LCD when PLC function is operating 60 00Hz STF FWD PU P RUN ...

Page 11: ...r of I O points 128 X 64 points Y 64 points 19 points installed X 12 points Y 7 points 2 FR A7AX X 16 points FR A7AY Y 6 points FR A7AR Y 3 points Number of analog I O points 5 points installed Input 3 points Output 2 points FR A7AY output 2 points Watchdog timer 10 to 2000 ms Memory capacity 6k bytes used by sequence and parameters Program capacity 4k step Can be edited from 0 to 4094 steps Devic...

Page 12: ...r 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 The programming tool that can be used is GX Developer only The A6GPP A7PHP etc cannot be used 3 phase AC power supply FR F700 RS 232C RS 485 converter GX Developer Programming tool PU connector Motor PLC series ACPU ...

Page 13: ...zPersonal computer inverter connection cable Make connection after conversion between RS 232C and RS 485 Examples of commercially available products as of Sep 05 Type Maker SC FRPC BEIJERS REMARKS When fabricating the cable on the user side refer to the Inverter Instruction Manual PU connector Personal computer GX Developer Programming tool RS 232C connector RS 232C RS 485 converter ...

Page 14: ...ograms 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 Parameter Number Name Initial Value Setting Range Refer to Page 414 PLC function oper...

Page 15: ...ogram read write z Ladder monitor z Device monitor z Device test z All device memory clear z Remote RUN STOP POINT Online 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 Back up the ladder configured with the protective function of GX Developer REMARKS Refer to page 26 for th...

Page 16: ... valid Inverter reset is necessary to make this setting valid POINT Set 1 in Pr 414 PLC function operation selection For the terminal used for SQ signal input set 50 in any of Pr 178 to Pr 189 to assign the function The SQ signal must be turned ON to execute the built in PLC function REMARKS The validity limit of the SQ signal can be controlled using Pr 415 Inverter operation lock mode setting Ref...

Page 17: ...1 data length 8 bits stop bit 2 bit 0 data length 8 bits stop bit 1 bit Pr 120 PU communication parity check 2 with even parity check 1 with odd parity check Pr 122 PU communication check time interval 9999 without communication check 9999 without communication check REMARKS Use the operation panel FR DU07 or parameter unit FR PU04 FR PU07 01 option unit to change the inverter parameter setting Ei...

Page 18: ...erformed in any operation mode External operation mode PU operation mode Network operation mode Refer to the inverter manual for operation mode CAUTION A 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 Do not read the built in PLC function parameters and sequence program without writing ...

Page 19: ... only T0 to 7 are available 16 points for 100ms 10ms and retentive timers Timers have consecutive numbers T0 to T15 Counter setting Without interrupt counters Cannot be set default C0 to C15 Remote run pause None Can be set using X0 to X3F Otherwise invalid Pause does not function Error time operation mode Fuse blow Continued Setting invalid since there are no fuses I O verify error Stop Setting i...

Page 20: ...09 X0A STOP terminal Y0A X0B RES terminal Y0B X0C Empty Can be used as temporary storage Y0C X0D Y0D X0E Y0E X0F Y0F Plug in option I O X10 X0 terminal 16 bit digital Input FR A7AX Y10 DO0 terminal Digital output FR A7AY X11 X1 terminal Y11 DO1 terminal X12 X2 terminal Y12 DO2 terminal X13 X3 terminal Y13 DO3 terminal X14 X4 terminal Y14 DO4 terminal X15 X5 terminal Y15 DO5 terminal X16 X6 termina...

Page 21: ...42 D9234 X29 Parameter write completion RAM Y29 Parameter write request RAM X2A Parameter read completion EEPROM D9243 D9244 D9235 Y2A Parameter read request EEPROM D9243 D9244 D9235 X2B Parameter write completion EEPROM Y2B Parameter write request EEPROM X2C User parameter read completion RAM D110 to D159 Pr 506 to Pr 515 Pr 826 to Pr 865 Y2C User parameter read RAM D110 to D159 Pr 506 to Pr 515 ...

Page 22: ...ly OFF M9038 On only for 1 scan after RUN M9039 Off only for 1 scan after RUN M9200 Inverter operation status control flag STF Control the STF terminal of the inverter from PLC function M9201 Inverter operation status control flag STR Control the STR terminal of the inverter from PLC function M9202 Inverter operation status control flag RH Control the RH terminal of the inverter from PLC function ...

Page 23: ...rter status DO3 Status of output terminal function set in Pr 316 is stored 1 M9229 Inverter status DO4 Status of output terminal function set in Pr 317 is stored 1 M9230 Inverter status DO5 Status of output terminal function set in Pr 318 is stored 1 M9231 Inverter status DO6 Status of output terminal function set in Pr 319 is stored 1 M9232 Inverter status RA1 Status of output terminal function s...

Page 24: ...mber Stores the number that indicates which sequence program is currently in execution 1 fixed Main program RAM D9017 Minimum scan time 10ms units Stores the scan time at every END that is smaller than D9017 data i e stores the minimum scan time in BIN D9018 Scan time 10ms units Stores and updates the scan time at every END in BIN D9019 Maximum scan time 10ms units Stores the scan time at every EN...

Page 25: ...r clear H9696 write Parameter clear H9966 write All clear H5A5A write Parameter clear except communication parameters H55AA write All clear except communication parameters During GX Developer communication perform clearing by H5A5A or H55AA 34 D9148 Inverter operation status control Turn on off the corresponding bits to control the inverter operation status The initial value All 0 When M9255 is of...

Page 26: ...n load factor 0 1 units D9158 Output current peak value 0 01A 0 1A units D9159 Converter output voltage peak value 0 1V units D9160 Input power 0 01kW 0 1kW units D9161 Output power 0 01kW 0 1kW units D9162 Input terminal status Input terminal status details The setting depends on the inverter capacities FR F720 02330 NA FR F740 01160 NA EC or lower FR F720 03160 NA FR F740 01800 NA EC or higher N...

Page 27: ...ding to parameters D9198 Cumulative saving power D9199 PID set point 0 1 units D9200 PID measured value 0 1 units D9201 PID deviation 0 1 units D9205 Option input terminal status 1 The input status of the FR A7AX is stored All off 0 when an option is not fitted D9206 Option input terminal status 2 Number Name Description Page B15 B7 B4B3 B0 0 OFF 1 ON RUN SU IPF OL FU ABC1 ABC2 B15 D9205 B12B11 B8...

Page 28: ...et by D9216 to D9218 with decimal points 39 D9216 Monitor 1 setting The PR command changes the first monitor to the D9216 monitor on FR PU07 01 39 D9217 Monitor 2 setting The PR command changes the second monitor to the D9217 monitor on FR PU07 01 39 D9218 Monitor 3 setting The PR command changes the third monitor to the D9218 monitor on FR PU07 01 39 D9224 32 bit cumulative power lower 16 bit 1kW...

Page 29: ...ored Set the parameter setting for parameter write D9245 Terminal 1 input Analog input value of terminal 1 0 1 increments is stored 46 D9246 Terminal 2 input Analog input value of terminal 2 0 1 increments is stored D9247 Terminal 4 input Analog input value of terminal 4 0 1 increments is stored D9248 PID set point PID deviation Set the PID set point or PID deviation 0 01 increments 47 D9249 PID m...

Page 30: ...ces 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 1 This setting unit is for FR F720 02330 NA FR F740 01160 NA EC or lower 2 This setting unit is for FR F720 03160 NA FR F740 01800 NA EC or higher Device No Name Setting Unit Data Example Data Access Enable Condition D9133 Output frequency...

Page 31: ...D9137 Fault history 4 Fault history 3 D9138 Fault history 6 Fault history 5 D9139 Fault history 8 Fault history 7 Older Newer Data Description H00 No alarm H10 E OC1 H11 E OC2 H12 E OC3 H20 E OV1 H21 E OV2 H22 E OV3 H30 E THT H31 E THM H40 E FIN H50 E IPF H51 E UVT H52 E ILF H60 E OLT H70 E BE H80 E GF H81 E LF H90 E OHT H91 E PTC HA0 E OPT HA1 E OP1 HA2 E OP2 HA4 E 16 HA5 E 17 HA6 E 18 HA7 E 19 H...

Page 32: ...51 signal CAUTION The cumulative heat values of the electronic thermal relay and the regenerative brake are not cleared at a fault clear A fault like E THM E THT E BE may occur again The inverter is in stop status immediately after a fault clear However the inverter restarts its operation after the fault is cleared when a start command has been ON Pressing the STOP RESET key on the operation panel...

Page 33: ...ed 11 PARAMETER ERR Main program capacity setting is over 4k 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 CAUTION 1 For the LD AND OR logical comparison operation and OUT instructions device checks are always made For the other instructions SET RST MOV etc however device ch...

Page 34: ... X22 Data Setting Operation Mode H0000 NET operation mode H0001 External operation mode H0002 PU operation mode REMARKS When the Pr 79 Operation mode selection setting is other than 0 the operation mode is as set However when Pr 79 3 or 4 the operation mode is H0002 PU operation mode Read command Read completion Read data User sequence processing 1 Read command is turned on in user sequence 3 In u...

Page 35: ... EEPROM program example The following program reads the set frequency EEPROM to D0 REMARKS The read frequency is not the command value of the external signal REMARKS The read frequency is not the command value of the external signal Set frequency read RAM setting request Turns on set frequency read RAM request pulse Stores data to D0 when set frequency read RAM completion signal turns on Turns on ...

Page 36: ...etting write Y23 X23 Pr 79 0 2 D9144 Set frequency write RAM Y24 X24 PU operation mode PU LED on or CC Link operation mode PU and EXT LEDs flicker slowly D9145 Set frequency write EEPROM Y25 X25 D9146 Faults history batch clear Y26 X26 Always D9147 All parameter clear Y27 X27 As set in Pr 77 X2n n 3 to 7 Write completion D914n n 3 to 7 Write data User data Y2n n 3 to 7 Write command 1 In user sequ...

Page 37: ...completion If abnormal completion occurs the operation mode is not changed Operation mode setting write program example The following program changes the operation mode to the NET mode Data Setting Operation Mode H0000 NET operation mode H0001 External operation mode H0002 PU operation mode REMARKS When Pr 79 is other than 0 the mode is fixed H0001 H0000 H0002 H0001 CC Link H0002 H0000 NET mode Ex...

Page 38: ...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 Set frequency write RAM program example The following program changes the set frequency RAM to 30Hz POINT The frequency can be set in the PU operation mode and NET operation mode Refer to the inverter instruction manual Set frequency wr...

Page 39: ...abnormal completion occurs the set frequency is not changed Set frequency write EEPROM program example The following program changes the set frequency EEPROM to 10Hz POINT Setting is enabled in the PU operation mode and NET operation mode Refer to the Inverter instruction manual CAUTION When rewriting the set frequency frequently use device D9144 set frequency RAM There are restrictions on the num...

Page 40: ...as soon as the write completion signal X26 turns on resulting in abnormal completion If abnormal completion occurs the faults history are not cleared Faults history batch clear program example The following program batch clears the alarm history Faults history batch clear request Normal write Abnormal write Turns on faults history batch clear request pulse Check whether faults history batch clear ...

Page 41: ...er Pr Details D9147 H9696 Terminal functions are not cleared H9966 Terminal functions are cleared H5A5A Terminal functions are not cleared H55AA Terminal functions are cleared REMARKS Check the terminal function parameters and communication related parameters in the parameter list Refer to the Inverter Instruction Manual POINT Setting is enabled in the PU operation mode and NET operation mode Refe...

Page 42: ...d rotation command Device No Name Data Access Enable Condition D9148 Inverter operation status control Always Note that this function is enabled in the external NET operation mode Not enabled in the PU operation mode D9149 Inverter operation status control enable disable CAUTION As in the external input terminals functions can be assigned to the bits of D9148 using Pr 178 to Pr 189 However no func...

Page 43: ...d 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 Pr 178 to Pr 189 When the terminal is made valid from PLC function control from external terminal is made invalid The SQ signal can be input from external terminals at any time The SQ signal cannot be controlled with bits from D9149 B15 B12B11 B8B7...

Page 44: ...o D9150 Operation mode set frequency faults history batch clear all parameter clear HFFFF is stored into D9150 Normal 0 1 10 6 Inverter status D9151 The running status and operating status of the inverter are stored The corresponding bits are set according to the inverter status Device No Name Data Access Enable Condition D9150 Inverter parameter access error Always POINT If write is completed nor...

Page 45: ...lt D9214 An inverter fault can be initiated by setting a value between 16 and 20 in D9214 The inverter stops when a fault occurs The settings other than 16 to 20 are invalid The setting is also invalid when Pr 414 1 Initiated faults are recognized as E 16 to E 20 on the inverter side ...

Page 46: ...er than the ones above are ignored Displayed decimal point setting Setting example 1 To display the D9216 monitor without a decimal point in the first monitor Set H0000 in D9215 Set 40 in Pr 774 2 To display the D9216 monitor in 0 1 increments in the first monitor and the D9218 monitor in 0 001 increments in the second monitor Set H3100 in D9215 Set 40 in Pr 774 and 42 in Pr 775 Device Monitored i...

Page 47: ...ration parameter Pr 902 to Pr 939 set the following value to D9234 D9235 to read each calibration parameter value 0 Setting value Frequency 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 37 Device No Name Command Completion Data Access ...

Page 48: ...Inverter parameter 1 Read command is turned on in user sequence 3 In user sequence ON of read completion is confirmed and data are read from data registers D9242 D9243 and processed 4 After completion of read read command is turned off 2 Inverter CPU stores inverter parameter data into data registers D9242 D9243 and turns on read completion 5 Inverter CPU confirms that read command is off and turn...

Page 49: ...o 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 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 t...

Page 50: ...user sequence user data are stored into parameter write data area D9242 D9244 2 Write command is turned on in user sequence 4 After confirmation of write completion write command is turned off 3 Turns on when inverter CPU completes inverter parameter data write 0 written to D9150 indicates normal completion Any value other than 0 indicates abnormal completion 5 Inverter CPU confirms that write com...

Page 51: ...ing and device write processing When values are written to D110 to D159 from the PLC function side they are written to the parameter storing RAM area Pr 506 to Pr 515 Pr 826 to Pr 865 and read using the FR PU04 FR PU07 01 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 performed at i...

Page 52: ...ect write RAM value write executing data read from EEPROM changes a RAM value to the value stored in EEPROM When Pr 342 Communication EEPROM write selection 1 a RAM value is written read D110 to D159 RAM RAM read RAM write EEPROM read EEPROM write Pr 506 to Pr 515 Pr 826 to Pr 865 RAM Pr 506 to Pr 515 Pr 826 to Pr 865 EEPROM Y2E Y2F X2E X2F User parameter read write completion User parameter read ...

Page 53: ... 54 terminal AM Pr 158 terminal AM0 AM1 Pr 306 Pr 310 Actual read processing is performed at the END processing of the sequence Device No Terminal Name Setting Unit Data Access Enable Condition D9245 Terminal 1 input 0 1 Always D9246 Terminal 2 input 0 1 D9247 Terminal 4 input 0 1 REMARKS Full scale value of analog input is determined by the setting of Pr 73 Analog input selection Pr 267 Terminal ...

Page 54: ...tion and the calculation is applied to the manupirated variable D9250 Parameter Name Initial Value Setting Range Description 128 PID action selection 10 10 11 20 21 40 41 50 51 60 61 110 111 120 121 140 141 For details refer to the Instruction Manual of the inverter 70 PID reverse action Deviation value signal input PLC function 71 PID forward action 80 PID reverse action Measured value set point ...

Page 55: ...to 100 Deviation value 100 to 100 Set the PID set point or PID deviation 0 01 increments D9249 PID measured value 0 to 100 Set the PID measurement value 0 01 increments D9250 PID manipulated variable 100 to 100 Stores the PID manipulated variable 0 01 increments D9255 PID operation control 0 PID operation stop 1 PID operation start CAUTION The PID set point PID deviation value of D9248 automatical...

Page 56: ...ey 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 Independently of the Pr 77 setting this parameter value cannot be rewritten during inv...

Page 57: ...is enabled only when the PLC function is invalid Pr 414 0 Parameter Number Name Initial Setting Setting Range Description 498 PLC function flash memory clear 0 0 to 9999 9696 Flash memory clear Other than 9696 Flash memory is not cleared CAUTION Since executing this function clears a program of the PLC function and all PLC parameters write a program and PLC parameters again As it takes about 5s fo...

Page 58: ...51 Chapter 1 Chapter 2 Chapter 3 Chapter 4 2 CC Link COMMUNICATION 2 1 System configuration 52 2 2 CC Link parameters 55 2 3 CC Link I O specifications 56 2 4 Buffer memory 63 ...

Page 59: ...er station 2 Connect the PLC CC Link module master station and inverters by CC Link dedicated cables REMARKS Refer to the FR A7NC Instruction Manual for the CC Link communication wiring and CC Link cables CPU AJ61 BT11 Master station Power supply module Terminating resistor CC Link dedicated cable Inverter Inverter Up to 42 inverters can be connected when only inverters are connected Power supply ...

Page 60: ...ule 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 63 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 ...

Page 61: ...le Inverter Pr 544 0 1 12 14 18 FR A7NC Inverter CPU Parameter read write monitor operation commands etc have been assigned in advance PLC CPU CC Link master module Pr 544 100 112 114 118 Inverter Built in sequence program User assignment Inverter CPU 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...

Page 62: ...is CC Link Ver 1 compatible station the above setting can not be made Parameter Number Name Initial Value Setting Range Description CC Link Ver 544 CC Link extended setting 0 0 1 Occupies one station FR A5NC compatible 1 1 Occupies one station 12 2 2 Occupies one station double 14 2 Occupies one station quadruple 18 2 Occupies one station octuple 100 1 Occupies one station PLC function 112 2 2 Occ...

Page 63: ...lure terminal IPF function 2 X36 RYn6 Second function selection terminal RT function 1 Y36 RXn6 Frequency detection terminal FU function 2 X37 RYn7 Current input selection terminal AU function 1 Y37 RXn7 Error terminal ABC1 function 2 X38 RYn8 Selection of automatic restart after instantaneous power failure terminal CS function 1 Y38 RXn8 terminal ABC2 function 2 X39 RYn9 Output stop Y39 RXn9 Pr 3...

Page 64: ... Pr 190 to Pr 196 2 Remote register n indicates a value determined according to the station number setting 3 Data I O image PLCFunction Device No Address Description PLC Function Device No Address Description D9062 RWwn Registers designed to read data received from the master station D9078 RWrn Registers designed to write data to be sent to the master station D9063 RWwn 1 D9079 RWrn 1 D9064 RWwn 2...

Page 65: ...n terminal RT function 1 Y36 RXn6 Frequency detection terminal FU function 2 X37 RYn7 Current input selection terminal AU function 1 Y37 RXn7 Error terminal ABC1 function 2 X38 RYn8 Selection of automatic restart after instantaneous power failure terminal CS function 1 Y38 RXn8 terminal ABC2 function 2 X39 RYn9 Output stop Y39 RXn9 Pr 313 assignment function DO0 X3A RYnA Start self holding selecti...

Page 66: ...he Inverter Manual for details of Pr 190 to Pr 196 2 Remote register n indicates a value determined according to the station number setting PLCFunction Device No Address Description PLCFunction Device No Address Description Upper 8 Bits Lower 8 Bits RWwn Monitor code 2 Monitor code 1 RWrn First monitor value RWwn 1 Set frequency 0 01Hz increments RWrn 1 Second monitor value RWwn 2 Link parameter e...

Page 67: ...8 Bits RWwn Monitor code 2 Monitor code 1 RWrn First monitor value RWwn 1 Set frequency 0 01Hz increments RWrn 1 Second monitor value RWwn 2 Link parameter expansion setting Instruction code RWrn 2 Reply code2 Reply code1 RWwn 3 Write data RWrn 3 Read data RWwn 4 Monitor code 3 RWrn 4 Third monitor value RWwn 5 Monitor code 4 RWrn 5 Fourth monitor value RWwn 6 Monitor code 5 RWrn 6 Fifth monitor v...

Page 68: ...r value RWwn 2 Link parameter expansion setting Instruction code RWrn 2 Reply code2 Reply code1 RWwn 3 Write data RWrn 3 Read data RWwn 4 Monitor code 3 RWrn 4 Third monitor value RWwn 5 Monitor code 4 RWrn 5 Fourth monitor value RWwn 6 Monitor code 5 RWrn 6 Fifth monitor value RWwn 7 Monitor code 6 RWrn 7 Sixth monitor value RWwn 8 Faults history No H00 RWrn 8 Faults history No Faults history dat...

Page 69: ...RWwn 12 D9080 RWrn 12 D9065 RWwn 13 D9081 RWrn 13 D9066 RWwn 14 D9082 RWrn 14 D9067 RWwn 15 D9083 RWrn 15 D9068 RWwn 16 D9084 RWrn 16 D9069 RWwn 17 D9085 RWrn 17 D9070 RWwn 18 D9086 RWrn 18 D9071 RWwn 19 D9087 RWrn 19 D9072 RWwn 1A D9088 RWrn 1A D9073 RWwn 1B D9089 RWrn 1B D9074 RWwn 1C D9090 RWrn 1C D9075 RWwn 1D D9091 RWrn 1D D9076 RWwn 1E D9092 RWrn 1E D9077 RWwn 1F D9093 RWrn 1F PLCFunction De...

Page 70: ...H 11 174H 27 194H 43 1B4H 59 1D4H 12 176H 28 196H 44 1B6H 60 1D6H 13 178H 29 198H 45 1B8H 61 1D8H 14 17AH 30 19AH 46 1BAH 62 1DAH 15 17CH 31 19CH 47 1BCH 63 1DCH 16 17EH 32 19EH 48 1BEH 64 1DEH RY F to RY 0 RY 1F to RY 10 RY11F to RY110 RY 2F to RY 20 RY 3F to RY 30 RY 4F to RY 40 RY 5F to RY 50 RY 6F to RY 60 RY 7F to RY 70 RY 8F to RY 80 RY 9F to RY 90 RY AF to RY A0 RY BF to RY B0 RY CF to RY C...

Page 71: ... 27 114H 43 134H 59 154H 12 F6H 28 116H 44 136H 60 156H 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 11EH 48 13EH 64 15EH FR F700 series Y3F to Y30 Inverter RX 0F to RX 00 RX F to RX 0 RX 1F to RX 10 RX11F to RX110 RX 2F to RX 20 RX 3F to RX 30 RX 4F to RX 40 RX 5F to RX 50 RX 6F to RX 60 RX 7F to RX 70 RX 8F to RX 80 RX 9F to RX 90 RX AF t...

Page 72: ...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 2C0H to 2C3H 10 204H to 207H 26 244H to 247H 42 284H to 287H 58 2C4H to 2C7H 11 208H to 20BH 27 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 2D0H to 2D3H 14 214H to...

Page 73: ... to 2FFH 24 33CH to 33FH 40 37CH to 37FH 56 3BCH to 3BFH 9 300H to 303H 25 340H to 343H 41 380H to 383H 57 3C0H to 3C3H 10 304H to 307H 26 344H to 347H 42 384H to 387H 58 3C4H to 3C7H 11 308H to 30BH 27 348H to 34BH 43 388H to 38BH 59 3C8H to 3CBH 12 30CH to 30FH 28 34CH to 34FH 44 38CH to 38FH 60 3CCH to 3CFH 13 310H to 313H 29 350H to 353H 45 390H to 393H 61 3D0H to 3D3H 14 314H to 317H 30 354H ...

Page 74: ...ction list 96 3 14 How to RUN STOP the built in PLC function from outside remote RUN STOP 97 3 15 Watchdog timer operation clog up monitor timer 99 3 16 Self diagnostic function 100 3 17 Keyword registration 102 3 18 Setting of output Y status at switching from STOP status to RUN status 103 3 19 Instruction format 104 3 20 Bit device processing method 106 3 21 Handling of numerical value 110 3 22 ...

Page 75: ...he word devices are cleared to 0 c Self diagnostic checks are made on the built in PLC function parameter setting operation circuit etc 2 Sequence program operation processing The sequence program written to the built in PLC function is executed from step 0 to an END instruction 3 END processing Post processing for terminating one sequence program operation processing and return the sequence progr...

Page 76: ...ogram operation processing Step 0 to Until execution of END instruction Power on I O refresh processing Initial processing I O initialization Data memory initialization Self diagnostic checks END processing Self diagnostic checks Updating of timer and counter present values and on off of their contacts ...

Page 77: ...icates that a sequence program is stopping its operation while the SQ signal is OFF or after 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 data memories other than the outputs Y are maintained 3 3 Program makeup 1 Program classification The program that can be used by the built in PLC function ...

Page 78: ...ge ladder mode The relay symbolic language is based on the concept of a relay control circuit You can perform programming in the representation 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 Fig 3 2 Ladder Blocks R...

Page 79: ...ght and from the top to the bottom Fig 3 3 Operation Processing Sequence Beginning of one ladder block Operation from left to right End of one ladder block Operation from left to right Execution returns to step 0 when END instruction is executed 1 to 17 indicate the sequence of program operation 1 2 7 8 9 10 3 4 5 6 11 13 14 12 15 16 17 Operation from top to bottom Operation from top to bottom END...

Page 80: ...gram 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 Fig 3 4 Operation Processing Sequence Logic symbolic language Relay symbolic language Step number Operation sequence Execution returns to step 0 when END instruction is executed ...

Page 81: ...epeated The built in PLC function repeats the following processings 1 The built in PLC function 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 Fig 3 5...

Page 82: ...stem 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 Output refresh Before execution of step 0 the data of the output Y data memory 2 are batch output to the output module When input contact instruction is executed Input data are read from the input X data memory 3 and the sequence program is executed When output co...

Page 83: ...hange in response to a control input terminal change is one scan When Y1E turns on latest 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 ...

Page 84: ...rom 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 D9017 Minimum value of scan time D9018 Present value of scan time 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 d...

Page 85: ...ed BIN binary code The built in PLC function can also use HEX hexadecimal code that represents BIN data in blocks of four bits Table 3 1 indicates the numerical representations of BIN HEX and decimal code Table 3 1 Numerical Representations of BIN HEX and Decimal Code DEC Decimal Code HEX Hexadecimal Code BIN Binary Code 0 1 2 3 9 10 11 12 13 14 15 16 17 47 0 1 2 3 9 A B C D E F 10 11 2F 0 1 10 11...

Page 86: ... 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 3 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 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 1...

Page 87: ...on is shown in Fig 3 9 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 3 9 values can be represented in the range 32768 to 32767 Therefore each register of the built in PLC function can store any value between 32768 and 32767 Value is negative if most significant bit is 1 ...

Page 88: ...e 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 78 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...

Page 89: ... built in PLC function parameters but will operate as M Link relay B None Timer T Points 16 T0 to T15 Specifications 100ms timer Set time 0 1 to 3276 7s 10ms timer Set time 0 01 to 327 67s 100ms retentive timer Set time 0 1 to 3276 7s Counter C Points 16 C0 to C15 Specifications Normal counter Setting range 1 to 32767 Interrupt program counter None Data device D 160 D0 to D159 Link register W None...

Page 90: ...l 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 Fig 3 10 Inputs X Outputs Y 1 Inputs X Sequence operation Outputs Y Signal lamp Contactor Inverter Pushbutton ...

Page 91: ...point the normally open N O or normally closed N C contact of that Xn is used in the 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 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 LS2 PB1 X0 X1 X1 X0 Virtual relay ...

Page 92: ... outside the inverter as equivalent to one N O contact c There are no restrictions on the number of N O and N C contacts of output Yn used in the program if they are used within the program capacity range 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 M11 Load No restrictions on the number of used contacts ...

Page 93: ...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 Fig 3 14 Internal Relay When X0 turns from OFF to ON M0 internal relay is set turned on M0 may only be turned on in sequence function and cannot be output to outside ON OFF data of M0 is output to ...

Page 94: ...0ms 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 Fig 3 15 Timing Chart Ladder example 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 When input X5 turns on T2 coil turns on and tim...

Page 95: ... 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 0 and the contact is also turned off after execution of the END instruction b If its coil turns off the 100ms retentive timer mainta...

Page 96: ...tion ON timing and OUT T instruction s program position 1 scan time The accuracy is 2 scan time 0 05s in Fig 3 17 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 Ladder example Timer timing method T3 contact turns on 6s after X0 turns on T3 is 10ms timer OUT T3 OUT T3 OUT T3 END END END END END OUT T3 END Scan...

Page 97: ...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 C 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 ...

Page 98: ... Fig 3 19 Counter Counting Method Ladder example Counting method REMARKS Refer to page 92 for the maximum counting speed of the counter When OFF to ON of X5 is counted twice C3 contact turns on Input X refresh END END OUT C3 OUT C3 END OUT C3 END OUT C3 END OUT C3 END 2 1 OFF ON OFF ON OFF ON OFF 0 ON X5 X5 Image C3 coil C3 present value C3 contact Does not count since X5 remains on ...

Page 99: ...er can count only when the ON OFF period of the input condition is longer than the scan time REMARKS The duty n is a percent ratio of ON OFF period to ON OFF period of the count input signal Maximum counting speed Cmax 100 n ts 1 times s n Duty ts Scan time s Count input signal OFF ON T1 T2 100 n T1 T2 T1 100 n T1 T2 T2 When T1 T2 When T1 T2 ...

Page 100: ... PLC function One point of data register consists of 16 bits and allows data to be read written in units of 16 bits 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 b15 b0 to 16 bits D Data register No ...

Page 101: ...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 REMARK...

Page 102: ...LS instruction at switching from STOP to RUN Normal OFF flag M9037 This relay remains off while power is on Can be used to temporarily disable execution for debugging etc Normally ON flag M9036 This relay is on while power is on Can be used to create a program to be executed only once after power on RUN flag M9039 This relay turns on at the second scan of the sequence program when the SQ signal is...

Page 103: ...iagnoses faults and performs fault detection indication built in sequence function stop etc STOP to RUN time output setting This setting is made to determine the output Y state when the function has switched from the STOP status to the RUN status Keyword registration This setting is made to inhibit read interrupt of a program parameters and main sub program and comments CAUTION The following funct...

Page 104: ... is executed up to the END instruction 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 0 3 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 ...

Page 105: ...nction enters the STOP status when remote STOP is performed from any of the remote RUN contact GX Developer etc 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 RUN status Status where a sequence program...

Page 106: ... 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 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 a...

Page 107: ... to be stopped by built in PLC function parameter setting Refer to page 101 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 If an operation continuation error is detected only the faulty program part is not executed and the prog...

Page 108: ...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 Error Definition CPU Status Operation P RUN LED Special relays turned on Special registers for data storage Self diagnostic error No D9008 Default value Operation error An error occurred in the sequence pr...

Page 109: ...e 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 REMARKS Parameter settings in the inverter can be read written using GX Developer even when t...

Page 110: ...tion 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 Fig 3 24 Processing Performed when ST...

Page 111: ...f the device controls the execution condition according to the ON OFF status of the device and branches the program 3 4 Others Combinations other than the above 1 to 3 Instruction part Indicates the function of that instruction Device Indicates the data used with the instruction Instruction part Example END Instruction part Device LD X0 Device Instruction part Example Instruction part Source devic...

Page 112: ...rical value to be used for operation Since this value is set at the time of program creation it is fixed and cannot be changed during program execution Bit device Word device Specify the device that stores the data to be 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 prog...

Page 113: ...uction 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 X0 to F by digit designation 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 a...

Page 114: ...r of points specified by digit designation is the target on the destination side Fig 3 27 Ladder Examples and Processings Ladder Example Processing For 16 bit instruction Ladder Example Processing When source S data is numerical value When source S data is word device Turn to 0s Source S data Remain unchanged Destination D side Remain unchanged Destination D side ...

Page 115: ...points 0 to 1048575 K2 8 points 0 to 255 K6 24 points 0 to 16777215 K3 12 points 0 to 4095 K7 28 points 0 to 268435455 K4 16 points 0 to 65535 K8 32 points 2147483648 to 2147483647 Ladder Example Processing For 32 bit instruction Example X1F X1CX1B X18 X17 X14X13 X10 XC XB XF X8 X7 X4 X3 X0 Specification range of K1 Specification range of K2 4 points 8 points 12 points 16 points 20 points 24 point...

Page 116: ...an the storable size of the applicable devices the exceeded data will modify other devices although no error will occur Before storing data make sure to have enough devices available to store the data 0 0 0 1 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 0 1 0 Remain unchanged 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 0 1 0 M15 M8 M7 M0 M31 M20M19 M16 3 4 5 6 7 8 1 2 H78123456 0 1 1 1 1 0 0 0 K5M0 Destination D side ...

Page 117: ... notation and hexadecimal notation correspond as indicated below POINT Numerical value setting method 1 Decimal number 2 Hexadecimal number 16 bits 32 bits Decimal Notation Hexadecimal Notation Decimal Notation Hexadecimal Notation 32767 H7FFF 2147483647 H7FFFFFFF 5 H0005 5 H00000005 4 H0004 4 H00000004 3 H0003 3 H00000003 2 H0002 2 H00000002 1 H0001 1 H00000001 0 H0000 0 H00000000 1 HFFFF 1 HFFFF...

Page 118: ...uence 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 101 for details POINT 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 Error flag M9010 Turns on at an operation error an...

Page 119: ...only on the leading edge of the preceding condition Example MOV MOVP Instruction executed continuously Instruction executed only on leading while preceding condition is on edge of preceding contact condition 3 Indicates the symbol used in the ladder diagram Destination Indicates the destination of the operation result Source Indicates the source of the data for the operation Classification Instruc...

Page 120: ...eceding 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 execute...

Page 121: ...ion 1 Connection AND between logical blocks series connection between blocks 1 125 OR between logical blocks parallel connection between blocks 1 Stores the operation result 1 128 Reads the operation result stored in MPS 1 Reads and resets the operation result stored in MPS 1 Outputs Outputs device 1 131 3 Sets device 1 134 3 Resets device 1 3 Produces a pulse lasting one program scan time on the ...

Page 122: ...st be written at the end of sequence program to return to step 0 1 145 No operation No operation For program deletion or space 1 146 No operation Line feed instruction for printer output 1 Classification Instruction Symbol Symbol Processing Execution Condition Number of Steps Reference page M C MC D n MCR MCR n END NOP NOPLF ...

Page 123: ...ntinuity when S1 S2 5 7 5 7 5 7 Continuity when S1 S2 Non continuity when S1 S2 5 7 5 7 5 7 Continuity when S1 S2 Non continuity when S1 S2 5 7 5 7 5 7 Continuity when S1 S2 Non continuity when S1 S2 5 7 5 7 5 7 32 bit data comparison Continuity when S1 1 S1 S2 1 S2 Non continuity when S1 1 S1 S2 1 S2 11 163 11 11 LD S1 S2 AND S1 S2 OR S1 S2 LD S1 S2 AND S1 S2 OR S1 S2 LD S1 S2 AND S1 S2 OR S1 S2 ...

Page 124: ... when S1 1 S1 S2 1 S2 11 11 11 Continuity when S1 1 S1 S2 1 S2 Non continuity when S1 1 S1 S2 1 S2 11 11 11 16 bit transfer S D 5 161 5 32 bit transfer S 1 S D 1 D 7 176 7 Classification Instruction Symbol Symbol Processing Execution Condition Number of Steps Reference page LDD S1 S2 LDD ANDD S1 S2 ANDD ORD S1 S2 ORD LDD S1 S2 LDD ANDD S1 S2 ANDD ORD S1 S2 ORD LDD S1 S2 LDD ANDD S1 S2 ANDD ORD S1 ...

Page 125: ... D 9 168 9 S1 1 S1 S2 1 S2 D 1 D 11 11 D 1 D S 1 S D 1 D 9 9 S1 1 S1 S2 1 S2 D 1 D 11 11 Classification Instruction Symbol Symbol Processing Execution Condition Number of Steps Reference page D S P D S P D S2 S1 P P D S2 S1 D S P D S P D S2 S1 P P D S2 S1 D D S D D P D S D P D D D S2 S1 D P D P D S2 S1 D D S D D P D S D P D D D S2 S1 D P D P D S2 S1 ...

Page 126: ... 7 7 BIN 32 bit multiplication division S1 1 S1 S2 1 S2 D 3 D 2 D 1 D 11 172 11 S1 1 S1 S2 1 S2 Quotient D 1 D Remainder D 3 D 2 11 11 Classification Instruction Symbol Symbol Processing Execution Condition Number of Steps Reference page D S2 S1 P P D S2 S1 D S2 S1 P P D S2 S1 D D D S2 S1 D P D P D S2 S1 D D D S2 S1 D P D P D S2 S1 ...

Page 127: ...t 0 D D 3 191 3 PU display customization For the device specified by S register the data to be displayed on FR PU07 01 7 193 ASCII conversion Converts alphanumeric characters into ASCII codes and stores into 4 points beginning with the devices D 13 198 WAND D S WAND WANDP WANDP D S WAND WAND D S2 S1 WANDP WANDP D S2 S1 WOR D S WOR WORP WORP D S WOR WOR D S2 S1 WORP WORP D S2 S1 WXOR D S WXOR WXORP...

Page 128: ...ions of the instructions 8 Shows program examples in the ladder mode and list mode Output Instructions 6 5 2 Device set reset SET RST Functions 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 3 When the SET input is off the device status does not change Execution Conditions The SET ...

Page 129: ...ntrol circuits etc 3 25 1 Contact Instructions Operation start series connection parallel connection LD LDI AND ANI OR ORI Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 Device number X1 X1 X2 X2 X3 X3 LD LDI AND ANI OR ORI ...

Page 130: ...ed 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 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...

Page 131: ...124 Sequence instructions Program Examples LD LDI AND ANI OR ORI ORB ANB Coding Coding Coding ...

Page 132: ...nstructions ladder block series connection parallel connection ANB ORB Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 Block A Block B Use OR or ORI to connect contacts in parallel Block A Block B ...

Page 133: ...the PLC cannot perform normal operation 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 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...

Page 134: ...m coding methods for connecting ladder blocks in series consecutively use the coding example 1 Though there are the following two different program coding methods for connecting ladder blocks in parallel consecutively use the coding example 1 ANB Coding example 1 Coding example 2 ORB Coding example 1 Coding example 2 ...

Page 135: ... of used MPS instructions is decremented by 1 1 Reads the operation result stored by the MPS instruction and continues operation from the next step with that operation result 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 Usable Devices Digit Designation Err...

Page 136: ...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 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 Ladder using MPS MRD and MPP Ladder not using ...

Page 137: ...130 Sequence instructions Program Example 1 Program using MPS MRD and MPP MPS MRD MPP 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 Coding ...

Page 138: ...peration Result OUT Instruction Coil Contacts N O contact N C contact 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 Special relay M T0 T0 C0 C1 OUT Y15 Device number K50 Device number T0 to 15 D10 K50 Device number C0 to 15 OUT OUT Device number T0 to 15 Device number C0 to 15 Y M T C D10 Settin...

Page 139: ... the counter stops counting present value setting the contact operates as indicated below 2 The counter does not count if the operation result remains ON Count inputs need not be converted into pulses 3 After the counter has stopped counting the count value and contact state remain unchanged until the RST instruction is executed 4 A negative number 32768 to 1 cannot be specified for the setting If...

Page 140: ...s turned on 3 Program that turns on Y0 when X0 turns on 10 times and turns off Y0 when X1 turns on 4 Program that changes the C0 setting to 10 when X0 turns on and to 20 when X1 turns on OUT Coding Coding Coding Stores 10 into D0 when X0 turns on Stores 20 into D0 when X1 turns on C0 counts data stored in D0 as setting When C0 stops counting Y0 turns on Coding ...

Page 141: ...e RST input turns on the specified device operates as described below 2 When the RST input is off the device status does not change Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 SET RST SET RST Device Status Y M The coil and contact are turned off T C The present value is reset to 0 and the coil and contact are turned off ...

Page 142: ...scan Program Examples 1 Program that sets turns on Y8 when X8 turns on and resets turns off Y8 when X9 turns on Operations of SET and RST instructions REMARKS Three steps are used when the following device is used SET instruction Special relay M RST instruction Special relay M all word devices RST input RST input Device number D Device number D SET RST Coding X8 SET input X9 RST input ...

Page 143: ...d counter Stores X10 to 1F contents into D8 when X0 turns on Resets D8 contents to 0 when X5 turns on Coding When T5 is set as retentive timer T5 turns on when ON period of X4 reaches 30 minutes Counts the number of times T5 turned on Resets T5 when T5 turns on When C0 stops counting Y5 turns on When X5 turns on C0 is reset Coding ...

Page 144: ...e specified at 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 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 Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D...

Page 145: ...he specified device turns on for one scan Do not execute the PLF instruction for the same device more than once during one scan 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 Program Examples Program that executes the PLS instruction when X9 turns on Program that executes the PLF instruction when X9 turns off...

Page 146: ...3 When using the SFT or SFTP instructions consecutively program in order of larger to smaller device numbers Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 D SFT commands Set data Device number to which data will be shifted D D X02 ON After first shift input After second shift input X02 ON After third shift input After four...

Page 147: ...tions Program Example 1 Program that shifts the Y7 B data when X8 turns on SFT Executes shifts when X8 turns on Program in order of larger to smaller device numbers Turns on Y7 when X7 turns on X8 X7 Y7 Y8 Y9 YA YB Coding ...

Page 148: ...ogram by switching on off the common bus of the ladder The ladder that uses master control is as shown below Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 n D MC ON OFF command Nesting N0 to 7 Device Set data n Nesting N0 to 7 Device number to be turned on D Y7 YF Y10 Display in ladder mode of GPP Executed only when X0 is ...

Page 149: ... MC instruction can use the same nesting N number any number of times 4 When the MC instruction is on the coil of the device specified at turns on Since using the same device in the OUT instruction etc will result in double coils the device specified at should not be used in any other instruction MC 100ms 10ms timer The count value is reset to 0 and both the coil and contact turn off 100ms retenti...

Page 150: ...ntrol ranges are differentiated by the nesting N The nesting can be used from N0 to N7 Using the nesting structure you can create a ladder that restricts the program execution conditions in order The ladder using the nesting structure is as shown below MCR A B C ñ H ƒ ƒ h Å Ì Ž Display in ladder mode Actual operation ladder Executed when A turns on Executed when A and B turn on Executed when A B a...

Page 151: ... numbers In the opposite order the PLC function cannot perform normal operation since the instructions cannot be nested 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 Since buses cross each other normal master control ladder cannot be created A B Display in ladder mode Nesting numbers of MCR are op...

Page 152: ... this step and returns to step 0 2 The END instruction cannot be used halfway through the sequence program Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 CAUTION If the END instruction does not exist in the program an operation error occurs and the PLC function does not operate END Sequence program ...

Page 153: ... 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 instruction for NOP 3 Delete an instruction temporarily Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 NOP NOP does not appear in ladder display ...

Page 154: ... ANI 2 Contact short circuit LD LDI Note that if LD or LDI is replaced by NOP the ladder will be completely changed NOP Before change Replaced by NOP After change Coding Coding Replaced by LD T3 Before change Replaced by NOP After change Coding Replaced by NOP Before change After change Coding ...

Page 155: ...he same manner as the contact instructions of the PLC instructions as indicated below LD LDI LD AND ANI AND OR ORI OR 3 There are the following 18 different comparison operation instructions Refer to page 150 for details 4 The conditions that the comparison operation instructions turn on are as follows Classification Instruction Symbol Classification Instruction Symbol Classification Instruction S...

Page 156: ...a 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 Therefore the result is 32767 1384 and Y10 does not turn on Example Regarded as 32767 in BIN Regarded as 1384 in BIN ...

Page 157: ...Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 K1 to K4 Instruction symbol in Condition Comparison Operation Result Instruction symbol in Condition Comparison Operation Result Energize Not energize Instruction Execution Condition LD Executed every scan AND Executed only when the preceding contact instruction is on OR Executed every scan S1 S2 Instruction s...

Page 158: ...ata 2 Program that compares the BCD value 100 and D3 data 3 Program that compares the BIN value 100 and D3 data 4 Program that compares the D0 and D3 data REMARKS Seven steps are used when The digit designation of a bit device is not K4 The beginning of a bit device is not a multiple of 8 Coding Coding Coding Coding ...

Page 159: ...hmetic operation with BIN Binary If the operation result of an addition instruction exceeds 32767 the result becomes a negative value If the operation result of a subtraction instruction is less than 32768 the result becomes a positive value The operation of a positive value and a negative value is as follows 5 8 13 5 8 3 5 x 3 15 5 x 3 15 5 x 3 15 5 3 1 and remainder 2 5 3 1 and remainder 2 5 3 1...

Page 160: ... H N M9010 M9011 K1 to K4 S D S1 S2 D1 Addition subtraction commands Addition subtraction commands Instruction symbol in Setting data Addend subtrahend 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 st...

Page 161: ...ata specified at and stores the addition result into the device specified at 3 At and 32768 to 32767 BIN 16 bits can be specified 4 The judgment of whether the data of and are positive or negative is made at the highest bit b15 0 Positive 1 Negative 5 When the 0th bit has underflown the carry flag does not turn on When the 15th bit has overflown the carry flag does not turn on carry flag is not av...

Page 162: ...t and the BIN data specified at and stores the subtraction result into the device specified at 3 At and 32768 to 32767 BIN 16 bits can be specified 4 The judgment of whether the data of and are positive or negative is made at the highest bit b15 0 Positive 1 Negative 5 When the 0th bit has underflown the carry flag does not turn on When the 15th bit has overflown the carry flag does not turn on ca...

Page 163: ...the content of A0 to the content of D3 and outputs the result to Y38 to 3F when X5 turns on Program which outputs the difference between the set value and present value timer T3 to Y40 to 53 in BCD Addition subtraction command Executed every scan Executed every scan Executed only once Executed only once Coding Coding ...

Page 164: ...Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 K1 to K4 S1 S2 D Multiplication division commands Instruction symbol in Setting data Multiplicand dividend data or head device number storing multiplicand dividend data Multiplier divider data or head device number storing multiplier divider data Head device number which will store the result S1 S2 D ...

Page 165: ... the device specified at 2 When is a bit device specify the bits beginning with the lower bits Example K1 Lower 4 bits b0 to 3 K4 Lower 16 bits b0 to 15 3 At and 32768 to 32767 BIN 16 bits can be specified 4 The judgment of whether the data of and are positive or negative is made at the highest bit b15 and that of at b31 0 Positive 1 Negative S1 S2 D D S1 S2 S1 S2 D ...

Page 166: ...ce Quotient Stored to the lower 16 bits Remainder Stored to the upper 16 bits Storable only in the case of word device 3 At and 32768 to 32767 BIN 16 bits can be specified 4 The judgment of whether the data of and 1 are positive or negative is made at the highest bit b15 Both quotient and remainder have sign 0 Positive 1 Negative Execution Conditions The execution conditions of the transfer instru...

Page 167: ... is 0 Program Examples 1 Program which stores the multiplication result of 5678 and 1234 in BIN to D3 and 4 when X5 turns on 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 3F 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 D S2 ...

Page 168: ...Transfers the 16 bit data of the device specified at to the device specified at Execution Conditions The execution conditions of the transfer instructions are as shown below Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 MOV MOVP K1 to K4 MOV S D MOV MOVP Transfer commands Transfer source data or head number of device that ...

Page 169: ...xamples 1 Program that stores the input X0 B data into D8 2 Program that stores 155 into D8 in binary when X8 turns on MOV MOVP Transfer command Executed every scan Executed every scan Executed only once Executed only once MOV Coding Coding ...

Page 170: ...in the same manner as the contact instructions of the PLC instructions as indicated below LD LDI LDD AND ANI ANDD OR ORI ORD 3 There are the following 18 different comparison operation instructions Refer to page 165 for details 4 The conditions that the comparison operation instructions turn on are as follows Classification Instruction Symbol Classification Instruction Symbol Classification Instru...

Page 171: ...ose most significant bit b31 is 1 8 to F is specified for comparison of hexadecimal data it is regarded as a negative BIN value Comparison of 8 digit HEX values Therefore the result is 2147483648 2147483647 and Y10 does not turn on Example Regarded as 2147483648 in BIN Regarded as 2147483647 in BIN D H8000 H0000 H7FFFHFFFF Y10 ...

Page 172: ...rror Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 K1 to K8 Instruction symbol in Condition Comparison Operation Result Instruction symbol in Condition Comparison Operation Result D Energize D Not energize D D D D D D D D D D Instruction Execution Condition LD Executed every scan AND Executed only when the preceding contact instruction is on OR Executed every s...

Page 173: ...e D0 and D1 with D3 and D4 data REMARKS Seven steps are used when The digit designation of a bit device is not K8 The beginning of a bit device is not a multiple of 8 D 0 K8 D M0 D3 Y0 Coding 0 LDD K8M0 D3 11 OUT Y0 12 END D 0 H D 00018000 D3 Y0 Coding 0 LD M3 1 ANDD H00018000 D3 12 OUT Y0 13 END M3 D 0 K D 80000 D3 Y0 Coding 0 LD M3 1 LDD K 80000 D3 12 OR M8 13 ANB 14 OUT Y0 15 END M3 M8 D 0 D D0...

Page 174: ... 1 Arithmetic operation with BIN Binary If the operation result of an addition instruction exceeds 2147483647 the result becomes a negative value If the operation result of a subtraction instruction is less than 2147483648 the result becomes a positive value The operation of a positive value and a negative value is as follows 5 8 13 5 8 3 5 x 3 15 5 x 3 15 5 x 3 15 5 3 1 and remainder 2 5 3 1 and ...

Page 175: ... M9011 K1 to K8 S D S1 S2 D1 Addition subtraction commands Addition subtraction commands Instruction symbol in Setting data D D Addend subtrahend 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 th...

Page 176: ...47483648 to 2147483647 BIN 32 bits can be specified 4 Whether the data of and are positive or negative is indicated at the highest bit b31 0 Positive 1 Negative 5 When the 0th bit has underflown the carry flag does not turn on When the 31st bit has overflown the carry flag does not turn on carry flag is not available D D S D 1 123456 BIN b0 b16 b15 1 567890 BIN b31 691346 BIN D D S S 1 D D b0 b16 ...

Page 177: ...648 to 2147483647 BIN 32 bits can be specified 4 Whether the data of and are positive or negative is indicated at the highest bit b31 0 Positive 1 Negative 5 When the 0th bit has underflown the carry flag does not turn on When the 31st bit has overflown the carry flag does not turn on carry flag is not available D D S D 1 123456 BIN b0 b16 b15 567890 BIN b31 444434 BIN D S 1 D S D 1 D b0 b16 b15 b...

Page 178: ...nd the results are output to M0 to M27 The program where the data of M0 to M23 is subtracted from the data of D0 and D1 at turn ON of X0 and the results are saved in D10 and D11 Addition subtraction command Executed every scan Executed every scan Executed only once Executed only once D Coding 0 LD X000 1 D P K7X010 D9 K7M0 12 END 0 X000 P K7 K7 D X010 D9 M0 D Coding 0 LD X0 1 D P D0 K6M0 D10 12 EN...

Page 179: ...s Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 K1 to K8 S1 S2 D Multiplication division commands Instruction symbol in Setting data D D Multiplicand dividend data or head device number storing multiplicand dividend data Multiplier divider data or head device number storing multiplier divider data Head device number which will store the result S1 S2 D ...

Page 180: ...ginning with the lower bits Example K1 Lower 4 bits b0 to 3 K4 Lower 16 bits b0 to 15 K8 Lower 32 bits b0 to 31 3 At and 2147483648 to 2147483647 BIN 32 bits can be specified 4 Whether the data of and are positive or negative is indicated at the highest bit b31 and that of at b63 0 Positive 1 Negative D S1 S2 D 1 123456 BIN b0 b63 b48 b31 b16 1 2 70109427840 BIN 3 b0 b16 b15 1 567890 BIN b31 S1 S2...

Page 181: ...s Storable only in the case of word device 3 At and 2147483648 to 2147483647 BIN 32 bits can be specified 4 Whether the data of and 2 are positive or negative is indicated at the highest bit b31 Both quotient and remainder have sign 0 Positive 1 Negative Execution Conditions The execution conditions of the transfer instructions are as shown below D S1 S2 D 1 123456 BIN b0 b15 1 567890 BIN b31 1 4 ...

Page 182: ...rogram where the BIN data of D7 and D8 is multiplied by the BIN data of D18 and D19 at turn ON of X5 and the results are saved in D1 to D4 The program where the data of M0 to M7 is multiplied by 3 14 at turn ON of X3 and the result is output to D3 D D S1 S2 D S2 X005 D D7 D18 D1 0 P Coding 0 LD X005 1 D P D7 D18 D1 12 END Coding 0 LD X003 1 P K2M0 K314 D0 8 D P D0 K100 D2 19 MOVP D2 D3 24 END MOV ...

Page 183: ...2 bit data of the device specified at to the device specified at Execution Conditions The execution conditions of the transfer instructions are as shown below Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 DMOV DMOVP K1 to K8 DMOV S D Transfer source data or head number of device that stores that data Head number of transfe...

Page 184: ...3 is saved in D0 and D1 2 The program where the data of M0 to M31 is saved in D0 and D1 DMOV DMOVP Transfer command Executed every scan Executed every scan Executed only once Executed only once DMOV Coding 0 LD M32 1 DMOVP D2 D0 8 END 0 DMOV D2 D0 P M32 0 DMOV M0 D0 K8 M32 Coding 0 LD M32 1 DMOVP K8M0 D0 8 END ...

Page 185: ...WXOR 2 s complement Sign reversal NEG WANDP WXORP NEGP Logical add WOR Exclusive NOR WXNR WORP WXNRP REMARKS The logical operation instructions perform the following processings in units of one bit Classification Processing Operation Expression Example A B Y Logical product Set to 1 only when both inputs A and B are 1 Set to 0 otherwise Y A B 0 0 0 0 1 0 1 0 0 1 1 1 Logical add Set to 0 only when ...

Page 186: ...is and stores the result into the device specified at Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 WAND K1 to K4 WAND S D S1 S2 D1 WANDP Operation commands Operation commands WAND WANDP WAND Data to be ANDed or head numbers of devices that store data Head number of device that will store result of logical product S S1 S2 ...

Page 187: ...d as 0 for operation Execution Conditions The execution conditions of the logical product instructions are as shown below Program Examples 1 Program that masks the tenth digit second place from the least significant digit with 0 among the four BCD digits of D10 when XA turns on S1 S2 D1 Before execution After execution 16 bits WAND WANDP Operation command Executed every scan Executed every scan Ex...

Page 188: ...on ANDs X10 1B data and D33 data and stores result to D33 Outputs D33 data to Y0 F Coding X1B to 10 D33 X1B X1A X19 X18 X17 X16 X15 X14 X13 X12 X11 X10 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 b15 b14 b13 b12 D33 Regarded as 0s Turn to 0s Coding X1B to 10 D33 X1B X1A X19 X18 X17 X16 X15 X14 X13 X12 X11 X10 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 b15 b14 b13 b12 YB YA Y9 Y8 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 YB to...

Page 189: ...ores the result into the device specified at Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 WOR K1 to K4 WOR S D S1 S2 D1 WORP Operation commands Operation commands WOR WORP WOR Data to be ORed or head numbers of devices that store data Head number of device that will store result of logical add S S1 S2 D D1 D S D Before ex...

Page 190: ...he 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 Program Examples 1 Program that ORs the D10 and D20 data and stores the result into D10 when XA turns on S1 S2 D1 Before execution After execution 16 bits WOR WORP Operation command Executed every scan Executed only once Executed only ...

Page 191: ... to Y0 F when XA turns on 3 Program that ORs the D10 and D20 data and stores the result into D33 when XA turns on 4 Program that ORs the X10 1B and D33 data and outputs the result to Y0 B when XA turns on ORs X10 1B and D33 and stores result into D33 Outputs D33 data to Y0 F Coding Coding Coding ...

Page 192: ...esignation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 WXOR K1 to K4 S D S1 S2 D1 WXORP Operation commands Operation commands WXOR WXORP WXOR Data for which exclusive OR will be performed or head number of device which stores data Head number of device which will store the result of exclusive OR S S1 S2 D D1 ...

Page 193: ...ata of device specified at per bit and stores the result into the device specified at 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 WXOR D S D 16 bits Before execution After execution S1 S2 D Before execution After execution 16 bits WXOR WX...

Page 194: ...gram 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 3 Program which performs exclusive OR of the data of D10 and that of D20 and stores the result to D33 when XA turns on 4 Program which performs exclusive OR of the data of X10 to 1B and the data of D33 and sends the result to the Y30 to 3B when XA turns on WXOR ...

Page 195: ...Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 WXNR K1 to K4 S D S1 S2 D1 WXNRP Operation commands Operation commands WXNR WXNRP WXNR Data for which exclusive NOR will be performed or head number of device which stores data Head number of device which will store the result of exclusive NOR S S1 S2 D D1 ...

Page 196: ...e 16 bit data of device specified at per bit and stores the result into the device specified at 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 not exclusive logical add instructions are as shown below WXNR D S D Before execution After execution 16 bits S1 S2 D Before execution After execution 1...

Page 197: ...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 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 X0 turns on WXNR ...

Page 198: ...in device specified at 2 Used to reverse the positive sign to the negative sign and vice versa Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 NEG K1 to K4 D 2 s complement execution commands NEG NEGP Head number of device which stores data for which 2 s complement will be performed D D D Before execution Sign conversion Aft...

Page 199: ...Program Examples 1 Program which calculates D10 D20 when XA turns on and obtains the absolute value when the result is negative NEG NEG NEGP 2 s complement execution command Executed every scan Executed only once Executed only once Executed every scan ...

Page 200: ...ster the device of the code to be displayed on FR PU07 01 is not used but specify Y Usable Devices Digit Designation Error Flag Bit devices Word 16 bit devices Constants Level X Y M T C D K H N M9010 M9011 PR S2 S D ASCII print command PR S D Set data The first character of the device where the ASCII code is saved Not used but specify Y S D S D ...

Page 201: ...or display Upper 8 bits Lower 8 bits 0 01 Set the corresponding monitor number in the upper 8 bits and set 01 in the lower 8 bits 2nd character 1st character Monitored item name first character 4th character 3rd character 6th character 5th character 8th character 7th character 10th character 9th character 12th character 11th character 2nd character 1st character Unit first character 8 3rd characte...

Page 202: ...gnating the seventh bit of 0 as 1 lower 8 bits are H82 clears the setting and the change the display back to the normal fault display Upper 8 bits Lower 8 bits 0 02 Set the corresponding fault number in the upper 8 bits and set 02 in the lower 8 bits 2nd character 1st character Fault name first character 4th character 3rd character 6th character 5th character 8th character 7th character 10th chara...

Page 203: ...nd changes the display back to the normal parameter number display Upper 8 bits Lower 8 bits 0 03 Set the corresponding parameter number in the upper 8 bits and set 03 in the lower 8 bits 2nd character 1st character Parameter name first character 4th character 3rd character 6th character 5th character 8th character 7th character 9th character 2nd character 1st character Unit first character 7 3rd ...

Page 204: ...arger than the storable size of the applicable devices the exceeded data will modify other devices although no error will occur Before storing data make sure to have enough devices available to store the data REMARKS Do not change the data in each device while it is being displayed The data in the device is used for actual communication If data is changed while it is being displayed the data to be...

Page 205: ...ices available to store the data REMARKS Always use four devices for the ASC command If the set characters are less than 8 characters the blank area is filled with spaces to make up to 8 characters in total Because of how GX Developer operates the symbol and lower case English characters cannot be specified To display these symbol and characters specify with ASCII code directly D Conversion comman...

Page 206: ... and stores the result to the D88 to 95 when X8 turns on ASC OFF ON Conversion command ASC Executed only once Executed only once X008 0 ASC ABCDEFGH D88 ASC IJKLMNOP D92 Eight characters A to H are converted into ASCII code and stored into the D88 to 91 Eight characters I to P are converted into ASCII code and stored into the D92 to 95 Coding 0 LD X008 1 ASC ABCDEFGH D88 14 ASC IJKLMNOP D92 27 END...

Page 207: ...200 MEMO ...

Page 208: ...201 Chapter 1 Chapter 2 Chapter 3 Chapter 4 4 ERROR CODE LIST 4 1 How to read the error code 202 ...

Page 209: ...be decoded is included in the program The memory contents changed for some reason Read the error step using GX Developer and correct that step in the program PARAMETER ERROR Checked at power on or STOP to RUN 11 Stop 1 Write to the CPU was performed after the capacity larger than the memory capacity of the CPU was set using GX Developer 2 The parameter data of the CPU memory changed due to noise o...

Page 210: ...ange is set in the upper 8 bits of 0 Monitors faults and parameters are set exceeding the number of selectable items 1 Read the error step by use of peripheral device and check and correct the program at that step 2 Set a value from 01 to 03 in the lower 8 bits of 0 Check the upper 8 bits of 0 Set monitors faults parameters within the number of selectable items Error Name Error Code D9008 Status D...

Page 211: ...204 MEMO ...

Page 212: ...205 APPENDIX Appendix 1 Instruction processing time 206 ...

Page 213: ... 1 2 6 Special M 3 3 3 T 3 3 8 C 3 3 8 D 3 3 2 MOV 5 7 7 DMOV 7 15 1 MOVP 5 8 5 DMOVP 7 15 8 WAND 5 10 3 WANDP 5 10 7 WAND 7 10 1 WANDP 7 10 7 WOR 5 10 3 WORP 5 10 7 WOR 7 10 2 WORP 7 10 6 WXOR 5 10 4 WXORP 5 10 8 WXOR 7 10 3 WXORP 7 10 7 WXNR 5 10 5 WXNRP 5 10 9 WXNR 7 10 3 WXNRP 7 10 7 NEG 3 7 7 NEGP 3 8 1 LD 5 7 7 LD 7 8 3 LDD 11 15 2 LD 5 7 8 LD 7 8 3 LDD 11 15 2 LD 5 7 7 LD 7 8 3 LDD 11 15 2 ...

Page 214: ...5 2 OR 5 7 6 OR 7 8 2 ORD 11 15 2 Instruction Condition Device Number of Steps Processing Time μs 5 10 3 P 5 10 7 7 10 3 P 7 10 7 D 9 15 5 D P 9 16 1 D 11 15 6 D P 11 16 1 5 10 3 P 5 10 7 7 10 4 P 7 10 8 D 9 15 6 D P 9 16 1 D 11 15 6 D P 11 16 1 7 10 8 P 7 11 3 7 11 3 P 7 11 8 D 11 16 2 D P 11 16 7 D 11 16 6 D P 11 17 2 PR 7 14 4 ASC 13 26 7 Instruction Condition Device Number of Steps Processing ...

Page 215: ...of the back cover Print Date Manual Number Revision May 2010 IB NA 0600420ENG A First edition Jul 2010 IB NA 0600420ENG B D9213 PID measured value 2 D9228 BACnet reception status Mar 2012 IB NA 0600420ENG C FR F700 EC series Addition Addition IB NA 0600420ENG C ...

Page 216: ...FR F 700 INVERTER ...

Reviews: