Download Print this page

Mitsubishi Electric MELIPC MI5000 Series User Manual page 52

Hide thumbs Also See for MELIPC MI5000 Series:

Advertisement

Synchronization of link scan and user programs
The routine of a user program can be executed in sync with the operations of a link scan of cyclic transmission.
Execution of routine synced with a link scan
A user program synced with a link scan is executed by registering a routine to be called automatically at the completion of a
link scan.
Registration and clearing of routines
Use the C Controller module dedicated function (CCPU_EntryLinkScanEndFunc) to register routines.
After registration, the registered routine is repeatedly called each time a link scan is completed. When NULL is specified to a
routine to be registered, the routine is deregistered.
• During CC-Link IE Field Network synchronous communication
Registered routines are called at the following timing during CC-Link IE Field Network synchronous communications.
Input
Input
(Link device)
(1) Input refresh
(2) Registered routine
(3) Output refresh
(4) Network synchronization cycle (1 link scan)
■Function list
Function name
CCPU_EntryLinkScanEndFunc
For details on the C Controller module dedicated functions, refer to the following manual.
MELIPC MI5000 Series Programming Manual (VxWorks)
6 CC-Link IE Field Network FUNCTION
50
6.1 Cyclic Transmission
(1) (2) (3)
Output
(Link device)
Description
Registers a routine to be called when the link scan of CC-Link IE Field Network is completed.
(4)
Output
Input
(1) (2) (3)
Input
(Link device)

Advertisement

loading

This manual is also suitable for:

Melipc mi5122-vw