SND

SND, SNDP

 

SND instruction sends the frame data of Master station to Slave station.

 

Slot

Slot number of communication module

S

Source

Size

Data size to be sent

Result

Result of sending data

 

Instruction

Device address

No. of Steps

Flag

M

X

Y

K

L

F

T

C

S

Z

D

@D

Int.

Error

Zero

Carry

SND

SNDP

Slot

o

o

o

o

o

o

o

o

-

o

o

o

o

5

o

-

-

S

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 SND instruction sends the frame data of Master module to Slave module.

 

Format : SND Slot (Slot no. of Comm. Module) S(Source) 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

 

  • Source (Tx Data) : Starting address which has the frame data

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

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

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

b. Bit 1 : When sending  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 X01 is ON, the SND instruction sends D100~D103(4word) to slave station through channel 1 of the serial module where is installed in slot number 2 in local base. The communication result is saved in M10.

 

 

Slot number and address assignment for CM1 and CM3 series.

Slot number of CM3 Series

 

 

 

Slot number of CM1 series