Omron 3G8F7-CRM21 User Manual page 63

Componet master board for pci bus/ compactpci bus
Table of Contents

Advertisement

Access to I/O Data
4-1-2
I/O Data Access Synchronous with CompoNet Communications
Precautions for Correct Use
This is the procedure by which to use the API functions and access the I/O
data while maintaining node-by-node synchronicity.
(Open Board)
CPNT_Open
(Start communications cycles)
CPNT_StartCycle
Loop Start
(Read Basic status group)
CPNT_GetStatus
An error on the basic
status group?
(Get Access to I/O)
CPNT_GetAccessToIO
(Write OUT data)
CPNT_SetOutData
CPNT_SetBitOutData
(Read IN data)
CPNT_GetInData
CPNT_GetBitInData
(Release Access to I/O)
CPNT_ReleaseAccessToIO
Loop End
(Stop communications cycles)
CPNT_StopCycle
(Close Board)
CPNT_Close
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
Error solving
NO
Section 4-1
43

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g8f8-crm21

Table of Contents