CV500BSC51 Omron, CV500BSC51 Datasheet - Page 77

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
Enhanced BASIC Command Program Example
ID0 (Input Data:
ASCII)
BASIC Programming
Example
ID1 (Input Data:
Binary)
BASIC Programming
Example
OD0 (Output Data:
ASCII)
BASIC Programming
Example
OD1 (Output Data:
Binary)
BASIC Programming
Example
60
When an ID0 command is received from the host computer, the rest of the
received data is treated as ASCII data. The data is converted to binary format,
and stored in the reception data area.
100 PRINT @1;”ID0,123ABC”@
When an ID1 command is received from the host computer, the rest of the
received data is treated as binary data and stored unchanged in the reception
data area.
100 PRINT @1;”ID1,TEST DATA”@
When an OD0 command is received from the host computer, the transmission
data format is set to ASCII. The data in the transmission data area is con-
verted to ASCII and sent. The Unit will continue to convert output data to
ASCII before sending it unless an OD1 command is received.
100 PRINT @1;”OD0”@
200 INPUT @1;DT1$
500 INPUT @1;DT4$
When an OD1 command is received from the host computer, the transmission
data format is set to binary. The data in the transmission data area is sent
unchanged in binary format. The Unit will continue to send data in binary for-
mat unless an OD0 command is received.
100 PRINT @1;”OD1”@
200 INPUT @1;DT1$
500 INPUT @1;DT4$
:
:
:
:
:
:
:
:
‘Send OD0 command
‘Receive 1
‘Receive 4
‘Send OD1 command
‘Receive 1
‘Receive 4
:
:
:
:
st
th
st
th
data block
data block
data block
data block
Section 6-3

Related parts for CV500BSC51