Live Support - Click To Chat

ProAction Partners

Breaking UK Telephony News

Command Line, MOC and CAT Mode

How do I enter commands in MOC? The commands and variables used to program the NEAX 2000 IPS are in Hexadecimal (Machine Code) and will not accept alpha-numeric entries. Don't let this scare you though because most commands remain very simple and don't require any understanding of hex to do! The programming entries are made up of a COMMAND, followed by a FIRST DATA VARIABLE which defines a variable to be set and then a SECOND DATA VARIABLE which will enable, disable or set a features or functions.


Command + First Data Variable + Second Data Variable

Entering A Command The Command Manual lists the above structure in the following syntax:


ST + CM + DE + First Data Variable + DE + Second Data + EXE

ST is Start Command DE is Data Entry EXE is Execute Command So, for an example from the Command Manual, using this syntax the command will be entered as folows: CM 11 > 000 : 100 "CM" is Start Command, ">" is Data Entry and ":" is Data Entry Extending Commands and Multiple First Data Values Commands can also be extended beyond two Hexadecimal characters which is shown in the Feature Programming and Command Manuals as a y integer. For example, command EC has a  y data of "6"


e.g. CM EC6 > 0 : 0

The First Data Variable field may use a comma , to separate multiple values when shown in the Feature Programming and Command Manuals. For example, command: 9000 (90 y = 00) has a first data with a comma seperating the First Data from the extra value: First Data: 2000 Extra Value: 00.


e.g. CM 9000 > 2000,00 : 2046


Programming Interfaces

There are 2 programming interfaces available:

  1. Customer Administration Terminal (CAT) - Programming from an NEC DTERM phone
  2. Maintenance Administration Terminal (MAT)  A GUI called MATWorX which is available for most Windows-based operating systems.


MATWorX offers the following features:

  • Menu Items
  • Command Prompt - MOC (Maintenance Operation Console)
  • Batch / Script Files - MACH (MOC Accelerated Command Heap)
  • Script Editor


Entering the Commands in MOC

The commands are entered into MOC using the keyboard Function Keys (F1 to F12) as listed below:

ST is Start Command = F9 (or / )

DE is Data Entry = F8 (or space bar)

EXE is Execute Command = F2 (or . )

CE is Clear Entry = F3

S is Step Forward through Entries = F4

, is Data Seperator = F5

- is Step Backwards through Entries = F6

Backspace to erase a typed character = Backspace or F7


So to enter the commands above in MOC, the following sequece would be required:


CM 11 > 000 : 100 could be literally interpreted as "F9 11 F8 000 F8 100 F2"

CM EC6 > 0 : 0 could be literally interpreted as "F9 EC6 F8 0 F8 0 F2"

CM 9000 > 2000,00 : 2046 could literally be interpreted as "F9 9000 F8 2000,00 F8 2046 F2"