542
Temperature Sensor Units
Section 9-5
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.
Note
(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.
The power is ON
CIO m+2
(3) Read temperature data
Store in DM area
CIO n+1
(1) Write temperature data
command
Read command
matches response
CIO m+1
(2) Response confirmation
Read command
and response are
unmatched
Response
CIO m+1
#9902
Temperature data
CIO m+2
Input 2
temperature data
2ms max. from writing read
command, response, to reading
temperature data
Approx. 1s
Approx. 2ms
Read command
CIO n+1
0000
#9901
#9902
#9903
Power ON
Write input 1
temperature data
command
Write input 2
temperature data
command
7FFE
7FFE
#9901
Input 1
temperature data
Summary of Contents for CP1L-EL20DR-D
Page 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Page 4: ...iv...
Page 10: ...x...
Page 22: ...xxii...
Page 34: ...xxxiv Software Licenses and Copyrights 7...
Page 192: ...158 Trial Operation and Debugging Section 5 3...
Page 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Page 666: ...632 Trouble Shooting Section 11 7...
Page 696: ...662 Standard Models Appendix A...
Page 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Page 836: ...802 PLC Setup Appendix G...
Page 838: ...804 TCP Status Transitions Appendix H...
Page 840: ...806 Ethernet Network Parameters Appendix I...
Page 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Page 844: ...810 Ethernet Specifications Appendix K...
Page 851: ...Index 817 work words 118 write protection 447...
Page 852: ...818 Index...
Page 854: ...820 Revision History...
Page 855: ......