CV500BSC51 Omron, CV500BSC51 Datasheet - Page 76

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
6-2-3
Program Example
6-3
OS (Output Status)
BASIC Programming
Example
IN (Initialize)
BASIC Programming
Example
Enhanced BASIC Command Program Example
Enhanced BASIC Command Program Example
Service Request
Note The sample program above always reads 10 words (20 bytes) of data. The
Unit records the number of bytes of data that were actually read in allocated
CIO area word n+6.
This program sends a service request (SRQ message) to the Controller.
The Controller performs serial polling and the Unit’s status byte is sent during
this serial polling from the Controller.
When W000.00 is turned ON, the SRQ Request Bit (CIO 2000.14) is turned
ON and an SRQ message is sent to the Controller.
The SRQ Received Flag (CIO 2007.12) will go from ON to OFF when the sta-
tus byte transmission is completed, so this flag can be used to detect the
transfer of the status byte.
Before turning on the SRQ Request Bit, write the status byte data (bits CIO
2000.08 to CIO 2000.13 and CIO 2000.15) that will be sent during serial poll-
ing.
Sends the Unit’s internal status to the host computer. The following diagram
shows the functions of the signals in the status byte.
BIN:
P.ERR: When this bit is “1”, it indicates that a parameter error has occurred.
C.ERR: When this bit is “1”, it indicates that a command error has occurred.
T.ERR: When this bit is “1”, it indicates that a timeout error has occurred.
G.ERR: When this bit is “1”, it indicates that a GP-IB interface error has
---:
100 PRINT @1;”OS”@
200 INPUT @1;ST$
300 PRINT ST$
This command returns the GP-IB Interface Unit to its initial status. Use this
command to initialize just the GP-IB Interface Unit.
100 PRINT @1;”IN”@
W000.00 W100.00
2000.14
---
When this bit is “1”, it indicates that the transmission data is in binary
format.
occurred.
Reserved (variable signal status)
2007.12
---
BIN
W100.00
END(001)
2000.14
---
Turns ON the SRQ Request Bit.
Turns OFF the SRQ Request Bit when
the SRQ Received Flag goes OFF
(down-differentiated condition).
‘Send OS command
‘Receive status
‘Display status
‘Send IN command
P.ERR
C.ERR
T.ERR
Section 6-3
G.ERR
59

Related parts for CV500BSC51