Download User`s Manual

Transcript
CHAPTER 8 MASTER-K COMMAND
8.3.5 URCV
Model
When receiving the data sent by a remote
K1000S K300S K200S K80S K120S
Application
station by using UDP/IP.
n
n
AVAILABLE DEVICE
FLAG
OPERLAN
CON
D
M
P
K
L
F
T
C
D
#D
STA
NT
OP1
◎
◎
◎
◎
◎
◎
◎
◎
OP2
◎
◎
◎
◎
◎
◎
◎
◎
OP3
◎
◎
◎
◎
◎
◎
◎
◎
◎
OP4
◎
OP5
[URCV
OP1
◎
OP2
◎
◎
OP3
◎
OP4
◎
n
◎
STEP
ERRO
ZERO
CARRY
REM
R
(F111)
(F112)
ARKS
(F110)
0
◎
◎
(AREA
OVER)
OP5]
OPERLAND
DESCRIPTION
CH_NO: The channel no. established in ECON
OP1
command
Device 0: CH_NO(high byte),
SLOT_NO(low byte)
SLOT_NO: The slot no. that the communication
module is installed.
OP2
Device 0-7: FRAME
FRAME: Frame desired to receive
OP3
Device 0: RCV_AREA
Area that receiving data is saved
OP4
LENTH
Data number desired to receive
NDR: ON when normal service starts
OP5
ERR: ON when an error occurs after command
Device 0: STATUS(high byte),
ERR(1'bit), NDR(0'bit)
Device 1: PORT
Device 2: RCV_LEN
Device 3-6: IP_ADDR
execution
STATUS: Detailed code value for an error
PORT: The port of the data sending station
RCV_LEN: Receiving data size
IP_ADDR: The IP address of the data sending station
This is used to receive the data of the destination station by using UDP/IP.
As UDP/IP communication does not establish the channel. It is available to receive all data
which is sending to the port no. open to the local station. Accordingly, URCV command can
determined which station (SIP_ADDR) sent the data to which port no. (S_PORT) other than
TRCV.
8-8