Self-Test - Mitsubishi Electric MELSEC iQ-F Series FX5 User Manual

Hide thumbs Also See for MELSEC iQ-F Series FX5:
Table of Contents

Advertisement

4.5

Self-Test

This function tests whether the communication function between the external equipment and FX5CPU operates normally or
not. The control procedure when this function is used is described with examples.
• At the startup of the FX5CPU or when trouble occurs, this function can check whether the connection
between the external equipment and FX5CPU is correct and/or whether the data communication function
operates normally.
• This function can be used only for the FX5CPU which is connected with the external equipment (including a
multi-drop connecting station). This function cannot be used for the FX5CPU of another station via the
network system.
Command
Function
Self-Test
: The function can be executed.
Request data
■When communicating data in ASCII code
4 bytes
0
6
1
9
30H
36H
31H
39H
30H
• Number of loopback data (number of bytes)
The number of the bytes is converted into a four-digit ASCII code (hexadecimal) and data is sent from the upper digit ("0").
• Loopback data (user data)
The order of character strings for up to 960 1-byte characters ("0" to "9", "A" to "F") is sent from the head.
■When communicating data in binary code
2 bytes
2 bytes
Subcommand
Number of
loopback data
19H
06H 00H 00H
• Number of loopback data (number of bytes)
The two-byte numerical value which indicates the number of the bytes is used and data is sent from the low byte (L: bit 0 to 7).
• Loopback data (user data)
Data is sent for up to 960 bytes from the head by treating each character code ("0" to "9", "A" to "F") as a 1 byte value.
Response data
The same number of the loopback data and loopback data which the external equipment sent are sent back to the external
equipment.
4 COMMANDS
88
4.5 Self-Test
Command
(Subcommand)
0619(0000)
4 bytes
4 bytes
Number of
Subcommand
loopback data
30H 30H 30H
2 bytes
4 bytes
Loopback data
Processing content
Checks whether a data communication is executed
normally.
"n" bytes
Loopback data
CPU module status
STOP
RUN
Write
Write
allow
prohibit
setting
setting

Advertisement

Table of Contents
loading

Table of Contents