User Communication (SND, RCV)

Exclusive Commands for Computer Communication,

This is used when the communication frame defined in a user program is used to send and receive data in a program.

 

 

SND

This is used to send data as much as the length of the data requested from a computer link module.

 

CMD

Usable Device

M

X

Y

K

L

F

T

C

S

D

@D

Integer

Base

 

 

 

 

 

 

 

 

 

 

 

O

Chan

 

 

 

 

 

 

 

 

 

 

 

O

Slot

 

 

 

 

 

 

 

 

 

 

 

O

Addr

O

O

O

O

O

O

O

O

O

O

O

 

Leng

 

 

 

 

 

 

 

 

 

 

 

O

Result

O

O

O

O

O

 

O

O

O

O

O

 

 

COMMAND

Description

Base-Chan-Slot

Base: The number of the base where a computer link module is mounted is indicated. In case of expansion base, the number (1~16) of a corresponding base is indicated. In case of local one, the number is ‘0’.

 

Channel Mode: Ch 1(RS232:0) and Ch 2(RS422:1).

 

Slot No.: The number of the slot where a computer link module is mounted

[Ex.] In case of local base, Slot 2, Channel 1(RS232) -> h0002 : RS-232C

[Ex.] In case of expansion base (1), Slot 1, Channel 2(RS422) -> h0111 : RS-422

Addr

Address of the data sent

Leng

Length of the data sent (BYTE), Decimal figure, Max. 500BYTE

Result

The address where the result of sending is noticed is assigned. (X,Y,M,L,K,T,C,D,@D,Z)

 

Result Format :

· Bit 0 : When sending completed, 1Scan ON. When failed, always ON.

· Bit 1 : When sending failed, always ON.

· Bit 2-7 : OFF

· Bit 8-F : Error Code (0=No Error)

 

FORMAT

image-20240321-091243.png

 

 

 

RCV

 

This is used to store data as much as the length of the data requested from a computer link module.

CMD

Usable Device

M

X

Y

K

L

F

T

C

S

D

@D

Integer

Base

 

 

 

 

 

 

 

 

 

 

 

O

ChNo

 

 

 

 

 

 

 

 

 

 

 

O

Slot

 

 

 

 

 

 

 

 

 

 

 

O

Addr

O

O

O

O

O

O

O

O

O

O

O

 

Leng

 

 

 

 

 

 

 

 

 

 

 

O

Result

O

O

O

O

O

 

O

O

O

O

O

 

 

COMMAND

Description

Base-Chan-Slot

Base: The number of the base where a computer link module is mounted is indicated. In case of expansion base, the number (1~16) of a corresponding base is indicated. In case of local one, the number is ‘0’.

 

Channel Mode: Ch 1(RS232:0) and Ch 2(RS422:1).

 

Slot No.: The number of the slot where a computer link module is mounted

[Ex.] In case of local base, Slot 0, Channel 1(RS232)-> h0000 : RS-232C

[Ex.] In case of expansion base (1), Slot 4, Channel 2(RS422)-> h0114 : RS-422

Addr

Address where data are received and stored

Leng

Length of the data received (BYTE), Decimal figure, Max. 500BYTE

Result

The address where the result of receiving is noticed is assigned. (X,Y,M,L,K,T,C,D,@D,Z)

 

Result Format :

· Bit 0 : When receiving completed, 1Scan ON. When failed, always ON

· Bit 1 : When receiving failed, always ON

· Bit 2-7 : OFF

· Bit 8-F : Error Code (0=No Error)

 

 

FORMAT

image-20240321-091307.png