43
Access to I/O Data
Section 4-1
4-1-2
I/O Data Access Synchronous with CompoNet Communications
This is the procedure by which to use the API functions and access the I/O
data while maintaining node-by-node synchronicity.
Precautions for Correct Use
The program must be made to implement accesses to I/O data in a single
thread. This includes getting and releasing an access right. If multiple threads
access to I/O data, processes may collide and the functions may fail.
YES
NO
(Open Board)
CPNT_Open
(Start communications cycles)
CPNT_StartCycle
Loop Start
An error on the basic
status group?
Error solving
(Write OUT data)
CPNT_SetOutData
CPNT_SetBitOutData
(Read IN data)
CPNT_GetInData
CPNT_GetBitInData
Data Inputs and
Outputs
End processing
(Release Access to I/O)
CPNT_ReleaseAccessToIO
Loop End
(Stop communications cycles)
CPNT_StopCycle
(Close Board)
CPNT_Close
Initial processing
(Get Access to I/O)
CPNT_GetAccessToIO
(Read Basic status group)
CPNT_GetStatus
Содержание 3G8F7-CRM21
Страница 4: ...iv...
Страница 10: ...x TABLE OF CONTENTS...
Страница 30: ...10 Specifications Section 1 7 1 7 3 Dimensions 3G8F7 CRM21 PCI unit mm 3G8F8 CRM21 CompactPCI unit mm...
Страница 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Страница 74: ...54 Board Hardware Error Notification Section 4 8...
Страница 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Страница 230: ...210 Wiring for Power Supply Section E 5...
Страница 234: ...214 Index...
Страница 236: ...216 Revision History...
Страница 237: ......