Hitachi NJI-350B User Manual

Page 119

Advertising
background image

Chapter 5 Instruction Specifications

5-69

Item number

Application instructions-2

Name

Bit reset

Ladder format

Condition code

Processing time (

µs)

Remark

R7F4

R7F3

R7F2

R7F1

R7F0

Average Maximum

BRES (d, n)

DER

ERR

SD

V

C

Upper case: W

z

z

z

z

z

29

Lower case: DW

Instruction format

Number of steps

Condition

Steps

BRES (d, n)

3

38

Bit

Word

Double word

Usable I/O

X

Y

R,

M

TD, SS,

CU, CT

WX WY

WR,

WM TC DX DY

DR,

DM

C

o

nstant

Other

d

I/O to be set the bit

{

{

{

{

{

n

Bit location to be reset

{

{

{

{

{

The constant is set in
decimal.

Function

• Sets the nth bit in the I/O (word or double word) specified by d to “0.”
• Other bit contents are unaltered.

5

d

4

3

2

1

0

n

0

n-1

n+1

Reset to “0”.

. . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . .

If d is a word:

Designates the bit location depending on the contents (0 to 15) of the lower 4 bits (b3 to b0) of n (WX,
WY, WR, WM, TC). (Upper bits are ignored and considered as “0.”)
The n (constant) can be set to 0 to 15 (decimal).

If d is a double word:

Designates the bit location depending on the contents (0 to 31) of the lower 5 bits (b4 to b0) of n (WX,
WY, WR, WM, TC). (Upper bits are ignored and considered as “0.”)
The n (constant) can be set to 0 to 31 (decimal).

BR

ES

(

d,

n

)

Advertising