CV500BSC51 Omron, CV500BSC51 Datasheet - Page 75

no-image

CV500BSC51

Manufacturer Part Number
CV500BSC51
Description
Programmable Logic Controller
Manufacturer
Omron
Datasheet

Specifications of CV500BSC51

Peak Reflow Compatible (260 C)
No
Leaded Process Compatible
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Slave Mode Program Examples
6-2-2
Program Example
58
Receiving Data
This program receives data from another device.
If the GP-IB Interface Unit is operating as a Slave, it receives data automati-
cally. The data is read when all of the data has been received into the buffer,
i.e., the Data Read Completed Flag (CIO 2005.05) has been turned ON. In
this example, 10 words of received data are stored in the DM area beginning
at D02000. The reception delimiter specification, timeout monitor time, and
number of bytes to receive set in the allocated DM area words are used for
the reception.
First Cycle Flag
Continued
W100.01
W100.01
2007.09
W100.00
2000.01
A200.11
2005.02
2007.07
2007.08
2007.09
W100.00
2005.01
2005.01
Equal Flag
(CF006)
W100.01
W100.00
IORD(222)
END(001)
MOV(21)
MOV(21)
W200.00
W200.00
D17000
D17001
D17000
D02000
END(001)
2000.01
2000.01
#000A
#0000
#0154
RSET
SET
SET
SET
Turns ON the Send Data Request Bit.
Turns OFF the Send Data Request Bit if
the data was sent properly and the Data
Send Completed Flag was turned ON.
Turns ON W200.00 if an error occurred.
Sets parameters for IORD(222).
Unit number of destination device:
0000 Hex
Number of words to transfer: 000A Hex
IORD(222) reads 10 words (20 bytes)
of data from buffer memory beginning
at buffer memory address 0154 Hex.
Turns ON W200.00 if an error occurred.
Section 6-2

Related parts for CV500BSC51