hitachi programmable control system - live and … · hitachi programmable control system i 'i...

24
OPERATION MANUAL UNIVERSAL PROGRAMMER PGMJ-R .HITACHI 8- Sf , SET HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I

Upload: buithu

Post on 31-Oct-2018

247 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

OPERATION MANUAL

UNIVERSAL PROGRAMMER PGMJ-R

~ .HITACHI

~ 8- Sf , SET ~t~

HITACHI PROGRAMMABLE CONTROL SYSTEM

I 'I

@HITA

I NJI006(X) I

Page 2: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

PREFACE

HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle programming and debugging

tool which is developed for Hitachi Programmable Controllers E-series including EM type.

The programmer has somemore facilities comparing with a usual programmer as explained in the

following.

1 . The integrated seial interface RS-232C permits the direct connection with the other device, such

as a personal computer.

2. Direct connection with the printer can output the content of the program as a ladder diagram, a

code list and the cross reference list on the printer.

3. The ROM programming function permits the easy copy of the user program for duplication of

the function and program storage for maintenance.

4 . The LCD display help the operator with comprehensive word indication. Even in dark place, LCD

can be read due to the back light in the display.

5. Clearly coloured keyboard with a key touch reaction supplies the operator with comfortable programming.

Page 3: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

Tables of Contents

1 . Specifications of PGMJ-R ....................................................................... .

2. Name of PGMJ-R Parts ........................................................................... 2

3. Programming Function

3. 1 Display after Turning on the Power Supply .......................................... 3

3.2 Programming Function ..................................................................... 3

4. Key-in Procedure to ROM, CMT and Printer Interface Function ......... ............ 5

5. ROM Writer (1) Function (FUN 0) ................................................................ 6

6. CMT Interface Function (FUN 1) ................................................................ 7

7. ROM Writer (2) Function (FUN 2) ............................................................... 9

8. Forced Output Function (FUN 3) ............................................................... 11

9 . Printer Interface Function (FUN 4, FUN 5)

9. 1 Key-in Procedure of PGMJ-R ............................................................ 12

9.2 Setting DIP Switch in PGMJ-R···························································· 13 9.3 Specification for Printing .................................................................. 14

9.4 Printed Out Example ........................................................................ 16

9.5 Printer Specification ........................................................................ 17

9.6 Setting of DIP Switch in the Printer ................................................... 17

9.7 Setting of Switch on the Serial Interface Board .................................... 18

10. Personal Computer Interface Function

10.1 Setting DIP Switch Built in PGMJ-R ................................................... 19 10.2 Programming by the Personal Computer ......... .............................. ...... 19

Page 4: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

1 . Specification of PGMJ-R

Table 1.1 shows specifications of PGMJR

Table 11 Specifications of PGMJR

No. Item Specifications

Programming function All clear, Write-in, Read-out, Editing

Editing Change, Insertion, Deletion

Functions 0.lonitoring of iuput/ output status and current data 1 for Monitoring

Programmer of timer/counter.

Check function Syntax check, Key-in procedure check

Test function Forced output, Forced set, reset

Recording (Or\ [P) Basic unit memory --4 Cassette tape

2 CMT I/F

Play-back (LO_'l.O) Basic unit memory <- Cassette tape function

Verification (\TRWY) Basic unit memory"" Cassette tape

ROM COP\' Basic unit memory -> Memory pack

3 writer Load Basic unit memory <- Memory pack function

Venfy Basic unit memory <-+ Memory pack

Interface RS-232C

Synchronizatic:: Asynchronous method

300, 600, 1,200, 2,400, 4,SOO, 9,600, 19,200,

Transft'r ratt' 3K,400 B.P.S

(Changeable with incorporated DIP switch, set at 4.S00 B. P S when ex-factory.)

Start bit. 1 bit, data bit. 8 bits, stop bit. 1 bit 'vV ord length (\\'hen ex factory, changeable with incorporated DIP

s\ntch)

Printer Charactor codt' ASCH( USA) Personal

4 computer Printer interface or personal computer interface is interface Selection of icl::ctlon

selected by DIP switch. function

Printer mterface . Code lIst, ladder diagram and cross reference are function prrnted out.

(1) Correspondence of data with personal computer. 1.:2 1 Following functions are possible with software

Personal comp'~~ter at personal computer side. interface functlo:1 1) Program write-in 2) Program read-out

3) On-line monitoring

Recomme"cJole P:lriter Printer: EPSON RX-80, RX-80II, FX80

perIpheral Interface board; No. 8143, S145, 8148

eqUIpment r-p;: -;()11a I 18\[ PC 5150/5160 " Ir~1;)utcr

5 DIsplay LCD (with back light) Both data and step No. are indIcated.

Ambient temperature 5 -40°C

6 General

Ambient humld,c\' 30-90% RH (non-condensing) specification Storage temper2.ture -10-60°C

-1-

Page 5: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

2. Name of PGMJ-R Parts

F-ig. 2.1 shows the names of PGM]-R parts and Fig. 2.2 shows its dimensions.

Connector for RS·232C Connector for memory pack LCD indicator

RS·232C cable is Indicates command.

connected. Memory pack is inserted data and step number.

\1 / 1 I J

r-------------,

I I

I I I

Cable 1\ I

L _____________ ..1

CO""IT"d CO ~~~ 1\ 0000000 the basIc r-----.: I

module (270nlm) ~ 0000000

[I. II 0000000 V' goo~ooq vV~

/ / I \ Mode selector switch. Cassette tape

Command key Numeric key recorder ternlinal SCll'l:t .... Opl'l '-\1 II)Il t !l()dL'

To which an audiO IIlPUb (o""lland Inputs numenc data C'llhf.'r Pf~()G. TEST nr word f\l :!'\ cassette tape recordel Pf\()(; : PI(),'o;r<l!lltllJIlg is connected TEST: Test I\l:\ : OPt'!"":IlIUII

Fig. 2.1 Name of PGM]-R parts

r r-------------,

I I I

l I I

U L _____________ J

0000000 0 0

0000000 ~

[I I I II 0000000 (@(@ 0000000

'----~---

190 . .

Fig. 2.2 Dimension of PGMj-R

PGMJ-R can be mounted by pushing it to the holes on the basic unit.

- 2 -

\

~ Operation key

SpeCifies program edltmg mode

I II

lil ~~1"

Page 6: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

3. Programming Function

No.

1

3

3.1 Display after turning on the power supply

Fig. 3.1 shows PGM]-R display after

turning on the power supply of the

basic unit. (E, EM, ]-16)

v 1 ~ PROG

PGMJ-R ----------~f----~

Mode of mode selector switch System ROM version

3.2 Programming function

Key-in procedure is compatible to the standard programmer (PGMJ) but the display is

defferent. Table 3.1 shows the examples of the display.

Table 3.1 Display of PGMJ-R (2/1)

Items Key-in procedure Display

~ PROG STEP •••• All clear @2J PROG STEP •••• E

[IDJ PROG STEP o 0 0 0 -

~EDJI~~·~IOJ PROG STEP o 0 0 0 ORG NOT T / C 4 ~ ~ '---.-----" ~

Command Not Timer, Number

Command code code display counter

display display display

(example) ~1~~fl[QITJ PROG STEP 000 1

[IJDJITJ OUT T/C 1 0 950 ~~ ~

Timer. counter Preset number value

No error PROG * STEP o 3 5 6

PROG * STEP o 1 2 3 d E Dual coil

OUT 50: error display

Stack PROG * STEP o 2 3 3 u E Syntax under

[ill] ITTIJ FUN 4 5 5 5 O~ error

check error display

Stack PROG * STEP o 3 5 0 0 E over FUN 4 5 5 60~ error error display

PROG * STEP o 1 2 0 f E Framming ~

error error display

- 3 -

Page 7: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

Table 3_1 Display of PGM]-R (2/2)

No_ Items Key-in procedure Display

RUN STEP •••• 4 Monitoring @jiIJ OJ CD I ~1 0 N I OUT 5 0 • T

ot\'

RUN STEP 000 1

5 Conduction ~IST+EI'I AND 200. T

Conduction

PROG STEP o 0 0 0 E

6 Key-in error ~[I][I][I]I E\T I ORG 999 T error

7 Sum-check error RUN STEP •••• -

5 1 E

8 Undefined command RUN STEP -

error 4-E

4 -

Page 8: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

4. Key-in procedure to ROM writer, GMT and Printer interface function

Table 4.1 shows key-in procedure to ROM, CMT and Printer interface function etc.

Table 4.1 Key-in procedure

Function Key-in procedure Display Remarks

Shift to No.1-6 ~ PROG R~~~ PROG. TEST mode

functions @2J[D2]I En l 0 ROM MODE STOP status

ROM IflT~IITJ PROG R~~~ ROM writer function when 1 writer (1) memory pack is set on the

function 0 ROM MODE basic unit.

CMT interface ~[D PROG C~~~ Record and play-back to 2

function 1 CMT MODE the cassette tape.

ROM [ITS[D PROG R~~~ ROM writer function when 3 writer (2) memory pack is set on

function 2 ROM MODE PGM].R.

Forced output IflT:lI[O TEST O~~~ Forced output at Test 4 function 3 FORCED OUT mode.

Printer (1) IflT:lIDJ PROG P~~~ Programs of E and ]-16 are 5 interface

function 4 PRINT OUT printed out.

Printer (2) IH:lIOJ PROG P~~~ Programs of EM are printed 6 interface function 5 PRINT OUT out.

Release of No. 1-6 I CLRI PROG. TEST mode. STOP functions. @I]@I][@J status.

{Description}

1. ROM writer, CMT interface and printer interface functions are selected by FUN number

(0-6). after key-in operation (~@2J [ITIJ ~).

2. ITGJ ~ Key-in operation is no necessary because ROM writer (1) mode is automatically

selected after key-in operatlOn ([IJJD [ITIJ [ITIJ ~) ~ ~ Key-in operation is necessary when ROM writer (1) mode is selected after CMT

interface mode.

3. Programming function returns after release key-in operation ( ~ ~ ~ ~ )

- 5 -

Page 9: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

5. ROM Writer (1) Function (FUN 0)

Item

>. D. 0 u

u :1l 0

.....l

Memory pack is copied and loaded with this function when memory pack is set on E series

basic unit.

In case of ]-16, this function means write-in to EEPROM.

Table 5.1 shows key-in procedure of copying and loading the memory pack which is set on E

series basic unit.

Table 5.1 Key-in procedure of copying and loading the memory pack

Key-in procedure Display Remarks

1 ~ IT:DJ IT:DJ I H T I PROG R--- ROM writer (1) function is 0 R 0 ~I MODE specified

2 IT2El[§J PROG R--P*_STR Basic unit Basic unit 0 R O!'-I MODE EEPROM ---> RAM

3 Power OFF, memory pack PROG is set. Then power ON. PGMJ-R \' : 1

~ ITITI ITITI @2J PROG R--- ROM writer (1) function is 4 0 R 0;-"1 MODE specified

5 §I]l~:nl PROG R--P_OUT Basic unit Memory pack --->

0 R 0;-"1 MODE RAM EEPROM

6 ~@TI PROG R--P' - Al\'D Basic unit -H- Memory pack 0 R 0:-"1 MODE RAM EEPROM

7 ~§I]§I]~ ROM writer (1) function is released.

1 Power ON after memory PROG pack is set. PGMJ-R V : 1

2 ~@2J@2J~ PROG R--- ROM writer (1) function is 0 R Or-I MODE specified.

3 IT2El@] PROG R - - P* _S T R Memory pack --->

BasIc unit 0 R 0:-'1 MODE RAM

Power OFF and memory pac~: PROG 4 is taken out. Then power 0\. PGMJ-R \- : 1

5 ~@2J@2JlnTI PROG R--- ROM writer (1) function is 0 R O!'-I MODE specified.

6 §I]~ PROG R--P-OUT Basic unit Basic unit 0 ROM MODE RAM

---> EEPROM

7 ~[ITD§I]IE\TI ROM writer (1) function is released.

"'P" is ht for the short time. (aprox. 0.1 sec)

~- STR , I

_ Copy

I EEPROM OUT Data R:\\[ STR Memory pack - I

_Load

I

L ___ E_s~n_'e_s_b_a_sic_u_ni_t ___ ~ Fig 5.1 Copying and loading memory pack

- 6 -

Page 10: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

6. CMT Interface Function (FUN 1)

Programs of the basic unit is recorded to the audio cassette tape with this function.

Three modes are selected by key-in ope:-ation shown in Fig. 6.1.

.---,'f--M_o_d_e_l---.,;'f--llp.f Buffer RAM , Mod,,1 (0) (0) I PGM.J-R Audio cassette tape

Mode 0 : Programs are transfered between the basic unit and the audio cassette tape through the buffer RAM in PGM]-R

Mode 1 : Programs are transfered between the basic unit and PGMJ-R Mode 2: Programs are transfered between PGMJ-R and the audio cassette tape.

Fig. 6.1 Modes of CMT interface function

Mode 0 is normal key-m procedure, because programs are transferred between the basic unit and

the audio cassette tape.

Mode 2 is selected, when the programs of A tape is recorded to B tape without changing the

programs of the basic unit.

Table 6.1 shows key-in procedure of CMT interface function.

(Notice)

1. Monaural cassette tape recorder should be used. Set the tone and volume knob to maximum.

2. Be sure to wind up the tape beginning before recording, playing back or verification.

3. Connection cord \\-ithout resistor is necessary.

Don't use the code with reslstor because of un-recording.

4. Execution time will be increased accoding to the number of program steps.

Execution ~ 40 seconds + number of steps X 0.22 sec

5. The cassette tape recorded by PGM] can be played back by PGMJ-R. but reverse operation

is impossible

(The cassette tape recorded by PGMJ-R can not be played back by PGM].)

- 7 -

Page 11: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

No. Function

1 CMT mterface function is specified.

Mode 0

Record (DUMP) Mode 1

Mode 2

Mode 0

Play back (LOAD) Mode 1

CXJ

2 Mode 2

Mode 0

Verification (VERIFY) Mode 1

Mode 2

Error display

3 Release eM'!' mterface fundloll

Table 6.1 KeY-In procedure of CMT interface function

Key-in procedure

T;IPC rccordl'r ~

Recording

MIC <!H:J----D-0 MIC

(pGlvIJRJ (Tape ) recorder

Playback

EAR 0-D-D-0 EAR

(PGM]-RJ (Tape ) recorder

Play back

EAR 0-D--0-G EAR

(PGM]-R) (Tape ) recorder

Key-in operation error

Play back error

Venfication error

Format error

Display Remarks I'CM.I-H

~I SET I@I][DJJ PROC C---

Fl'~ LIJ 1 CMT MODE

@II] @:IJ PROC C--P-OUT Basic unit

1 CMT MODE EEPROM --> Cassette tape

~[O[02J PROG C--P-OUTl Basic unit --> PGMJR

1 CMT MODE EEPROM RAM

~ITJ~ PROG C--P-OUT2 PGMJ-R

1 CMT MODE RAM ----> Cassette tape

1ST R I IENTI PROG C--P-STR Basic unit

1 CMT MODE EEPROM<-- Cassette tape

~CDIENTI PROG C--P-STRl Basic unit PGMjR

1 CMT MODE EEPROM <-- RAM

~ITJ~ PROG C--P-STR2 PGMjR

1 CMT MODE RAM <-- Cassette tape

~ IEHI PROG C--P-AND Basic unit

1 CMT MODE EEPROM -+<- Cassette tape

I·u oj CD @IJ PROG C--P-ANDI Basic unit PGMjR

1 CMT MODE EEPROM --... ~ RAM

I:l.NDIITJIEHI PROG C--P-AND2 PGMjR

1 CMT MOD RAM - .... - Cassette tape

C--- E Depress CLR key to clear error,

C 6 2 E and retry.

C7-E

C R E

~IJ{lOSI~IENTI

1) "P" is disappeared at completion of excutlOn. 2) For data play back or verification, symbol "H" will apear for about 30 sec

untill the tape is positioned at the start bit

I

Page 12: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

7 . ROM writer (2) Function (FUN 2)

Memory pack is copied and loaded with this function when the memory pack is set on

PGM]-R.

Three modes are selected by key-in operation shown in Fig. 7.1.

~ I

-

oOL1 I -

I Mode 0

PROM I

Mode 1 I

Buffer RAM I

Mode 2 , 0

~I~unit -----'

-4 ~ ~ Ii-

PGMJ-R ;v1emory pack

lk EEPROM: 0

2k EEPROM: 1

2k EPROM : 2

Mode 0 : Programs are transfered between the basic unit and the memory pack. Mode 1 : Programs are transfered between the basic unit and PGM]-R. Mode 2 : Programs are transfered between PGM]-R and the memory pack.

Fig. 7.1 Modes of RO?\1 writer (2) function

Mode 0 is the normal key-in 1'lrocedure, because programs are transfered between the basic unit

and the memory pack.

Mode 2 is selected, when the programs of A memory pack is copied to B memory pack without

changing the programs of the basic unit

Table 7.1 shows key-in procedure of ROM writer (2) function.

<Notice>

1. If 2k EEPROM memory pack is operated as 2k EPROM

( §] ~ [0 IE 1\ T I ). 2k EEPROM memory pack might be damaged

L EPROM is specified

2. Programs are scrambled by loading operation without setting the memory pack on PGM]-R.

-9-

Page 13: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

Table 7.1 Key-in procedure of ROM writer (2) function

No. Function Key-in procedure Display Remarks

1 ROM writer (2) function [TIIJ [IIT] ITTIJ [IEIJ PROG P---is specified. [}]E][TI 2 ROM MODE

Mode 0 §TI [JCJ [JCJ @Il PROG R--P_OUTOO Basic unit ~ Memory

L 2k EEPROM: 1. EPROM: 2 2 ROM MODE EEPROM pack

COpy Mode 1 §TILJ[JCJ~ PROG R--P - OUTIO Basic unit PGM]-R

L Same meaning 2 ROM MODE EEPROM ~ RAM

Mode 2 §TI[JJ[JCJI ENT I PROG R--P_OUT20 PGM]-R ~ Memory L Same meaning 2 ROM MODE RAM pack

I

Mode 0 1 ST R I IENTI PROG R--P_STROO Basic unit <--- Memory I

2 ROM MODE EEPROM pack

LOAD Mode 1 [illJITJ ~ PROG R--P - S T RIO Basic unit PGM]-R 2 ROM MODE EEPROM <--- RAM

-o

Mode 2 [illJ[JJ Icnl PROG R--P _STR20 PGM]-R <--- Memory 2 ROM MODE RAM pack

2 ~ ~ Mode 0

PROG R--P_ANDOO Basic unit ~<-- Memory 2 ROM MODE EEPROM pack

VERIFY ~LJ ~ PROG R--P_ANDIO Basic unit PGM]-R Mode 1 2 ROM MODE EEPROM ~<-- RAM

~[JJ I En I PROG R--P_AND20 PGM]-R ~<-- Memory I Mode 2 2 ROM MODE RAM pack

Blank check ~ ~ PROG R--P_ NOT Erase check for EEPROM

2 ROM MODE

Key-in operation error R--- E

Copy error R 6 2 E OUT Exchange memory pack Error display

Verification error H.7-E AND

Blank check error R61E NOT EPROM is not erased.

3 Release ROM ~~~~ writer (2) function

-

"P" is disappeared at completion of excution.

Page 14: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

8. Forced Output Function (FUN 3)

No.

1

2

3

This function enables turnmg O:-:/OFF external output while the system is in stop state under

TEST mode in no connection with program, and thus the output wiring can be checked after

installation.

Table 8.1 shows key-in procedure of forced output function.

Table 8.1 Key-in procedure of forced output

Key-in procedure Display Remarks

~ [~I~][IDJ @2] PRPG 0--- Forced output is

[FlJ~IOJ .-, FORCED OUT specified. .=>

~[ETI[JJCD PROG 0--- OUT Output 50 ON [s ET I 3 FORCED OUT50.

~§2J[JJCO PROG 0--- OUT

Is ET I 3 FORCED OUT55. Output 55 ON

PROG 0--- OUT

@I] FORCED OUT55 Output 55 OFF

3

[TIE] @Ii] CO CD PROG 0--- OUT Output 50 OFF

@I] .-, FORCED OUT50 .=>

~~IRESIIE\T1 Release forced output.

<Notice>

1. When the forced output mode IS specified, then the RUN contact is turned ON.

Perform the test with due consideration of safety.

~ll~

Page 15: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

9. Printer Interface Function (FUN 4, FUN 5)

No.

1

2

3

9.1 Key·in procedure of PGM]·R

Key·in procedure IS different according to the type of the basic unit.

In case of E, ]-16 series, FUN 4 is specified. The other operations are same to all types.

Three modes and print out formats are selected by the key·in operation.

Mode selection is shown in Fig. 9.1 and format selection in Table 9.1.

![ EEPRO~ I · L _ Basic uni~:=J

~ode 1 I I

t Buffer RA~ J---1--+---". PGMJ-R~

- - Printer

~ode 2

Mode 0 : Programs of the basic unit are printed out through the buffer RAM of PGM]-R.

Mode 1 : Programs are transferred between the basic unit and PGM]-R. Mode 2: Programs of PGM]-R are printed out.

Fig. 9.1 Printer interface function

Table 9.1 Print out Format

Format is Title specified Coding list Ladder diagram Cross reference

0 0 0 0 0

1 0 - -

2 - - 0 -

:) - - - 0

o : Possible

Table 92 Key-in procedure as printer interface

Function Key-in procedure Display

Pnnter mterface ~~~IDTI PROG P--- In case of E~, is specified IFU\ICD 4 PRINT_OUT FUN 5 is specified

@DJOJOJ[ED PROG P--P-OUT02 Basic unit . Mode 0

L Ladder EEPROM --> Pnnter

4 PRINT-OUT ::1 OD2lLJ IEHI PROG P--P-OUTI 0 Basic unit --> PG~lJ-R c tvlode 1

EEPRO~ RArvl c 4 PRINT OUT 0... -

--@IDOJCD[ED PROG P--P-OUT2 1 PG~J-R

Mode 2 t RA~ --> Pnnter

Codmg 4 PRINT_OUT

Reiea,e [IIEJI RE~ II RES II UTI prmter mteriace

Mode is specified-.----l L--Format is specified

- 12 -

Page 16: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

9.2 Setting DIP switch in PGMJ-R Bit rate and word length are selected by DIP switch built in PGM].R.

Bit rate setting is shown in Table 9.3 and word length setting is shown in Table 9.4.

No use. Personal computer

For word For Bit ~ f. interface at on state. length rate ~ ~

r-------------------~~_, 8 7 6 5 4 3 2

~~~~~~ ... Table 9.3 Bit rate setting

Switch No. Bit rate (kB. P. S) Remarks

5 4 3

0 N 0 N 0 N 38.4 -- OFF-

0 N 0 N OFF 19.2

0 N OFF 0 N 9.6

0 N OFF OFF 4.8 Factory·set

OFF 0 N 0 N 2.4

OFF 0 N OFF l.2

OFF OFF 0 N 0.6

OFF OFF OFF 0.3

Table 9.4 Word length setting

Switch No. Word length Remarks

8 7 6 Start bit Data bit Parity bit Stop bit

0 N 0 N 0 N 1 7 1 (even) 2

0 N 0 N OFF 1 7 1 (odd) 2

0 N OFF 0 N 1 7 1 (even) 1

0 N OFF OFF 1 7 1 (odd) 1

OFF 0 N 0 N 1 8 - 2

OFF 0 N OFF 1 8 - 1 Factory·set

OFF OFF 0 N 1 8 1 (even) 1

OFF OFF OFF 1 8 1 (odd) 1

- 13 -

Page 17: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

9.3 Specification for printing

(1) The circuit which has within 8 serial contacts, within 26 lines and within 7 times STR

command repeatedly is normally printed out.

(2) In case of the circuit excess limitation, the ladder diagram within limitation is printed out.

For example, when the circuit has 10 serial contacts, the ladder diagram up to 8

contacts is printed out, and 9 th and 10 th contacts are not printed Further" * " is printed at the head of the circuit.

8 contacts MAX.

r-________ ~A , I ' ~1f__jH~IHHH (

26 lines MAX. I

I I I I

~I H H H H H H 1---'oIt----i

* 0520 HHHHHHHr- ( ,~--------~ ----------~I V

Up to 8 contacts are printed out.

Note for using the printer

(1) To halt the printing in the course, push the start switch again.

The display lamp disappears and the printer stops.

(2) If the printer power is turned off or the

printer paper becomes short during operation,

perform the procedure all over again.

(3) When the printer paper is used up, the printer

buzzer sounds eight times.

(4) It's convenient that the slits of the paper are

set at the center of the printer's head using

the knob for feeding the paper.

t The contacts excess 8 contacts are not printed and the space is printed.

head

knob for feeding paper

- 14 -

Maximum scale of ladder diagram

Ladder diagram excess 8 contacts

slits

Page 18: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

(3) Even if there is a syntax error in the program, the ladder diagram including a syntax

error is printed out.

Examples are shown below.

(ex!) ORG command is missing.

ORG is mmissing. ----->

AND 1

OR 2 OUT 10

space

~ ai' --j l---tl-------I( 010

000 001 (ex2) OUT command is missing.

~W ORG 0 002 / AND OR 2

OUT is missing. -->

ORG 3

(ex3) OR·STR command is missing.

ORG 0

AND 1

STR OR ·STR is missing. -->

OUT

3

10

(ex4) AND'STR command is missing

ORG 0

OR 1

STR 2

OR 3 AND· STR IS mIssing. ----->

OUT 10

003 r- space

000 001 ~I~

OOH~ 010

space

000

oo~ 002

0'oI-8-r-------J( 010

~ 15 ~

This circuit is printed out from the branch point because AND·STR is missing.

Page 19: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

9.4 Printed out example

.. . ~ SUt<J t:l·1 .. ..

.... Of,") I·JU. 'vEf':SIUN ~ ---_._----------- .... _-----_._--_._-----

'"

f"HL,L: UU...:.: [UDING LlSl

SrEF [UDE IJ?-i -, j."1

U(JUO Of':G {_'UU .. ,)uU l H~,j[} NUL (II) 1 '" (ll)(,;": ~il"~L' uu2 .. UI.~I(I::' H~'.ID NUl uU ~~ .,. (IU'·)4 AND (l04 t)'.)(J~ ~NU IJDT UU::J '" u··)··)6 f.it JIJ t:'U6 ... '.)u'·' ~,; Htl[, I,j[j 1 '.)\ ~ ~f "

I (1(11) '.Ju1 OU .... : t)'.)t)() +-! ! ---- 1/ / ___ I

11 (, +-,

I.Jui f.)U""': U(IICI +- I 1 _____ ' It _____ !

PI-1GE-_ u'..I4

Dri1;.; STET

'.Itl') uu' JI.) 11I_'1'.!

()f. J 1 '.)'.)'._11 '.-H) 1 l

u'.)~· U'.)(}~ '.)1) j.....:

{lfl_. O'._H):::-, '.Jul'::,

Ou4 uuu4 (H) 1 it (H):-, 0(11-1:':, UU 1 ~~j

U 11 0 UUl.)b UU1b

(JI:ll 0007 uU17 U!U ou18 011 (lut9

l1u UU')8 ~J)J.)(Y·i)

111 «('(I":':()'

EI'lu

Slt:F'

(If)/)Ei

(lU')":;

(lU l'.~1

Uui J 01.) l..:~

UUl.~,

O',~114

u<)l~j

ClU':'

-.! /

CUnE

OR !JUI Uf.::G nNIJ i4ND i,HD

AND i~ND

- 16 -

.. ••••••• _______ •• _. - •••• _______ • __ •• _ ._ ••• M. _ •• _ ..

iJH I f.., SI U" LUuE

1 10 (Jt_'l t.;) "HU J 1.U .. /)'.) 1 ! f,j'.jIJ (l()() .. 1.)I)lli HHI)

NUT UI.)! ... uu 1 Cj: ~4HLJ

I.)\)~ " O(J~:(J UUf I·)U I i) (,':;; " uu~~ 1 ENLJ

004 .. NUf I·)u5 '"

(II) /

. __ ... -! I 1._+_ ..

........ -- ... -- - -- ._ ... _ .. _ .... _. - _ .. -- _. _ ... _- - -- - +-

0.,1 ., 006

NU I Uti 7

01 t)

HD I ul 1 1 1 1

1 11 ) _.+

Page 20: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

9.5 Printer Specification

EPSON printer RX-80 or FX-80 is recommendable. Printer specification is shown in Table 9.5.

Table 9.5 Printer specification

item specification

Printing methods Impact-dot matrix

Size of print character 2.1 W X 3.1 H

Print paper Fan-fold paper (with sproket holes)

Printing speed 80 characters/sec.

Nwnber of print colwnns 80 columns

Ribbon Exclusive-use cartridge ribbon

Interface RS-232C

Ambient temperature 5 - 35°C

Relative humidity 10 - 80% (without condensation)

Power supply 220VAC + 10% 49.5 - 60.5Hz 100VA

Cooling Natural cooling

Dimensions (mm) 374W X 107H X 305D

Weight (kg) Approx. 5.5kg

Head useful life 100 x 106 characters (ladder diagram for 2000KW printable)

Ribbon useful life 2 x 106 characters (ladder diagram for 40KW printable)

9.6 Setting of DIP switch in the printer

Setting DIP switch in RX-80 is shown in Table 9.6.

Table 9.6 Setting of DIP switch in RX-80

Switch No. Setting Functlon

1 OFF Pica-sized, not condensed

2 OFF Control code, not Graphic symbol

3 OFF Sounds the buzzer.

4 SW1

ON Form length is 12-inch.

5 OFF Paper-end detector is valid.

6 -

7 - Don't care.

8 -

1 OFF Zero font 0

2 SW2

ON SLCT IN signal is internally fixed.

3 OFF LF must be from host.

remark

Bidirectional

Fold type

Cat. 11;0 8143 or 8US Interface pcb IS requIred.

4 OFF 1 inch skip-over perforation is invalid.

- 17 -

Page 21: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

9.7 Setting of switch on the serial interface board

Installing the interface board is shown in Fig. 9.7.

Setting of DIP switch on the serial interface board is shown in Table 9.7.

Fig. 9.7 Installing the intorface board

Frame earth wire

(Note) The parallel interface isn't available after installing the serial interface board.

#8145

Switch No.

1

2

3

4 SWI

5

6

7

8

1

2 SW2

3

4

Table 97 Setting of DIP switch on the serial interface board

# 8143

Setting Switch No.

OFF 1

ON 2

OFF 3

OFF 4

setting

ON

OFF

ON

OFF

OFF 5 (don't care)

OFF 6 OFF

ON 7 OFF

(don't care) 8 ON

OFF

ON

OFF

ON

- 18 -

Page 22: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

10. Personal Computer Interface Function

10.l Setting DIP switch built in PGIVI]-R When DIP switch is set in Fig. 101. it is possible to communicate between PGMJ-R and the

personal computer, and then display of PG\1]-R IS shown in Fig. 10.2.

Key operation is ignored in this mode because the control command from the personal computer is prior to key operation of PGrv1]-R

Switch \0. Setting Contents 8 7 6 5 4 3 2 1

~~~~~~~~ 8 OFF Start bit: 1 bit

7 0 N Data bit: 8 bits Parity: nothing

~OFF~·- 6 OFF Stop bit: 1 bit

5 0 N

4 OFF 9,600 BPS

3 0 N

2 OFF No use.

1 0 N Personal computer interface

(S\\"ltch 1\'01 and NO.3 are different from factory-set.)

Fig 101 Setting DIP switch

RU\ P G i\! J ~ R v : 1 P I/F

Fig. 10.2 Display of PGMJ-R

10.2 Programming by the personal computer

It's possible to program by USlI1g the special software shown in Table 10.1.

Programming specification by the personal computer is shown in Table 10.2.

For details of programmlI1g operation, refer "J-LDR(IBM 5150/5160) operation manual."

Table 101 Software package

Package name Personal computer

J-LDR (IB)'!) IBM PC 5150/5160

Page 23: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

Table 10.2 Programming specifications by personal computer

Online Off-

Specifications line PROG TEST RUN

Stop Run Stop Run

Program reading (read) 0 0* 0* 0* 0* 0* Editing Program writing (write) 0 0* X X X X function

Program change (change) (EDIT) 0 0* X X X X

Program deletion (delete) 0 0* X X X X

Program all· clear (PROG CLEAR) 0 0* X X X X

c: Label addition (LABEL) 0 0* X X X X 0 ·z u Forced output function (FORCE OUT) X X 0 X X X c: ::l

(I.. Monitoring Monitoring of ON/OFF of input/ output function Monitoring of elapsmg values of timer and X X X X X 0 (MONITOR) counter

Start/ stop control function (START/STOP) X X 0 X 0 0 Mode switching function for E series (RUN/TEST /PROG) X 0 0 X 0 X

Personal computer -> E series program writing (WRITE) X 0 X X X X

Personal computer <- E series program reading (READ) X 0 X X X X

'Processing in on line is in regard to data disk, not to E series.

- 20 -

Page 24: HITACHI PROGRAMMABLE CONTROL SYSTEM - Live AND … · HITACHI PROGRAMMABLE CONTROL SYSTEM I 'I @HITA I NJI006(X) I . PREFACE HITACHI UNIVERSAL PROGRAMMER type PGMJ-R is a versatyle

~ Hitachi. Ltd.

No. NJlOO6 (X) Printed in Japan YM-K (ND)