Omron NSH5 - 10-2010 Operation Manual page 118

Hand-held programmable terminal
Hide thumbs Also See for NSH5 - 10-2010:
Table of Contents

Advertisement

Removable Box Application Examples
PLC
DM00200 = 1
Removable Boxes
Station 2
Station 1
NSH5 No.1
Screen 1
Station Status Monitor Address
$W1000: 0→1
The code "SHOWPAGE($W1000)" changes the screen to 1, to 3, and to 8.
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).
94
The macro code
DM00202 = 8
"WRITECMEM([SERIALA:DM00200],$W1000,1);"
writes 1, 3, and 8 to addresses DM00200, DM00201
and DM00202, respectively.
DM00201 = 3
...
Station 3
NSH 5 No.2
Screen 3
Station Status Monitor Address
$W1000: 0→3
Station 8
NSH 5 No.3
Screen 8
Station Status Monitor Address
$W1000: 0→8
Appendix E

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nsh5-sqg10b-v2Nsh5-sqr10b-v2Nsh5 series

Table of Contents