ZEN-SOFT01-V3 ZEN Support Software_Operation Manual (986766), страница 4
Текст из файла (страница 4)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222-4-2Replacing Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232-4-3Changing Inputs, Outputs, and Settings. . . . . . . . . . . . . . . . . . . . . 242-4-4Inserting Inputs . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . 252-4-5Deleting Inputs and Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262-4-6Inserting Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272-4-7Editing Connection Lines . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 282-4-8Copying, Cutting, and Pasting Inputs and Outputs . . . . . . . . . . . . 292-4-9Deleting Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332-52-6Editing Comments . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Saving Ladder Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342-6-1Saving to File . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 342-7Printing Ladder Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352-7-1Print Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352-6-2Opening Saved Files . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 352-7-2Print Preview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362-7-3Printing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3711Section 2-1Circuit Diagrams and Ladder Programs2-1Circuit Diagrams and Ladder ProgramsIn preparation for creating ladder programs, this section describes therelationship between relay circuits and ladder programs.2-1-1Ladder ProgramsThe ZEN uses ladder programs that appear like relay circuit diagrams.Relay CircuitLadder ProgramI0SW1I1Q0SW2RyQ0Ry2-1-2Basic Configuration of ZEN Ladder ProgramsThe ZEN can execute up to 96 lines of programming, with 3 inputsand 1 output per line.
Outputs can be specified at the right ends oflines only. Inputs cannot be specified after outputs.3 inputs1st input2nd input1 output3rd inputOutput bitThe ladder program inputs and outputs are displayed on the ZENSupport Software screen as shown below.Ladder Diagram Display1st input2nd input3 inputs123rd inputOutput bit1 outputSection 2-1Circuit Diagrams and Ladder ProgramsElectrical Circuit Display1st input2nd input3rd inputOutput bit3 inputs1 outputNote On the ZEN Support Software displays bits in ZEN memory arecalled “relays,” program input bits are called “contacts,” and program output bits are called “coils.”2-1-3Memory AreasThe memory areas shown in the following table can be used in ZENladder programs.SymbolNameFunctionUsable as inputconditionUsable asoutputICPU Unit inputbitsCorrespond to CPU Unit inputterminals.YesNoXExpansion I/OUnit input bitsCorrespond to Expansion I/O Unitinput terminals.YesNoBButtonswitchesTurn ON/OFF when operationbuttons are pressed on the CPUUnit during ZEN operation.YesNoAAnalogcomparatorbitsYesPerform comparisons on a setvalue and the input values for CPUUnits with DC power supply inputs.(The analog input terminalscorrespond to I4 and I5 in 10-pointCPU Units, and to Ia and Ib in 20point CPU Units.)NoPTimer/countercomparatorbitsCompares timer/counter presentvalues and timer/counter presentvalues and settings.YesNo@Weekly timersTurns ON/OFF between specifieddays and times.YesNo∗CalendartimersTurns ON/OFF between specifieddates.YesNo13Section 2-1Circuit Diagrams and Ladder ProgramsSymbolQYNameFunctionUsable as inputconditionCan specifyCorrespond toCPU Unit output Normal output([), Set (S),terminals.Reset (R), orExpansion I/O Correspond toAlternate (A)Unit output bits Expansion I/Ooperation.Unit outputCPU Unitoutput bitsUsable asoutputYesYesYesYesterminals.MWork bitsBits that can beused in theladder program.YesYesHHolding bitsBits thatmaintain ON/OFF status atpowerinterruptionsand can be usedin the ladderprogram.YesYesTTimersTimers that can be used for ONdelay (X), OFF delay (■), Oneshotpulse (O), or Flashing pulse (F).YesYes#Holding timersTimers that maintain the presentvalue at power interruptions.
(ONdelay operation only.)YesYesCCountersIncremental or decrementalcountersYesYesDDisplay bitsDisplay character strings, month/day, time, timer/counter presentvalue, or analog conversion valueon CPU Unit LCD display.NoYes2-1-4Memory Area Differences between VersionsThe following table shows the differences between different modelsand different versions with respect to the memory areas that can beused.SymbolNameBit number (See note 1.)ZEN20C@@@-@V1ZEN10C@@@-@V1ZEN10C@@@-@ICPU Unit input bits0 to b (12 bits)0 to 5 (6 bits)0 to 5 (6 bits)QCPU Unit output bits0 to 7 (8 bits)0 to 3 (4 bits)0 to 3 (4 bits)XExpansion I/O Unit input bits (Seenote 2.)0 to b (12 bits max.)YExpansion I/O Unit output bits(See note 2.)0 to b (12 bits max.)14Section 2-2Inputting Ladder ProgramsSymbolNameBit number (See note 1.)ZEN20C@@@-@V1ZEN10C@@@-@V1ZEN10C@@@-@MWork bits0 to f (16 bits)HHolding bits0 to f (16 bits)BButton switches (See note 3.)0 to 7 (8 bits)AAnalog comparator bits (See note4.)0 to 3 (4 bits)PTimer/counter comparator bits0 to f (16 bits)TTimers0 to f (16 timers)0 to 7(8 timers)#Holding timers0 to 7 (8 timers)0 to 3(4 timers)CCounters0 to f (16 counters)0 to 7(8 counters)@Weekly timers (See note 3.)0 to f (16 timers)0 to 7(8 timers)∗Calendar timers (See note 3.)0 to f (16 timers)0 to 7(8 timers)DDisplay bits (See note 3.)0 to f (16 bits)0 to 7 (8 bits)Note2-21.Bit numbers are specified in hexadecimal (0,1,2,3....
9, a, b,...e, f).2.The bit numbers that can be used depend on the Expansion I/OUnit connection configuration.3.Button switches, weekly timers, calendar timers, and display bitscan be used only for CPU Units with an LCD screen and operationbuttons.4.Analog comparator bits can be used only for CPU Units with24 VDC power supplied.Inputting Ladder ProgramsThis section describes how to input the following simple programusing the ZEN Support Software.Example Ladder ProgramI0I1Q0Q015Inputting Ladder Programs1,2,3...1.Section 2-2If the ZEN Support Software has not been started, select Programs/Omron/ZEN Support Software/ZEN Support Softwarefrom the Windows Start Menu. Select Create a new programand press the OK Button.If the ZEN Support Software has already been started, click theNew Button on the Toolbar.
Alternatively, select File/New fromthe Menu Bar.2.The Property Settings Screen will be displayed. Enter the ZENmodel, configuration (i.e., Expansion I/O Units), project name,and comment, and then click the OK Button.3.An empty screen in ladder-view format will be displayed. Doubleclick the mouse on the position for the first input condition.Note Input positions for input and output bits can be set by usingthe mouse or cursor keys to move to the input or output position and then 1) pressing the Enter Key, 2) double-clicking, 3) clicking the Insert Input or Insert Output Button onthe Toolbar, 4) selecting Insert-Contact/Coil from the16Section 2-2Inputting Ladder ProgramsMenu Bar, 5) selecting Edit/Edit from the Menu Bar, or 6)clicking the right mouse button and selecting Edit.4.The Edit Input Dialog Box will be displayed. Specify the bit type,type of input, and bit number, and enter a comment if required.Bit name: IInput: Normally openBit number: 0Comment: CPU Unit input bit 0(Up to 31 characters can beinput.)Comment colorNote a) Parameter settings are also specified for timers andcounters.b) Parameters are set on the Edit Input Dialog Box.5.Double-click the mouse on the next input position.17Section 2-2Inputting Ladder Programs6.The Edit Input Dialog Box will be displayed again.
Specify the bittype, type of input, bit number, and enter a comment if required,just as you did in step 4.Bit name: IInput: Normally closedBit number: 1Comment: CPU Unit input bit 1(Up to 31 characters can beinput.)Comment color7.18Move the mouse to the output bit position and double-click themouse.Section 2-2Inputting Ladder Programs8.The Edit Output Dialog Box will be displayed.
Specify the bit type,function, and bit number, and enter a comment if required.Bit name: QNormal output ([), Set (S), Reset(R), or Alternate (A): Normaloutput ([)Bit number: 0Comment: CPU Unit output bit 0(Up to 31 characters can beinput.)Comment color9.Move the mouse to the input position on the next line and doubleclick.19Section 2-2Inputting Ladder Programs10. The Edit Input Dialog Box will be displayed. Specify the bit type,type of input, and bit number, and enter a comment if required,just as you did in step 4.Bit name: QInput type: Normally openBit number: 0Comment: CPU Unit output bit 0(Up to 31 characters can beinput.)Comment colorNote The comment will be automatically displayed for bit typesand bit numbers that have comments.11.