12 FILE CONTROL
12.3 Data to be specified in commands
195
12
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.
*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.
When the password is 'ABCD'
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.
Access target Password to be set Sub command Data specified by Message
MELSEC-Q series module Password (4 characters) 0000 Password character string (fixed to 4 characters)
File password 32 (4 characters)
MELSEC-L series module File password 32 (4 to 32 characters) 0004 Password character string (fixed to 32 characters)
*1
MELSEC iQ-R series module File password (6 to 32 characters) 0040 Number of password characters, password character string
(variable length)
ASCII code, binary code
ASCII code, binary code