Omron CS1G/H-CPUxxH Instructions Manual page 917

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

Advertisement

Network Instructions
896
The data will be retransmitted up to 3 times if a response is not received
within ten seconds.
0
0
0
0
0
1
0
0
0
6
The following program section shows an example of sending a FINS com-
mand to the local CPU Unit.
When CIO 000000 and A20207 (the Communications Port Enabled Flag for
port 07) are ON and A34313 (File Memory Operation Flag) is OFF,
CMND(490) transmits FINS command 2215 (CREATE/DELETE DIREC-
TORY) to the local CPU Unit. The response is stored in D00100 to D00101.
Here, the FINS command will create a directory called CS/CJ under the
OMRON directory. The command code (2 bytes) and the end code (2 bytes)
will be returned and stored as the response.
Command code: 0101 hexadecimal (MEMORY AREA READ)
D00010 (Data area = 82 hexadecimal, address = 000A00)
Number of words to read = 0A hexadecimal (10 decimal)
Bytes of command data: 0008 (8 decimal)
Bytes of response data: 0018 (24)
Transmit to the local network and the device itself
Node number 3, unit address 00 (CPU Unit)
Response requested, port number 7, 3 retries
Response monitoring time: 0064 hexadecimal (10 seconds)
Section 3-25

Advertisement

Table of Contents
loading

Table of Contents