Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual
Page 60

4–12
OCI Data Server Data Items
Publication 8520-6.6 - August 1999
•
POKE POKE operations are used to send data to the processor
from the OCI data server. The Server sends the value from your
application program to the processor that contains the data item.
!
ATTENTION: Extreme care must be taken when
using the POKE capability. If you inadvertently write
to critical data in the CNC, you could adversely affect
the operation of the CNC.
Monitor the status of POKE commands using the data item
WRITE_ERROR_CODE which will return the success or failure of
a POKE operation as discussed in the error appendix later in this
manual.
Important: To perform a poke operation, the OCI station making
the request must be the controlling station. Refer to the
API command items “REQUEST_CONTROL” and
“RELINQUISH_CONTROL”.
OCI
Server
●
1
9/Series Poke
●
1
DDE Application
RSLinx
●
2
The DDE Application sends a value to the
OCI Server for a data item.
The Server sends the new value to the
processor containing the data item via RSLinx.
●
2
9/Series
CNC
OCI
Server
●
1
9/PC Poke
●
1
DDE Application
●
2
The DDE Application sends a value to the
OCI Server for a data item.
The Server sends the new value to the
processor containing the data item.
●
2
9/PC
CNC