A Appendices
A - 2
E3NW-CCL CC-Link Digital Sensor Communications Unit User’s Manual (E431)
A-1 Using Commands for
Communications
The Communications Unit can use read and write registers to perform communications with commands
to perform more detailed data exchange. Using commands for communications allows you to read and
write the status of a Sensor Amplifier Unit or change its settings.
1
Reading the Sensor Amplifier Unit Data
(1) Store the parameters for the data you want to read into the Data Category/Command
Number Word and Data Number Word, and then turn ON the Command Request Bit.
(2) After communicating with the Sensor Amplifier Unit, the Command Completed Bit
turns ON and the results of the communications are stored in Command Response
Word. Read data is stored in the Read Data Words.
(3) When the Command Request Bit is turned OFF, the Command Completed Bit also
turns OFF.
2
Writing Data to the Sensor Amplifier Unit
(1) Store the parameters for the data you want to write into the Data Category/Command
Number Word, Data Number Word, and Write Data Words, and then turn ON the
Command Request Bit.
(2) After communicating with the Sensor Amplifier Unit, the Command Completed Bit
turns ON and the results of the communications are stored in the Command
Response Word. The Read Data Words will be reset to 0.
(3) When the Command Request Bit is turned OFF, the Command Completed Bit also
turns OFF.
Commands
The following table lists the commands.
List of Read Commands
Command
type
RWwn+2
Name
Read values
RWrm+2: Received Data 1 Area
RWrm+3: Received Data 2 Area
Applicable Sensor Amplifier Units
0×00
Read Status
0: Normal (waiting for command)
1 = Busy
2 = Error
To communication unit
0×02
Read Number of Mounted
Sensors
Number of connected nodes
To communication unit
0×03
Read Error History
Received Data 1: Type of error
Received Data 2: Number of stored
history items
To communication unit
0×05
Read Dummy Sensor
Setting
0: Not set as dummy.
1 = Set as dummy.
To communication unit
0×06
Read Dummy Sensor
Response Setting
0: Abort response
1: Normal response
To communication unit
0×08
Sensor Warning Status
The bits for the Sensor Amplifier
Units where an error occurred will
be 1.
To communication unit
Summary of Contents for E3NW-CCL
Page 1: ...E3NW CCL CC Link Digital Sensor Communications Unit User s Manual Cat No E431 E1 08 ...
Page 114: ...A Appendices A 34 E3NW CCL CC Link Digital Sensor Communications Unit User s Manual E431 ...
Page 116: ...B B 2 E3NW CCL CC Link Digital Sensor Communications Unit User s Manual E431 ...
Page 117: ......