106
8-1
Outline
The SEND(90) and RECV(98) instructions are used in the PC user program to
send data from a PC to other nodes, such as PCs or computers.
8-1-1 Specifying Destination Nodes
Either of the following two communications modes is used depending on how
destination nodes are specified:
Node-to-node Data Transfer
Data can be transferred between the local node and the destination node by
specifying the node address in the control data of the SEND(90) and RECV(98)
instructions.
Send data
Receive data
Node 1
Node 2
Node 3
Node 4
Node 5
Broadcasting
The same data can be sent to all nodes on the network by specifying 00 as the
node address of the destination node. In this case, no response is received from
the nodes. (Broadcasting is not applicable to RECV(98).)
Broadcast data
Node 1
Node 2
Node 3
Node 4
Node 5
8-1-2 Communications Specifications
PC communications are based on the following specifications:
Item
Specifications
Direction of
transmission
1:1
SEND(90) and RECV(98) instructions
1:N
SEND(90) instruction (broadcast mode, no response,
N = 127 or less)
Data length
SEND(90):
1,000 words max. (2,000 bytes) (727 words
when data is broadcast or sent to local node)
RECV(98) :
1,000 words max. (2,000 bytes)
Data contents
The following data is sent or received when each instruction is
executed:
SEND(90): Data transmission request and response data
RECV(98): Data reception request and response data
Response
monitoring time
00:
Default (2.2 seconds)
01 to FF: User setting (approx. 0.1 to 25.5 seconds in 0.1 s
increments)
No. of retries
0 to F:
0 to 15 times
UDP Port No. 9600 is used for SEND/RECV.
Outline
Section 8-1
Содержание SYSMAC C200HW-PCS01-EV1
Страница 1: ...Cat No W313 E1 3 PC Card Unit SYSMAC C200HW PCU01 C200HW PCS01 EV1 OPERATION MANUAL...
Страница 2: ......
Страница 3: ...SYSMAC C200HW PCU01 C200HW PCS01 EV1 PC Card Unit Operation Manual Revised January 2000...
Страница 4: ......
Страница 6: ......
Страница 10: ......
Страница 12: ......
Страница 18: ......
Страница 34: ......
Страница 38: ......
Страница 60: ......
Страница 80: ......
Страница 82: ......
Страница 88: ......
Страница 120: ......
Страница 148: ......
Страница 178: ......
Страница 214: ......
Страница 220: ......
Страница 232: ......
Страница 234: ......
Страница 236: ......
Страница 238: ......
Страница 240: ......