Chapter 14 Operation Examples

Chapter 14 Operation Examples

To understand the basic operation of the MICRO-EH, this chapter explains samples of operations such as inputting simple programs and verifying operations.

The following programming devices can be used:

 

Peripheral unit name

Form

1

H series ladder diagram

HL-PC3

 

instruction language software

HL-AT3E

 

LADDER EDITOR

 

2

H series ladder diagram

HLW-PC3

 

instruction language software

HLW-PC3E

 

LADDER EDITOR for Windows® version

 

* Graphic input device (format: GPCL01H) can be used except on-direct mode.

(1)Operation verification procedures

An operation is verified according to the following procedures:

Start

 

 

 

 

 

 

 

 

 

Start the LADDER EDITOR for Windows®

STEP

1

 

 

 

 

Perform initial settings

STEP

2

 

 

 

 

 

 

 

Input program

STEP

3

 

 

 

 

 

 

 

Check program errors

STEP

4

 

 

 

 

Save program

STEP

5

 

 

 

 

Transfer program to the CPU

STEP

6

 

 

 

 

Monitor (verify the operation)

STEP

7

 

 

 

 

 

 

 

End

 

 

A personal computer and LADDER EDITOR for Windows® are used as the peripheral units in the example. For details, refer to the user's manual for each peripheral unit.

(2)Detailed operation example

The following explains an operation example using the module and sample program from step 1.

CPU: 14-point type

Slot 0: Bit point X48

Slot 1: Bit point Y32

Slot 2: 16 vacant points

Input/output operating mode: Mode 0 (WRF070 = 0, default value)

Operation of program

Turn Y100 and Y 102 on and Y101 and Y103 off and vice versa, alternating at one second intervals.

R7E3

R0 TD1

TD0

TD0

TD0

R0 = 1

 

(00001)

 

 

 

TD0

(00002)

 

 

. 1S

10

 

 

 

Y100 = 1

 

 

 

Y101 = 0

 

(00003)

Y102 = 1

 

 

 

 

Y103 = 0

 

 

 

TD1

(00004)

 

 

 

 

. 1S

10

 

 

 

Y100 = 0

 

 

 

Y101 = 1

 

(00005)

Y102 = 0

 

 

 

 

Y103 = 1

 

 

 

14-1

Page 292
Image 292
Hitachi NJI-350B manual Peripheral unit name Form, Operation verification procedures, Detailed operation example, 14-1