Omron NSH5 Operation Manual page 115

Nsh5 series hand-held programmable terminal
Hide thumbs Also See for NSH5:
Table of Contents

Advertisement

Removable Box Application Examples
(5) Edit the macro.
WRITECMEM([SERIALA:DM00 201],$W1000,1);
SHOWPAGE($W1000);
PLC addresses are use for the following applications.
Address
DM00200
Stores the station number of the Removable Box that is connected to NSH5 No. 1.
DM00201
Stores the station number of the Removable Box that is connected to NSH5 No. 2.
DM00202
Stores the station number of the Removable Box that is connected to NSH5 No. 3.
Note When entering the above macro for each NSH5 project, be sure the PLC write address is not used by
any other project. Duplicate project addresses will result in the PLC not being able to correctly judge
which NSH5 PT is connected to which Removable Box.
(6) 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.
(7) Select PT from the System Setting Menu.
(8) Click the Initial Tab in the System Setting Dialog Box.
(9) Change the $SB Allocation Address and the $SW Allocation Address Fields. After entering the new
data, click the OK Button to close the dialog box.
94
Change the station no. write destination.
(For project No. 2 enter DM00201, and
for No. 3 enter DM00202.)
Application
For NSH5 No. 2, enter SERIALA:00050 and
SERIALA:DM00050.
For NSH5 No. 3, enter SERIALA:00100 and
SERIALA:DM00100 in each of these addresses.
Appendix F

Advertisement

Table of Contents
loading

Table of Contents