56
Basic Procedures
Section 5-1
5-1
Basic Procedures
5-1-1
Outline of Board Control
In addition to reading from and writing to the Shared memory, these functions
are used to control the CompoNet Master Board:
5-1-2
Control of the Interrupt from PC to Board
Here is the procedure for the user application to interrupt the CompoNet
Master Board.
Function
Description
Interrupt
(PCI interrupt)
It is used for these processes:
[Interrupt by the PC to the Board]
•
Notify an Event transmission
•
Acknowledge (ACK) the Event transmission from the
Board.
•
Notify a command transmission
•
Request to get an access right to I/O area
•
Notify a release of the access right to I/O area
•
Refresh the PC WDT
[Interrupt by the Board to the PC]
•
Notify an Event transmission
•
Acknowledge (ACK) the Event transmission from the PC
•
Notify the command acknowledgment
•
Request to reset the Board
•
Notify the completion of Board initialization
•
Notify the completion of getting an access right to I/O area
•
Notify the WDT time-out
Command
(to the Board)
It is used for these processes:
•
Start the communications cycle
•
Start the communications cycle in the detailed setting
•
Start or stop the I/O communications
•
Stop the communications cycle
•
Request to read the detailed status group
•
Clear the detailed status group
Step
Operation procedure
Access to Shared Memory
1.
Set the interrupt cause.
(Generate an interrupt.)
In the Interrupt Trigger register (0x0002), set a flag of
interrupt cause to have into 1.
2.
Confirm the completion of
interrupt process.
(Confirm the Board
completes the interrupt
process.)
In the Interrupt Request Confirmation register (0x0003),
confirm that the interrupt cause flag which was set to 1 in
Step 1 turns to 0. (It remains 1 during interrupt but turns
to 0 when the interrupt completes.)
Summary of Contents for 3G8F7-CRM21
Page 4: ...iv...
Page 10: ...x TABLE OF CONTENTS...
Page 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Page 74: ...54 Board Hardware Error Notification Section 4 8...
Page 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Page 230: ...210 Wiring for Power Supply Section E 5...
Page 234: ...214 Index...
Page 236: ...216 Revision History...
Page 237: ......