ZEN Programmable Relay_Operation Manual (W385-e1-3) (986765), страница 7
Текст из файла (страница 7)
In this case the input logic will bereversed.• Connecting to I0 to I3Externalresistance1kNPNoutput20.4 VDCmin.4.1kI0 to I368034InternalcircuitWiringSection 2-2a)When an NPN sensor is connected, use an external resistance R of at least 1 kW and 2 W.b)Use a power supply voltage of at least 20.4 VDC for the sensor.• Connecting to I4/I5Externalresistance82k20.4 VDCmin.150kNPNoutputI4, I5Internal2.4k27k circuitc)When an NPN sensor is connected, use an external resistance R of at least 82 kW and 1/8 W.d)Use a power supply voltage of at least 20.4 VDC for the sensor.4.There are no restrictions on the polarity of the I/O on the Expansion I/O Unit.
Either PNP or NPN sensors can be connected directly.5.Do not input a negative (-) signal to the analog inputs (I4, I5). Theinternal elements may be damaged if a negative signal is input.Wiring Output Circuits(1) Relay Output TypeAll 4 outputs in the relay output circuits have independent contacts.There are no particular restrictions on polarity.LoadLoadLoadLoadLoadExpansion I/O UnitLoadLoadLoadCPU Unit250 VAC, 8 A (cosø = 1)24 VDC, 5 A35WiringSection 2-2(2) Transistor Output TypeAll 4 outputs in the transistor output circuits have independent contacts.
Their terminals have polarity, but no problem will result fromreversing the connection positions of the power supply and load.24 VDC, 0.5 A36LoadLoadLoadLoadLoadExpansion I/O UnitLoadLoadLoadLoadCPU UnitSECTION 3Programming and Operating MethodsThis section explains how to create and edit ladder programs and how to use the timers, counters,comparators, display function and buttons switches.3-13-23-3Selecting Display Language . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Setting the Date and Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Creating Ladder Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403-3-13-3-23-3-33-43-5Confirming Ladder Program Operation. . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 50Correcting Ladder Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523-5-13-5-23-5-33-5-43-5-53-6Settings in the Ladder Program Edit Screen. . . . . . . . .
. . . . . . . . . . . . 58Settings in the Parameter Settings Screen . . . . . . . . . . . . . . . . . . . . . . 59Parameter Monitor Screen Display. . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Using Weekly Timers (@) . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603-8-13-8-23-8-33-9Settings in the Ladder Program Edit Screen. . . . . . . . . . . . . . . . . . . . . 56Settings in the Parameter Settings Screen . . . . . . . . . . . . . . . . . . . . . . 56Parameter Monitor Screen Display. . . . . . . . . . . . . . . .
. . . . . . . . . . . . 57Using Counters (C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583-7-13-7-23-7-33-8Changing Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Changing Additional Bit Output Functions . . . .
. . . . . . . . . . . . . . . . . 52Deleting Inputs, Outputs, and Connection Lines . . . . . . . . . . . . . . . . . 53Inserting Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Deleting Blank Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Using Timers (T) and Holding Timers (#) . . . . . . . .
. . . . . . . . . . . . . . . . . . . 553-6-13-6-23-6-33-7I/O Wiring and Internal Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Clearing Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Writing Ladder Programs . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . 42Settings in the Ladder Program Edit Screen. . . . . . . . . . . . . . . . . . . . . 60Settings in the Parameter Settings Screen . . . . . . . . . . . . . . . . . . . . . . 60Parameter Monitor Screen Display. . . . . . . . . . . . . .
. . . . . . . . . . . . . . 61Using Calendar Timers (*). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623-9-13-9-23-9-3Settings in the Ladder Program Edit Screen. . . . . . . . . . . . . . . . . . . . . 62Settings in the Parameter Settings Screen . . . . . . . . . . . . .
. . . . . . . . . 62Parameter Monitor Screen Display. . . . . . . . . . . . . . . . . . . . . . . . . . . . 633-10 Analog Inputs (Analog Comparators (A)) . . . . . . . . . . . . . . . . . . . . . . . . . . . 633-10-13-10-23-10-3Settings in the Ladder Program Edit Screen. .
. . . . . . . . . . . . . . . . . . . 64Settings in the Parameter Settings Screen . . . . . . . . . . . . . . . . . . . . . . 65Parameter Monitor Screen Display. . . . . . . . . . . . . . . . . . . . . . . . . . . . 653-11 Comparing Timer/Counter Present Values Using Comparators (P) .
. . . . . . 663-11-13-11-23-11-3Settings in the Ladder Program Edit Screen. . . . . . . . . . . . . . . . . . . . . 66Settings in the Parameter Settings Screen . . . . . . . . . . . . . . . . . . . . . . 67Parameter Monitor Screen Display. . . . . . . . . . . . . . . .
. . . . . . . . . . . . 683-12 Displaying Messages (Display Bits (D)) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 693-12-13-12-2Settings in the Ladder Program Edit Screen. . . . . . . . . . . . . . . . . . . . . 69Settings in the Parameter Settings Screen . . . . . . . . . . . . . .
. . . . . . . . 703-13 Using Button Switches (B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7237Selecting Display Language3-1Section 3-1Selecting Display LanguageThere is a choice of 6 display languages for LCD-type CPU Units. Thedefault language is English.Operation to Select GermanTurn ONthe power.Press the OK Button to change to the MenuScreen.▼Press the Down Button 4 times to move thecursor to “LANGUAGE”.▲ ▼Press the OK Button to display the currentlanguage (“ENGLISH”). The final “H” will behighlighted and flashing.Press the OK Button to make the whole word“ENGLISH” flash. A different language cannow be selected.Use the Up/Down Buttons toselect a language.¯SPANISHITALIANFRENCHGERMANJAPANESEENGLISHLANGUAGEPress the Up Button to select GERMAN.GERMANLANGUAGESET?OK/ESCGERMANPress the OK Button to display a confirmation message.Press OK to set the new language.RUNPARAMETERKALENDERSPRACHE▲ ▼38The display language will change to German.Press the OK Button to complete the setting.Setting the Date and Time3-2Section 3-2Setting the Date and TimeThe date and time are not set when the product is shipped.
The date andtime must be set for models with calendar and time functions before theZEN can be used.Select SETCLOCK.PROGRAMRUNPARAMETERSET CLOCK▼SET CLOCKSUMMER TIMESET CLOCKyy/mm/dd00/01/0100:03(SA)Press the OK Button to display the submenufor clock settings. Select SET CLOCK fromthe submenu.Press the OK Button to display the currentdate and time settings. The right digit of thedate will be highlighted and flashing.Current date: yy/mm/ddCurrent time: hh:mm (day)Days of the weekSU: SundayMO: MondayTU: TuesdayWE: WednesdayTH: ThursdayFR: FridaySA: SaturdaySET CLOCKyy/mm/dd00/04/0111:35(SU)Set the date and time.Use the Up/Down Buttons to change the setting.Use the Left/Right Buttons to move the cursor.The day will automatically change when thedate is set.SET CLOCKSET?OK/ESC11:35(SU)Press the OK Button to display a confirmation message.Press the OK Button to confirm and complete the setting.39Creating Ladder ProgramsSection 3-3!Caution If the power supply is turned OFF for an extended period of time(2 days or more at 25°C), the date and time will return to thedefault setting (00/1/1; 00:00 (SA)).
This may cause programsusing calendar timers or weekly timers to malfunction. Therfore,mount a Battery Unit for the system if the power supply isexpected to be interrupted for an extended time. (Refer topage 84.)Note1.The year can be set between 2000 and2099.2.If Summertime is set, “S” will appear atthe top right of the time setting screenduring the Summertime period. (Refertopage 81 .)SET CLOCKSyy/mm/dd01/05/0100:00(TU)3-3“S” displayed duringSummertime periodCreating Ladder ProgramsExample ProgramSW1SW2RyRy40This section explains how to write ladder programs for LCD-type CPU Units, based on asimple circuit example.Refer to the ZEN-SOFT01-V2 ZEN SupportSoftware Operation Manual (W386) for information on programming LED-type CPUUnits.Creating Ladder Programs3-3-1Section 3-3I/O Wiring and Internal OperationLSW1 SW2Power supplyterminalsNLNInput terminalsI0I1I2(1)I0Ladderprogram(2)I1Q0Q0(3)Q0Q1Output terminalsWhen SW1, connected to input bitI0, turns ON or OFF, I0 (indicatedby (1) in the diagram) turns ON orOFF.When SW2, connected to input bitI1, turns ON or OFF, I1 (indicatedby (2) in the diagram) turns ON orOFF.If the ladder program is executedin RUN mode and SW1 turns ON,input bit I0 turns ON, output bit Q0turns ON, and the output contact(indicated by (3) in the diagram)turns ON.When the output contact (3) turnsON, the load connected to outputterminal Q0 turns ON.Load3-3-2I3Connect switches SW1 and SW2to input terminals I0 and I1.Clearing ProgramsClear the ladder program before starting towrite a program.
By performing the DeleteProgram operation, the ladder program willbe completely cleared. The display language, date/time settings, and all other settings will not be initialized.STOP modedisplayPROGRAMRUNPARAMETERSET CLOCKPress the OK Button to switch to the MenuScreen and select PROGRAM.▼EDIT PROGDELETE PROGSelect DELETE PROG.DELETE PROGDELETE?OK/ESCPress the OK Button to display a confirmation message.41Creating Ladder ProgramsSection 3-3EDIT PROGDELETE PROG3-3-3When the Delete Program operation hasbeen completed, the display will return to theoriginal screen.Writing Ladder ProgramsSTOP modedisplayPROGRAMRUNPARAMETERSET CLOCKPress the OK Button to switch to the MenuScreen and select PROGRAM.▼EDIT PROGDELETE PROGSelect EDIT PROGRAM.Indicates the line number in the ladder program at the cursor position (line 0 in thisexample.)Cursor flashing in a reversed state.Press the OK Button to switch to the LadderProgram Edit Screen.Operations in the Ladder Program Edit ScreenTwo lines of circuits can be displayed at onetime on the Ladder Program Edit Screen.• Up to 96 lines can be written.• Up to 3 inputs and 1 output can be written per line.42Creating Ladder ProgramsSection 3-3• Example ladder diagramBit typeBit addressConnectionline▲ ▼Additional output functionsLadder program line number at cursorBit addressBit typeDisplayed when there are more lines.