Omron CPM1A operation manual Type Message Meaning and appropriate response, Circuit ERR

Page 127

Programming Errors

Section 5-5

 

 

 

Three levels of program checking are available. The desired level must be des- ignated to indicate the type of errors that are to be detected. The following table provides the error types, displays, and explanations of all syntax errors. Check level 0 checks for type A, B, and C errors; check level 1, for type A and B errors; and check level 2, for type A errors only.

Type

Message

Meaning and appropriate response

 

 

 

A

?????

The program has been damaged, creating a non-existent

 

 

function code. Re-enter the program.

 

CIRCUIT ERR

The number of logic blocks and logic block instructions

 

 

does not agree, i.e., either LD or LD NOT has been used

 

 

to start a logic block whose execution condition has not

 

 

been used by another instruction, or a logic block

 

 

instruction has been used that does not have the required

 

 

number of logic blocks. Check your program.

 

 

 

 

OPERAND

A constant entered for the instruction is not within defined

 

ERR

values. Change the constant so that it lies within the

 

 

proper range.

 

 

 

 

NO END

There is no END(01) in the program. Write END(01) at the

 

INSTR

final address in the program.

 

LOCN ERR

An instruction is in the wrong place in the program. Check

 

 

instruction requirements and correct the program.

 

 

 

 

JME UNDEFD

A JME(05) instruction is missing for a JMP(04) instruction.

 

 

Correct the jump number or insert the proper JME(05)

 

 

instruction.

 

 

 

 

DUPL

The same jump number or subroutine number has been

 

 

used twice. Correct the program so that the same number

 

 

is only used once for each.

 

 

 

 

SBN UNDEFD

The SBS(91) instruction has been programmed for a

 

 

subroutine number that does not exist. Correct the

 

 

subroutine number or program the required subroutine.

 

 

 

 

STEP ERR

STEP(08) with a section number and STEP(08) without a

 

 

section number have been used incorrectly. Check

 

 

STEP(08) programming requirements and correct the

 

 

program.

 

 

 

B

IL-ILC ERR

IL(02) and ILC(03) are not used in pairs. Correct the

 

 

program so that each IL(02) has a unique ILC(03).

 

 

Although this error message will appear if more than one

 

 

IL(02) is used with the same ILC(03), the program will

 

 

executed as written. Make sure your program is written as

 

 

desired before proceeding.

 

 

 

 

JMP-JME ERR

JMP(04) and JME(05) are not used in pairs. Make sure

 

 

your program is written as desired before proceeding.

 

SBN-RET ERR

If the displayed address is that of SBN(92), two different

 

 

subroutines have been defined with the same subroutine

 

 

number. Change one of the subroutine numbers or delete

 

 

one of the subroutines. If the displayed address is that of

 

 

RET(93), RET(93) has not been used properly. Check

 

 

requirements for RET(93) and correct the program.

 

 

 

C

COIL DUPL

The same bit is being controlled (i.e., turned ON and/or

 

 

OFF) by more than one instruction (e.g., OUT, OUT NOT,

 

 

DIFU(13), DIFD(14), KEEP(11), SFT(10)). Although this is

 

 

allowed for certain instructions, check instruction

 

 

requirements to confirm that the program is correct or

 

 

rewrite the program so that each bit is controlled by only

 

 

one instruction.

 

JMP UNDEFD

JME(05) has been used with no JMP(04) with the same

 

 

jump number. Add a JMP(04) with the same number or

 

 

delete the JME(05) that is not being used.

 

 

 

 

SBS UNDEFD

A subroutine exists that is not called by SBS(91). Program

 

 

a subroutine call in the proper place, or delete the

 

 

subroutine if it is not required.

 

 

 

116

Image 127
Contents CPM1A CPM1A Programmable Controllers  Omron Omron Product ReferencesTable of Contents Appendices About this Manual Precautions Safety Precautions General PrecautionsIntended Audience Application Precautions Operating Environment PrecautionsXiv Application Precautions Backup method Data Conformance to EC Directives EC DirectivesApplicable Directives ConceptsXviii Section 1 CPM1A Features CPM1A Features and FunctionsSection Programming is Possible Using the PTNT Link Communications CompoBus/S I/O Link Units Standard Peripheral DevicesUnit Relay output Transistor output Sink type Source type 2 I/O Terminal and IR Bit AllocationCPU Units Expansion I/O Units3 CPM1A Functions Control Corresponding IR word Setting range BCDSet value Word Word 001 or later PC model Input bits Response time PC model Input bits Min. input pulse width Mode FunctionPulse output single-phase output CompoBus/S Slave Functions CPM1A-SRT21 Temperature Sensor Unit FunctionsCPM1A CPU Units System ConfigurationCPU Unit and Expansion I/O Unit Configuration CPU Unit and Expansion UnitUnit Max. number Inputs Outputs Model Units Expansion I/O UnitsExpansion Units Host Link CommunicationsProgrammable Terminal Connecting to aAdapters and Cables One-to-one PC Link CommunicationsName Usage Model number Peripheral Device Connections Name SpecificationsOne-to-one NT Link Communications CompoBus/S I/O Link ConnectionsName Model number Sysmac Support Software SYSMAC-CPT SupportPrevious specifications New specifications Relevant pages Revised SpecificationsUnit Specifications and Components General Specifications SpecificationsCPM1A-10CDR-j CPM1A-20CDR-j CPM1A-30CDR-j CPM1A-40CDR-j Characteristics Memory Backup Specification 3 I/O SpecificationsCPU Unit Input Specifications Increment Mode 5 kHz MaxExpansion I/O Unit Input Specifications Relay Output CPU Unit and Expansion I/O Unit Output Specifications10CDT1-D 20CDT1-D 30CDT1-D 40CDT1-D 20EDT1 8ET1 Transistor Output Sink TypeTransistor Output Source Type 20EDT 8ETRS-232C Adapter Specifications Communications Adapter SpecificationsRS-422 Adapter Specifications CPM1A-40CDR-j/40CDT-D/40CDT1-D 40 I/O Terminals Unit ComponentsCPU Unit Components CPM1A-10CDR-j/10CDT-D/10CDT1-D 10 I/O TerminalsFatal error Input indicators Indicator Status MeaningCPU Unit Component Descriptions Expansion I/O Unit with 8 Output Terminals Expansion I/O Unit ComponentsExpansion I/O Unit with 20 I/O Terminals Expansion I/O Unit with 8 Input TerminalsAnalog I/O Unit Components Temperature Sensor Unit ComponentsSet value Platinum resistance Range C Range F CPM1A-TS001/002CPM1A-TS101/102 Set value Thermocouple Range C Range FCompoBus/S I/O Link Unit Components Pins FunctionRS-232C Adapter Communications Adapter ComponentsRS-422 Adapter Installation and Wiring 4 CPM1A Power Interruptions Design PrecautionsPower Supply Wiring Power Supply VoltageAutomatic Restart Selecting an Installation SiteInstallation Site Conditions Momentary Power Failure DetectionOverheating Panel/Cabinet InstallationCorrect Installing the CPM1A2 CPM1A Installation 1 CPM1A OrientationDIN Track Installation Installation Connecting an Expansion I/O UnitRemoval Section Hanging Ducts Wiring and ConnectionsGeneral Precautions for Wiring Line NoiseGrounding Ground WiringFloor Ducts ConduitsTo 240-VAC Power Supply Crimp ConnectorsVDC Power Supply Input Configuration Input WiringCPM1A-8ED Outputs Input Wiring ExampleInput Devices Device Circuit diagramInductive Loads Relay Output Wiring Output WiringOutput Configurations CPM1A-8ER Transistor Output Wiring Sink Type CPM1A-8ET CPM1A-40CDT1-D Transistor Output Wiring Source TypeOutput Short Protection Polarity of Power Supply for the LoadFuse Insertion Inrush Current ConsiderationsHost Link Connections Peripheral Device ConnectionOne-to-one Host Link Connection One-to-N Host Link Connection RDB SDB RDA SDA One-to-one PC Link Connections One-to-one NT Link Connections C200HX/HG/HE PC Using Peripheral Devices 2 CPM1A Restrictions and Precautions SSS System SetupSupport Software Capabilities Online Editing Offline OperationsPrint Group Name Description Go ToCopy FillChange File Time ChartPC Setup Group Name Description Utility Data Area ListsOnline Operations Offline and Online Operations C200H-PRO27-E Using a Programming ConsoleCompatible Programming Consoles CQM1-PRO01-EContrast Control Mode SwitchBuzzer Volume Different KeysRUN Mode Changing the CPM1A’s Mode with the Mode SwitchProgram Mode Monitor ModePanel Installation Connecting the Programming ConsolePreparation for Operation Entering the PasswordProgram Password Program BZ Overview Programming Console OperationsAll Clear Clearing MemoryPartial Clear Buzzer Operation Reading/Clearing Error MessagesKey Sequence OFF Entering or Editing Programs Writing a Word Address Writing Hexadecimal, BCD Constant#FFF6 Writing an Unsigned Decimal NumberWriting a Word Address DM Bit Operand Search Instruction SearchDeletion Inserting and Deleting InstructionsInsertion 00207INSERT END NotCorrected Program Checking the ProgramDelete END 00178CIRCUIT ERRWord Monitor 11 Bit, Digit, Word MonitorBit Monitor ContChannel LR Multiple Address MonitoringCLR Channel LR CLR OFF OFF OFF Differentiation MonitorBinary Monitor @OFF OFF OFFThree-word Monitor Unsigned Decimal Monitor Signed Decimal MonitorThree-word Data Modification Changing Timer, Counter SV3CH CHG? Inputting a New SV Constant Hexadecimal, BCD Data ModificationIncrementing and Decrementing a Constant Pres VAL? Binary Data ModificationMontr D0000 Montr Signed Decimal Data ModificationUnsigned Decimal Data Modification Force Set, Reset00000FORCE RELE? Clear Force Set/ResetHex-ASCII Display Change On onPreparatory Operations Program PasswordProgramming Example Displaying the Cycle Time00000MEMORY CLR? HR CNT DM Montr END HR CNT DM Example Program Programming ProceduresWrite NOP Programming ProceduresInputting the One-second Timer Inputting the Self-holding BitInputting the 10-count Counter Inputting the Two-second TimerInputting the Flicker Output LD notInputting the END001 Instruction Monitor BZ Test Run in Monitor ModeTest Runs and Error Processing Points to check Initial System Checks and Test Run Procedure2 CPM1A Test Run Procedure Initial System ChecksFlash Memory Precautions CPM1A Cycle Error Message FAL No Meaning and appropriate response Non-fatal Errors Fatal Errors Self-diagnosis FunctionsError Flags Identifying ErrorsUser-defined Errors Error MessagesMessage MSG46 Programming Console Operation ErrorsProgramming Errors FALS07Circuit ERR Type Message Meaning and appropriate responseMain Check Troubleshooting FlowchartsPower Supply Check Follow the Memory Error Fatal Error CheckNon-fatal Error Check 121 122 Environmental Conditions Check Memory Error Check Inspection items Details Criteria Remarks Maintenance InspectionsPower supply Allowable voltage fluctuation range Inspection ItemsMeasurement Devices Handling PrecautionsNecessary Tools for Inspection Standard ToolsExpansion Memory Unit Button PrecautionsOverview Memory AreasSpecifications Specifications and NomenclatureNomenclature Mounting Eeprom LED IndicatorHandling Mounting/Removing EepromCQM1, and SRM1 PCs Peripheral Port Communications SettingsPC Connections CPM1, CPM1A, CPM2AUploading Programs DisconnectingDownloading Programs Operation Procedure134 135 Expansion I/O Units Standard ModelsExpansion Units CPU UnitsCommunications Adapters Temperature Sensor UnitsDescription Specifications Model number CompoBus/S I/O Link UnitPeripheral Devices Name Appearance Model Number SpecificationsCPM1A-30CDR-j/30CDT-D/30CDT1-D CPU Unit DimensionsCPM1A-10CDR-j/10CDT-D/10CDT1-D CPU Unit CPM1A-20CDR-j/20CDT-D/20CDT1-D CPU UnitCPM1A-20EDjExpansion I/O Unit CPM1A-40CDR-j/40CDT-D/40CDT1-D CPU UnitCPM1A-8jjjExpansion I/O Unit CPM1A-MAD01 Analog I/O Unit CPM1A-TSjjjTemperature Sensor UnitCPM1A-SRT21 CompoBus/S I/O Link Unit CPM1-CIF11 RS-422 Adapter CPM1-CIF01 RS-232C AdapterAppendix B Dimensions with Peripheral Devices AttachedBCD ACPAscii AUTOEXEC.BATBlock Bit designatorBit number Bit-control instructionCTS CONFIG.SYSData link area DefaultDIP switch Data linkEprom EepromFCS Install DelayInitialization error Input signalLED JISLSS OFF NotPCB RAM PromRAS SCP ROMSSS System error message Syntax errorSystem configuration System errorWDT Numbers Index 165 166 167 Revision History Revision code Date Revised content
Related manuals
Manual 6 pages 62.26 Kb