42
Access to I/O Data
Section 4-1
4-1
Access to I/O Data
4-1-1
General Access to I/O Data
This is the procedure by which to use the API functions and access the I/O
data. Read the Basic status group, and confirm that the expected Slave Unit is
participating and that no communications error has occurred.
Precautions for Correct Use
The program must be made to implement accesses to I/O data in a single
thread. If multiple threads access I/O data, processes may collide and the
functions may fail.
(Open Board)
CPNT_Open
(Start communications cycles)
CPNT_StartCycle
Loop Start
(Read Basic status group)
CPNT_GetStatus
YES
Error solving
NO
An error on the basic
status group?
(Write OUT data)
CPNT_SetOutData
CPNT_SetBitOutData
(Read IN data)
CPNT_GetInData
CPNT_GetBitInData
Loop End
(Stop communications cycles)
CPNT_StopCycle
(Close Board)
CPNT_Close
Initial processing
Data Inputs and
Outputs
End processing
Содержание 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: ......