Temperature Sensor Units
Note
542
Creating Ladder Program
(1) Write temperature data command
Write temperature data command which read temperature data from input
word to CIO n+1.
(2) Response confirmation
After CP1W-TS004 receives CIO n+1 read command and CP1W-TS004's
internally specified input temperature data is ready, the value which is the
same as the read command will be stored in CIO m+1. The temperature
data will be stored in CIO m+2 at the same time.
(3) Read temperature data
Store the temperature data from CIO m+2 in DM area.
The power is ON
CIO n+1
(1) Write temperature data
command
CIO m+1
(2) Response confirmation
Read command
matches response
CIO m+2
(3) Read temperature data
Store in DM area
Response
7FFE
CIO m+1
Temperature data
7FFE
CIO m+2
Read command
0000
CIO n+1
Power ON
(1) It takes about 2ms maximum until it is reflected to CIO m+1 and m+2 from
writing the read command to CIO n+1.
(2) It takes about 1s after the power is turned ON, till a read command initial
processing of CP1W-TS004 is completed, so a response to the read
command after power ON takes only about 1s. After the power is turned
ON, create a ladder program 1s later due to its control by temperature da-
ta.
(3) When writing a command other than that specified in the temperature
data read command, CIO m+1 and m+2 hold the previous value.
Read command
and response are
unmatched
#9901
Input 1
temperature data
Approx. 1s
Approx. 2ms
#9901
Write input 1
Write input 2
temperature data
temperature data
command
command
Section 9-5
#9902
Input 2
temperature data
2ms max. from writing read
command, response, to reading
temperature data
#9902
#9903