RCV

RCV, RCVP

 

RCV instruction receives frame data from Master station to Slave station.

 

Slot

Slot number of communication module

D

Destination

Size

Data size to be sent

Result

Result of receiving data

 

Instruction

Device address

No. of Steps

Flag

M

X

Y

K

L

F

T

C

S

Z

D

@D

Int.

Error

Zero

Carry

RCV

RCVP

Slot

o

o

o

o

o

o

o

o

-

o

o

o

o

5

o

-

-

D

o

o

o

o

o

-

o

o

-

o

o

o

o

Size

o

o

o

o

o

-

o

o

-

o

o

o

o

Result

o

o

o

o

o

-

o

o

-

o

o

o

-

 

When enabled, the RCV instruction receives the frame data from Master module to Slave module.

 

Format : RCV Slot (Slot no. of Comm. Module) D(Destination) Size (Data size to be sent) Result

  • Slot

a. It is hexadecimal.

b. Bit8 ~ F : Base expansion number (Local : 0, Expansion : 1~F)

c. Bit 4 ~ 7 : Communication type (CH.1 : 0, CH.2 : 1)

d. Bit 0 ~ 3 : Slot number

 

  • Destination (Rx Data) : Starting device address that saves the receiving frame data.

  • Size : size(Byte) of frame data (Maximum 500Bytes)

  • Result : Device address which will have a communication  result of receiving frame data.

a. Bit 0 : When receiving frame data is completed, bit 0 is 1 scan ON.

b. Bit 1 : When receiving frame data is failed, bit 1 is always ON.

c. Bit 2 ~ 7 : OFF (Not used)

d. Bit 8 ~ F : Error Code (0 = No Error)

 

 

Example)

When X00 is ON, the RCV instruction receives D0~D7 (8word) from the Master station to the slot number 2 module of local base through channel 2.

The communication result is saved in M100.

 

 

 

 

Slot number and address assignment for CM1 and CM3 series.

Slot number of CM3 Series

 

 

 

 

Slot number of CM1 series