A Appendices
A - 18
E3NW-CCL CC-Link Digital Sensor Communications Unit User’s Manual (E431)
Sending Commands to the Sensor Amplifier Unit
M1000
Y10A0
X10A0
X10A1
X10A2
MOVP H0001 D0000
MOVP H0000 D0001
MOVP H00A0 D0002
DMOVP K9000 D0004
SET Y10A0
Command
data 32
(Specify unit number 1.)
(Specify IN1.)
(Specify command A0
(Write Threshold Value 1).)
(Set threshold value to 9,000.)
(Turn ON the Trigger Request Flag.)
Y10A0
X10A0
X10A2
BMOV W0010
D0100
(Retrieve the data from the link registers.)
X10A1
BMOV D0000
W1010
(Transfer the set values
to the link registers.)
K6
K5
SET Y0030
(Turn ON the Send Command Normal Completion Indicator.)
MOV W0015 D0105
(Read the error type.)
SET Y0031
(Turn ON the Send Command Error Completion Indicator.)
X10A0
X10A1
RST Y10A0
(Turn OFF the Trigger Request Flag.)
RST M1000
(Turn OFF the Send Command Flag.)
X0020
SET M1000
(Turn ON the Send Command Flag.)
b0
b15
OFF=IN1, ON=IN2
b0
b15
ON = Specified unit numbers
b0
b15
OFF=IN1, ON=IN2
b0
b15
ON = Specified unit numbers
Set value = 0001 hex
Set value = 0000 hex
Set value = 0073 hex
Set value = 0052 hex
The 6 words of data set in D0000 to D0005 are
transferred to W1010 to W1015 (RWw0 to RWw5).
The threshold value is set to 9,000.
A0 (Write Threshold Value 1) is set as the
command to send.
The Trigger Request Flag for the
Communications Unit is turned ON.
The read data is obtained after the command
is completed normally.
The Send Command Normal Completion
Indicator is turned ON.
The Send Command Error Completion
Indicator is turned ON.
If the command is completed in an error,
the error type is obtained.
The Trigger Request Flag for the
Communications Unit is turned OFF.
The Send Command Flag (internal processing
flag) is turned OFF.
The Send Command Flag (internal processing
flag) is turned ON.
For Sensor Amplifier Unit 1
For Multiple Sensor Amplifier Units
Command
Normal
Completion
Flag
Command
Error
Completion
Flag
Command
Error
Completion
Flag
Send command
completed normally.
Send command
completed in error.
Trigger
Request
Flag
Busy
Flag
Command
Normal
Completion
Flag
Command Error
Completion Flag
Command
Normal
Completion Flag
Trigger
Request
Flag
Trigger
Request Flag
Busy
Flag
Send
Command
Flag
Send Command
Flag
Send
Command Flag
Unit
specification
IN1/2
specification
Send
command switch
Trigger
Request Flag
Send
command.
Error type
storage area
Error
type
Unit
specification
Sensor
Warning
Flag
Sensor
Warning Flag
storage
Command
Unit Number
Setting
Unit 16
Unit 1
Unit 16
Unit 1
Unit 16
Unit 1
Unit 16
Unit 1
* Setting Range
FA□0, LA0, or SA0: −1,999 to 9,999
TA0: −19,999,999 to 99,999,999
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: ......