Omron CS1G/H-CPUxxH Instructions Manual page 906

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Network Instructions
Input
condition
A20200
Example 2
3-25-3 NETWORK RECEIVE: RECV(098)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
@SEND
0100
C D00200 0 0 0 A
0000
C+1 D00201 0 1 0 0
D00200
C+2 D00202 0 0 1 0
C+3 D00203 0 0 0 0
C+4 D00204 0 0 0 0
It is necessary create a program at the host computer to receive the data and
send a response.
When CIO 000000 and A20207 (the Communications Port Enabled Flag for
port 07) are ON in the following example, the ten words from D00100 to
D00109 are transmitted to node number 3 in the local network where they are
written to the ten words from D00200 to D00209. The data will be retransmit-
ted up to 3 times if a response is not received within ten seconds.
Requests data to be transmitted from a node in the network and receives the
data.
RECV(098)
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
Number of words to send: 10 words
Transmit to network 0 and port 1 of Serial Communications Board
Node number 0, unit address 10
Response requested, port number 0, no retries
Response monitoring time: 2 seconds (0000: default value)
Number of words to send: 10 words
0
Transmit to the local network and the device itself
0
Node number 3, unit address 00 (CPU Unit)
0
Response requested, port number 7, 3 retries
0
Response monitoring time: 0064 hexadecimal (10 seconds)
6
S: First source word (remote node)
S
D
D: First destination word (local node)
C
C: First control word
Step program areas
OK
Section 3-25
RECV(098)
@RECV(098)
Not supported
Subroutines
Interrupt tasks
OK
OK
885

Advertisement

Table of Contents
loading

Table of Contents