Mitsubishi Electric MELSEC IQ-R series Reference Manual page 306

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

File No. usage
A data that shows the usage status of the file No. for 256 files to be returned to external devices when the usage status of file
No. is read.
■Data communication in ASCII code
Convert the numerical value to 64-digit ASCII code (hexadecimal) and send it to the external device side. (File No. for 8 files:
2 digits)
■Data communication in binary code
Send the following 32-byte value which indicate the usage status to the external device side from the lower bytes (L: bits 0 to
7). (File No. for 8 files: 1 byte)
■Content of file No. usage
The usage status of each file No. is indicated as one file number per bit.
Ex.
File No. usage
0: Not used, 1: Used
Bit string
b7
*1
1st byte
1
2nd byte
1
3rd byte
0
4th byte
1
5th byte
0
31st byte
0
*3
32nd byte
0
*1 Usage of file No. 8
*2 Usage of file No. 1
*3 Usage of file No. 256
The contents of file No. usage to be returned to external devices under the conditions above are shown below.
• Data communication in ASCII code: 'D3B97A' ... 'FFFF' are returned, and are sequentially send beginning from the 'D'.
• Data communication in binary code: 'D3H', 'B9H', '7AH' ... 'FFH', 'FFH' are returned, and sequentially send beginning from
'D3H'.
File lock mode
A data to specify whether or not a locked file is forcefully unlocked in order to allow access to the specified file from other
devices.
■Data communication in ASCII code
Convert the numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
Send 2-byte numerical value from the low byte (L: bits 0 to 7).
■Specified value and contents of the file lock mode (Other values cannot be specified.)
Specified value
0000H
0002H
■Unlock method for locked file
There are two methods for locking files:
Method
Description
Normal
The locked file cannot be unlocked when other device has registered the file lock.
execution
When the file lock deregistration is requested, an error occurs and an abnormal response is returned.
Forced
The locked file is forcefully unlocked even if other device has registered the file lock.
execution
Use the forced execution function when a locked file cannot be unlocked because of problems in the device that registered the file lock.
15 QnACPU DEDICATED COMMANDS
304
15.3 File Control
b6
b5
b4
b3
1
0
1
0
0
1
1
1
1
1
1
1
0
0
1
0
1
1
1
0
0
0
0
0
0
0
0
0
Content to be specified
Unlock the locked file normally.
Unlock the locked file forcefully.
b2
b1
b0
Values for 8 bits
*2
0
1
1
D3H
0
0
1
B9H
0
1
0
7AH
1
1
0
96H
0
0
1
71H
0
0
0
FFH
0
0
0
FFH

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents