8 cset (receive data clear), Melsec-q, Set data – MITSUBISHI ELECTRIC QJ71C24N User Manual

Page 249: Control data, Remark

Advertising
background image

9 - 19 9 - 19

MELSEC-Q

9 DEDICATED INSTRUCTIONS

9.8 CSET (Receive data clear)

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

(S1)

K, H

(S2)

(D1)

(D2)

(D2)

ZP.CSET

CSET

(D1)

(S2)

(S1)

"Un"

[Executing

condition]

[Instruction

code]

[Instruction
form]

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.)

Set data

(S1)

Number of the channel that demands to clear receiving data.

1: Channel 1 (CH1 side)

2: Channel 2 (CH2 side)

User

BIN16 bit

(S2)

Head number of the device that stores the control data.

User, System

Device name

(D1)

Dummy

Device name

(D2)

Head number of the bit device at the self-station that turns on for one scan at

the completion of the instruction.

(D2) + 1 also turns on at an abnormal completion.

System

Bit

Each of file registers for local device and program cannot be used as the setting data.

Control data

Device

Item

Set data

Setting range

Set by

(S2) + 0

Execution type

Select 0.

0

User

(S2) + 1

Complete status

The execution result at the completion of the instruction

is stored.

0: Normal

Other than 0: Abnormal (error code)

System

(S2) + 2

Request type

Specify the request.

4: Receive data clear request

4

User

(S2) + 3

to

(S2) + 111

For system

System

REMARK

(1) See the "Error" explanation on the following page for details on errors caused by

wrong data specifications by the user.

(2) The setting sides are partitioned as follows:

• User: Data set by the user before executing the dedicated instruction.

• System: The PLC CPU stores the execution result of the dedicated instruction.

Advertising
This manual is related to the following products: