Omron CJ1W-SCU32 Operation Manual page 244

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

6 No-protocol Mode
SendSize := UINT#5 );
IF (SerialSend_instance.Done = TRUE) THEN
//Processing at normal end
Operating := FALSE;
END_IF;
IF (SerialSend_instance.Error = TRUE) THEN
//Processing at error end
Operating := FALSE;
END_IF;
END_IF;
Receiving by Controller from External Device
Acquire the read result of the OMRON bar code reader V500-R521C2 connected to serial port 2 of the
Serial Communications Unit of the CJ Series (unit number 0, device name 'Barcode').
The receive data is stored in the array variable RecvDat[]. There is no start code and the end code is
16#OD (CR).
Serial Communications Unit
Unit number 0
Serial port 2
Unit Settings
Name
Unit Configuration
Device name of this unit
Unit number
Serial Communications
Mode
Port setting
No-protocol End Code
No-protocol Start Code
inclusion
No-protocol End Code
inclusion
* Make sure the settings match the corresponding settings at the destination.
6-16
//Send data size
Acquisition of read result
Bar code reader
Setting target
CPU/Expansion Racks in
Configuration and Setup
of Sysmac Studio
Unit number switch and
Unit Configuration
(CPU/Expansion Racks in
Configuration and Setup
of Sysmac Studio)
System Settings data
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Setting
Mount CJ1W-SCU22 in
slot 0 of the CPU Rack.
Barcode
Unit number: 0
No-protocol Mode
Default (*)
D
No
Yes (Specify a desired end
code.)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents