Considerations - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

■Device types for accessing CC-Link IE Field Networks
The following table shows the device types that can be specified by the argument [Device type (sDevType)].
Device name (device)
Direct link input (RX)
Direct link output (RY)
*1
Direct link register (RWr, RWw)
Direct link special relay (SB)
Direct link special register (SW)
*1 To access direct link registers (RWw, RWr), specify the device numbers as follows.
RWw: 0H to 1FFFH
RWr: 2000H to 3FFFH
Target functions
Page 54 CCPU_ReadLinkDevice
Page 80 CCPU_WriteLinkDevice
Page 88 CCPU_ReadLinkDevice_ISR
Page 98 CCPU_WriteLinkDevice_ISR

Considerations

The following shows the considerations when using the C Controller module dedicated functions.
Considerations for the user WDT
If a user WDT (user watchdog timer) cannot be reset due to an out-of-control user program or other problems, a user WDT
error will occur.
In this case, take the following corrective actions.
• Make sure that there are no problems with the user program.
• Check whether a task with a high CPU activity ratio is preventing the reset of the user WDT.
• Consider increasing the length of the interval of the user WDT configured by the CCPU_StartWDT function.
Considerations on interrupt service routine (ISR)
Fully understand the restrictions of the VxWorks operating system before creating a routine that is executed in an interrupt
service routine (ISR) using a C Controller module dedicated function (for ISR). To use another dedicated function in
synchronization with an interrupt, implement the notification processing in a user program and perform it in a task.
If an inappropriate value is set for an argument of a C Controller module dedicated function (for ISR), or a
function other than a C Controller module dedicated function (for ISR) is executed from an interrupt routine,
the VxWorks will be out of control.
Code
Decimal
Hexadecimal
1000
3E8H
2000
7D0H
24000
5DC0H
25000
61A8H
28000
6D60H
1.1 C Controller Module Dedicated Functions
Device name specification
Dev_LX
Dev_LY
Dev_LW
Dev_LSB
Dev_LSW
1 PROGRAMMING
1
9

Advertisement

Table of Contents
loading

Table of Contents