An Error Occurs During User Program Execution; Communication Cannot Be Established With An Ethernet Device; An Error Occurs In Communication Processing On Other Modules - Mitsubishi Electric MELSEC iQ-R Series User Manual

Intelligent function module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

An error occurs during user program execution

Check the following items.
Check item
Has an error occurred in executable file (*.out) loading?
Is the event registered in the event history?
Has an error occurred in a C intelligent function module dedicated function,
MELSEC iQ-R series data link function, data analysis function, or statistical
analysis function?
Has an error occurred in VxWorks standard API functions?
Is the stack size of the task that runs the user program sufficient?
Does the pointer used in the user program refers to an invalid address?
Is the memory area specified by the size reserved?
Is the VX_FP_TASK option specified for the task that performs floating-point
operations?
Is the VxWorks message displayed when an error occurs?

Communication cannot be established with an Ethernet device

Check the following item.
Check item
Is the Ethernet device communicating by specifying 1 to 1023, 61440 to 65534
to the port number of the C intelligent function module?

An error occurs in communication processing on other modules

Check the following item.
Check item
Is the MELSEC iQ-R series data link function used to access from multiple
modules or a built-in Ethernet port of the CPU module in the system where
communication processing such as device access to the CPU module is
performed frequently?
3 TROUBLESHOOTING
72
3.5 Troubleshooting by Symptom
Solution
• Select "ARMARCH7gnu_SMP" on the [Build Support and Specs] tab in
"Build Properties".
• Download the files first which has all the symbols necessary for a file to be
loaded.
• Add "-mlong-calls" to the box next to the [Tool Flags] button in "Build
Properties". For details on how to add the option, check the 'Considerations
for creating a user program' in the following manual.(MELSEC iQ-R C
Intelligent Function Module User's Manual (Startup)
Take corrective actions according to the registered events.
Take appropriate actions in accordance with the error code at the time of
function execution.
Refer to the manual of VxWorks. If the error persists, consult Wind River
Systems, Inc.
Increase the task stack size.
Make correction to make the pointer refer to a valid address.
Secure the memory area.
Specify the VX_FP_TASK option in the task performing floating-point
operations. For details on the specification method, check the 'Considerations
for creating a user program' in the following manual. (MELSEC iQ-R C
Intelligent Function Module User's Manual (Startup)
Consult the Wind River Systems, Inc.
Corrective action
Use 1024 to 4999, 5010 to 61439 for the port number. The port number 1 to
1023 is the number for reserved in general (WELL KNOWN PORT
NUMBERS), and the port number 61440 to 65534 is the number to be used
for other communication devices.
Corrective action
• When executing a MELSEC iQ-R series data link function in multiple tasks,
do not execute the function at the same time by exclusion control, or
execute the function in one task.
• Lengthen the execution interval of the MELSEC iQ-R series data link
function to avoid errors in communication processing.

Advertisement

Table of Contents
loading

Table of Contents