Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use MOC mode

2000 tutorials

How to use MOC mode

by  OzzieGeorge  Posted    (Edited  )
How to use MOC mode

An entry level guide to programming NEC small to medium sized PABXs

This guide also applies to those using CAT mode

Most people view programming the Pabx using command line programming with a great deal of trepidation. What I hope to do here is shine a light into some of the darker corners of the process making it easier for the beginner to understand. Firstly you need to get a copy of the Command manual, I would also recommend a copy of the Feature programming manual. These can be downloaded quite legitimately from the following address.

http://www.neccare.com/cng/docs.nsf/Lib3?OpenView

Finding what you want from the command manual can be the first hurdle. But as a very rough guide Commands beginning with 0 are for basic system set up, Those beginning with a 1 are for general extension set up, 2 is for numbering plan, 3 is for trunks, 4 is for system timers and other various system set up items, 5 is indial, paging and conference set up, 6 is attendant and location setup, 7 is speed dial, Names and DID, 8 is restriction patterns and LCR, 9 is Key data and prime line assignment. The manual continues on with A to F commands as the command structure is based on hexadecimal numbering but we will leave those for a more advanced look into things.

Reading the manual is fairly straight forward and as an example we will look at command 20 and investigate the numbering plan. At the beginning of each command section in the manual it shows an assignment procedure. For command 20 it is
St + 20Y + de + access code + de + data (3/4 digits) + exe

From this we can work out that command 20 is actually a 3 digit command and from the next page in the manual we can work out the 3rd digit. The system can have up to 4 separate numbering plans and the 3rd digit denotes which one we are working on. Now to give us a hint about how this is applied the manual has a related command column and in this instance it tells us CM29 (sometimes there are multiple related commands). If you have a quick flick over to command 29 you will see that this is used to allocate number plans to tenants. In the main the command you will use is command 200, this being the default pattern. So in order to enter the command you need to open MOC mode in Matworx, this can be found under the function drop down tab. Now you can use the F keys to navigate through the programming but most techs use the normal keyboard. I will use the keyboard in this description but you can find the conversion list at the address listed below.

http://www.tek-tips.com/faqs.cfm?fid=6315

It should also be noted that you can actually do all of this without Matworx as using the keyboard to navigate through the commands means you can get away with just using a terminal emulator such as hyperterminal to carry out all the programming howerer you will have to know how to save the data to the flash rom as you donÆt have the icon provided by matworx. The command for this is I will list at the end.

Having opened Moc mode press the / (ST) key and you will get the command prompt enter 200 and press the space bar (DE) then enter the code you want to look at, for example 9 then the space bar (DE) again and it will indicate the current setting. This setting can be different from installation to installation but it is probably A126 and a quick check of the manual will tell you what it is (LCR Group0), on some more complicated installs it could be A127-A129 which are additional LCR routes. It could also be 100-163 which takes the call out on the associated trunk route, 200-231 for route advance block or 300-323 if the system is tenanted. If you want to investigate the numbering plan further it would be easier to follow an earlier FAQ I wrote which explains how to look up the entire numbering plan. This can be found at the address below.

http://www.tek-tips.com/faqs.cfm?fid=6323

The one thing you have to be careful of is not to accidentally overwrite any entry currently there. On password protected systems it will not let you until you have entered the password. However if the system is not password protected (or you have entered the password) you can change an entry by getting to the point we got to above where the existing data is displayed then enter the new data followed by a full stop (EXE). If you enter a wrong digit the backspace key will move you back the one digit at a time or the : (Colon) key will step you back one level. If as in the above example you were looking at the entry for 9 and wanted to step on to A (the next number in Hexadecimal) you can just press the enter key, if you wanted to step back to 8 you can use the û (minus) key. It may be worth noting that A & B are used in the number plan to denote * & # respectively.

At any time you can return to the command prompt by pressing the / key

Now if you have done all this using just a terminal emulator and have changed any data, you will need to know how to back your changes up to the flash rom. The command is EC6 so press / (ST) EC6 space bar (DE) 3 should be displayed enter 0 (this tells it to start the save) full stop (EXE). If you now press the space bar again you should see 1 displayed, this means it is now in the process of saving the data. When you interrogate it again if it displays 3 it means it has finished.

If you have used Matworx to change any data you will be prompted to save the data as you exit or there is an icon for doing a save at any time.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top