Considerations - Mitsubishi Electric MELSEC iQ-R C Programming Manual

Melsec iq-r series programmable controller
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

Considerations

1
The following shows the considerations when using the MELSEC data link functions.
Considerations for programming
■Open/close processing of a communication line (mdOpen/mdClose function)
Perform the open/close processing of communication line (the mdOpen/mdClose function) only once at the start of task (task
activation) and at the end of task (task completion) respectively in each user program. Opening/closing the line every
communication decreases the communication performance.
■Execution after using the mdOpen function
At the first execution of the function after using the mdOpen function, it takes longer to execute the function since the CPU
module information needs to be acquired. The succeeding processing time can be shortened by performing dummy access at
the first time.
■Access to other stations on the same task
Accessing 33 or more other stations simultaneously on the same task of C Controller module using a user program may
decrease the communication performance. To access other stations simultaneously on the same task, limit it to 32 or less
stations.
■mdGetLabelInfo function call
The mdGetLabelInfo function does not need to be called each time to access a target CPU module.
Only if the error occurs (Error code: -81) when accessing by using the mdRandRLabelEx/mdRandWLabelEx function , call the
mdGetLabelInfo function again.
■taskDelete execution
Do not execute the taskDelete in a task using the MELSEC data link function. Also, do not delete a task using the MELSEC
data link function with the taskDelete. Otherwise, the MELSEC data link function may not operate properly.
1 COMMON ITEMS
11
1.3 MELSEC Data Link Functions

Advertisement

Table of Contents
loading

Table of Contents