Chapter 5 Setting with the Engineering Tool
6F8C1583
34
5.2.1 Controller
interface
(I/O variables) structure
5.2.1.1 Normal mode
Use the I/O variable to access to the status/command. The status/command is used to do
handshake to send/receive data between CF622 and the type1 light controller.
Offset
IWn
CH1 Status
IWn+1 CH2
Status
QWn+2
CH1 Command
QWn+3 CH2
Command
Figure 5-14 I/O variables structure
Details of Status and Command are shown as follows.
(1) Status
The status is used to do handshake to send/receive data and error information between CF622
and the user’s application. CF622 writes data according to the situation and the user application
refers to the status. When CF622 detects the unhealthy of the controller, CF622 clears the status
to 0.
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Status
TX_
RDY
TX_
COMP
TX_
ERR
RX_
RDY
RX_
COMP
RX_
ERR
Default
1 0 0
0
0
0
R / W
R R R
R
R
R
Table5-1 Status details
Bit
Abbreviation
Name
Description
15 TX_RDY
Write ready
1:Transmit data write enabled
0:Transmit data write disabled
14 TX_COMP Transmit
complete
1:Transmit complete
0:Transmit in progress
13 TX_ERR Transmit
error
1:Transmit error
0:Transmit normal
11 RX_RDY Read
ready
1:Receive data read enabled
0:Receive data read disable
10 RX_COMP Receive
complete
1:Receive complete
0:Receive in progress
9 RX_ERR
Receive error
1:Receive error
0:Receive normal
Summary of Contents for CF622
Page 20: ...Chapter 1 Introducing CF622 6F8C1583 1 6 ...
Page 26: ...Chapter 2 Names and Functions of the Parts 6F8C1583 12 ...
Page 38: ...Chapter 4 Installation and wiring 6F8C1583 24 ...
Page 70: ...Chapter 6 Maintenance and Inspection 6F8C1583 56 6 ...
Page 74: ...Chapter 7 Troubleshooting 6F8C1583 60 7 ...
Page 78: ...Chapter 8 Usage Constraints 6F8C1583 64 8 ...
Page 86: ...Appendix B Outside Dimensions 6F8C1583 72 ...
Page 87: ...73 73 Appendix C Related Products C 1 Accessories 74 C 2 Recommended communication cables 74 ...
Page 89: ...75 75 Appendix D ASCII code chart ...
Page 106: ...Appendix E Sample programs 6F8C1583 92 E ...
Page 108: ...1583 1 1605 ...