Chapter 5 Instruction Specifications

Item number

 

FUN instructions-4

 

 

Name

 

 

I/O Refresh (slot)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ladder format

 

 

 

 

 

 

Condition code

 

Processing time (s)

Remark

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R7F4

 

R7F3

 

R7F2

 

R7F1

R7F0

Average

Maximum

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FUN 82 (s)

 

 

DER

 

ERR

 

 

SD

 

 

V

 

 

C

 

 

 

 

 

 

 

 

* (SLREF (s))

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

z

 

 

 

z

 

 

z

 

 

z

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction format

 

 

 

 

 

 

Number of steps

 

311

 

 

 

 

 

 

 

 

 

 

 

Condition

 

 

 

 

 

Steps

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FUN 82 (s)

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

* (SLREF (s))

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

 

 

 

 

 

Word

 

Double word

 

Constant

 

 

 

Usable I/O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Other

 

 

X

 

 

Y

M

 

 

CU, CT

 

 

WX

WY

WM

 

TC

DX

DY

DM

 

 

 

 

 

 

 

 

 

 

R,

 

TD, SS,

 

 

 

 

 

 

WR,

 

 

 

 

DR,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s

Number of points

 

 

 

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s+1 and

Slot location number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

Designate the slot

beyond

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

location.

Function

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s

Number of points to be refreshed

 

 

 

 

n ≤ 64

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s+1

Refresh slot location number

 

Refresh slot location number is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

designated by unit and slot number.

 

 

 

 

 

 

 

 

 

s+2 Refresh slot location number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:

:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:

:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s+n

Refresh slot location number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Performs refresh of the designated module for the number of points specified by s, starting with area s+1.

Refresh is performed by slot.

The slot location numbers stored in areas s+1 and subsequent are designated by the unit number and slot number.

The maximum number of points to be refreshed (n) is 64 points. The points exceeding 64 points are not refreshed.

If refresh processing is completed normally, DER is set to “0.”

*( ) indicates the display when the Ladder Editor is used.

Program example

R000 DIF0

 

 

 

LD

R000

 

 

 

 

 

WR0000 = H0002

 

AND

DIF0

 

 

 

 

 

 

 

 

 

 

 

 

[

 

 

 

 

 

 

WR0001 = H0000

 

 

 

 

 

 

 

 

WR0000 = H0002

 

 

 

 

 

WR0002 = H0010

 

 

 

 

 

 

 

WR0001 = H0000

 

 

 

 

 

FUN 82

(WR0000)

 

 

 

 

 

 

 

WR0002 = H0010

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FUN82

(WR0000)

 

 

 

 

 

 

 

 

]

 

Program description

• Upon leading of R000, the two slots designated after WR0001 (unit 0, slot 0) and (unit 1, slot 0) are refreshed.

FUN 82 (s)

5-127

Page 177
Image 177
Hitachi NJI-350B manual 127