Omron CJ1W-SCU32 Operation Manual page 345

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

Advertisement

Example: VARIABLE AREA READ
The following command and text is used to read the present value, maximum value, minimum value,
and status of the Intelligent Signal Processor.
Command Text
2 bytes
1
Variable Type
Variable type
"C0"
2
First Read Address
Specify the address of the data to be read in 4 digits Hex.
3
Number of Elements: 4 Digits Hex
Number of elements
"0001"
Note If "0000" is specified, nothing will be read and a normal end will be returned. A parameter
error will occur for any settings other than "0000" and "0001."
Response Text
1
Response Code: MRES, SRES
Response code
"0000"
"1001"
"1002"
"1100"
"1101"
"1103"
"2203"
2
Read Data
The specified data is returned in 8 digits of hexadecimal data.
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
Variable
First read address
type
"00"
"00"
"C0"
2 bytes
2 bytes
Present value, maximum value, minimum value, status, and
comparison value
Read the data and end normally.
Response code
"01"
"01"
2 bytes 2 bytes
4 bytes
Normal end
Command too long
Command too short
Parameter error
Area type error
First address range error
Operating error
A Standard System Protocol
No. of
elements
"00"
4 bytes
Contents
Process
Read data
8 bytes
Meaning
"0001"
4 bytes
R-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents