Download Print this page

Turning Off Displayed Leds And Initializing Communication Error Information And Error Code: For Serial Communication Module - Mitsubishi MELSEC Q Series Reference Manual

With melsec communication protocol
Hide thumbs Also See for MELSEC Q Series:

Advertisement

3.14 Turning Off Displayed LEDs and Initializing Communication Error Information and Error
Code: for Serial Communication Module
Status of memory bit that
indicates the designated value
by a subcommand
When bit 0 is 1 (ON)
When bit 1 is 1 (ON)
When bit 2 is 1 (ON)
When bit 3 is 1 (ON)
3.14.1 Commands and contents of the character area
(subcommand)
Function
Turning off displayed LED
and initializing error code
3 - 265
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
This function is used by the external device to turn off the ERR LEDs of the C24 LED
display, or to initialize the communication error information and error code stored in the
buffer memory.
Use this function to initialize the current error information caused by an abnormal
response to a command message, etc. and restore it to the normal status, or to
initialize the error code storage area in the buffer memory.
The C24 processes this function in the same way as the processing by the output
signals and buffer memory shown below.
The processing corresponds to the on/off status of bits 0 to 3 of the value indicated by
subcommands described in Section 3.14.1 (2) (a).
Please read the User's Manual (Basic) before using this function.
This section only explains how to use the commands.
Output signal and buffer memory that perform the
same processing
Error information initialization request signal (YE)
Error information initialization request signal (YF)
Communication error information initialization request
area on the CH1 side (buffer memory address 0
Communication error information initialization request
area on the CH2 side (buffer memory address 1
POINT
(1)
Initialize the target communication error information and error code after
checking what processing the C24 is performing when the bits 0 to 3
indicated by subcommands are on/off.
It is recommended to initialize each interface, or both interfaces simultaneously.
(The subcommand should be designated with a value of 0005
000F
.)
H
(2) This function can only be used for the C24 that is connected to an external
device (including multidrop link stations).
It cannot be used for the C24 of other stations that are connected over a
network system.
The following explains the commands and the contents of the character area (data
section in communication in binary code) when turning off displayed LEDs of the C24
and initializing the communication error information from an external device.
(1) Commands
Command
1617 (000 )
Turns off the displayed LED, initializes error code, etc.
in the programmable controller CPU status column in the table above indicates that execution is possible.
Turns off the ERR LED that is lit due to errors on the
CH1 side, turns off input signal XE, and initializes the
error code of the CH1 side in the buffer memory.
Turns off the ERR LED that is lit due to errors on the
CH2 side, turns off input signal XF, and initializes the
error code of the CH2 side in the buffer memory.
Initializes communication error information.
)
H
Initializes communication error information.
)
H
Processing
Processing
, 000A
H
Programmable controller CPU
status
During RUN
During
Write
Write
STOP
enabled
disabled
Reference
User's Manual (Basic)
, or
H
Reference
Section 3.14.2
3- 265

Hide quick links:

Advertisement

loading