94
Removable Box Application Examples
Appendix E
Note
The operation for disconnecting and re-connecting any of the NSH5 PTs is the same as with a single
NSH5 PT.
Detection Method for NSH5 Disconnected Status
When the NSH5 is not connected to any Removable Box, the station number sent to the PLC must be cleared.
Use one of the following methods to clear the station number.
• Monitoring the signal from the terminal block
• Monitoring $SB0 and $SB1 in NSH5 system memory
• Monitoring the Signal from the Terminal Block
I/O connected to the Removable Box's terminal block terminals CONECT1 and CONECT2 turn ON while
the NSH5 is connected to the Removable Box and turn OFF while the NSH5 is not connected. Therefore,
add programming to the ladder diagram so that the PLC clears the station number stored in DM00200,
DM00201, and DM00202 when the I/O turns OFF.
• Monitoring $SB0 and $SB1 in NSH5 System Memory
While the NSH5 is operating, $SB0 in system memory is periodically turned ON and OFF and $SB1 is
always ON. As a result, if the NSH5 and PLC are connected, the PLC address allocated to $SB0 is also
periodically turned ON and OFF.
Therefore, add programming to the ladder diagram so that the PLC clears the station number stored in
DM00200, DM00201, and DM00202 when the PLC address allocated to $SB0 does not change for a spec-
ified period of time (indicating that the NSH5 and Removable Box are not connected).
PLC
Station 1
Station 8
The code "SHOWPAGE($W1000)" changes the screen to 1, to 3, and to 8.
NSH5 No.1
DM00200 = 1
NSH 5 No.2
NSH 5 No.3
DM00202 = 8
Station Status Monitor Address
$W1000: 0
→
1
Screen 1
Screen 8
...
Station Status Monitor Address
$W1000: 0
→
3
Station Status Monitor Address
$W1000: 0
→
8
The macro code
"WRITECMEM([SERIALA:DM00200],$W1000,1);"
writes 1, 3, and 8 to addresses DM00200, DM00201
and DM00202, respectively.
Removable Boxes
Screen 3
Station 2
Station 3
DM00201 = 3
Summary of Contents for NSH5
Page 2: ......
Page 4: ...iv ...
Page 12: ...xii ...
Page 16: ...xvi ...
Page 24: ...xxiv EC Directives 6 ...
Page 58: ...34 Installing the Mounting Bracket Section 2 5 ...
Page 86: ...62 Connection Method Section 4 5 ...
Page 92: ...68 Precautions When Replacing the PT Section 5 4 ...
Page 98: ...74 General Specifications Appendix A ...
Page 99: ...75 Appendix B Dimensions 75 50 176 223 75 Four M4 70 5 16 5 ...
Page 102: ...78 Types of Memory Appendix C ...
Page 107: ...83 Recommended Enabling Circuits Appendix D Program Example ...
Page 108: ...84 Recommended Enabling Circuits Appendix D ...