CV500BSC51 Omron, CV500BSC51 Datasheet - Page 73

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
56
Slave Mode Program Examples
Note The sample program above always reads 10 words (20 bytes) of data. The
Note When the sample programs are used as-is, verify that the bits and words used
Unit records the number of bytes of data that were actually read in allocated
CIO area word n+6.
The programming examples in this section use the following system configu-
ration.
in the sample program are not being used already by another Special I/O Unit
or elsewhere in the program.
GP-IB device address 1
Continued
W100.00
2000.02
2007.07
2007.08
2007.09
W100.01
2005.02
In this example, the GP-IB Interface Unit’s unit number is set to 0.
The Unit’s allocated CIO area words begin at CIO 2000.
Computer
Equal Flag
(CF006)
Equal Flag
(CF006)
2005.02
W100.00
IORD(222)
END(001)
IOWR(223)
W200.00
2000.02
D17002
D02000
2000.02
D00010
D17000
#0154
RSET
#0143
SET
SET
GP-IB device address 2
CS1W-GPI01
(Unit number 0)
IOWR(223) writes the transmitting
device address, number of receiving
device addresses, and receiving device
address to buffer memory beginning at
memory address 0143 Hex.
Turns ON the Read Data Request Bit.
IORD(222) reads the data beginning at
buffer memory address 0154 Hex and
stores that data in the DM area
beginning at D02000.
Turns OFF the Read Data Request Bit if
the message was sent properly and the
Data Read Completed Flag was turned
ON.
Turns ON W200.00 if an error occurred.
Section 6-2

Related parts for CV500BSC51