10 TROUBLESHOOTING
10.1.5 Reading the switch setting status
This section explains how to read the switch setting status of the Q series C24. When GX
REMARK
(1)The switch settings can be changed when the mode is switched or when the UINI instruction is executed. (The station No. setting can be changed only when the UINI instruction is executed.)
For the mode switching, refer to Chapter 15 of the User's Manual (Application). For the UINI instruction, refer to Chapter 17 of the User's Manual (Application).
(2)For the switch settings, refer to Section 4.5.
(1)Setting status storage area
The switch settings by GX Developer and setting error information are stored in different areas of the buffer memory shown below.
1) Station number storage area (address: 200H)
b15 | to | b0 |
Buffer memory address 200H | 0 to 31 | (Station number) |
2) Switch setting error/mode switching error storage area (address: 203H)
| b15 b14 b13 b12 b11 b10 | b9 | b8 | b7 |
| b6 | b5 | b4 |
| b3 | b2 | ||||||||
Buffer memory address | 203H 1/0 | 1/0 |
|
|
|
|
|
|
| 1/0 |
|
| 1/0 | 1/0 | 1/0 |
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Ignore (including b2 and b6) | CH2 | CH2 CH2 | CH1 | |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
| Station number of the Q series |
|
|
|
|
|
|
|
|
| |||||||
|
|
| C24 is outside the range. |
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
| Linked operation setting error |
|
|
|
|
|
|
|
|
|
| |||||||
|
| (see Section 4.5.2 (2)). |
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
| (1: Error, 0: Normal) |
|
b1 b0 1/0 1/0
CH1 CH1
Communication protocol number on CHside is outside the range.
Communication rate on CHside is outside the range.
Mode switching request was issued when the setting modification allow/prohibit was set to prohibit.
3) Communication protocol storage area (address: 250H and 260H)
| b15 | to |
| b0 | |
Buffer memory address 250H | 0 to | 8 |
| (Information on the CH1 side) | |
|
|
|
| (Information on the CH2 side) | |
260H | 0 to 7 |
|
4) Transmission setting status storage area (address: 251H and 261H)
| b15 | b14 | b13 | b12 | b11 b10 | b9 | b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | ||
Buffer memory address 251H | 0 | 0 | 0 | 0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 (Information on the CH1 side) | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261H | 0 | 0 | 0 | 0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 | 1/0 (Information on the CH2 side) | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Communication rate setting | Setting modification | Operation setting |
| allow/prohibit | Data bit setting |
|
|
10 - 11 | 10 - 11 |