Chapter 7 Programming

Item

Out-line of opera-ting procedure

Situation

Point

Table 7.4 List of procedures for creating a program

 

Create new program

 

 

Modify

 

 

 

Test operation, adjustment

 

 

Off-line

 

 

Off-line

 

 

On-line

 

 

On-direct

 

 

Start

 

 

Start

 

 

Start

 

 

Start

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Select off-line

 

 

 

Select off-line

 

 

 

 

Select on-line

 

 

 

 

Select on-line

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Initialize PLC

 

 

Regenerate from FD, etc.

 

 

Regenerate

from FD, etc.

 

 

 

Transfer program

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(CPU → PLC)

 

 

 

 

 

 

When utilizing a program created

Initialize the CPU when

 

 

CPU type: Specify H-302

in another H-series

running it for the first

 

 

 

 

 

 

 

Memory type: Specify RAM-04H

 

 

Select on-direct

 

 

CPU type: Specify H302

time(right after purchase, etc.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Memory type: Specify RAM-04H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transfer program

*1

Conduct test operation

 

 

 

 

 

(PLC → CPU)

 

Create I/O assignment

Modify I/O assignment

 

Modify program (modify

 

 

 

Create program

Modify program

 

 

NG

during RUN, etc.)

 

 

CPU error check

 

 

 

 

 

NG

OK

 

 

NG

NG

 

 

Operation check

Program check

Conduct test operation

 

Program check

 

OK

 

OK

 

 

NG

OK

 

 

Enter in FD, etc.

Change the name and

Operation check

 

 

 

Save in FD, etc.

save in FD, etc.

OK

To modification

End

 

 

 

End

End

 

End

 

 

When creating a new

When modifying a program

When transferring a created

When modifying a program

program

 

program to the CPU for the

during test operation

 

 

first time

 

A program can be created

When using a program that

When performing CPU error

To enter the on-direct mode,

without executing MICRO-

was used in another H-series,

check, make sure the I/O

match the contents in the

EH.

specify H-302 as the CPU

assignment matches the

CPU’s memory and personal

 

type.

loaded module. (The loading

computer’s memory. The

 

 

read function can be used to

modified contents will be

 

 

match them forcibly.)

reflected in both the

 

 

 

computer memory and CPU

 

 

 

memory.

*1: Set the flow size to 0 for memory assignment.

If a program transfer is performed by specifying the flow size, the message “Cannot execute: Operation error” is displayed, and a peripheral unit remain as WRITE occupied. In this case, either cancel the occupy state from LADDER EDITOR of the peripheral unit or by re-entering the CPU power.

7-4

Page 205
Image 205
Hitachi NJI-350B manual Out-line of opera-ting procedure Situation Point, List of procedures for creating a program