90
Removable Box Application Examples
Appendix E
3.
Creating Screens for Each Station
Create screens for stations so that the station numbers and the screen numbers match.
4.
Macro Settings
Use the following steps to change screens depending on value changes of the Station Status Monitor Ad-
dress and notify the PLC of the station number.
(1) Select
Project Properties
from CX-Designer's PT Menu.
(2) Click the
Macro
Tab in the Project Property Dialog Box.
(3) Click the
Set
Button for the
When a bit changed
Option.
(4) Perform the following in the When a Bit Changed Dialog Box.
• Select the
When a bit changed
option.
• Enter
$SB1
in the Address Field
• Select the
Execute when ON
Option in the
Action Timing Area
.
(5) Click the
Edit Macro
Button next to the
When a bit changed
Option.
(6) Enter the following macro and the click the
OK
Button.
(7) After all settings have been entered, click the
OK
Button in the Edit Macro Dialog Box, in the When a
Bit Changed Dialog Box, and in the Project Property Dialog Box to close them.
Note
For detailed information on the macro function, refer to the
NS Series Macro Reference
.
(8) Select
System Setting
from the PT Menu.
(9) Click the
Initial
Tab in the System Setting Dialog Box.
Screen number
Application
0
Initial screen (Displayed when NSH5 is started.)
1
Screen for Station 1
2
Screen for Station 2
---
---
8
Screen for Station 8
Select the option.
Enter
$SB1
.
Select the
Execute when ON
Option.
WRITECMEM([SERIALA:DM00200],$W1000,1 );
SHOWPAGE($W1000);
Writes the station number to DM00200.
(Entered before SHOWPAGE.)
Opens the screen with the same number as
the station number.
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 ...