180
11-2-7 ERROR LOG CLEAR
Resets the PC Card Unit’s Error Log.
Command Block
Command
format
Response Block
Command
format
Response
code
Response code
Refer to Appendix E FINS Response Codes from the PC Card Unit.
11-2-8 SINGLE FILE READ
Reads the contents of a file stored in the file device connected to the PC Card
Unit.
Command Block
File offset
Disk no.
Command
code
File name
Data length
12 bytes
Parameters
Disk no. (command): Specify the file device from which to read as follows:
G drive (slot 1): $0006 H drive (slot 2): $0007
File name (command): The name of the file to be read (in capital letters).
Set as: File name of up to eight l 3-letter extension. One-byte
alphanumeric is used. When there are not enough letters in the name to fill 12
bytes, fill the remaining bytes with spaces ($20).
File offset (command): Designates the offset from the beginning of the file from
which to start reading.
Data length (command): Designates the number of bytes to be read. When set
to 0000, checks whether there is any data in the file at the specified offset.
Response Block
File capacity
Response
code
Command
code
Data length
File offset
Data
Parameters
File capacity (response): File size in bytes. When a SINGLE FILE READ is
executed for a file with a capacity of 0 bytes (no data), the data length will be
0000 and no data will be returned.
File offset (response): Returns the offset from the beginning of the file.
Data length (response): Returns the actual number of bytes of data read.
Data: Data is returned in sequence from the beginning word (offset) through the
specified data length.
Response code
Refer to Appendix E FINS Response Codes from the PC Card Unit.
PC Card Unit Commands and Responses
Section 11-2
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: ......