CPM2A_OPERATION MANUAL (W352-E1-3) (986749), страница 19
Текст из файла (страница 19)
The password prevents unauthorized access to the program.The PC prompts you for a password when PC power is turned on or, if PC poweris already on, after the Programming Console has been connected to the PC. Togain access to the system when the “Password!” message appears, press CLRand then MONTR.
Then press CLR to clear the display.99SectionUsing a Programming Console4-3If the Programming Console is connected to the PC when PC power is alreadyon, the first display below will indicate the mode the PC was in before the Programming Console was connected. Ensure that the PC is in PROGRAM modebefore you enter the password. When the password is entered, the PC willshift to the mode set on the mode switch, causing PC operation to begin if themode is set to RUN or MONITOR. The mode can be changed to RUN or MONITOR with the mode switch after entering the password.<PROGRAM>PASSWORD!<PROGRAM>BZIndicates the mode set by the mode selector switch.100SectionProgramming Console Operations4-44-4Programming Console Operations4-4-1 OverviewThe following table lists the programming and monitoring operations that can beperformed from a Programming Console.
Refer to the rest of this section fordetails on operational procedures.NameClearing memoryFunctionPageClears all or part of the Program Memory and any data areas that are notread-only, as well as the contents of the Programming Console’s memory.Displays and clears error messages and displays MESSAGE instructionmessages.Turns on and off the buzzer that sounds when Programming Console keysare pressed.Reads or changes the function codes assigned to expansion instructions102Sets the specified program memory address when reading, writing,inserting and deleting programs.Reads the contents of the Program Memory.
Displays the status of thecurrently displayed bit in PROGRAM and MONITOR modes.Finds occurrences of the specified instruction in the program.105Bit operand searchFinds occurrences of the specified operand bit in the program.109Inserting and deletinginstructionsEntering or editing programsInserts or deletes instructions from the program.110105Multiple address monitorOverwrites the contents of the current Program Memory to either input aprogram for the first time or to change a program that already exists.Checks for programming errors and displays the program address anderror when errors are found.Monitors the status of up to 16 bits and words, although only 3 can beshown on the display at one time.Monitors the status of up to 6 bits and words simultaneously.Differentiation monitorMonitors the up or down differentiation status of a particular bit.113Binary monitorMonitors the ON/OFF status of any word’s 16 bits.1143-word monitorMonitors the status of three consecutive words.115Signed decimal monitorConverts the contents of the specified word from signed hexadecimal(two’s complement format) to signed decimal for display.Converts hexadecimal data in a word to unsigned decimal for display.115116Changing timer, counter SV 1Changes the contents of one or more of the 3 consecutive wordsdisplayed in the 3-Word Monitor operation.Changes the SV of a timer or counter.Changing timer, counter SV 2Makes fine adjustment changes to the SV of the timer or counter.118Hexadecimal, BCD datamodificationBinary data modificationChanges the BCD or hexadecimal value of a word being monitored.118Changes the status of a word’s bits when the word is being monitored.119Signed decimal datamodificationChanges the decimal value of a word being monitored as signed decimaldata, within a range of –32,768 to 32,767.
The contents of the specifiedword are converted automatically to signed hexadecimal (two’scomplement format.)Changes the decimal value of a word being monitored as unsigneddecimal data, within a range of 0 to 65,535. A change into hexadecimaldata is made automatically.119Force set/resetForces bits ON (force set) or OFF (force reset.)121Clear force set/resetRestores the status of all bits which have been force set of reset.122Hex-ASCII display changeConverts word data displays back and forth between 4-digit hexadecimaldata and ASCII.122Reading/clearing errormessagesBuzzer operationAssigning expansioninstruction function codesSetting a program memoryaddressReading a program memoryaddressInstruction searchChecking the programBit, digit, word monitorUnsigned decimal monitor3-word data modificationUnsigned decimal datamodification103103104105108111111113116117120101SectionProgramming Console OperationsNameFunction4-4PageDisplaying the cycle timeDisplays the current average cycle time (scan time.)123Reading and setting the clockReads or sets the internal clock.1234-4-2 Clearing MemoryThis operation is used to clear all or part of the Program Memory and data areas,as well as the contents of the Programming Console’s memory.
This operation ispossible in PROGRAM mode only.RUNMONITORNoNoPROGRAMOKBefore beginning to program for the first time or when installing a new program,clear all areas.All ClearThe following procedure is used to clear memory completely, including the program, all data areas, counter PVs, Data Memory, and the PC Setup (DM 6600 toDM 6655).1, 2, 3...1. Bring up the initial display by pressing the CLR Key repeatedly.2.
Press the SET, NOT, and then the RESET Key to begin the operation.SETNOTRESET00000MEMORY CLR?HRCNT DM3. Press the MONTR Key to clear memory completely.MONTR! CautionPartial Clear00000MEMORY CLREND HRCNT DMThe PC Setup (DM 6600 through DM 6655) will be cleared when this operation isperformed.It is possible to retain the data in specified areas or part of the Program Memory.To retain the data in the HR, TC, or DM Areas, press the appropriate key afterpressing SET, NOT, and RESET. Any data area that still appears on the displaywill be cleared when the MONTR Key is pressed.The HR Key is used to specify both the AR and HR Areas, the CNT Key is used tospecify the entire timer/counter area, and the DM Key is used to specify the DMArea.It is also possible to retain a portion of the Program Memory from the firstmemory address to a specified address.
After designating the data areas tobe retained, specify the first Program Memory address to be cleared. Forexample, input 030 to leave addresses 000 to 029 untouched, but to clearaddresses from 030 to the end of Program Memory.As an example, follow the procedure below to retain the timer/counter area andProgram Memory addresses 000 through 122:1, 2, 3...1. Press the CLR Key to bring up the initial display.2.
Press the SET, NOT, and then the RESET Key to begin the operation.3. Press the CNT Key to remove the timer/counter area from the data areasshown on the display. (Counter PVs will not be cleared.)CNT00000MEMORY CLR?HRDM4. Press 123 to specify 123 as the starting program address.B1021C2D300123MEMORY CLR?HRDMSectionProgramming Console Operations4-45.
Press the MONTR Key to clear the specified regions of memory.MONTR00000MEMORY CLREND HRDM4-4-3 Reading/Clearing Error MessagesThis operation is used to display and clear error messages. It is possible to display and clear non-fatal errors and MESSAGE instruction messages in anymode, but fatal errors can be cleared in PROGRAM mode only.RUNMONITOROKOKPROGRAMOKBefore inputting a new program, any error messages recorded in memoryshould be cleared.
It is assumed here that the causes of any of the errors forwhich error messages appear have already been taken care of. If the buzzersounds when an attempt is made to clear an error message, eliminate thecause of the error, and then clear the error message. (Refer to Section 5 TestRuns and Error Processing for troubleshooting information.)Key SequenceFollow the procedure below to display and clear messages.1, 2, 3...1.
Press the CLR Key to bring up the initial display.2. Press the FUN and then the MONTR Key to begin the operation. If there areno messages, the following display will appear:FUNMONTRERR/MSG CHK OKIf there are messages, the most serious message will be displayed when theMONTR Key is pressed. Pressing MONTR again will clear the present message and display the next most serious error message.
Continue pressingMONTR until all messages have been cleared. These are some examplesof error messages:A memory error:MONTRMEMORY ERRA system error:MONTRSYS FAIL FAL01A message (displayed with MSG(46)):MONTRMATERIAL USED UPAll messages cleared:MONTRERR/MSG CHK OK4-4-4 Buzzer OperationThis operation is used to turn on and off the buzzer that sounds when Programming Console keys are pressed. This buzzer will also sound whenever an erroroccurs during PC operation. Buzzer operation for errors is not affected by thissetting.This operation is possible in any mode.RUNOKMONITOROKPROGRAMOK103SectionProgramming Console OperationsKey Sequence4-4Follow the procedure below to turn the key-input buzzer on and off.1, 2, 3...1.
Press the CLR, SHIFT, and then the CLR Key to bring up the mode display.In this case the PC is in PROGRAM mode and the buzzer is ON.CLRSHIFTCLR<MONITOR>BZ2. Press the SHIFT and then the 1 Key to turn off the buzzer.SHIFTB1<MONITOR>The buzzer will not soundwhen “BZ” is not displayed.3. Press the SHIFT and then the 1 Key again to turn the buzzer back ON.SHIFTB1<MONITOR>BZ4-4-5 Assigning Expansion Instruction Function CodesThis operation is used to display or change the expansion instructions assignedto expansion instruction function codes.