12.3
Data to be specified in commands
This section explains the contents and specification methods for data items which are set in each command related to file
control.
Password
Specify the password of the file to be accessed.
The specification of a password differs depending on the module. Specify a password which corresponds to the module of
access target.
For details on the password, refer to the manual of access target module.
Access target
Password to be set
MELSEC-Q series module
Password (4 characters)
File password 32 (4 characters)
MELSEC-L series module
File password 32 (4 to 32 characters)
MELSEC iQ-R series module
File password (6 to 32 characters)
*1 If the password is less than 32 characters, append a space (code: 20H).
Password for MELSEC-Q series module (4 characters)
Use the subcommand '0000'.
■When a password is set
Send password character string in 4-digit ASCII code.
Specify the password in ASCII code during data communication in binary code as well.
Ex.
When the password is 'ABCD'
ASCII code, binary code
A
B
C
D
41
42
43
44
H
H
H
H
When setting the password with the file password 32 function of High-speed universal model QCPU, set it with
four characters.
■When a password is not set
Specify 20H for 4 bytes.
ASCII code, binary code
20
20
20
20
H
H
H
H
Sub command Data specified by Message
0000
Password character string (fixed to 4 characters)
0004
Password character string (fixed to 32 characters)
0040
Number of password characters, password character string
(variable length)
12.3 Data to be specified in commands
*1
12 FILE CONTROL
195
12