0 ratings0% found this document useful (0 votes) 389 views261 pagesManual Hardware H Series
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
HITACHI PROGRAMMABLE CONTROLLER
H-SERIES
CPU MODULE
INSTRUCTION MANUAL.
(HARDWARE EDITION)
PRODUCT NAME : H-2002.H-702,H-302 Series
H-2000,H-700,H-300 Series
TYPE :| CPU2-20H | CPU2-07H_ | CPU2-03H
CPUP-20H| CPUP-07H| CPUP-03H
[CPU-20Ha’ CPU-07Ha | CPU-03Ha
NOTICE : Make sure to have this manual available to the person directly responsible
for use and maintenance of this unit. After installation and initialization,
file the manual for future reference.
®bHitachi, Ltd.
SORIA
NB322BXWarranty Period and Scope of Warranty
‘The warranty period of the delivered Module is one (1) year after delivery to the place specified
by the purchaser. Should any failure occur during this warranty period during use under normal
conditions within the range of the product specification in accordance with the instructions given
in this instruction manual, repair or replacement of the failed portion(s) will be made at no cost
to the purchaser.
However, if said failure occurred due to any of the following factors, it will be excluded from
the scope of this warranty.
(1) The failure was caused by improper handling and/or by use by the user.
(2) The failure was caused by an external factor/.
(3) The failure was caused by modification or repair made by other than the supplier.
(4) The failure was caused by natural calamities or disasters for which the supplier is not
responsible.
Repair for Value
Investigation and repair will be made for value in all cases after said warranty period has
elapsed. Even during the warranty period, repair and investigation for the cause of the failure
(except for the case where it is covered by warranty) for the reasons outside of the scope of
warranty stated above will be made for value by your dealer.
Placement of Orders for Parts and Inquiries
Kindly inform the following particulars to your dealer on occurrence of a failure to the product,
for placement or orders for parts and/or for other inquiries.
(1) Type
(2) Manufacturing No. (MEG. No.)
(3) Description of failure
‘The contents of this manual may be modified without previous notice.INTRODUCTION
‘We appreciate that you have selected the H-series CPU Module of the Hitachi programmable
controller (hereinafter abbreviated to PC). This instruction manual outlines each module
including the H-series CPU module of the Hitachi programmable controller. The manual
consists of the following five parts according to contents. Carefully read the manual to
familiarize yourself with the procedures respectively of installation, operation, and maintenance
and inspection.
‘The instruction manual consists of the following two separate volumes.
Hardware Edition
PartI Outline of H-series Programmable Controller: Concept on H-series
Part Il System Device Specification: Specification of each module of H-series
Part Il Installation, Mounting, Wiring, and Preparation for Running: From installation to
tial run of H-series
Part IV Maintenance, Inspection, and Error Recovery Processing: Maintenance, etc. of H-
series
Appendix. List of error code, error recovery processing, and special internal output
Software Edition
Chapter 1 Inpuvvoutput signal: Allocation of VO signals of H-series and special internal output
Chapter 2 Processing Method and Concept on Scanning: Processing method of H-series and
concepts on scanning
Chapter 3 Ladder/Command: H-series Ladder/Command programming language
Chapter 4 Flow Language: Language used in the flow chart method of H-series
Chapter 5 BASIC Language: BASIC language of H-series
Chapter 6 Communication with Host Computer: Communication function of the CPU module
of H-series
Appendix List of error code, error recovery processing, and special internal output
For H-100M, H-200, or HB-700 of the H-series CPU module, refer to the dedicated instruction
manual,
Note:
(1)_ No part of this manual may be reproduced without the prior permission of Hitachi,
Lid., Japan,
(2). Parts of this manual may be changed without notice in the future.
(3) If any doubtful or omitted parts are found in this manual, please inform Hitachi.
MS-DOS is a registered trademark of Microsoft Corporation, USA.
Original Copyright © 1982, 1983 Microsoft CorporationBEFORE USE
‘This product has been carefully manufactured, but you are kindly advised to make the following
checks immediately after purchase, (Carefully handle the product, at the occasion of unpacking,
not to apply impact or vibration to the product.)
(1) Check if the type meets the order specification.
) Check if there is any portion which was damaged during transport.
(3). Check for looseness of screws and for attachment of foreign matters.
(4) Check for any missing article among the packaged articles.
PACKAGED ARTICLES
Check in accordance with the following table if all the articles are complete in the package.
List of package articles of CPU module
No. Description ay Remarks
1 | CPU modute (main unity 1
2. | Peripheral connector cover 1
(Attached to the par. A shown in the Lo?
Remarks column of the main unit)
(Attached to the part B shown in the
3. | Additional base connector cover 1 A
Remarks column of the main unit)
4 | Blind cover or general purpose port cover | 1
(Attached to the part C shown in the
Remarks column of the main unit)
5. | Key switch 2
(Auached to the part D shown in the Remarks
column of the main unit)
6 | Instruction manual copy 5
+ Hardware edition per Wy
each lp
+. Software editionCONTENTS
INTRODUCTION. .....ccccsosssssssesssseeessssnsnssseessnosnnsonsscescessneeescesmnansnseeeneanenceeeeste i
BEFORE USE.wosnnnnenen sree Hi
PACKAGED ARTICLES. i 7 ii
PartI Outline of H-series Programmable Controller
Chapter 1 System Configuration ............. 1
1.1 General Specification of H-series ec _ and a 1
1.2 Positioning of H-series 2
1.3. Related Drawing of Modules and Peripheral Equipment. .. 3
1.4 System Device List 6
1.5. Compatibility 10
Chapter 2 Concept on Construction of Each System. 13
2.1 Outline of System Configuration... 13
2.2 Independent System (H-2002, H-702, H-302, H-2000, H-700, 11-300). 15
2.3 Remote I/O System
2.4 CPU Link System 7
2.5 Host Link System........
Part I System Device Specification
Chapter 3 CPU Module wees a . 35
3.1 Structure, 35
3.2 Specification of RS-232C Ports....unn es 36
3.3 Performance List. 40
3.4 Function List 44
Chapter 4 Memory Cassette......un 1
4.1 Memory Cassette Parts Name. n
4.2 Memory Cassette Specification... n
4.3 ROM . 14Chapter 5 VO Controller... 75
5.1 VO Controller Parts Name..... 15
5.2. Suitability with the CPU Modul 6
Chapter 6 Power Modute........ 1
6.1 Power Module Parts Name 8
6.2 Specifications... 9
63. How to select the Power Module 19
64 Precautions for Operation 82
Chapter 7 Base .cccccnenene 83
7A Structure of the Basic Base.. 83
7.2 Structure of the Expansion Base... 84
7.3. Structure of the Special Expansion Base... 85
71.4 No. of Slots for Mounting I/O Modules, 86
Chapter 8 /O Module 87
8.1 Outline. 87
8.2/0 Module List. 87
8.3 Application Notts... 89
84 Structure of /O modules. 93
8.5. Input Module Specification. 95
86 Specification ofthe Resistance Temperature Detector Input Module. 127
Chapter 9 Communication Function Module. 129
9.1 Outline. woes 129
9.2 Communication function module list... wo 130)
9.3 Structure and Specification of Communication Function Module . 131
9.3.1 Remote /O module of host station... . 131
9.3.2. Remote YO module of substation . 132
9.3.3 CPU link module... - . 134
9.3.4 Intelligent serial port module... . 136
Chapter 10 Sophisticated Function Module 141
10.1 Outline... . 141
10.2. Sophisticated Function Module List 142
10.3. Structure and Specification of Sophisticated Function Module. 143
10.3.1 High-speed counter module... 143
10.3.2. Interrupt input module . 146
10.3.3. Positioning module... 148
10.3.4 ASCII module... 155
10.3.5. Real time clock module ... 159
10.3.6 Serial YO modul 161Chapter 11 Peripheral Equipment .. 163
11.1, Outline a ee 163
11.2. Structure and Specification of Peripheral Equipment «0.0 igs
Part III Installation, Mounting, Wiring, and Preparation for Running
Chapter 12 How to Mount Programmable Controller... 7
12.1 Installation oul
12.2. Mounting . eee = 175
12.3, Power Supplies ....0.n0 188
Chapter 13 Preparation for Running... 199
13.1 Before Operation 7
13.2. Precautions before Starting.
13.3. Simple Operation Example.
13.4 Checking 1/0 Cables.
13.5. Programming... sect see
13.6 Trial Run... a 210
13.7 Control of Running and Stop.
205
207
7
13.8. Running in Case of an Error. 217
Part IV Maintenance, Inspection, Error Recovery
Chapter 14 Inspection and Maintenance... Se eee 219
14,1 Routine Inspection 219
142. Periodical Inspection 20
Chapter 15 Countermeasures for Faults and Errors, a
15.1 Error Recovery Method. 2m
15.2. How to erase the Error Display 224
Chapter 16 Troubleshooting : 27
16.1 Checkpoints at Error Occurrence . ee 277,
16.2. Troubleshooting Notes. a seus 229
16.3. Troubleshooting Procedure. : ; seccnnnnnnnsne 2300
Chapter 17 Appendix 7 — 245
Appendix 1 Error Codes and Special Internal Output 245Chapter 1 System Configuration
1.1 General Specification of H-series (PC body and modules)
‘Table 1.1 General Specification of H-series
en specication
Power xppiy Supt rom the power module
Opering temperature [010 55°C (Peripheral equipment [-t010 95% aemory data can be
clad) | paramos oly nts open
sone (tone ree)
| Operating humidity 20 to 90% RH without dew lea
ondouation Peripheral equipment |
exclude)
Vibatonressance (IS COBIL G6 7H double | Strays 1010 90% RH witout dew
InpliuceSmm_2hoursincach of mumaty | condowation
x Yrand 2 decom)
Noise resistance
+ Noise voltage 1500 Vp-p, noise pulse width 100 ns and 1 js (Test method: Noise caused
by anvise simulators applied between the input terminals of the power module.)
+ Based on NEMA ICS 2-230-42 10 45 (Input module excluded)
+ Elecirstatic noise 3000 V applied to bare metal
Insulation resistance
20 M2 min, between external AC terminal and frame ground (FG) terminal
(Test method: Using a 500 VDC megger)
Withstand volage
1 minute a 1500 VAC between extemal AC terminal and frame ground (FG) terminal
Grounding ‘Class 3 dedicated grounding (Power module used for grounding)
Atmosphere ‘The equipment should be fee of corrosive gases, ols, and excessive dust
Structure (Open wall mounting type
Cooting Natural cooling
ca1.2 Positioning of H-series
H-2002, 1-702, and H-302 are modules which are obtained by adding various functions to H-2000, H-700, and H-
300 and have the following features.
Features
1. Functions added to H-2002, H-702, and H.302
+ A PID contol function is provided forthe standard type.
+ Trigonometrc functions, data conversion, and advanced function module instructions are ade.
+ A.clock function is provided forthe standard type. (Time display)
+ A general purpose serial por is provided forthe standard type.
+ trace monitor function is added (when the system software ofthe peripheral equipment is HL-GPCL or
HL-PC*,
+ A running program high-speed changing function is added (when the memory casscte is RAM3-**H)
+ The computing speed is increased by 20%.
2. Features of H-series
+ The H-series is a miniature module which has advanced functions anda visible LED display.
*+ The H-series is compatible with HB-700 in program and peripheral equipment and also in a part of /O
‘module.
+ The number of control points can be easily extended.
+ The flow chart language and ladder language (command) can be mixed together
‘The positioning of the H-series programmable controller can be expressed by a concept as shown in the drawing
below.
2002
2000
e302 HoT02
H-a00 1-100
HB-700
#200
Higher & Function and performance
Less & number of YO points —> more
Figure 1.1 Positioning of H-series1.3 Related Drawing of Modules and Peripheral Equipment
‘The H-series constitutes a unit by combining the devices and modules shown on the next page. ‘The base unit for
supporting the power module and other modules can be used for every unit. The basic base of the base unit requires
a CPU module and memory cassette. The additional base requires an 1/0 controller or remote local station
(communication function module) depending on the system configuration method.
A hierarchical system of H-series can be configured by combining communication function modules,
Craaan Tag aa
Fern Tpaone apa a Tag | Assy oi
veita02 [Aelipa [ACC | Dupes | Gemma] TRING | Trantor | Trewin | Vahuge vp | Vota
ew coups | cop __| eupet | our
exit [XACT | CBCoRANT | SOSH | YRRIAN | YSRAOAN | ik ind) | Gouna nd) | KAGVORH | VAGVOIT
vets | xaciost | xpcosan | xocram | vavannn_| venom [YiRuAn [YRSaEAHT | xagvion | YAOVIH
Xaczoast | xpcaatt | xocuoa Pintepndan | Theva | vote | vise | XaGviaw | vaovit
xacaoait | Xpcami oe Yhowa | visupn | XaGvizn | Yaoviz
ome
Tie ‘DRAGAN | YITSRH Coit | Come gt
“erTossi accel] Yacoat
xaccian_| vaceust
Fase i Se
Fea See
on. jam
Fer tk.2000%0 aso
Box0 i
Tea REET
st aE.
og
——I wrinnoa
Timea say aaa
Feei-aom | CAIDA | — RAM | — ROW Temas REM-MAH Cec
Fortin | cruz |Rawaomt | ROwa' aT ‘mare | OREM (Opa te
Fovkiona_| GrURBH | RANOWe | ROMD-at [sien |
PD fans samiat[ ran | [Bsion | Burnt ‘Repo 6ST] RENO
Conca)
Fortkameo | crup-aat | RAMO4aH | EAMONT BEUOGE ‘itor | OREM (pte ete)
REMMI Teed
erti | Chupa | RawSeah | RAMoul
secttsoo__| cpup.ait | RANDai | RAMI
For Bt BNO] CPU-Dte | RAMS | RAMI
Fes | cpuont OM
Forno} ruse Howie‘The peripheral equipment is a command programmer, portable graphic programmer, and graphic programming
console, They have different functions and are connected to different external devices (printer, auxiliary memory,
CRT, etc.) Use them according to the purpose.
F
1
i
(ae Be tT)
ea Biii
Mattia Desk) ye-.c00 ‘rRoHPSC +) ——
Ba ay fe |
‘eee Dent) 1) Hom BOM =) PaaS
wp] sorcia
Dee names cate prepa yw
Di soem cate pupae)
(Gea mts cate panda)
Doce wre
Scores
core
our
Brccnay CRT
Accson ROM wre evan (ROME)
Dxocabe wget
Grccpoat, rcest Now 2: Tee rae cm bed fer PCL yum Vor 2.0 8
@reicoat, races ‘Nhopeatenwce
‘Sencwoni crcnosk,crewist
ow 1 Te pect ed wee OPCLOT yee
a1.4 System Device List
(1) Basie devices (1/3)
a ey oe | oe |
alle — Se Pee LeheTEtEree| om
Fa Cacao Ca Oe lel ello
aw, [ours Sarton rman —— Pay Ss".
ae foam fort meormiaaci Ppp
TTC Ta foe =P =P TTT
eynea [oroar tone tare ns} =} =F} > =
Itecr| ane fea pare raag —| Ta = SEE
waar | oun [wearers AW —{—=—fe] | = EE
zo wi | FONT top oa} YB] pp
Incr | RR a paras ——} fa = Bleiedehaiee
Baie wee ivenrarsr—|—=t=befetrtetstetat ste lamar
Haat anansisress varan —t——t=f=Petstetate peter ttt cent
Tana eh owe oye one
pr nme ang ac -{? 7
‘ena [SS ee apetefetets}——
Dall frase bao SPT Est epetet ore
ata [ep —FER RRB Ttets
[ear [iinet ace ——— FAR ts
iam Riwenomimensm | —-1=[epofoystet afer | & prema —
oe STEP eT= |=] aT some
soos Serres
| | i Seon ene For
i it siete
OT ER TT TPP pp 2 ea
[kcal 77a Gel clic Wel cl elec cles
SSE | roams ooo =tstetspotetstet ots
Se | Beat | heeas a STS Pete pep ops
Ba | ha mari pupae epee opa
an Scpovvecncsee _ =
Rez [Raa | persovnenpavoce | tT op oy o 3] 3 steeteae
el tay | =
ed ieee ; atatayo}e oi
Aa [aie reneeRTTE | — |=] —Pop spot a sy ope pote
Baar [ipetioc emma | —}= =P opoystafor spay aye
ae a eps wtaltetotopotstatat ote
acai |p, Ve ser — z len} etotelatel ete ef et
* Wi elt 8 apa i ot re © Wh Un Senet
eo antarslear “Poet ttre eeBasic devices (2/3)
ec
pone ns Spain anos ErepElE ep ELE ETE] te
[pow ‘fz| ma] | 3a] mo] ro || |
REGS | BER | paw aA Wp |e o[otolofotololoto
era [DCA 1g Wa VOC ape a ofotefepofetot oto
ote | caent [pu wa VAC VOC ap [9 ofetefetetetet ete
Bann [a post VAC er VOC pe = ofofete}ofejol oto
Depa [SSRN | pin, rw VOC pep [a ototetepetetot eto
neki [RDCHOH [tent VOC ee [ot ofofetetotofotolo
CGI 6 pol, VOCs aed pet —[ ofefetefetefol elo
FRE | AMEN [ped SVC | sTo{ op eyo] ojo] o}o
(Gout | YRYROAN| pian DOVICUVECaIA rn | 16 [oR]eu] Oo] Oo] oO] o] o/s] of o
Sm cone
Sane [Spee DOVE VOCKTARE| —F [oRew] OT OT oT SLO] o}o] o] o
aipetas] VOROAT iepona OVA UVOCHIR | [aa[ew] of o] oT o] o] o}o] o| o
= Spear oo |
Teac | YR | Topas TOSBOVACRTIA —] oH] SPST ST SLO] oye] oy] o
some mkc age
Sie TRUST a pias ROMIB VARIANCE] FoR] = TOTO] OS] Oo] oO] oye] Oo] o
eer [FRNA] pen ea CATR [ORTOP ST OTST SOTO] OO [amen tmae
Sinan | FRAGT Tape HU VERTAUEL FJoaT =F OTOP eT ope] eo} ey] oe] o
iebapat
YR | sips, HOUVOERTT Rabel] A ORES ST ST ST SPS] STS] oy] o
‘etapa |
eae [RRA [epee em VOCRTAMem | |RGT— TOT SLOT O] Oo] OO] O| © | uatamatmae
(See [YISMDH Spee eww VOCKATAmes | F Jou =| oto} oof o] fe] o| o
sy ina Tea
FTO | oipas HOVER Ames | ATOR T OTS] ST STO] Oo] oO] o
iatreapa
nd a
moat pa eal)
TANG | tana, Oe VE RG | TH ome ST oT Step op eto] o| o
tre
TNT ama WOVE RE] TH ORISA OT OT oF OLo] oT a] oO] o
per
RT TOOT] A LWA STOPS SL oT eye Ley
ie
oa
conan {nserea ween
ROOT] am Te VEC TR | THOR IOGT] OFS] OT SLPS] OPO] Oo] o
sre ge
TAME | Namons, oH VECDER TEE | TH ]owISB] OT O] OTOL o] oTo] oO] o
sare age
Kase WOWAH | Acs ORD VOC TRG | A ama] oO] OPO] oT oP opotolo
VOTE amo He SVOC Dveige | a fof] of ofotoptopofoto]o
ASG Sa ET ERER ER | A OHTAL BTS] ST OLS] BLOT Oo] o
Taaligas | HATH Ox pel ak ARTETA | STOTT OY OY OO OT Oe eT
out Sancon am sees
ES Gaal Keanu Mal ll cl Oil sl WW Wl Mal =a
era Tc — | or eae wT feel oop oo op oe oo reer or
monte [oun | Cie peel toe) aewsan) [tomo] {of ot ot oto o|o [ol 0 |mcm
7 - sere
Ee Reece onNIR Ee | TOs! — TOTO] SPOT OT oTeT oy o
rene De ONE —wrlas|—poteteletetotet ete
RASC [ASCH eaommam eRe]! |] =P OPOT OTS] OP oT oT OT o imimasor
Bea abrwaay saints.
“iW POMOM a POMC Memes bese 13A,POMUF ent. 0: Unie Une Se iain erect
‘:Themgpy cue of hppa! spent POM PH of POM-CHI) acne, POMAFIM cnc bedBasic devices (3/3)
ret est [osenta] “toate | nae a
am | om speition mete T oC LRT RT RT RT W TRL] ITE] Renee
pout | $v || ara ma| se | 30) m0] 20 | ato] Joo] so
Taian [RTH [Tapia Tepe] foo] ~|-o| oO} ol ole] of 0] of 0] Rammvaiar
facie [rostral [reper romongea etn pobet|—iosfass|—[o[ 0] 0] oT 0] of oT OT 0] manne
Fostant| rat oremrmemn ae | iw Joss] Toyo] oe] oe] eo} ofot ole
eC a
— a Aeon
Tight | NOOO | TO Toa a SO suleol of ot et ol ol ote] oto
gainer | XCUDAH [328 Feet oer pt 10S ai} Oo] | 07 o] Oo} oot alo
Soa
So RaW eer emgeees [my Po] ory so) ep epeT eye
TCT i erapoda ia be EE | TT DOT eT ej ey] ey st eye
saw) |
Taina [IDOI |inpaie ornpaiaarwnt ae [iam Toulom] OTST o] OT ST OToy oo
Seam [aimed michg tio aera
Sore amore 10m
Feidies [OOH | Wid urate conta aes | Ho] = TOTS] S| SPST OTe ope
sa |S0W [Oana TCE | my oP OPS] SP OT oO o
he — PRAT ty me ay TT=T= Pep epepepete 7
San] CN | Can a a na T= pope opepeye o
Sey [ROT | Danson a
Restow [rn Rowtrea VOC TFT ee ep ete paypopape
fonts, Ro ay ROTO Salelals OL OP OPO] OTe Resear
Hontte| RONCT Roi ROE md } on
ee jon
Ss
et 7 ee ft
RS-232C interface circuit (peripheral port)
“37+
Connector ype
(CPU side
+ RDAD-ISSE-LN(05)
Pints Pia
Pind
(uput volage level (ou = 15 mA)
High lovel:+65 wo +15 V
Low level 510-15 V
Input voltage level
High evel +3010 +30 V
Low lve: +080 -20V
Input impedance: Abou 5 kL
Ta(2) Specification of the general purpose (non-protocot) port (Valid only when the CPU type is
CPU2-**H)
Out
e
‘The general purpose port is a communication port which is started by the sequence program and can transmit or
receive 1/0 data between the CPU module and connected device. ‘The communication procedure and control
character can be specified freely by the user program.
For instructions (TRNS 0, RECV 0) using the general purpose port, refer to Section 3.3, “Detailed Instruction
Specification” of the software edition,
‘The general purpose port has a loopback check function for separation in case of a failure. For details of the
Joopback check function, see Chapter 16, “Troubleshooting”.
Specification of the general purpose port
em Seseton
‘Transmission rate - 4800, 2400, 1200, 600, 300 bits/s
Communication mated | Hal dplex meted
Syoncton metic’ | Suraopyachronzaton tod
Sun mod oe ies met ya anand of hon compo
‘nertion red Srl wasn (it il anion
Panera cote Vir eon
Transmission code configuration Sua bit (1)
Pay bit (Nove, even, 08)
‘Stop hit (1 oF 2s)
Dus (7 or 8 its)
Transmission code sending order | Sen starting with the lower bit (29) in character units
or conta Vera, oven check, faming ee heck
rion ot nese nis ib ng)
Longest message. ‘503 byles per message (wansmnission control character included) 7
Imrie ed on RS-252€ (rim cal egh 15 m1 comet ned)
cant dae Now pot
[conwacose © [vir enon =
Conresoran cate + Canes on he CP side: SDBG-155 by Hee Denk
+ Connector on the cable side: HDAB-15P (Case: HDA-CTF1) by Hirose Denki
+ Use T-pir to 12pair wise pair ables (with cominon shieldCPU2-**H module general purpose port connector signal name list
‘Abbreviation
Pin No.| of signal ‘Connection method
1 NC =| — [onasea ‘Keep the cable unconnected.
2 ‘8D oY CPU wansmsson dae ‘Connect the pin wo the RD terminal ofthe
extemal device.
3 RD [cP reception date ‘Connect the pint the SD terminal of the
external
« [Rs | When the CPU is ea for Connect he pint the CS terminal ofthe extemal]
reception, the signal goes high. | device.
s | cs S ~ [When the CPU transmits da, the | Connect the pin wo the RS terminal ofthe extemal
signal should be high device or fix thigh
9 36 —]— _Sigaat grouna Connect the pin the SG tinal ofthe host,
7 = computer.
aa] one | ‘Unoted ‘Keep the pin unconnected
10-15
* Note that the signals RS and CS are different in the following points compared with the normal RS-232C
specification,
(CPU reception sendy state
rs Hah
(CPU tanamitsion ready sate
4A, Z
(CPU cutpet)
RD
cs
(CPU inp
sD
‘The circuit diagram of the RS-232C interface of the general purpose port of the CPU:
(eanfactared by Linea Techoology)
LT 1081 sr equivalent
ial
i
' '
D+ os
(fay be fred high)
“Meanings of the signals RS and CS
t
T
Hl
fH
$ cs
PN
7 “nV
Oupur vohage level lout= 15 mA)
High level 465 +15 V
Low bevel: 510 15V
el
Input voltage level
High evel: #3010 430V
-**H module is shown below.
Connector type (CPU side)
SDBG-15S or equivalent
RUNERR contact,
csanging sch
Pin Ping
7 Pints
3
np impedance:
‘About $422
Low level: 40810 -20V
RS-232C interface circuit
-39-
foray3.3. Performance List
= ae
= ernaon | PZT cuzom | TT couresn | SRM
PET TT « = A
j pee ‘Ma. 2048 pins ‘Mas. 640 pointe ‘Mas 258 pointe
| epomo mane i trot | i ie pa
Tibet aoa Mes spot| hi lr | Wi pi
B | 2 [ern semae aS pie Ns 6 i 21 i
LD [essere Sentral
8 h oy ‘anese wee | 361260 | saws | 69351 | sows | 6ows0s | e647
a Teagan:
: Processing rato ‘Stored program flow cart method
i | Posner Adana en: open mane ome)
= User program capacity St Max. 27k steps 1 Max 13.7escps Max. $.6k steps
Timi A in RG Wa NOW a
T= eT
wal i sacaa neva imma noewncre] 1 nau sw
j } spect | 2H {64 points (R7CD to RIFF)
Wer Sie nH WEA
1 { PU tink 1024 words (16386 poi) x 2aope (Leah tame _ WOM re
Remote WO ‘$12 pois (32 words) x4 sytem
‘Bodh bic and word 16384 points /1024 words (M0 wo MIFTEIWMO to WM3FF )
g No. of points 7
S12 pois (TD + CU Timer: 010255)
Heo
(to 655355, time base 0.01, 0.51 #(0.01 + Timer Nor 01063)
‘Coumer evalue
10 65595
(65 age deeaon
‘Leading ae: 512 pois, walling edge: 512 pins (edened wo HE Inde)
Command, der symbol, fr How and BASIC
i Progam med
Patpheral uipment
(Command programmer, portable graphic programmer, graphic programming corsole
| 58 einenoe
i
+ PC ever (LED indication): Mirocompoler or, watch og tine er, memory enor,
[woptem emo, sytem RAM or ROM err, ae me monor
+ Racy voage drop deeation, protection in cae of power err, sytem reat, opt mode
fuse bow ot detection contac oupat excluded)
Exum faire dagnois
Watch do timer nstaction
'5.V supply caret (A) 2 27S mae "2 205m 2 _205max
‘1: The value vais with he memory cassette type 2: The supply current includes the supply curent of the memory cassette
Memory easseie type Program (eps) Data (word)
RAM*-<8H, ROM®-48H “5k 30
RAM®-16H, ROM®.16H 157% 17k
RAM*O8IT 76k Tk
RAM*-OalL ae Tk
‘The capacity ofthe program (steps) isthe total capacity ofthe Indderfcommand and HI-Rlow.
‘The capacity of HILFlow i st bythe graphic programming console (GPCLOUConcept on the number of VO points
‘The number of /O points is determined under the following two conditions.
1, Maximum number of slots to be used
2. Number of mounted remote YO modules (remote /O MINI modules excluded)
Each CPU is provided with an external Y/O area (4096 points) and remote 1/0 area (2048 points). The maximum
‘number of VO points which can be used under the above conditions is as shown in each hatched part.
CPUs 20H | CPUs-01e | CPUs-0aHx
xem
WOues
(dose
eins) 4036 2360
poms 4 |G joins
fren
is.
ISt2 poe 2048 2048 2048
Is poms ms poms
‘When CPU*-20* is used, the number of VO points in the external I/O area may be more than the maximum number
(4096 points) depending on the module selection method (see Example 2 on the next page). When many modules
‘occupying 128 points are to be used, mount them in consideration of the maximum number of HO points.
(1) When only the external 1/0 area is used (Concept on an independent system)
Example 1: When CPU*-O7H* uses only 32-point /O modules
32 points x 20 (maximum No.of stots) = 640 points
‘The number of YO points is max. 640.
i [> 32 point UO modute
Te
ie
(CPU: CPU mode
AVR: Power module
OC: 10 cooler
-41-
adExample 2; When CPU*-20H* uses 128-point analog modules
128 points x 64 (maximum No. of slots) = 8192 points
‘Since the number of 1/0 points is more than the maximum number of points 4096 in the extemal
VO area, they cannot be mounted.
‘When 128-point analog modiles are mounted:
4096 points + 128 points =32
‘Therefore, CPU*-20H can mount up to 32 128-point analog modules,
|
asctae —fi | =
cae ial
128 point analog module
Expansion base]
:
2] rr atow
(EXU-1IH) ¢|
Expansion base =|
cexu-nB)
Malte
2 sat cannot be wed
Expansion base
(EXU-07H)
S slo
(2) When the external 1/0 area and remote W/O area are used (Concept on a remote 1/0
system)
No. of MO points = (512 points x No. of remote master stations) + (No, of YO points per slot x No. of slots 10
be used)
Example 1; When CPU#-U7H* uses one remote I/O module and 18 16-point 1/0 modules
1 emote mae sation, 2-sot width, 512 pins
pee (alee cee eee ee
(BSU-09H) 7 pelo
T= Teens > te poin WO made
es Lee
Expansion bee {|
(EXU-11H) aye
[Example 2: When CPU?-O7H* uses 4 remote /0 modules and 12 64-point 0 modules
4 remote maser
—_—_)
+
cru |
Base bse, —f
(BSU-09H)
(512 points x4 modules) + (64 point x 12 ht) = 2816 point
Te remote cal station
whan POS errno notte
Expansion tse “|
(BXU-11H)
2.Concept on user program area
‘The CPU user program capacity indicates the value of ladder/command user program, When the flow language is
Used, a part ofthe above user program area is allocated to the flow language user program area, When no allocation *
is specified, the user program area is all used for ladder/command.
- “When he fow language togethers
|_— Ladectommand
4 | _ Pow language progam area
rogram area
LL Latercommand
program wee
oa)
‘When the flow language is used, the user program area is allocated using the graphic programming console
(GPCLOLH). For the allocation method, refer to the software edition (CPU Setting) of the instruction manual of the
graphic programming console (GPCLO1H).
Example 1: When the flow language is used by using the following combination
CPU modu
cpus.20H*
‘Memory cassette: RAM*-48H_
‘When an auempt is made 0
execute « program inthe ow
language nls tir writen afer
the ow language i alloc in
the program are, an err
cated,
{In this case, the user program capacity is 48,5k steps.
Flow language progr stea
i — wep
vee pogan wea | Gj (Bytes npor nce)
Ser pegan a area max, Du ape
Ladietfeommand program set
7 195k tape
(CPU module: CPU*-20H*
‘Memory casseute: RAM*-O4H_
{In this case, the user program capacity is 3.5k steps,
| Frow tangusge progr aes,
amps
co
{_— Laddereommand program aes,
=I wwe
43.34
Function List
‘Deu desripon (1/7)
Pur
sa
(erOP oro
en | eila
Remote running, conwol function
eo)
1, Purpose: The host computer controls and monitors running ofthe programmable controller
6.
2. Description
+ The hott computer isues (communicates) a tsk code tothe H- series PC.
+ There are thee communication configuration methods available between the host computer
‘nd PC; between the host compar and peripheral por ofthe CPU module, between the host
‘computer and COMM module, and between the host computer and remote iO module lea!
Zondiion]
The key switch of the CPU module should be st at REMOTE,
‘The special imeral ouput R7C3 (rernoe RUN enable) and R7CA (remote STOP ensble)
should be ON,
3. The special internal output RTE9 (RUN dizabe) should be OFF,
4. No CPU error (alight failure o heavier should be eased,
5. When running contol inp is specified bythe running parameter, the input should be ON.
6._No program shouldbe wriuen or wanefered by anther pesipiral device
[Oakes
1. When the PC srs running, the RUN LED lights,
2. Datais ansmited between the host computer and PC acconlng tothe communication
procedure dicated tothe U-seres,
3. For further deals, refer to Chapter 6, Communication with Host Computer” ofthe software
cin othe COMM module manual Gnstruction manta).
Pe
Running conto! function ata special contact
aon)
1 Purpose: The running ofthe PCs controlled by special external input orbit internal output
whichis specified bythe peripheral eq\ipment,
2. Description
+ The CPU setng running contol parameter i eto “Input defined” by the peripheral
equipment,
+ One of X. RL. and M is specified a a st YO No.
(Bpsng con)
1. The hey switch ofthe CPU module shouldbe set at RUN.
2._The special imtenal output R7E9 (RUN disable) shoald be OFF.
1 When the PC sats running, te RUN LED light
2. For further details, refer othe peripheral equipment manu instruction manual), “CPU setting,
running parameter”
Simulation funetion
|. Purpose: This function is used vo debug the usee program aie wiing ort ads the program.
2. Description
+The peripheral equipment sts the CPU mele inthe simulation mode.
(Cpzrating condion)
1. The special internal otput R7CE (simulation enable) shovld be ON,
2. When the additonal unit is use, the power supply of the additional unit shoud be started
orally.
1. When the CPU module enters the simulation mode, the SIM LED lights
2 Extemal inputs the same as normal arthmesic. External outputs not turned ON and only the
LED igh
3, The simulation function is vali ony forte bit YO modules (16 pint. 32-poit, and 64-point
rods (X and ¥))
4. For funher details, refer othe peripheral equipment manual instruction manta).Tea ar
is Dead doipioe i) -
Tug nino non
1 pun Bon na ofan YO adn ee rma rodney, Poe
name
RT, pl nent CPU me ig pre
r—CisSC
Y MencofscFUsaigenot arene crorat he sigma ed SOK
a UDrF—“——OOOOOO—S_OO
(Others)
1 When econo Ps pron whe anf eve ne oc
~~ —=Sse
C—O
nag pce
al
a
1 Pus This frton we sg se srg won he PCs ont
Y Sowpice
| ==—S—S~—~—sSs—OSSOe_N
.L-Lrt~—~—“—SS—s—sCtsSCstzs
eet cettea adorn conga semper tps Bos
Perec pra seen meteor
errr S—st—‘“™s™—SC—sNC—COOCO
| =| == =—srsemeh
a
rr ——C
cones
2 Whe tein cnn, te CPU oi sl en de a ode
son eee enc ic anpa cher ppd se a
rene cet eum ea
1 When he CU sso tine changin ie RUM LED an ALT LED ight
«| Ieturtoeis: wn cow fe uoetssoemacnam aoe Ua Sond) _
Ser ee
oe —s—ssS
vefoepae tortie yp |S
aoe om | ase ze | 266 | 266 | 390 | aa2 | 342 |
g 090 | 109) am | 2 | 2a | — | — | —
. cys | 24 | 295 ya faa, — | — |] — ~
j pron | — [ea fen = foe foe foo
eee ec ee rae eal |
™ bag — [oie | — | sss
“1 ho rs paymg a gh ota
12: Ga vanes eonmand proprner ic avae whom o ep changed
4 Note that even if the LO No. which tuted for exteral output is changed on-line andthe output
coil command is deleted during execution of he program, the output status before changing 18
eptasitis,
4. Tike program or tes ad counter ae changed when the debugging function isin use oFif the
debugging is halted daring execution ofthe program andthe halts canceled, the programs
txecuied fim the beginning
5, InHT-2002 or 11-2000, the program is ansferred to the high-speed memory area. Therefore a
parual change ofthe program muy require much m= compared with that i 1-702 or H-700.
6. For further dual, refer tothe peripheral equipment manus (instruction mars)
245-
Ca= ‘Detailed description (3/7) ‘CPU2- [CPUP- [CPU
sen” [set [Sita it
Debugging fonction
1. Parpse: The fncion ac the operon ofthe wer program,
2 Description
(0) Breapoint specification: One breakpoint is pci inthe program and when he
debugging ts exeutd yp to he beakpomn shed.
(®) Coninuaon fom sop: The debugging is restarted frm he debugging hal sats and
the CPU moda enters the debug RUN sens
(B) Execution halt: ‘The execution of the progeam is stopped when the scanning ends!
aed te CPU rales he debug HALT sas
(0 Scanning run Scamingis executed by the specfed count rom he debug
HALT satus ad he CPU module ener he dog HALT
6] & Sepmn 1 symbol or Linstuction is executed fom tbe debog tat | 0 | 0 | 0
statu andthe CPU made enters the debug HALT aes
+ Debog “The progam is executed bythe graphic programming console
: The RONanaLELEDeigh Pen
+ Debug Hal: asso The programs sopped bythe graphic programming con
The HLTLED igh,
3. Reswicions
(1) Common wo all the CPU meses
+The ladderfcommand program and low program cannot use the debugging function at
the same ime
(@) When the CPU module is other han CPU2-**11
+ When the laddercommand program is being debugged, the flow program will not
operate. When the flow program is being debugged, the Inddercommand program will |
oon
|
‘The key switch ofthe CPU modo should bese t REMOTE.
‘The special internal ourpur R7CS (debugging enable) shouldbe ON,
‘The special internal ouput RTED (RUN disable) should be OFF.
[No CPU eror (a igh flue or heavier) should be caused
‘When runing control input is specified bythe running parameter, the input should be ON,
[No program shouldbe wvtten or taneerted by another peripheral device,
‘The debugging funcdon canbe sed ony bythe graphic programming console,
‘The low program ean be used only for (1) 103),
3. The timers not updated during debug halt, The special intemal outpats R7ES to R7ET (001 19
1 second clock) also perform no processing, Also during stop ron the tier and special nernal
‘outputs perform no processing.
4 During scan run, the timer and special internal oupts perform processing, However, when
‘Run and Tal are repeated alternately, correct clock cannot be obuaned.
5._Foe father dei, refer othe graphic progeamming console manual (instruction manval)
Pelee!
Forcing fanction
(Explanation)
|. Purpose: The function checks, woubleshoots, or debugs the operation ofthe ser program.
2. Description
+ Input or output canbe fied othe specifcd data rgarilss ofthe program and input
1. The key switch ofthe CPU meale shouldbe set at REMOTE,
2._Whenseting data, the UO shouldbe specifi forcibly.
1. Upt06$ 10 points including tits and words can be specified forcibly
2. When the common bi and word area (X, WX, M, WM, L, WL} is accessed in word even it
force data is specified in bit, bt data is changed. When te common area is accested in bit even
fore data is specified in Word, word data fs changed |
3,_For further deal, refer tothe peripheral equipment manual (instruction manu) l {
-46ie Deed dessin 7)
sa
CPOP-
oH
‘Power flare storage clear function (function bythe hardware)
1. Pups: The power file storage spesifiaton ae i clered 100,
2. Deepton
+ When th PCis topped, the “R.CL" itch on he face of the CPU mode i peste
[Operating condition]
1 Te fancton it valid when the PC i woped and cleared when the ening sta
2_Also the special numa wea (ego power ule worage) inal
1. Bren the“R.CL” witch i pesed when th Pi on nti ignored
"The same function provided ls inthe tt psi intral oupe
Interruption processing funtion
1. Prose: The ineropton program exe
2 Dersipion
+The teropsn rogram is exerted angie ltrrpson apt mode
+The proc inrapton program of 10 ms 20, 40 me escent
’
1. Taeinempton mode shoud te wed and program suvalentto te intempons INTI6 to
Ina sd te die
The pri imerupon pop ofIVTD 10 INTO (10 ms, 20 mus, 40 ms) shouldbe end
[Gir
1 Note that when he intrpton program is suet execution tne of he sean program
fener ictal anda flyer may ooze
ID asthmatic Fonction
(Explanaon)
1. Purpose: The process ammount of he plant is consoled
2. Description
+ The proces amounts contcled by a combination of proportion (P), integration (, and
diferente (0).
1. Execution of PID arithmetic requires a WR area continuous (5+ No, of loops x 47) words in
Tength and an R area (No.of loops x 16) bitin length. Reserve te areata the Se of system
esi,
2 Do not use INTO (10-ms periodic scan) and INT6 to INT31 (nterropon program).
3. Program only a PID arithmetic instruction and its start condition fr INT! (20-me periodic
scan), When tis forced to perform processing ther than PID arithmetic, its necessiy 19
Jncease the PID antimetc sampling time as uch as pensible $08 Io el the processing me
‘excluding PID arthmetie sty one ofthe folowing formelas.
10 | When the CPU module is CPU2.0311o¢ CPU2-O7H
+ Processing time (ms) $9.2 ms = 20 m- system periodic processing (2 ms, two times) - PID
sitet ime 4.8
When the CPU module is CPU2-2011
+ Processing time (ms) 14 ms = 20 ms - ysiom periodic processing (2 ms, two time) - PID
aithmetic time 2.0 me
When the CPU module i CPUP-O31 or CPUP-O7IL
+ Processing time (ms) $6.2 ms = 20 ms sytem periodic processing (4 ms, two times) - PID
asithmeti ime 5.8 me
When the CPU module ie CPUP-2011
+ Processing time (ms) $10.0 ms =20 ma system periodic processing (3m, two times) - PID
anihete ime 3.0m :
‘The PIS arithmetic sampling time is 20 ma or more or 40 ms (emote local sation) or more
‘When the CPU arithmetic stops due to an err, the outpt value (MV) is tamed OFF, When it
‘is necessary to reain the ouput vale, use the external equipment ofthe PC.
Ding on-line program change, the ouput value (MV) is reaned temporaily. Change t when
the PID contol systems stable.
For dels ofthe arithmetic method, refer tothe supplementary explanation and the software
edivon,
PRS
-47-
CeeTrem
Dl snion 7) ar
CPUP.
Si
Cus
sat
2. Description
2. Under an operating condition other than the above, the function isthe sume asthe online
change function in tom No.5
1. When the CPU stars on-line changing, the RUN LED and HALT LED light
2 The Halt ume is les than 0.5
5. Note that even if the HO No. which is used for external ouput is changed on-line and the ouput
4. When a combination other than that in Operating Condition 1 i wed, the function isthe same
|__| astneantine program change function in tem No. &
1
2. Description
Tchigh-speed-omning
1. Purpose: Tis functions use to change the user program when the PC is on-line
+ The function is performed by operating the peripheral equipment. When the function is
executed, the CPU changes he ser program by executing ie. When the changing i hnshed,
‘he program is interchanged bythe sean END ofthe use program andthe scanning ofthe
tse program i executed Irom the beginning. When the eystem software ofthe graphic,
programming console is LADDER EDITOR, te changed program canbe etme othe
rogcam before chaning
1. The function is valid only when the CPU module CPU2-**1L, memory cassene RAMB-*ei1, |
and graphic programing console we combined
«oil command is deleted during execution ofthe program, the output satus before changing Is
Reptasitis
Clock function
Purpose: The function i sed to conuol the ime and dle of dat ofthe PC.
+ Clock datas st inthe word special internal oupats WRFQOB 0 WRFOOF ina BCD code
nd updated every second. (Since the CPU module updates data regardless ofthe ining of
the user program, dete is no data simulianciy between words)
‘+ When Tis sci the bit special intemal output RTF, clock read data is sti the word special
intemal outputs WRFOII io WRFOIF in a DCD code. ‘The datas wetained ual Yi sein
RIES once again,
‘+ When 1s stn the bit special internal ourpat RIF, the data which s sti the word special |
{neal ouputs WRFOID to WRFOIF in & BCD code issn the clock
+ When 1s set in be bi special ntznal output RFA, the clock datas subjected to 30-second
adjustment. (00 029s ae adjusted 1000s and 30 1039s ate adjusted to | minute ot 0)
“The funeton is valid only when the CPU module CPU2-*
RAMS**IT of ROM2-*¥Il ae combined
‘When dati set in ther than a BCD code, a data eri caused, and 1 is sti the bi spd
iwteral ouput RIF, and no clock datas ek. When correct dass set, RIF ast tO a
The clock accuracy is affected by the ambicat wmperature, The accuracy per month wh the
CPU is energized is 175 v0 +70s a 010 35°C, 110 10470 sat 510 45 and -35 10 270s
20 0 30°C. ‘When the CPUs not energized (a he time of batery backup) «delay time of
bout 20s added 1 each valve, Adjust the accuaey properly in accordance withthe
‘operating condition of the system.
3. Sheil alot ating te ak and meaning
<7 Teter ape,
[tov | Bae WoW. L, vom | Ei, [ome
#78 _ | Das rediog "Gregorian calendar ‘Gregorian calendar
Hepes —J [vara | RE | eww | ONES |v
ek [Gace | Para [Mae | [wae | wae befor
TPH | Dew ree Wwartod |~0.0 0 Went | [WartiD-|-00 0 | Woeesy | wn[-] |
Aer smeivemiy ROR +r ae | [wate | toa we ee
Somenstece” Para} oo teas | (anme os fet ole
+ imperan aon? sigh BCD, wont an ay: 2g HCD, why: 0: Sunday, 1: Monday, 2: Tey
4X Weta, Thursdny, 5 Pray, Satny
+ Moar 2eout system, Papa BCD, mine and con 2-6 CD
4 Theccumple india 50am, Sept 21 (Sane 39h
‘Tre batery of the memory cassette is used for the clock and memory retention. Note that when |
an error occursin the battery, the clock datas not guaranied,
-48-Tem
No.
Dewiled description (67)
Cur
on
FOF
Sat
“Trace monitor function
(Explanation)
1. Purpose: The function is used to debug the usr program.
2. Description
+The function s performed by operating the peripheral equipment. The trace monitor fonction
is povided with the folowing subfunctions
eee
Cy Cmmeou tnechct ) Tapgrtwecn —G) Ominwarmce |g .
3 (@)_Tragger wave (S)_CPUinstrvetion trace (6) Trigger cireuit monitor
I Te fon idol wn he CPU nce CPD andy amas RAND
ea ee ae ate rome cee ae
en rae
1 orfrer ea froth spemenay pn rhe Laer aintron
ces
Cosas RINCR cng aioe
a
1. Purpose: The operation ofthe contact ofthe power maul on sewaL
ol an
2 Dustin a ae
ee eee ee
ret el gr poe
14 | [Operating condition] 9 =
1 When de veh ss RUN po, be RUNLED ah
Saas
2. Whente ich set be ERR poson, he ERR ED igh
Soho
1 Baten vig nig ns PCat
SS
= ee
1 1se: Even when a priority error occurs, the LED indicates a battery OHLT
= Osim
= Bere | o
ae slaps tn memory tap aay pe ered | ERR
me mete
1 Weg he BTELED igh eee tyson possi (an 50
a
a ae a
1h eon fd yh mar og CTHSO a EC ion
(Gresingeocac]
or ROM2-*"H are combined and furthermore the ldder/eommand programming software
Ladder Bator is ued
[Obes]
1. The mansmisson ae is 4800 bits max. on the basis of B-232C, For further deals, see
Section 3.2
2. For details ofthe TRNSO and RECVO instructions refer to the software edition
3
‘When an eror occurs in the general purpose pot execute a loopback check. (See Chapter 16,
Troubleshooting”)
-49-Donte ipa Ph a
(ePuP [oro
Seu | Ha
‘Advanced fonction module data tanafr instruction
1 Purpose: Dat ranser between the advanced function module and CPU menue is simplified.
2. Description °
+ TRNS, RECV, or QTRNS instruction
(Operaing condo]
[Otters
1, For dette instetions, refer to the software edition.
‘Addition of FUN instruction
8
1. Purpose: A special function instruction is supported.
2._‘Trigonomettie function data retrieval, data conversion, special shift instruction, te. °
1. For detailed instructions, refer tothe sofware edition,‘Supplementary explanation
Program on-line change function
a
@
Features
‘The ladder/command program can be edited as shown below from the HI-LADDER / HI-COMMAND
system V2.** or by the Ladder Editor when the PC is on-line
(1) WRITE NEXT (Circuit insertion)
[2] WRITE FIRST (First circuit insertion)
(8) CHANGE (Citeut change)
4) DELETE (Circuit detetion)
(5) YO batch change
{6} Retmed to program before changing (When CPU2-**H, RAM:
"Hand Ladder Editor are combined)
However, ifan atlempt is made to change a circuit which causes a syntax error or which has a possibility of
syntax conflict, the following are executed and the circuit will not be changed.
(1) Display of an error message and checked instruction
(2) Display of an alarm message
(3) Generation of an error buzzer sound
* Checked instruction
MCS, MCR, END, CEND, JMP, CJMP, RSRV, FREE, LBL, FOR, NEXT, CAL, SB, RTS, START, INT,
RT
‘When the password is entered, the above checked instructions (MCS and MCR are excluded) can be changed
during running. Note that when an error occurs due to changing, the CPU is stopped.
Precautions
‘Changing the program when the CPU is on-line is changing the content when the system is on-line and itis a
‘dangerous operation basically. When changing it actually, confirm the content and effect thoroughly and
lake the following precautions.
(1) When the program is changed, the CPU is halted (halt: running stopped and output retained). Select
suitable timing.
[2] When a program is added or the program is changed for a system in which the user program is executed
Just within the delay check time, the program scan time after changing is increased, Therefore, the CPU
may be stopped due toa delay error.
‘Therefore, turn the special internal output R7CO (continued when a delay error occurs) ON by forced output
or fully investigate whether the delay check time is suitable with reference to the actual cycle time (special
internal output: WRFOI0 to WRF-12) beforehand,
ost
Ce2 PID controt
Q) Outine
PID control is to contro! proportional, integral, and differential operations on process control data (e.g.,
\emperatures, pressures, flow rates, and liquid levels). These operations are explained in detail below.
[1} Proportional operation (P)
‘This function provides a proportional range for a set value so that the process value (output value) may
be proportional to the difference between the set value and the measured valu.
In the example below, a set value is 100°C and its proportional range is 90°C to 110°C, When the
‘current temperature (measured valuc) is lower than 90°C (the low Limit of the proportional range), the
[Process value is always 100%. As the current temperature goes higher from 90°C, the process value
oes lower from 100%. When the current temperature reaches 100°C (set value), the process value is
50%. Thus, controlling with the less hunting (than on/off operation) can be performed.
apa
(Example)
+ Thermoregulator:
+ Proportional range:
+ Set value:
1008, |}-———
~——P
90°C save are
OFF
THOS Measured value
Png (Temperature)
‘Concept of proportional operation
°C w 400°C
5% (20°C)
100°C
‘Under this condition, the status output varies as follows:
+ Temp. = 90°C
+ 90°C Temp,
+ Temp, = 100°C
+ 100°C Temp,
+ 110°C Temp.
100°
10°C
100% ON
50% ON
0% © OFF
50% ON,
0% ON
50% OFF
100% OFF
<52-
50% OFFa
8)
(a)
Integral operation (1)
Offsets (€.g., between a control temperature and a preset temperature) will inevitably occur in
proportional operations. ‘To climinatc the unwanted offsets, the proportional operation is combined with
‘an integral operation. As the time goes by, the offset reduces and finally the control temperature
‘matches the preset value.
Deviation 0
Process value 0
ee
Concept of integral operation
Dilforential operation (D)
‘The proportional and integral operations are operations to correct control resulls. Therefore, the step
response cannot be so quick. The differemtial operation is provided to eliminate such response delays.
‘The differential operation corrects control results with a process value (output) proportional to the
gradient (diffential coefficient) due to the deviation. For example, this operation gives a great process
value (output) toa step transition to regulate the control status
‘Step response
Deion 0
Proce vase of —[\__——_
(Gare
Concept of differential operation
PID operation
‘The PID operation is a combination of proportional, integral, and differential operations, This operation
is very effective to control processes having dead time. ‘This operation performs hunting-less smooth
control (by proportional opcation), automatic correction (by integral operation), and quick response to
extemal disturbances (by differential operation). The Figures shown in the next page show a process
value (output) of the PID operation tothe step-like deviation and lump-like deviation.
-53-Procett valve 0
(Oupa)
ID opeation on step-like deviation
a
Procest value 0
(Onpa)
PID operation on tump-like deviation
Electric furnance tempeature control (example)‘The basic block diagram of the PID control is shown below
PID controler
Oat vale (MV)
ID control system
In the Figure above, the sensors sense control status such as temperature, pressure, and flow rate in a
selected process and sends it as an analog signal (usually 4 mA 10 20 mA) to the PID controller,
‘The PID controller subtracts the measured values (sent as an analog signal from the sensors) from the
preset values, performs an adequate PID operation on the differences, then outputs the result as an
analog signal (usually 4 mA 10 20 mA) to the driver.
Q) PID operation
‘The output of the PID controller is basically expressed by
Mey ={KpiSv -Pv)
Lesv-roerf¥-w0) «Batt
‘Trsnsform of Eq. (1.1) by a Laplace operator $ yields Eq, (1.2).
wg
=)
oe
1
panTseaey == Bq. (1.2)
where E(S) = [(SV-PV)]*
where MV(D, MV(S): Output
(SV-PV), E(S); Deviation
pepe a
(p= a on: pon ne
fre eae ake
However ate opt oa pure diereia operation (expres by Too To) is pbs sd isnot
effective to control objects having inestia (such as control valves), the PID controller handles “Constant -
(Primary delay element)” as a dummy differential ourput. Accordingly, replacement of TpS of Eq, (1.2) by
%
SF yoeg 0
mvs)
ES)
Eq. (1.3)
=55-
radwteronisa dite ain oily ou 10), By replacing 1 of, 1. by To ween
Bq. (1.4)
MVS) ofryte ES
ES) Ts vt s
“The above PID operation canbe illustrated as shown below.
p=}
saves +, |
IRS }—G—— Ompuratve ov)
Mearuted value (PV) KTS
1s
Block diagram of PID operation
)_ System configuration
‘An example of @ PID loop control system which controls some control loops is shown below.
series basic uit
Al: Here anaog inp modole
‘AO: H-seies analog ouput module
PL/O: Hse ouput module
AVR: Hace power supply module
TOC: Hesenies 0 comroter
System configuration (example)
The CPUP-**H (like an H-series standard CPU module) directly reads data from or writes data in the analog
VO modules mounted in the basic, expansion, and remote YO units
‘The CPUP-**H causes the H-seties analog YO modules to fetch various sensor signals (as SV and PV) from
target processes and the H-series analog output modules to output the result of PID operations (as MV) to the
Processes for control
-56-‘The CPUP-*+H manages timing to control the loops by the PID Execution Control instructions of the CPUP-
“*H, The CPUP-**H performs a PID operation on data of one loop in each 20-ms periodic scanning. In
other words, each process loop is controlled cyclically ata time interval of 20 ms by the numberof loops (for
the specification of a minimum sampling time).
(4) Functional specification
The functinal specifications of the CPUP-*¢H are shown below.
Functional specifications of the PID control system
tem Specification Description
Number ofloope | 11064 ‘The PID control instruction requires a parameter area, a WR are (S wordt
(11020 when the memory | + number of loops x 49 words), and an R are (16 bits x the numberof
‘exsstieis on RAMOAIT of | loop} for execution.
RAMOAtI)
Sampling sine (TZ) | 1 v0 200 a mae of 20) | The minima sampling time of exch lop it n> 20 me (x: amber of
(hen the Al r0 AO. oops)
‘modules moumed onthe
bbc orexpunsion unt) | * Loops can have difereat sampling times ifthe sampling times ae
‘mulpes ofthe minimum sampling time (the numberof lps)
“419200 (a mp of 20)
Tease O29 | example) Senin of sapling times (2) of § lope
‘when the Alor AO module ic
is mounted on the emote Loop | 4
10 substation)
{| 4] | |
to [a] | 4] ] ret} ¢] fiz
‘Al: Analog Input Module
fone tops | af] |] is} | a | tae
- vows [a] |e} [40] | ref |e
Eel Bu? Bd Bed BS
Ex HE d: Valid
Fx 40x $: Not valid
PD consuns |
Kp +1000 to +1000 (4) Proportional gain (%)
frye Losx67 Ratio of integration ine (Two sampling sine (TZ)
ror 103767 Ratio of difeentaion ine (Ty) sampling Sine (TZ)
Twi 1103267 Rat ofitleentatin delay sme (Ty) to sarmping ine (FZ)
Set valu (SV) 32761 9 32067 Analog inp bit patem (ater conversion)
Measure value @V)_ [3276710 +3267 -Aalog inp it pater fier conversion)
Joupa value MV) _| 32767 0 032767 Analog output pate (before conversion)
High out tims UL [32769 0 492067 igh lint of output valve
Low ouputlimit LL_|-32767 0 +3267 Low tint of cap vaue
Inia vale NTT) [32767 0 «32067 Toil ouput value
Note: The available range of the internal output area (WR) is limited (oi a memory cassette).
-sT-
eed3. Trace monitor function
a)
@
Outline
‘The trace monitor has six monitor functions and can monitor the change status of bit, word, or double word
data. ‘The functions are used to check the operation of a program or the operation timing of an extemal
device,
Functions
‘The functions are valid when the CPU of CPU2-
**H, and Ladder Editor are combined,
H, memory cassettes RAM2, RAM3-**H, and ROM2-
(1) List of /0 which can be used by the trace monitor
A list of YO which can be used by the trace monitor is shown below.
Bit 2X. ¥, RL, My dimer and counter ®
WO usble — [Word Wx, WY, WR, WE, WM, TC
Doubieword | DX, DY, DR, Dt, DM.
* Specify the timer by TD and the counter by CU.
(2) Explanation of trace monitor functions
'Next, each function ofthe race monitor willbe explained.
@ Cominuous time chant
‘The function monitors the ON of OFF state of the specie bit 1/0 in a time chart form.
(Trigger time char
‘When the trigger-specified bit /O satisfies the specified condition (ON ot OFF), the function
‘monitors the ON or OFF state of the 1/0 which is specified separately in a time chart form,
(QIN) Continuous trace
‘The function monitors the change status of the specified bit, word, or double word VO data
(IV) Trigger trace
‘When the trigger-specified 1/O satisfies the specified condition (set value), the function monitors the
change status ofthe bit, word, or double word I/O data which is separately specified,
(V) CPU instruction trace
‘When the trace instruction (FUN 51 (s)) in the ladder program is executed, the function mi
‘change status ofthe bit, word, or double word I/O data which is separately specified.
(VD) Trigger circuit monitor
‘When the trigger-specified VO satisfies the specified condition (set value), the function stores the
status ofthe circuit which is separately specified and monitors the circuit.
-58-(3). Explanation of operations of the trace monitor
(1) @ Continuous
chart, (111) Continuous trace
Each of the above functions reads the content of the specified 1/0 (trace monitor YO) in a specified
cycle (sampling time) and stores it in the sampling buffer. The stored data is monitored by the
peripheral equipment (in a time chart trace form),
{In this case, data which is sampled periodically can be monitored continuously. (The parameters are set
by the Ladder Editor)
Pe
pte eaioment
cpu teri
Tes monitor
8
i
i
'
t
1
\
cet
‘sain
cnt
R000
Sul bter ———.
xo0it@
Note: When data is being monitored by the continuous time chart function or continuous trace function,
the trace status may be changed to the STOP mode. The reason is that the data amount becomes
larger than the data amount which is stored in the sampling buffer by the CPU within a specified
time and no data can be written into the sampling buffer any more.
If this occurs, decrease the trace monitor 1/0 set count or increase the sampling program set time
and restan the monitoring,
ee(2) (i) Trigger time chant, (1V) Trigger wace
Each of the above functions reads the content of the specified /O (trace monitor YO) in a specified
cycle (sampling time) and stores it in the sampling buffer. When the stored dala satisfies the trigger
Condition, data is sampled continuously for the half capacity of the sampling buffer and the sampling is
terminated. When the stored data does not satisfy the tigger condition, the sampling is continued until
the instruction is stopped.
Peripheral equipment
cpu (dae ion
“Tae monitor ‘Tegger ‘Samp
10 conn oe
Reference ;
'
'
1
1
St and nop insnton
Scanning
Stomge
cer,
R00 [——]
Monitor
x00i00131. (¥) CPU instruction trace
‘The CPU instruction trace function reads the content ofthe specified YO (trace monitor YO) whenever
the FUNSI(S) instruction which is written in the ladder program is executed and stores it in the
sampling buffer. The stored data is monitored by the peripheral equipment (ina trace for).
Pesighea gue
eu te ada
Sampling uace st (PUNSOCS))
ead
Refernce
‘Sampling vace rea (FUNSI(S))
xt
(aetearecaneuen|
ct | ant
peewee (OLE mes
‘Seanning. rel
— a a -
i eae ee Eee
Sampling RUN.
maus “STOP @) oO oD
Pn] J J
@ © @
Inthe CPU instruction trace function, as shown in the CPU instruction trace outline operation time chart
indicated above, by executing the sampling trace setting instruction FUNSO(S), the sampling status
(RTED) becomes RUN (between [e} and (f} and between {g] and [h}) and sampling by the sampling
trace instruction FUNS(S) is ready. In tis period, by execution (fa}, [b], and [4}) ofthe sampling trace
instruction, the content of the specified 1/0 is stored in the sampling bulfer. By executing the sampling
trace reset instruction FUNS2(S), when the sampling status is STOP (between (f} and {g), the content of,
the specified 1/0 is not sampled even if the sampling trace instruction FUNSY(S) is executed.
6