3 − 739 Floating point type real number data processing instructions F345 FCMP Floating point real number data comparison.. 3 − 751 F351 FMIN Minimum value search in floating point real
Trang 3Chapter 1 Relays, Memory Areas and Constants
1.1 Table of Relays, Memory Areas and Constants 1 - 2 1.1.1 FP0/FP−e 1 - 2 1.1.2 FP0R 1 - 7 1.1.3 FPΣ 1 - 9 1.1.4 FP−X 1 - 13 1.1.5 FP2 1 - 15 1.1.6 FP2SH 1 - 17 1.1.7 FP10SH 1 - 19 1.1.8 Relay Numbers 1 - 21 1.2 Explanation of Relays 1 - 24 1.2.1 External Input Relays (X) 1 - 24 1.2.2 External Output Relays (Y) 1 - 25 1.2.3 Internal Relays (R) 1 - 26 1.2.4 Special Internal Relays 1 - 28 1.2.5 Link Relays (L) for FPΣ, FP−X, FP0R 1 - 29 1.2.6 Link Relays (L) for FP2/FP2SH/FP10SH 1 - 31 1.2.7 Timer (T) 1 - 35 1.2.8 Counter (C) 1 - 36 1.2.9 Items Shared by the Timer and Counter 1 - 37 1.2.10 Pulse Relays (P) 1 - 39 1.2.11 Error Alarm Relays (E) 1 - 41 1.3 Explanation of Memory Areas 1 - 44 1.3.1 Data Register (DT) 1 - 44 1.3.2 Special Data Registers (DT) 1 - 46 1.3.3 File Registers (FL) 1 - 48 1.3.4 WX, WY, WR and WL 1 - 49 1.3.5 Link Data Registers (LD) for FPΣ/FP−X/FP0R 1 - 50 1.3.6 Link Data Registers (LD) for FP2/FP2SH/FP10SH 1 - 52 1.3.7 Set Value Area for Timer/Counter (SV) 1 - 56 1.3.8 Elapsed Value Area for Timer/Counter (EV) 1 - 57 1.3.9 Index Registers (IX, IY) (for FP0, FP−e) 1 - 58 1.3.10 Index Registers (I0 to ID) (for FPΣ/FP−X/FP0R) 1 - 61 1.3.11 Index Registers (I0 to ID) (for FP2, FP2SH and FP10SH) 1 - 62 1.4 Explanation of Constants 1 - 72 1.4.1 Integer Type Decimal Constants (K) 1 - 72 1.4.2 Hexadecimal Constants (H) 1 - 73 1.4.3 Floating Point Type Real Numbers (f) 1 - 74
Trang 41.4.5 Character Constants (M) 1 - 80 1.5 Data Ranges Which can be Handled in the PLC 1 - 81 1.5.1 Data Ranges Which can be Handled in the PLC 1 - 81 1.5.2 Overflow and Underflow 1 - 84
Chapter 2 Basic Instructions
2.1 Composition of Basic Instructions 2 - 3 2.1.1 Sequence Basic Instructions 2 - 3 2.1.2 Basic Function Instructions 2 - 4 2.1.3 Control Instructions 2 - 4 2.1.4 Data Compare Instructions 2 - 5 2.2 Number of Steps in the FP2, FP2SH and FP10SH 2 - 6
Chapter 3 High−level Instructions
3.1 Composition of High-level Instructions 3 - 3 3.1.1 Composition 3 - 3 3.1.2 High-level Instruction Numbers and Program Input 3 - 4 3.1.3 High-level Instruction and Execution Condition (Trigger) 3 - 5 3.1.4 “F” and “P” Type High-level Instructions 3 - 6
4.1 Changing the Set Value of Timer/Counter During RUN 4 - 3 4.1.1 Method of Rewriting Constant in the Program 4 - 3 4.1.2 Method of Rewriting a Value in the Set Value Area 4 - 5 4.2 Use of Duplicated Output 4 - 8 4.2.1 Duplicated Output 4 - 8 4.2.2 When Output is Repeated with an OT, KP, SET, or RST
Instruction 4 - 9 4.3 Leading Edge Detection Method 4 - 10
Trang 54.4.2 Operation Mode when an Operation Error Occurs 4 - 16 4.4.3 Dealing with Operation Errors 4 - 17 4.4.4 Points to Check in Program 4 - 18 4.5 Handling Index Registers 4 - 19 4.5.1 Index Registers 4 - 19 4.5.2 Memory Areas Which can be Modified with Index Registers 4 - 20 4.5.3 Example of Using an Index Register 4 - 21 4.6 Handling BCD Data 4 - 25 4.6.1 BCD Data 4 - 25 4.6.2 Handling BCD Data in the Programmable Controller 4 - 25 4.7 Precautions for Programming 4 - 27 4.8 Rewrite Function During RUN 4 - 28 4.8.1 Operation of Rewrite During RUN 4 - 28 4.8.2 Cases Where Rewriting During Run is not Possible 4 - 29 4.8.3 Procedures and Operation of Rewrite During RUN 4 - 31 4.9 Processing During Forced Input and Output 4 - 32 4.9.1 Processing when forced input/output is initiated during RUN 4 - 32 4.10 Second Program Area (FP2SH, FP10SH) 4 - 34
5.1 System Registers / Special Internal Relays / Special Data Registers 5−3
5.1.1 Table of System Registers for FP0 5−5 5.1.2 Table of Special Internal Relays for FP0 5−15 5.1.3 Table of Special Data Registers for FP0 5−18 5.1.4 Table of System Registers for FP−e 5−28 5.1.5 Table of Special Internal Relays for FP−e 5−32 5.1.6 Table of Special Data Registers for FP−e 5−36 5.1.7 Table of System Registers for FP0R 5−43 5.1.8 Table of Special Internal Relays for FP0R 5−49 5.1.9 Table of Special Data Registers for FP0R 5−59 5.1.10 Table of System Registers for FPΣ 5−78 5.1.11 Table of Special Internal Relays for FPΣ 5−84 5.1.12 Table of Special Data Registers for FPΣ 5−93 5.1.13 Table of System Registers for FP−X 5−107 5.1.14 Table of Special Internal Relays for FP−X 5−119 5.1.15 Table of Special Data Registers for FP−X 5−130 5.1.16 Table of System Registers for FP2/FP2SH/FP10SH 5−151 5.1.17 Table of Special Internal Relays for
FP1/FP−M/FP2/FP2SH/FP10SH/FP3
5−165
Trang 65.2 Table of Basic Instructions 5−201 5.3 Table of High−level Instructions 5−209 5.4 Table of Error codes 5−229 5.5 MEWTOCOL−COM Communication Commands 5−242 5.6 Hexadecimal/Binary/BCD 5−243 5.7 ASCII Codes 5−244
Record of changes R - 1
Trang 7ST↑ Leading edge start 2 − 14
ST↓ Trailing edge start 2 − 14
AN↑ Leading edge AND 2 − 14
AN↓ Trailing edge AND 2 − 14
OR↑ Leading edge OR 2 − 14
OR↓ Trailing edge OR 2 − 14
OT↑ Leading edge out 2 − 16
OT↓ Trailing edge out 2 − 16
ALT Alternative out 2 − 18
ANS AND stack 2 − 19
ORS OR stack 2 − 21
PSHS Push stack 2 − 23
RDS Read stack 2 − 23
POPS Pop stack 2 − 23
DF Leading edge differential 2 − 26
DF/ Trailing edge differential 2 − 26
DFI Leading edge differential
(initial execution type) 2 − 30
ED End 2 − 70 CNDE Conditional end 2 − 71 EJECT Eject 2 −73
Step ladder instructions
SSTP Start step 2 − 75 NSTL Next step 2 − 75 NSTP Next step 2 − 75 CSTP Clear step 2 − 75 STPE Step end 2 − 75 SCLR Clear multiple processes 2 − 85
Subroutine instructions
CALL Subroutine call 2 − 86 FCAL Output off type
subroutine call 2 − 89 SUB Subroutine entry 2 − 86 RET Subroutine return 2 − 86
Interrupt instructions
INT Interrupt 2 − 91 2 − 97 IRET Interrupt return 2 − 91, 2 − 97 ICTL Interrupt control 2 − 102, 2 − 110
Trang 8SYS1 Communication conditions
setting 2 − 119
Password setting 2 − 123
Interrupt setting 2 − 125
PLC link time setting 2 − 127
Change high−speed counter
Data compare instructions
ST= 16−bit data compare
comparison: (Start) 2 − 140 STF< Floating point real number data
comparison: (Start) 2 − 140 STF<= Floating point real number data
comparison: (Start) 2 − 140 AN= 16−bit data compare
(AND) 2 − 142 AN<> 16−bit data compare
(AND) 2 − 142 AN> 16−bit data compare
(AND) 2 − 142 AN>= 16−bit data compare
(AND) 2 − 142 AN< 16−bit data compare
(AND) 2 − 142 AN<= 16−bit data compare
(AND) 2 − 142 AND= 32−bit data compare
(AND) 2 − 144 AND<> 32−bit data compare
(AND) 2 − 144 AND> 32−bit data compare
(AND) 2 − 144 AND>= 32−bit data compare
(AND) 2 − 144 AND< 32−bit data compare
(AND) 2 − 144 AND<= 32−bit data compare
(AND) 2 − 144 ANF= Floating point real number data
comparison: (AND) 2 − 146 ANF<> Floating point real number data
comparison: (AND) 2 − 146 ANF> Floating point real number data
comparison: (AND) 2 − 146 ANF>= Floating point real number data
comparison: (AND) 2 − 146
Trang 9OR<> 16−bit data compare
Trang 10High−level Instructions
Data transfer instructions
F0 MV 16-bit data move 3 − 8
F12 ICRD Data read from EEPROM 3 − 33
Data read from F−ROM 3 − 35 F12 ICRD Data read from IC card 3 − 37
P13 PICWT Data write to EEPROM 3 − 39
Data write to F−ROM 3 − 41 F13 ICWT Data write to IC card 3 − 43
Trang 11Control instruction
F19 SJP Auxiliary jump 3 − 57 LBL
Binary arithmetic instructions
F20 + 16-bit data addition 3 − 59
Trang 12Data compare instructions
F60 CMP 16-bit data comparison 3 − 127
Trang 13F66 WOR 16-bit data OR 3 − 145
Data conversion instructions
F70 BCC Block check code calculation 3 − 153
Trang 14Data shift instructions
F98 CMPR Data table shift-out and compress 3 − 224
Trang 15F113 WBSL Left shift of one hexadecimal digit (4-bit) of 16−bit data range 3 − 252 P113 PWBSL
Basic function instructions
F118 UDC UP/DOWN counter 3 − 267 F119 LRSR Left/right shift register 3 − 270
Data rotate instructions
F120 ROR 16-bit data right rotation 3 − 274
Bit manipulation instructions
F130 BTS 16-bit data bit set 3 − 290 P130 PBTS
F131 BTR 16-bit data bit reset 3 − 292 P131 PBTR
F132 BTI 16-bit data bit invert 3 − 294 P132 PBTI
F133 BTT 16-bit data bit test 3 − 296 P133 PBTT
F135 BCU Number of on (1) bits in 16-bit data 3 − 298
Trang 16P136 PDBCU
Basic function instruction
F137 STMR Auxiliary timer (16−bit) 3 − 302
F144 TRNS Serial data communication
for FP0/FP−e 3 − 318 for FP2/FP2SH/FP10SH 3 − 325 F145 SEND Data send (For MEWTOCOL master mode) 3 − 335 P145 PSEND Data send (For MODBUS master/MODBUS masterⅡ mode) 3 − 339
Data send (MEWNET link) 3 − 350 F146 RECV Data receive (For MEWTOCOL master mode) 3 − 360 P146 PRECV Data receive(For MODBUS master/MODBUS masterⅡ mode) 3 − 364
Data receive (MEWNET link) 3 − 376 F147 PR Printout 3 − 386 F148 ERR Self-diagnostic error set 3 − 390 P148 PERR
Trang 17F157 CADD Time addition 3 − 413 P157 PCADD
F158 CSUB Time substruction 3 − 416 P158 PCSUB
F159 MTRN Serial data communication
P159 PMTRN for FPΣ/FP−X/FP0R 3 − 420
for FP2/FP2SH 3 − 428 F161 MRCV Serial data reception 3 − 432 P161 PMRCV
BIN arithmetic instructions
F160 DSQR 32-bit data square root 3 − 435 P160 PDSQR
Special instructions (High−speed counter instructions)
F0 MV High−speed counter control for FP0/FP0R/FPΣ /FP−X 3 − 437
Pulse output control for FP0/FP0R/FP−e/FPΣ /FP−X 3 − 443 F1 DMV Writing and reading the high−speed counter and pulse output
elapsed value for FP0/FP0R/FP−e/FPΣ /FP−X 3 − 449 F165 CAM0 Cam control 3 − 454 F166 HC1S Target value match on (with channel specification) ****
F166 HC1S Target value match on (High−speed counter control) 3 − 464 F166 HC1S Target value match on (Pulse output control) 3 − 467 F167 HC1R Target value match off (with channel specification) ****
F167 HC1R Target value match off (High−speed counter control) 3 − 473 F167 HC1R Target value match off (Pulse output control) 3 − 476 F168 SPD1 Positioning control (trapezoidal control) 3 − 479
Positioning control (home position return) 3 − 483 F169 PLS Pulse output (with channel specification)(JOG operation) 3 − 488 F170 PWM PWM output (with channel specification) 3 − 491 F171 SPDH Pulse output (with channel specification)
(trapezoidal control) 3 − 493 (home position return) 3 − 498 F171 SPDH Pulse output (trapezoidal control) 3 − 504
Pulse output (JOG positioning type 0) 3 − 511 Pulse output (JOG positioning type 1) 3 − 516 F172 PLSH Pulse output (with channel specification)(JOG operation) 3 − 521 F172 PLSH Double word compare: Start equal Pulse output
(JOG operation type 0 and 1) 3 − 525 F173 PWMH PWM output (with channel specification) ****
F174 SP0H Pulse output (with channel specification)
(Selectable data table control operation) 3 − 533 F174 SP0H Pulse output (Arbiterary data table control operation) 3 − 538
Trang 18F175 SPSH Pulse output (Linear interpolation) 3 − 548 F176 SPCH Pulse output (Circular interpolation) 3 − 553
Screen display instructions
F177 HOME Pulse output (Home return) 3 − 557 F178 PLSM Input pulse measurement 3 − 561 F180 SCR FP−e screen display registration 3 − 565 F181 DSP FP−e screen display switching 3 − 568 F182 FILTR Time constant processing 3 − 569
Basic function instruction
F183 DSTM Auxiliary timer (32-bit) 3 − 571
Data transfer instructions
F190 MV3 Three 16-bit data move 3 − 575 P190 PMV3
F191 DMV3 Three 32-bit data move 3 − 577 P191 PDMV3
Logic operation instructions
F215 DAND 32-bit data AND 3 − 579 P215 PDAND
F216 DOR 32-bit data OR 3 − 581
F217 DXOR 32-bit data XOR 3 − 583 P217 PDXOR
F218 DXNR 32-bit data XNR 3 − 585 P218 PDXNR
F219 DUNI 32-bit data unites 3 − 587 P219 PDUNI
F230 TMSEC Time data Second conversion 3 − 589 P230 PTMSEC
F231 SECTM Second Time data conversion 3 − 591 P231 PSECTM
Data conversion instructions
Trang 19F238 DGBIN 32−bit Gray code → 32−bit binary data 3 − 596 P238 PDGBIN
F240 COLM Bit line to bit column conversion 3 − 599 P240 PCOLM
F241 LINE Bit column to bit line conversion 3 − 601 P241 PLINE
F250 BTOA Binary → ASCII conversion 3 − 603 F251 ATOB ASCII → Binary conversion 3 − 608 F252 ACHK ASCII data check 3 − 613
Character string instructions
F257 SCMP Comparing character strings 3 − 617 P257 PSCMP
F258 SADD Character string coupling 3 − 619 P258 PSADD
F259 LEN Number of characters in a character string 3 − 621 P259 PLEN
F260 SSRC Search for character string 3 − 623 P260 PSSRC
F261 RIGHT Retrieving data from character strings (right side) 3 − 625 P261 PRIGHT
F262 LEFT Retrieving data from character strings (left side) 3 − 627 P262 PLEFT
F263 MIDR Retrieving a character string from a character string 3 − 629 P263 PMIDR
F264 MIDW Writing a character string to a character string 3 − 631 P264 PMIDW
F265 SREP Replacing character strings 3 − 633 P265 PSREP
Integer type data processing instructions
F270 MAX Maximum value search in 16-bit data table 3 − 635
Trang 20F284 RAMP Inclination output of 16−bit data 3 − 655
Integer type non-linear function instructions
F285 LIMT 16-bit data upper and lower limit control 3 − 657 P285 PLIMT
F286 DLIMT 32-bit data upper and lower limit control 3 − 659 P286 PDLIMT
F287 BAND 16-bit data deadband control 3 − 661 P287 PBAND
F288 DBAND 32-bit data deadband control 3 − 663 P288 PDBAND
F289 ZONE 16-bit data zone control 3 − 665 P289 PZONE
F290 DZONE 32-bit data zone control 3 − 667 P290 PDZONE
BCD type real number operation instructions
F300 BSIN BCD type Sine operation 3 − 669 P300 PBSIN
F301 BCOS BCD type Cosine operation 3 − 671 P301 PBCOS
F302 BTAN BCD type Tangent operation 3 − 673 P302 PBTAN
F303 BASIN BCD type Arcsine operation 3 − 675 P303 PBASIN
F304 BACOS BCD type Arccosine operation 3 − 677 P304 PBACOS
F305 BATAN BCD type Arctangent operation 3 − 679 P305 PBATAN
Floating point type real number operation instructions (for FP2/FP2SH/FP10SH)
F309 FMV Floating point data move 3 − 681 P309 PFMV
Trang 21F313 F% Floating point data division 3 − 689 P313 PF%
F314 SIN Floating point data Sine operation 3 − 691 P314 PSIN
F315 COS Floating point data Cosine operation 3 − 693
F327 INT Floating point real number data →16-bit integer data (largest
P327 PINT integer not exceeding the floating point real number data) 3 − 717 F328 DINT Floating point real number data → 32-bit integer data (largest
P328 PDINT integer not exceeding the floating point real number data) 3 − 719 F329 FIX Floating point real number data →16-bit integer data
P329 PFIX (rounding the first decimal point down to integer) 3 − 721 F330 DFIX Floating point real number data →32-bit integer data
P330 PDFIX (rounding the first decimal point down to integer) 3 − 723 F331 ROFF Floating point real number data →16-bit integer data
P331 PROFF (rounding the first decimal point off to integer) 3 − 725 F332 DROFF Floating point real number data →32-bit integer data
P332 PDROFF (rounding the first decimal point off to integer) 3 − 727 F333 FINT Floating point real number data rounding the first decimal
P333 PFINT point down 3 − 729 F334 FRINT Floating point real number data rounding the first decimal
P334 PFRINT point off 3 − 731 F335 F+/− Floating point real number data sign changes 3 − 733 P335 PF+/−
Trang 22P336 PFABS
F337 RAD Floating point real number data conversion of angle units
P337 PRAD (Degrees → Radians) 3 − 737 F338 DEG Floating point real number data conversion of angle units
P338 PDEG (Radians → Degrees) 3 − 739
Floating point type real number data processing instructions
F345 FCMP Floating point real number data comparison 3 − 741 P345 PFCMP
F346 FWIN Floating point real number data band comparison 3 − 743 P346 PFWIN
F347 FLIMT Floating point data upper and lower limit control
P347 PFLIMT 3 − 745 F348 FBAND Floating point real number data deadband control 3 − 747 P348 PFBAND
F349 FZONE Floating point real number data zone control 3 − 749 P349 PFZONE
F350 FMAX Maximum value search in floating point real number data
P350 PFMAX table 3 − 751 F351 FMIN Minimum value search in floating point real number data
P351 PFMIN table 3 − 753 F352 FMEAN Total and mean numbers calculation in floating point real
P352 PFMEAN number data table 3 − 755 F353 FSORT Sort data in real number floating point data table 3 − 757 P353 PFSORT
F354 FSCAL Scaling of real number data 3 − 759 P354 PFSCAL
Time series processing instruction
F355 PID PID processing 3 − 761 F356 EZPID Easy PID 3 − 768
Trang 23F412 POPB Restoring the index register bank number 3 − 784 P412 PPOPB
File register bank processing instructions
F414 SBFL Setting the file register bank number 3 − 785 P414 PSBFL
F415 CBFL Changing the file register bank number 3 − 786 P415 PCBFL
F416 PBFL Restoring the file register bank number 3 − 787 P416 PPBFL
Trang 25Relays, Memory Areas and Constants
Trang 261.1 Table of Relays, Memory Areas and Constants
1.1.1 FP0/FP−e
FP0
C10/C14 /C16 C32/SL1 T32C Relay External input
relay (X) 208 points (X0 to X12F) Turns on/off based on external input.
If a TM instruction has timed out, the
contact with the same number turns on.
Counter
(* Note 2) (C)
(* Note 1)
If a CT instruction has counted up, the
contact with the same number turns on.
6,144 words (DT0 to DT6143)
16,384 words (DT0 to DT16383)
Data memory used in program Data is handled in 16−bit units (one word).
Timer/Counter
set value area
(* Note 2)
(SV) 144 words
(SV0 to SV143) Data memory for storing a target valueof a timer and an initial value of a
count-er Stores by timer/counter numbcount-er.
Timer/Counter
elapsed value area
(* Note 2)
(EV) 144 words
(EV0 to EV143) Data memory for storing the elapsedvalue during operation of a
timer/count-er Stores by timer/counter numbtimer/count-er.
Special data
register (DT) 112 words(DT9000 to DT9111) 112 words(DT90000
to DT90111)
Data memory for storing specific data.
Various settings and error codes are stored.
Index register (I) 2 words (IX, IY) Register can be used as an address of
memory area and constants modifier.
point Number of labels (JP and LOOP) 64 labels 255labels
Number of step ladders 128 stages 704
Trang 27Function Numbering
T32C C32/SL1 C10/C14
/C16 Item
Constant Decimal
t t (K) K−32768 to K32767 (for 16-bit operation)
constants ( ) K−2147483648 to K2147483647 (for 32-bit operation)
Hexadecimal
t t (H) H0 to HFFFF (for 16-bit operation)
constants ( ) H0 to HFFFFFFFF (for 32-bit operation)
2) There are two unit types, the hold type that saves the conditions that exist just before turning the power off or changing form the RUN mode to PROG mode, and the non−hold type that resets them For the FP0 T32C, the selection of hold type and non−hold type can be changed by the setting of system register These areas can be spcified as hold type or non−hold type by setting system register For the FP0 C10/C14/C16/C32/SL1, that area is fixed and allotted the numbers as shown below.
Hold type and Non-hold type areas
Timer Non−hold type: All points
Counter Non-hold type From the set value to C139 From the set value to C127
Hold type 4 points (elapsed values)
(C140 to C143) 16 points (elapsed values)C128 to C143
Internal relay Non-hold type 976 points(R0 to R60F)
61 words (WR0 to WR60)
880 points (R0 to R54F)
55 words (WR0 to WR54)
Hold type 32 points (R610 to R62F)
2 words (WR61 to WR62) 128 points (R550 to R62F)8 words (WR55 to WR62)
Data register eg s e Non-hold type 1652 words(DT0 to DT1651) 6112 words(DT0 to DT6111)
Hold type 8 words
(DT1652 to DT1659) 32 words(DT6112 to DT6143)
Trang 28%IX12.15 Turns on or off based onexternal input.
External output relay
(see note 3) 208 Y0−Y12F %QX0.0− %QX12.15 Outputs on or off stateexternally.
Special internal relay 64 R9000−R903F %MX0.900.0−
%MX0.903.15 Turns on or off based on specificconditions Used as a flag.
External input relay
(see note 3) 13 words WX0−WX12 %IW0− %IW12 Code for specifying 16 externalinput points as one word (16
bits) of data.
External output relay
(see note 3) 13 words WY0−WY12 %QW0− %QW12 Code for specifying 16 externaloutput points as one word (16
(see note 2) 1660 words DT0−DT1659 %MW5.0− %MW5.1659 Data memory used in aprogram Data is handled in
16-bit units (one word).
value area 144 words SV0−SV143 %MW3.0− %MW3.143 Data memory for storing a targetvalue of a timer and an initial
value of a counter Stores by timer/counter number.
Special data
register 112 words DT9000− DT9111 %MW5.9000− %MW5.9111 Data memory for storingspecific data Various settings
and error codes are stored.
Index register 2 words IX−IY %MW6.0−
%MW6.1 Used as an address of memoryarea and constants modifier.
Trang 29External output relay
(see note 3) 6 doublewords DWY0−DWY11 %QD0− %QD11 Code for specifying 32 externaloutput points as double word
(see note 2) 830 doublewords DDT0− DDT1658 %MD5.0− %MD5.1658 Data memory used in aprogram Data is handled in
32-bit units (double word).
Timer/counter set
value area 72 doublewords DSV0−DSV142 %MD3.0− %MD3.142 Data memory for storing atarget value of a timer and an
initial value of a counter Stores
of a timer/counter Stores by timer/counter number.
Special data
register 56 doublewords DDT9000− DDT9110 %MD5.9000− %MD5.9110 Data memory for storingspecific data Various settings
and error codes are stored.
Index register 1 double
words DI0 %MD6.0 Used as an address ofmemory area and constants
Number of interrupt programs 7 programs (external: 6, internal: 1)
Item Range available for use g
Decimal constants K−32768 to K32767 (for 16-bit operation) −32768 to 32767 (for 16-bit operation)
K−2147483648 to K2147483647 (for 32-bit operation) −2147483648 to 2147483647(for 32-bit operation)
Trang 301) The points for the timer and counter can be changed by the setting of System register No 5 The number given in the table above are the numbers when System register No 5 is at its default setting.
2) There are two unit types;
the hold type that saves the conditions that exist just before turning the power off or changing from the RUN mode to PROG mode, and the non−hold type that resets them.
These areas can be specified as hold type or non−hold type by setting system register.
For the FP−e, that area is fixed and allotted the numbers as shown in the table below For the FP−e with clock/calendar function type, the selection of hold type and non−hold type can be changed by the setting of system register.
3) The number of points noted above is the number reserved in the system For the actual number of points available for use, refer to “I/O Allocation” in Appendix A.
4) Double words cannot be specified with FPWIN GR.
Hold type and non−hold type areas*1
(Standard type) (Calendar timer AFPE224305
type)
AFPE214325 (Thermocouple input type) Timer Non−hold type: all points
Counter Non-hold type From the set value to C139
Hold type yp C140 to C143, EV140 to EV143 (elapsed value)
SV: non−hold *2 SV: hold
Internal relay e ay Non-hold type 976 points (R0 to R60F)61 words (WR0 to WR60)
Hold type 32 points (R610 to R62F)
*2 Use the following methods for holding the SV data:
− Set the transfer instruction for the special data register (DT) to hold the data Then, perform the setting so that the
Trang 311.1.2 FP0R
Item Number of points and range of
memory area available for use Function C10, C14, C16 C32, T32, F32
Relay External input
corresponds to the counter number.
units (one word).
Timer/Counter
set value area
Trang 32Function Number of points and range of
memory area available for use
C32, T32, F32 C10, C14, C16
2) There are two types, one is the hold type that the last state is stored even if the power supply turns off or the mode is changed to PROG mode from RUN mode, and the other is the non−hold type that the state is reset.
For C10/C14/C16/C32: The hold type areas and non−hold type
areas are fixed For information on the sections of each area, refer to the performance specifications.
For T32/F32: The settings of the hold type areas and
non−hold type areas can be changed using the system registers.
On T32, if the battery has run out, the data in the hold area may be indefinite (Not cleared to 0) 3) The points for the timer and counter can be changed by the setting of system register 5 The number given in the table are the numbers when system register 5 is at its default setting.
Trang 33Rel Internal relay
(see note 2) 1568 R0−R97F Turns on or off only within aprogram.
1024 T0−T1007/C1008−C1023 Goes on when the timer reaches
the specified time.
Corresponds to the timer number.
Special internal relay 176 R9000−R910F Turns on or off based on specific
conditions Used as a flag.
External input relay
(see note 1)
FPG−C32T/C32TTM
input points as one word (16 bits) of data.
External input relay
output points as one word (16 bits) of data.
Link relay 64 words WL0−WL63 Code for specifying 16 link relay
points as one word (16 bits) of data.
Trang 34Item Number of
points Memory area available for use Function Data register
(see note 2) 32765 words DT0−DT32764 Data memory used in aprogram Data is handled in
16-bit units (one word).
Link data register
(see note 2) 128 words LD0−LD127 A shared data memory whichis used within the PLC link.
Data is handled in 16-bit units (one word).
target value of a timer and an initial value of a counter Stores
Special data
register 260 words DT90000−DT90259 Data memory for storingspecific data Various settings
and error codes are stored.
Index register 14 words I0−ID Can be used as an address of
memory area and constants modifier.
Decimal constants
t (integer type) K−2147483648 to K2147483647 (for 32-bit operation)
stant Hexadecimal t t H0 to HFFFF (for 16-bit operation)
constants H0 to HFFFFFFFF (for 32-bit operation)
C Floating point type
F−1.175494×10 −38 to F−3.402823×10 38 F1.175494×10 −38 to F3.402823×10 38
Notes
1) The number of points noted above is the number reserved as the calculation memory The actual number of points available for use is determined by the hardware configuration.
2) If no battery is used, only the fixed area is backed up (counters 16 points: C1008 to C1023, internal relays 128 points: R900 to R97F, data registers: DT32710 to DT32764).
Trang 3532k type
Item Number of points and range of
memory area available for use Function 32TH/C32THTM
C32T2H/C32T2HTM C24R2H/C24R2HTM C28P2H/C28P2HTM External input
(see note 1) (X) 1184 points (X0 to X73F) Turns on or off based on external input.External output (see
note 1) (Y) 1184 points (Y0 to Y73F) Externally outputs on or off state.
Counter
(see note 2) (C)
Thisgoeson whenthe counterincrements.
It corresponds to the counter number.
Special internal relay
(R) 176 points (R9000 to R910F) Relay which turns on or off based onspecific conditions and is used as a flag.
(see note 2) (WR) 256 words (WR0 to WR255) Code for specifying 16 internal relay pointsas one word (16 bits) of data.
Link relay (WL) 128 words (WL0 to WL127) Code for specifying 16 link relay points as
one word (16 bits) of data.
Data register
(see note 2) (DT) 32765 words (DT0 to DT32764) Data memory used in program Data ishandled in 16−bit units (one word).
Link register
(see note 2) (LD) 256 words (LD0 to LD255) This is a shared data memory which isused within the PLC link Data is handled
in 16−bit units (one word).
area Timer/Counter set value area
(see note 2) (SV)
1024 words (SV0 to SV1023) Data memory for storing a target value of
a timer and setting value of a counter Stores by timer/counter number.
Mem Timer/Counter elapsed value area
(see note 2) (EV)
1024 words (EV0 to EV1023) Data memory for storing the elapsed
value during operation of a timer/counter Stores by timer/counter number.
Special data register
(DT) 260 words (DT90000 to DT90259) Data memory for storing specific data.Various settings and error codes are
stored.
Index register (I) 14 words (I0 to ID) Register can be used as an address of
memory area and constants modifier.
Trang 36Item Number of points and range of
memory area available for use Function 32TH/C32THTM
C32T2H/C32T2HTM C24R2H/C24R2HTM C28P2H/C28P2HTM Master control relay
(i t t ) (K) K−32768 to K32767 (for 16-bit operation)
t (integer type) (K) K−2147483648 to K2147483647 (for 32-bit operation)
stant Hexadecimal t t (H) H0 to HFFFF (for 16-bit operation)
constants (H) H0 to HFFFFFFFF (for 32-bit operation)
C Floating point type (F)
F−1.175494×10 −38 to F−3.402823×10 38 F1.175494×10 −38 to F3.402823×10 38
Notes
1) The number of points noted above is the number reserved as the calculation memory The actual number of points available for use is determined by the hardware configuration.
2) If no battery is ued, only the fixed area is backed up (counters
16 points: C1008 to C1023, internal relays 128 points: R2480 to R255F, data registers 55 words: DT32710 to DT32764).
Writing is available up to 10000 times Then the optional battery is used, all area can be backed up Areas to be held and not held can be specified using the system registers If an area is held when the battery is not installed, the value of data may be indefinite as it is not cleared to 0 when the power is turned on When the battery ran out of the power, the data at the hold area will be indefinite.
3) Note3)The points for the timer and counter can be changed by the setting of system register 5 The number given in the table are the numbers when system register 5 is at its default
setting.
Trang 371.1.4 FP−X
Item Number of points and range of
memory area available for use Function C14 C30, C60
Relay External input
corresponds to the counter number.
units (one word).
Timer/Counter
set value area
Trang 38Function Number of points and range of
memory area available for use
C30, C60 C14
2) If no battery is used, only the fixed area is backed up.
(counters 16 points: C1008 to C1023, internal relays 128 points: R2470 to R255F, data registers 55 words, C14: DT12230
to DT12284, C30/C60: DT32710 to DT32764) Writing is available up to 10000 times Then the optional battery is used, all area can be backed up.
Areas to be held and not held can be specified using the system registers If an area is held when the battery is not installed, the value of data may be indefinite as it is not cleared to 0 when the power is turned on When the battery ran out of the power, the data at the hold area will be
indefinite.
3) The points for the timer and counter can be changed by the setting of system register 5 The number given in the table are the numbers when system register 5 is at its default setting.
Trang 391.1.5 FP2
Relay External input
relay (X) 2,048 points(X0 to X127F) Turn on or off based on external input.
(T0 to T999/ C1000 to C1023) tact with the same number turns on.,
Counter (C) If a CT instruction has counted up, the
(* Notes 1 and 2)
p, tact with the same number turns on.
Pulse relay (P) 1,024 points
(P0 to P63F) This relay is used to turn on only for onescan duration programmed with the OT"
and OT# instructions.
output relay (WY) 128 words(WY0 to WY127) Code for specifying 16 external outputpoints as one word (16 bits) of data.
Internal relay (WR) 253 words
(WR0 to WR252) Code for specifying 16 internal relay pointsas one word (16 bits) of data.
Link relay (WL) 128 words
(WL0 to WL127) Code for specifying 16 link relay points asone word (16 bits) of data.
Data register
(* Note 1) (DT) 6,000 words(DT0 to DT5999) Data memory used in program Data ishandled in 16-bit units (one word).
Link data register
(* Note 1) (LD) 256 words(LD0 to LD255) This is a shared data memory which isused within the MEWNET link system.
Data is handled in 16-bit units (one word).
Timer/Counter
set value area
(* Note 1)
(SV) 1,024 words
(SV0 to SV1023) Data memory for storing a target value of atimer and an initial value of a counter.
Stores by timer/counter number.
Timer/Counter
elapsed value area
(* Note 1)
(EV) 1,024 words
(EV0 to EV1023) Data memory for storing the elapsed valueduring operation of a timer/counter Stores
by timer/ counter number.
File register
(* Notes 1 and 3) (FL) FP2 (16 K):0 to 14,333 words
(FL0 to FL14332) FP2 (32 K) (when expanded):
0 to 30,717 words (FL0 to FL30716)
Data memory used in program Data is handled in 16-bit units (one word).
Special data
register (DT) 256 words(DT90000 to DT90255) Data memory for storing specific data.Various settings and error codes are
stored.
Index register (I) 14 words (I0 to ID) Register can be used as an address of
memory area and constants modifier.
Trang 40point Number of labels (JP and LOOP) Total: 256 points
Number of step ladder
(* Note 4) 1,000 steps
Number of subroutine 100 subroutines
Number of interrupt
program 1 program (periodical interrupt: allows setting of the time interval within therange from 0.5ms to 1.5s)
Constant Decimal constants (K) K−32768 to K32767 (for 16-bit operation) ( )
K−2147483648 to K2147483647 (for 32-bit operation)
Hexadecimal
constants (H) H0 to HFFFF (for 16-bit operation)
constants ( ) H0 to HFFFFFFFF (for 32-bit operation)
Floating point type (f) f−1.175494×10−38 to f−3.402823×10 38
f1.175494×10 −38 to f3.402823×10 38
Notes
1) There are two unit types, the hold type that saves the conditions that exist just before turning the power off or changing from the RUN mode to PROG mode, and the non-hold type that resets them The selection of hold type and non-hold type can be changed by the setting of system
register.
2) The points for the timer and counter can be changed by the setting of system register 5 The numbers given in the table are numbers when system register 5 is at its default setting.
3) The size of the file register varies depending on the settings of system registers 0, 1 and 2.
4) Hold or non-hold type can be set using the system registers.