File Access Method; Data Communication; Formats And Codes - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

File access method

To access to a file, which the password setting is configured, from external devices using the MC protocol, specifying the
command for file password is required.
1.
Specify the password with a request message.
2.
Perform the password authentication by using the specified password.
For command requiring the password authentication, specify "0040" with the setting value of "subcommand" in the request
message.
Function
Deleting file
Copying file
Changing file attribute
Opening file
For more details on the commands, refer to the following manual.
MELSEC Communication Protocol Reference Manual
1.2

Data Communication

MC protocol uses the following communication frames for data communication.
Transmit/receive data from the target device in the data format corresponding to the MC protocol.
For details on the communication frames format, refer to the following manual.
MELSEC Communication Protocol Reference Manual

Formats and codes

There are five formats for the data communication frames:
Setting
format
Code of communication data
value
1
Format 1
ASCII code
2
Format 2
ASCII code
3
Format 3
ASCII code
4
Format 4
ASCII code
5
Format 5
Binary code
Set the format in the Communication protocol setting of an Engineering tool.
Communication using binary code shortens the communication time since the amount of communication data
is about a half of the one in data communications using ASCII code.
Command (subcommand)
1822 (0040)
1824 (0040)
1825 (0040)
1827 (0040)
Remarks
A format that a block number is added
A format enclosed with STX and ETX
A format that CR and LF are added at the end
This can be used only for 4C frame.
1 DATA COMMUNICATION USING MC PROTOCOL
Reference
MELSEC Communication
Protocol Reference Manual
1.2 Data Communication
1
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents