ZEN Programmable Relay_Operation Manual (W385-e1-3) (986765), страница 8
Текст из файла (страница 8)
Use the Down Button todisplay the lines.Displayed when there are more lines. Use the Up Button todisplay the lines.N.C. inputN.O. inputPositions for Writing Inputs, Outputs, and Connection LinesInput write positionsBit type/bit numberInput symbol (N.O./N.C) or connection lineBit/timer/counter/output write positionsConnection line write positions43Creating Ladder Programs3-3-3-1Section 3-3Writing an Input for I0▼▼3-3-3-2Press the OK Button to display the initialwrite setting (N.O input I0) and move theflashing cursor to the bit type I position. Usethe Up/Down Buttons to select the bit type.Use the Right Button to move the flashingcursor to the 0 position and then use the Up/Down Buttons to select the bit address.Press the OK Button twice to complete thewrite operation for input I0. The highlightedcursor will move the next input position.Writing Serial Input I1Press the OK Button to display the N.O.
inputand input I0 again.▼Press the ALT Button to switch to a N.C.input.▼▼▼(Press the ALT Button again to switch backto a N.O. input.)Use the Right Button to move the flashingcursor to the bit address position and use theUp Button to change the bit address to 1.Press the OK Button to move the highlightedcursor to the next input position. A connection will automatically be created betweeninput I0 and the next input.Writing InputsInput Symbol ConfigurationBit typeBit numberInput symbols (N.C.
input.)44N.O. input;Creating Ladder Programs■Section 3-3Memory AreasSymbolNameBit type and numberICPU Unit input bitsI0 to I 5 (6 points)QCPU Unit output bitsQ0 to Q3 (4 points)XExpansion I/O Unit inputbitsX0 to Xb (12 points) (See note 1.)YExpansion I/O Unit outputbitsY0 to Yb (12 points) (See note 1.)MWork bitsM0 to Mf (16 points)HHolding bitsH0 to Hf (16 points)BButton switchesB0 to B7 (8 points) (See note 2.)Note■1.Can be used only when Expansion I/OUnits are connected.2.Can be used only when LCD-type CPUUnits are used.Timers, Counters, and Analog ComparatorsSymbolNameBit type and numberTTimersT0 to T7 (8 timers)#Holding timers#0 to #3 (4 timers)@Weekly timers@0 to @7 (8 timers) (See note1.)*Calendar timers*0 to *7 (8 timers) (See note1.)CCountersC0 to C7 (8 counter)AAnalog comparatorsA0 to A3 (4 comparators)(See note 2.)PComparatorsP0 to Pf (16 comparators)Note▼1.Can be used only with CPU Units withcalendar and clock functions.2.Can be used only with CPU Units withDC power supply.Press the ALT Button to switch to connectionline write mode.
The left arrow cursor willflash.Press the Right Button to draw a connectionline to the output.▼45Creating Ladder ProgramsSection 3-3Writing OutputsOutput ConfigurationBit numberBit typeAdditional functions■Memory AreasSymbolNameBit type and numberQCPU Unit output bitsQ0 to Q3 (4 outputs)YExpansion I/O Unit outputbitsY0 to Yb (12 outputs) (See note 1.)MWork bitsM0 to Mf (16 bits)HHolding bitsH0 to Hf (16 bits)Note Can be used only when Expansion I/O Units are connected.■Additional Functions for Output BitsSymbolName[Normal operationSSet operationRReset operationAAlternate operationAdditional Functions for Bit Outputs[: Normal outputS: SetR: ResetA: AlternateI0I1I2I3Q0Q1Q2Q3Q0 turns ON and OFFwhen execution condition I0 turns ON andOFF.Q1 turns ON and stays Q2 is forced OFFwhen execution condiON when executioncondition I1 turns ON tion I2 turns ON.once.46Q3 alternates betweenOn and OFF each timeexecution condition I3turns ON.Creating Ladder ProgramsSection 3-3Timers, Holding Timers, Counters, and Display Output ConfigurationsTimer/counter/display numberTimer/counter/display typeTimer/counter output type■Timers, Counters, and Display BitsSymbolNameType and numberTTimerT0 to T7 (8 timers)#Holding timer #0 to #3 (4 timers)CCounterC0 to C7 (8 counters)Output typeT: TriggerR: ResetC: CountD: Count directionR: ResetDDisplay bitD0 to D7 (8 bits)(See note.)DNote For LCD-type CPU Units only.3-3-3-3Writing an Output to Q0▼▼Press the Right Button again to draw a lineto the output and move the highlighted cursorto the output write position.Press the OK Button to display the initialvalue for the output (normal output/Q0) andmove the flashing cursor to the bit type Qposition.Use the Up/Down Buttons to select the bittype.
Use the Right/Left Buttons to move theflashing cursor and use the Up/Down Buttons to select additional functions or selectthe bit address.▼3-3-3-4Press the OK Button twice to complete writing output Q0. The highlighted cursor willmove to the input at the beginning of the nextline.Writing a Parallel Input for Q0▼Press the OK Button to display input I0 andmove the flashing cursor to the bit type Iposition.47Creating Ladder ProgramsSection 3-3Press the Up Button to select Q (a CPU Unitoutput bit).▼▼3-3-3-5Press the OK Button twice to complete writing the parallel input for Q0.
The highlightedcursor will move to the next input.Drawing Connection Lines for OR CircuitsDrawing Connection LinesHorizontal connection linesVertical connection linesIntersecting linesPress the ALT Button when the highlightedcursor is at the input write position to changethe cursor to a left flashing arrow and enableconnection lines to be drawn. Move the leftarrow the position for drawing the connectionline and press the Up, Down, Left, andRight Buttons to draw connection lines vertically and horizontally.The connection line write mode will be leftwhen the beginning or end of the line hasbeen reached or if the OK and ESC Buttonsare pressed.Press the ALT Button to switch to connectionline write mode.▼▼▼Press the Up Button to simultaneously drawa connection line both vertically and horizontally.
The cross (+) indicates an intersection.Press the OK Button to complete writing theconnection line and change to a highlightedflashing cursor.Press the ESC Button to complete the writeoperation.Press the ESC Button again to return to theMenu Screen.48Creating Ladder ProgramsSection 3-3Note 1.Do not input a program where the connection lines doubleback on themselves. The program will not operate properly ifsuch lines are drawn.2.Always press the ESC Button and return to the Menu Screenafter creating a program.
If you do not press the ESC Buttonand return to the Menu Screen before turning OFF the power,the program and settings will be deleted.3.Do not use the same output bit address for more than one output from the program. The resulting operation may not be asexpected.I0I1[Q0[Q0Here, the final status of Q0will be controlled by I1, notby I0.49Confirming Ladder Program Operation3-4Section 3-4Confirming Ladder Program OperationAlways check the ladder program operationbefore using the ZEN.Note1.Before turning ON the power, check thatthe power supply, input circuits, and output circuits have been wired correctly.2.For systems with loads connected to theoutputs that may cause serious injury ordamage to equipment if operation is incorrect, remove the output wiring beforeperforming trial operation.3.Always ensure safety in the vicinity before turning ON the power or switchingoperating modes.Procedure for Checking OperationChecks Before Turning ON the Power1.Check that the ZEN is mounted andwired correctly.2.Check that the operation of the ZEN willnot have a negative impact on the system.
Check for any dangers.3.Turn ON the power supply to the ZEN.Switch to RUN mode while the ZEN isstopped.4.Turn each input ON and OFF and checkthat the program is operating correctly.5.Adjust any problems.Operation ChecksMethod for Checking OperationLCD-type CPUUnitsCheck the operation by the flashing input and output displays on the MainScreen.LED-type CPUUnitsConnect the ZEN Support Software and check operation using the monitorfunction. Refer to the operation manual for the ZEN Support Software.50Confirming Ladder Program OperationSection 3-4Checking OperationChanging Operating ModePROGRAMRUNPARAMETERSET CLOCK▼MONITORSTOPPARAMETERSET CLOCKRUNPress the OK Button to display the MenuScreen and press the Down Button to movethe flashing cursor to RUN.Press the OK Button to switch from STOPmode to RUN mode.▼Checking Operations onMain ScreenPress the ESCButton to switchto the MainScreen.Turn I0 ON.I0I1Turn I0 OFF.I0I1Turn I1 ON.I0I1Q0 will turn ON whenI0 turns ON.I0 ON.Q0 ON at the sametime.Checking Operations UsingLadder Program MonitorMONITORSTOPPARAMETERSET CLOCKRUNSelect Monitorin RUN mode.▼Press the OKButton to switchto the LadderProgramMonitoringScreen.Q0 turns ON atthe same timewhen I0 turnsON.
When thebit is ON, thevertical andhorizontal linesare thick.Q0 remains ONeven if I0 turns OFF.I0 OFF.Q0 ON.Q0 will turn OFF whenI1 is turned ON.I1 ON.Q0 OFF.51Correcting Ladder Programs3-5Section 3-5Correcting Ladder Programs3-5-1Changing InputsMove thehighlighted cursorto the input to bechanged.Press the OK Button to change the highlighted cursor to a flashing cursor and movethe flashing cursor to the bit type position./Use the Up/Down Buttons to select M.Press the Right Button to move the flashingcursor to the bit address position. Use theUp/Down Buttons to change the bit addressfrom 0 to 1.Press the OK Button to complete the settingchange.3-5-2Changing Additional Bit Output FunctionsChange the additional function for the inputfor Q0 to S (Set).Move thehighlighted cursorto the output to bechanged.Press the OK Button to change the highlighted cursor to a flashing cursor.Press the Left Button to move the flashingcursor to the additional function position.Press the Up Button twice to change theadditional function from [ to S.Press the OK Button to complete thechange.52Correcting Ladder Programs3-5-3Section 3-5Deleting Inputs, Outputs, and Connection LinesMove the highlighted cursor to the position ofthe input, output, or connection line to bedeleted and press the DEL Button.Example: Deleting Serial Input M3Move the highlighted cursor to theposition of the inputto be deleted.Press the DEL Button to delete the input andthe related connecting lines at the sametime.Example: Deleting Vertical Connecting LinesMove the highlighted cursor to the input position to the right of the vertical line to bedeleted.
Press the ALT Button to switch toconnection line write mode. The highlightedcursor will change to a left arrow cursor.Press the DEL Button to delete the verticalconnection line.3-5-4Inserting Lines• To insert a blank line, move the highlighted cursor to the beginning of the line wherethe blank line is to be inserted and press the ALT Button.Move the highlightedcursor to the beginningof the next line (the linethat will be after theinserted line.)A circuit will be added here.Press the ALT Button to insert one blank line.Blank line• To add OR programming, inputs can be added between parallel inputs. Move thehighlighted cursor to the beginning of the line where the input is to be inserted.Move the highlightedcursor to the beginningof the next line (the linethat will be after theinserted line.)A input will be added here.53Correcting Ladder ProgramsSection 3-5Press the ALT Button to reserve a 1-linespace between the parallel inputs.Blank lineThe vertical connection lines will be automatically extended.Note A blank line cannot be inserted if an input or connection line iswritten in the last line (the 96th line).3-5-5Deleting Blank LinesTo delete a blank line, move the highlightedcursor to the input position at the beginningof the line to be deleted and press the DELButton.Move the highlighted cursor to thebeginning of theline to be deleted.This line will be deleted.Press the DEL Button to delete one blankline.
All following lines will move up one.▼Note A line must be blank to be deleted, i.e., lines containing inputsand outputs cannot be deleted.54Using Timers (T) and Holding Timers (#)3-6Section 3-6Using Timers (T) and Holding Timers (#)The ZEN has 8 built-in timers and 4 built-in holding timers.TimersThe present value being timed will be reset when the timer switches from RUNmode to STOP mode or the power is turned OFF.There are four uses of the timer available, depending on the additional functionselection.Holding timersThe present value being timed is held even when the timer switches from RUNmode to STOP mode or the power is turned OFF.