beautypg.com

6 bidin instruction, Melsec-q, 9 dedicated instructions 9.6 bidin instruction – MITSUBISHI ELECTRIC QJ71C24N User Manual

Page 244: Set data, Control data, Point

background image

9 - 14 9 - 14

MELSEC-Q

9 DEDICATED INSTRUCTIONS

9.6 BIDIN Instruction

This instruction receives data using the bidirectional protocol.

Applicable device

Internal device

(System, user)

MELSECNET/H,

MELSECNET/10

Direct J \

Set

data

Bit

Word

File register

Bit

Word

Special module

U \G

Index register Zn

Constant Others

(S)

(D1)

(D2)

GP.BIDIN

BIDIN

BIDIN

(D2)

(S)

(D1)

(D2)

(D1)

(S)

G.BIDIN

Un

Un

Command

Command

[Executing

condition]

[Instruction

code]

Set data

Description

Set by

Data type

Un

Start I/O signal of the module

(00 to FE: Top two-digit when I/O signals are expressed in 3-digit.)

User

BIN16 bit

(S)

Head number of the devices in which control data is stored.

User,

system

(D1)

Head number of the devices in which receive data is stored.

System

Device name

Set data

(D2)

Bit device number to be turned on at completion of execution.

System

Bit

The file register per local device and program cannot be used as the set data.

Control data

Device

Item

Set data

Setting range

Set by

2

(S) + 0

Receive channel

• Set receive channel

1: Channel 1 (CH1 side)

2: Channel 2 (CH2 side)

1, 2

User

(S) + 1

Reception result

• Reception result by a BIDIN instruction are

stored.

0: Normal

System

(S) + 2

Receive data count

• The number of data received is stored.

1

1 or more

System

(S) + 3

Allowable number of

receive data

• Set the allowable number of words for received

data that can be stored in (D1).

1 or more

User

POINT

(1) The command of G (P).BIDIN cannot be converted into pulse.

(2) G (P).BIDIN should be executed while the read request of the input/output

signal is turned on.

This manual is related to the following products: