Parameters of commands and responses – KEYENCE DL-RS1A User Manual
Page 12
10
Parameters of Commands and Responses
This section describes the parameters used with various commands and responses.
Communication commands
There are two types of communication commands: read commands and write commands.
• For information on the data, refer to the SK-1000 Series instruction manual supplied with
the sensor amplifiers.
• If commands are sent during the period of approx. 3 seconds after the power is turned on,
the communication error (error number: 22) will occur.
ID numbers
This parameter is used with communication commands "SR" and "SW". Specify the ID number of the
target sensor amplifier using two digits (ASCII characters).
(Example) Sensor amplifier with the ID number 00 = 00, sensor amplifier with the ID number 03 = 03
Communication
command
Attribute
Description
SR
Read
Reads the data for the specified data number from the sensor amplifier with the
specified ID number.
M0
Reads the comparator value (P.V. value) that DL-RS1A periodically retrieves
from all sensor amplifiers.
MS
Reads the ON/OFF state of the judgment output and alarm output, and the
comparator value (P.V. value) that DL-RS1A periodically retrieves from all
sensor amplifiers.
DRQ input
Reads the ON/OFF state of the judgment output and alarm output, and the
comparator value (P.V. value) that DL-RS1A periodically retrieves from all
sensor amplifiers when a DRQ input is received.
SW
Write
Writes setting data for the specified data number onto the sensor amplifier with
the specified ID number.
AW
Writes setting data for the specified data number onto all sensor amplifiers.
Point
Parameters of Commands and Responses
Data numbers
Specify the data number using three digits (ASCII characters).
z
Read-only data
The following table lists the types of data that can only be read from the SK-1000 Series sensor
amplifiers.
Writing read-only data results in a communication error (error number: 22).
*1
In the Data format column, "±" indicates that the value can be either "+" or "-" and "*" signifies a
number from "0 to 9".
*2
R: Indicates that the data type can only be read from the sensor amplifiers.
*3
You can read data number "033" to check the error status of the sensor amplifiers. Convert the
five digit number (ASCII characters) read from the sensor amplifiers to a binary number and
check the ON/OFF state of each bit to check the error.
Data
number
Data name
Data
type
*1
Number of
characters
Attribute
*2
Readout range
033
Sensor amplifier error
*3
*****
5
R
0 to 65535
036
Judgment output/Alarm output
*4
**
2
R
0 to 15
037
Judgment value (P.V. value)
*5
±**.***
7
R
-99.999 to +99.999
038
Internal measurement value (R.V. value)
*5
7
R
039
Peak hold value during hold period
*5
7
R
040
Bottom hold value during hold period
*5
7
R
043
Bank status
*
1
R
0 to 3
044
Timing status
*
1
R
0: During sampling
1: Not during sampling
045
Temperature
*6
±***.*
6
R
-999.9 to +999.9
046
Humidity
*7
***.*
5
R
0.0 to +100.0
051
Abnormal setting
*8
*
1
R
0: Normal setting
1: Abnormal setting
052
External input status
**
2
R
0 to 15
*12
053
EEPROM write result
*10
*
1
R
0: Executing
1: Normal termination
2: Execution impossible
054
Zero shift/Zero shift reset result
*9
*
1
R
0: Executing
1: Normal termination
2: Execution impossible
055
Reset request result
*
1
R
0: Executing
1: Normal termination
2: Execution impossible
056
Current system parameters
*11
**
2
R
0 to 9
193
Product code
****
4
R
Main unit: 4024
Exp. units: 4025
195
Connected sensor head
****
4
R
0000: No connection
0001: Connected
Bit
Sensor amplifier error details
0
Overcurrent error
1
EEPROM error
2
Sensor head error
3
Unused
4
Unused
5
Unused
6
Unused
7
Head temperature/humidity error
8
Unused
Point