Cat.No. W318–E1–4Master Control UnitsCompoBus/SSRM1(-V2)OPERATION MANUAL
5Application Precautionsxiv• Use the Units only with the power supplies and voltages specified in the opera-tion manuals.• Take measures to stabilize
!6-3SectionHandling90Caution If the PC is in RUN or MONITOR mode when downloading is started, it will auto-matically switch to PROGRAM mode and operat
6-3SectionHandling91Operation ProcedureStartYesNoChange the mode of the PC to PRO-GRAM mode.Mount the EEPROM to theCPM1-EMU01-V1.After 2 or 3 s, check
93Appendix AStandard ModelsThere are three possible power supply configurations.• Network Power Supply:Power is provided from a single source over a n
Appendix AStandard Models94Connector TerminalsModel SpecificationsSRT2-VID08S 8 transistor inputs, sensor cable connector, multiple power supply, NPNS
Appendix AStandard Models95CPM1A/CPM2A I/O Link UnitModel SpecificationsCPM1A-SRT21 8 inputs, 8 outputsExchanges data with CPM1A/CPM2A CPU Unit.Note A
Appendix AStandard Models96Link Adapter for IBM PC/AT-compatible ComputersModel Name Specifications3G2A9-AL004-E Link Adapter One RS-232C connector, o
97Appendix BExternal DimensionsThe external dimensions of the SRM1 are as shown in the following diagram.(Unit: mm)15304036608485.510011055When mounti
99Glossary*DM Indirectly addressed DM area. See indirect address and DM area.1:1 PC Link A link created between two PCs to create common data in their
Glossary100bit designator An operand that is used to designate the bit or bits of a word to be used by aninstruction.bit number A number that indicate
Glossary101Completion Flag A flag used with a timer or counter that turns ON when the timer has timed out orthe counter has reached its set value.cond
!!!5Application PrecautionsxvCaution The following precautions are necessary to ensure the general safety of the sys-tem. Always heed these precaution
Glossary102data link An automatic data transmission operation that allows PCs or Units within PC topass data back and forth via common data areas.data
Glossary103DM area A data area used to hold only word data. Words in the DM area cannot be ac-cessed bit by bit.DM word A word in the DM area.download
Glossary104FAL error An error generated from the user program by execution of an FAL(06) instruc-tion.FALS error An error generated from the user prog
Glossary105I/O delay The delay in time from when a signal is sent to an output to when the status of theoutput is actually in effect or the delay in t
Glossary106instruction block A group of instructions that is logically related in a ladder-diagram program. Alogic block includes all of the instructi
Glossary107load The processes of copying data either from an external device or from a storagearea to an active portion of the system such as a displa
Glossary108normal condition See normally open condition.normally closed condition A condition that produces an ON execution condition when the bit ass
Glossary109output device An external device that receives signals from the PC System.output point The point at which an output leaves the PC System. O
Glossary110programmed alarm An alarm given as a result of execution of an instruction designed to generate thealarm in the program, as opposed to one
Glossary111retrieve The processes of copying data either from an external device or from a storagearea to an active portion of the system such as a di
1SECTION 1IntroductionThis section describes the SRM1’s special features and functions and shows the possible system configurations.1-1 SRM1 Features
Glossary112set The process of turning a bit or signal ON.set value The value from which a decrementing counter starts counting down or to whichan incr
Glossary113SYSMAC Support Software A software package installed on a IBM PC/AT or compatible computer to func-tion as a Programming Device.system conf
Glossary114uploading The process of transferring a program or data from a lower-level or slave com-puter to a higher-level or host computer. If a Prog
115IndexA–Baccessibility, 20allocationsdata areas, 9I/O, 8ASCII, converting displays, Programming Console, 57binary data, modifying, Programming Conso
Index116Hhexadecimal data, converting displays, Programming Console,57high-speed communications mode, 6host computer, connecting, 26Host Link, connect
Index117Programmable Terminal. See PTprogrammingchecks for syntax, Programming Console, 47, 71–72errors, 75inserting and deleting instructions, Progra
119Revision HistoryA manual revision code appears as a suffix to the catalog number on the front cover of the manual.Cat. No. W318-E1-4Revision codeTh
1-1SectionSRM1 Features and Functions21-1 SRM1 Features and Functions1-1-1 FeaturesThe SRM1 is a special CompoBus/S controller that provides remote I/
1-2SectionSystem Configuration3The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small-size or micro PCs. Using the CPM1-EMU01-V1, simpl
1-2SectionSystem Configuration41-2-2 SRM1 ModelsModel RS-232C port PT programming functionsSRM1-C01-V2 No NoSRM1-C02-V2 Yes YesThe following table com
1-2SectionSystem Configuration51-2-3 Peripheral ConnectionsThe following peripherals can be connected to the SRM1(-V2) PCs. Refer toAppendix A Standar
1-2SectionSystem Configuration6Slave SRT1 SeriesHigh-speedcommunications onlySRT2 SeriesHigh-speed or long-distancecommunicationsBit Chain Terminal No
1-3SectionProcedures From System Design to Test Operation7• Instructions will be displayed that are not supported by the SRM1. Do not usethese instruc
1-4SectionI/O and Data Area Allocations81-4 I/O and Data Area Allocations1-4-1 I/O AllocationsThe input bits of SRM1 words 000 to 007, and the output
CompoBus/SSRM1(-V2) Master Control UnitsOperation ManualRevised May 2000
1-4SectionI/O and Data Area Allocations9Analog Terminals are allocated from 16 to 64 bits per Terminals as shown in thefollowing table. If an allocati
11SECTION 2Specifications and ComponentsThis section provides the technical specifications of the SRM1(-V2) and describes its main components.2-1 Spec
2-1SectionSpecifications122-1 Specifications2-1-1 General SpecificationsItem SRM1-C01/C02-V2Supply voltage 24 VDCAllowable supply voltage 20.4 to 26.4
2-1SectionSpecifications132-1-2 CharacteristicsItem SRM1-C01/C02-V2Control method Stored program methodI/O control method Cyclic scan methodProgrammin
2-1SectionSpecifications14Backup Time vs. Temperature A lithium battery in the CPU Unit is used to back up the contents in the user pro-gram area, the
2-2SectionUnit Components152-2 Unit ComponentsSRM1-C01-V21. Terminal block2. Peripheral port4. CPU Unit status indicators5. CompoBus/S communications
2-2SectionUnit Components164, 5, 6) Indicators There are three types of LED indicators: CPU Unit status indicators, CompoBus/S communications status i
17SECTION 3Installation and WiringThis section explains how to install and wire the SRM1(-V2). Be sure to follow the instructions contained here conce
3-1SectionSystem Design183-1 System DesignTake the points covered in this section into consideration when designing thesystem.3-1-1 Power Supply Wirin
3-2SectionSelecting an Installation Site193-2 Selecting an Installation SiteThe SRM1 is resistant to harsh conditions and highly reliable, but install
!!!vNotice:OMRON products are manufactured for use according to proper procedures by a qualified operatorand only for the purposes described in this m
3-3SectionInstalling the SRM120Accessibility Ensure that the SRM1 can be accessed for normal operation and maintenance.• Provide a clear path to the S
3-4SectionWiring and Connections21InstallationLower the SRM1 so that the notch on the back of the Unit catches the top of theDIN Track. Push the Unit
3-4SectionWiring and Connections22Floor DuctsLeave at least 200 mm between the wiring and the top of the duct, as shown inthe following diagram.200 mm
3-4SectionWiring and Connections233-4-2 Power Supply WiringApplicable Power Supply Use a power supply that conforms to specifications of at least 24 V
3-4SectionWiring and Connections24Wiring Connections Wire the CompoBus/S transmission lines as shown in the following diagram.BDLBDHBD HBD LSlave term
3-4SectionWiring and Connections25(Recommended Cables)XW2Z-200T: 2 mXW2Z-500T: 5 m*Host Link or NT Link with an OMRON PT, or 1:1 PC Link with a SYS-MA
3-4SectionWiring and Connections26123456–RDSDRSCS–––SG789123456789–SDRDRSCS––SG9RS-232C PortPin No.Signal–Pin No. SignalNT-AL001HoodRibbon line(red)Ri
3-4SectionWiring and Connections27The SRM1 can be connected to an IBM PC/AT or compatible computer or a Pro-grammable Terminal, as shown in the follow
3-4SectionWiring and Connections28RS-232C Port ConnectionSRM1WX2Z-200TWX2Z-500TIBM PC/AT orcompatiblecomputerOMRON PTNote For details regarding RS-232
3-4SectionWiring and Connections29One-to-N Host Link Cables Up to 32 SRM1s can be connected to the computer via the peripheral port orRS-232C port.IBM
TABLE OF CONTENTSviiPRECAUTIONS xi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii. . . . . . . . . . . . . .
3-6SectionOne-to-N NT Link303-5 One-to-one NT LinkHigh-speed communications can be achieved by providing a direct accessthrough the use of the 1:1 NT
3-7SectionOne-to-one PC Link Connections31The 1:N NT Link is possible only with the SRM1-C02-V2 PCs, which have anRS-232C port.Cable Connections The S
3-7SectionOne-to-one PC Link Connections323-7-2 Restrictions• Only the SRM1-C02-V2, which has an RS-232C port, can be used for a 1:1 PCLink.• The only
33SECTION 4Using the Programming ConsoleThis section explains how to use the Programming Console. Be sure to read this section carefully if you are no
4-1SectionBasic Operations344-1 Basic OperationsThis section provides information on connecting and using a Programming Con-sole. Refer to 5-5 Program
4-1SectionBasic Operations354-1-2 Connecting the Programming ConsoleConnect the Programming Console’s connecting cable to the SRM1’s peripher-al port,
!4-2SectionProgramming Console Operations36• The SRM1 will enter RUN mode automatically if a Peripheral Device such as aProgramming Console isn’t conn
4-2SectionProgramming Console Operations37Name FunctionReading a programmemory addressReads the contents of the Program Memory. Displays the status of
!4-2SectionProgramming Console Operations382. Press the SET, NOT, and then the RESET Key to begin the operation.SETNOTRESET00000MEMORY CLR? HR CN
!4-2SectionProgramming Console Operations39Key Sequence Follow the procedure below to display and clear messages.1, 2, 3... 1. Press the CLR Key to br
TABLE OF CONTENTSviiiAppendicesA Standard Models 93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-2SectionProgramming Console Operations40SHIFTB1<MONITOR>The buzzer will not soundwhen “BZ” is not displayed.3. Press the SHIFT and then the 1
4-2SectionProgramming Console Operations414. To change the function code assignment, press the CHG Key.CHGINST TBL CHG? FUN061:INI~????5. Use the Up
4-2SectionProgramming Console Operations42The ON/OFF status of any displayed bit will be shown if the PC is in RUN orMONITOR mode.1, 2, 3... 1. Press
4-2SectionProgramming Console Operations434-2-10 Inserting and Deleting InstructionsThis operation is used to insert or delete instructions from the p
4-2SectionProgramming Console Operations44After completing the insertion and deletion procedures, use the Up and DownArrow Keys to scroll through the
4-2SectionProgramming Console Operations455. Press the WRITE Key to write the instruction to Program Memory. The nextprogram address will be displayed
4-2SectionProgramming Console Operations46• Writing a Word Address11. Input the second operand.*EMLRB1A000202 MOV DATA B LR 10Press the WRIT
4-2SectionProgramming Console Operations4716. Restore the hexadecimal display.SHIFT TR00203 ADB DATA B#FFF6Note If an input is made outside of the per
4-2SectionProgramming Console Operations48Program Read then Monitor When a program address is being displayed, the status of the bit or word in thatad
4-2SectionProgramming Console Operations492. Input the address of the first bit or word and press the MONTR Key.TIMMONTR T000 01003. Repeat step 2 up
ixAbout this Manual:The SRM1 is a special CompoBus/S controller that provides remote I/O with greatly reduced wiring. Adistributed I/O system with up
4-2SectionProgramming Console Operations503. The buzzer will sound when the specified bit goes from off to on (for up-dif-ferentiation) or from on to
4-2SectionProgramming Console Operations511, 2, 3... 1. Monitor the status of the first of the three words according to the proceduredescribed in 4-2-
4-2SectionProgramming Console Operations521, 2, 3... 1. Monitor the word that is to be used for decimal monitor without sign. Duringmultiple address m
4-2SectionProgramming Console Operations53RUN MONITOR PROGRAMNo OK OKThe timer or counter SV can be changed either by inputting a new value orby incre
!!4-2SectionProgramming Console Operations54RUN MONITOR PROGRAMNo OK OKWords SR 253 to SR 255 cannot be changed.Caution Before changing the contents o
!4-2SectionProgramming Console Operations553. Three sets of keys are used to move the cursor and change bit status:a) Use the Up and Down Arrow Keys t
!!4-2SectionProgramming Console Operations564-2-24 Unsigned Decimal Data ModificationThis operation is used to change the decimal value of a word bein
4-2SectionProgramming Console Operations572. Press the SET Key to force the bit ON or press the RESET Key to force thebit OFF.SET0000020000 ON^ ONT
4-2SectionProgramming Console Operations584-2-28 Displaying the Cycle TimeThis operation is used to display the current average cycle time (scan time)
59SECTION 5Test Runs and Error ProcessingThis section describes procedures for test runs of SRM1 operation, self-diagnosis functions, and error proces
xiPRECAUTIONSThis section provides general precautions for using the SRM1 and related devices.The information contained in this section is important f
5-1SectionStartup Procedure605-1 Startup Procedure5-1-1 Flowchart for Configuring and Checking the SystemCheck the following items when configuring th
5-1SectionStartup Procedure61f) Use the Programming Console to set the SRM1 to PROGRAM mode.g) Use the Programming Console to set the maximum number o
!5-2SectionEntering the Program623. If one of the following three operations is performed in MONITOR or RUNmode, a “cycle time over” warning will not
5-2SectionEntering the Program63The HR Key is used to specify both the AR and HR Areas, the CNT Key is used tospecify the entire timer/counter area, a
5-2SectionEntering the Program645-2-3 Ladder Programming ExampleIn this example, the SRM1’s distributed I/O is used to control a lift (e.g., a dumbwai
5-2SectionEntering the Program65Explanation of Operations Initially, the lift is on the first floor (where the kitchen is located) and LS1 is ON.The d
5-2SectionEntering the Program66I/O Allocation Bit addresses are assigned as follows for inputs and outputs.Input OutputWd Wd Wd Wd
5-2SectionEntering the Program67Ladder Program Following the sequence program and I/O allocation, create the ladder program.X100900END(01)001030000100
5-2SectionEntering the Program68Program reference DataInstructionStep(5)00015 LD 0090000016 AND 0010200017 AND NOT 0110200018 OUT 01103(6)00019 LD 001
5-2SectionEntering the Program696. Input AND, NOT and bit address 00103.ANDNOTB1A0D300002AND NOT 001037. Press the WRITE Key to write the instructi
!!!!3Safety Precautionsxii1 Intended AudienceThis manual is intended for the following personnel, who must also have knowl-edge of electrical systems
5-2SectionEntering the Program70(6) 00019LDB1A0B1WRITE00020OR9A0B1WRITE00021ANDNOTD3WRITE00022OUT9A0B1WRITE(7) 00023LD9A0B1WRITE00024ANDNOTB1A0A0WRITE
5-3SectionTest Run715-2-5 Checking the ProgramThis operation checks for programming errors and displays the program ad-dress and error when errors are
5-4SectionError Processing725-4 Error ProcessingThe SRM1 is equipped with a variety of self-diagnosis functions to help identifyand correct errors tha
5-4SectionError Processing73All SRM1 indicators will be OFF for the power interruption error. For all other fataloperating errors, the POWER and ERR/A
5-4SectionError Processing74FALS(07) is an instruction that causes a fatal error. The following will occur whenan FALS(07) instruction is executed:1,
!5-6SectionProgramming Errors75Caution Check to be sure that no equipment is affected when turning the SRM1’s powersupply on or off, or when entering
5-6SectionProgramming Errors76Type Message Meaning and appropriate responseA????? The program has been damaged, creating a non-existentfunction code.
5-7SectionTroubleshooting Flowcharts775-7 Troubleshooting FlowchartsUse the following flowcharts to troubleshoot errors that occur during operation.Ma
5-7SectionTroubleshooting Flowcharts78• Are the lengths of the main line and the branch lines, and the total length, allwithin the prescribed limits?•
5-7SectionTroubleshooting Flowcharts79Fatal Error CheckIdentify the error, eliminate itscause, and clear the error.Is the ERR indi-cator lit?Determine
!!!!!5Application PrecautionsxiiiWARNING When transferring programs to other nodes, or when making changes to I/Omemory, confirm the safety of the des
5-7SectionTroubleshooting Flowcharts80Non-fatal Error CheckIdentify the error, eliminate itscause, and clear the error.ERR indicator flashing.Is a non
5-7SectionTroubleshooting Flowcharts81CompoBus/S Transmission Error CheckIs the RD indica-tor lit?EndERC indicator lit.Check the transmission lines fo
5-7SectionTroubleshooting Flowcharts82Environmental Conditions CheckConsider using afan or cooler.Is the ambienttemperaturebelow 55°C?Is the ambientte
83SECTION 6Expansion Memory UnitThis section describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling precautions and pro-ced
6-1SectionOverview846-1 OverviewThe CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small-size or micro PCs. Using the CPM1-EMU01-V1, simp
6-2SectionSpecifications and Nomenclature85• Before touching the EEPROM or the CPM1-EMU01-V1, first touch a groundedmetallic object to discharge any s
!6-3SectionHandling86CONNECT(green)ERR (red) MeaningOFF OFF Not connected to PC (power supply OFF).ON OFF Connected to a recognized PC.Blinking OFF Up
!!6-3SectionHandling87Lift up the lock lever and detach the EEPROM.6-3-2 PC ConnectionsCaution Mount the EEPROM to the CPM1-EMU01-V1 before connecting
6-3SectionHandling88Baud rate: 9,600 bpsPress the levers on the top and bottom of the connector inwards to unlock theconnector and pull out as shown i
6-3SectionHandling89Operation ProcedureStartYesNoConnect the CPM1-EMU01-V1 to thePC’s peripheral port.Mount the EEPROM to theCPM1-EMU01-V1.After 2 or
Commenti su questo manuale