185
File offset (command): The number of bytes from the start of the file from which
to start writing (files start at 00000000). To create a new file or add data to an
existing file, specify 00000000 as the file offset.
Data length (command): The number of bytes to be written.
File data (command) : The data to be written to the file. The data is written in
sequence from the file offset through the specified data length.
Response
code
Command
code
Response code
Refer to Appendix E FINS Response Codes from the PC Card Unit.
Note
1. If the data length is set to 0000 when creating a new file, a file with capacity of
0 (no data) will be created.
2. If the data length is set to 0000 when overwriting an existing file, the com-
mand will check whether there is any data at the file offset.
3. When the data exceeds the file device’s remaining capacity SINGLE FILE
WRITE cannot be executed. In this case the contents of the existing file will
be left unchanged.
4. When a SINGLE FILE WRITE is executed, the PC Card Unit’s time data will
be used to record the time and date of the file.
5. The PC Card Unit’s time will revert to that of the PC to which it is connected
when either the power supply is turned on or it is reset.
11-3 FINS Commands Requesting Socket Services
This subsection explains the FINS commands that request socket services for
the PC Card Unit. These FINS commands are used for executing communica-
tions by TCP/IP or UDP/IP. Socket services can be used from the C200HW-
PCS01-EV1 PC Card Unit Ethernet Set.
11-3-1 Summary of Commands
The following table summarizes the FINS commands requesting socket ser-
vices for PC Card Unit response processing.
Command code
Name
Page
MRC
SRC
27
01
UDP OPEN REQUEST
187
02
UDP RECEIVE REQUEST
188
03
UDP SEND REQUEST
189
04
UDP CLOSE REQUEST
190
10
TCP OPEN REQUEST (PASSIVE)
191
11
TCP OPEN REQUEST (ACTIVE)
192
12
TCP RECEIVE REQUEST
193
13
TCP SEND REQUEST
194
14
TCP CLOSE REQUEST
195
FINS Commands Requesting Socket Services
Section 11-3
Summary of Contents for SYSMAC C200HW-PCS01-EV1
Page 1: ...Cat No W313 E1 3 PC Card Unit SYSMAC C200HW PCU01 C200HW PCS01 EV1 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC C200HW PCU01 C200HW PCS01 EV1 PC Card Unit Operation Manual Revised January 2000...
Page 4: ......
Page 6: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 34: ......
Page 38: ......
Page 60: ......
Page 80: ......
Page 82: ......
Page 88: ......
Page 120: ......
Page 148: ......
Page 178: ......
Page 214: ......
Page 220: ......
Page 232: ......
Page 234: ......
Page 236: ......
Page 238: ......
Page 240: ......