HITACHI PROGRAMMABLE CONTROLLER APPLICATION MANUALNJI-350B (X)
Chapter 7 Programming... 7-1
Chapter 5 Instruction Specifications5-50Item number Arithmetic instructions-5 Name BCD subtraction (BCD SUBTRACTION)Ladder format Condition codeProce
Chapter 5 Instruction Specifications5-51Item number Arithmetic instructions-6 Name Binary multiplication (BINARY MULTIPLICATION)Ladder format Conditi
Chapter 5 Instruction Specifications5-52Item number Arithmetic instructions-7 Name BCD multiplication (BCD MULTIPLICATION)Ladder format Condition cod
Chapter 5 Instruction Specifications5-53Item numberArithmetic instructions-8NameSigned binary multiplication (SIGNED BINARYMULTIPLICATION)Ladder form
Chapter 5 Instruction Specifications5-54Item number Arithmetic instructions-9 Name Binary division (BINARY DIVISION)Ladder format Condition codeProce
Chapter 5 Instruction Specifications5-55Item number Arithmetic instructions-10 Name BCD divisionLadder format Condition codeProcessing time (µs)Remar
Chapter 5 Instruction Specifications5-56Item number Arithmetic instructions-11 Name Signed binary divisionLadder format Condition codeProcessing time
Chapter 5 Instruction Specifications5-57Item number Arithmetic instructions-12 Name Logical ORLadder format Condition codeProcessing time (µs)RemarkR
Chapter 5 Instruction Specifications5-58Item number Arithmetic instructions-13 Name Logical ANDLadder format Condition codeProcessing time (µs)Remark
Chapter 5 Instruction Specifications5-59Item number Arithmetic instructions-14 Name Exclusive ORLadder format Condition codeProcessing time (µs)Remar
Chapter 10 PLC Installation, Mounting, Wiring... 10-1 to 10-810.1 I
Chapter 5 Instruction Specifications5-60Item number Arithmetic instructions-15 Name = Relational expressionLadder format Condition codeProcessing tim
Chapter 5 Instruction Specifications5-61Item numberArithmetic instructions-16NameSigned = Relational expressionLadder format Condition codeProcessing
Chapter 5 Instruction Specifications5-62Item numberArithmetic instructions-17Name<> Relational expressionLadder format Condition codeProcessing
Chapter 5 Instruction Specifications5-63Item numberArithmetic instructions-18NameSigned <> Relational expressionLadder format Condition codePro
Chapter 5 Instruction Specifications5-64Item number Arithmetic instructions-19 Name < Relational expressionLadder format Condition codeProcessing
Chapter 5 Instruction Specifications5-65Item numberArithmetic instructions-20NameSigned < Relational expressionLadder format Condition codeProcess
Chapter 5 Instruction Specifications5-66Item number Arithmetic instructions-21 Name ≤ Relational expressionLadder format Condition codeProcessing tim
Chapter 5 Instruction Specifications5-67Item numberArithmetic instructions-22NameSigned ≤ Relational expressionLadder format Condition codeProcessing
Chapter 5 Instruction Specifications5-68Item number Application instructions-1 Name Bit setLadder format Condition codeProcessing time (µs)RemarkR7F4
Chapter 5 Instruction Specifications5-69Item number Application instructions-2 Name Bit resetLadder format Condition codeProcessing time (µs)RemarkR7
Chapter 5 Instruction Specifications5-70Item number Application instructions-3 Name Bit testLadder format Condition codeProcessing time (µs)RemarkR7F
Chapter 5 Instruction Specifications5-71Program descriptionWhen WR0001 = H1234 at the leading edge of X00000 (WR0001 = 0001001000110100)20 (decimal)I
Chapter 5 Instruction Specifications5-72Item number Application instructions-4 Name Shift rightLadder format Condition codeProcessing time (µs)Remark
Chapter 5 Instruction Specifications5-73Program exampleX00000X00001 DIF1R7F2R7F0 Y00100SHR (DR0000,1)X00000 . . . . .X00001 . . . . .. . . . .LD X000
Chapter 5 Instruction Specifications5-74Item number Application instructions-5 Name Shift leftLadder format Condition codeProcessing time (µs)RemarkR
Chapter 5 Instruction Specifications5-75Item number Application instructions-6 Name Rotate rightLadder format Condition codeProcessing time (µs)Remar
Chapter 5 Instruction Specifications5-76Item number Application instructions-7 Name Rotate leftLadder format Condition codeProcessing time (µs)Remark
Chapter 5 Instruction Specifications5-77Program exampleR7F0= 0ROL(DR0000,1)ROL(DR0002,1)X00001 DIF1LD X00001AND DIF1[R7F0 = 0ROL (DR0000,1)ROL (DR000
Chapter 5 Instruction Specifications5-78Item number Application instructions-8 Name Logical shift rightLadder format Condition codeProcessing time (µ
Chapter 5 Instruction Specifications5-79Item number Application instructions-9 Name Logical shift leftLadder format Condition codeProcessing time (µs
Chapter 1 Features1-1Chapter 1 Features1. Multifunctional all-in-one type PLCThe MICRO-EH is a multifunctional all-in-one type PLC that contains all
Chapter 5 Instruction Specifications5-80Item number Application instructions-10 Name BCD shift rightLadder format Condition codeProcessing time (µs)R
Chapter 5 Instruction Specifications5-81Item number Application instructions-11 Name BCD shift leftLadder format Condition codeProcessing time (µs)Re
Chapter 5 Instruction Specifications5-82Item number Application instructions-12 Name Block transfer (MOVE)Ladder format Condition codeProcessing time
Chapter 5 Instruction Specifications5-83Program example• The data in WM000 to WM01F is transferred to the area WR020 to WR03F.R001 DIF0R7F4MOV (WR020
Chapter 5 Instruction Specifications5-84Item number Application instructions-13 Name CopyLadder format Condition codeProcessing time (µs)RemarkR7F4 R
Chapter 5 Instruction Specifications5-85Program exampleThe default value (H2020) is set in the range of WR0100 to WR01FE.R7E3LD R7E3[COPY (WR0100,
Chapter 5 Instruction Specifications5-86Item number Application instructions-14 Name Block exchange (EXCHANGE)Ladder format Condition codeProcessing
Chapter 5 Instruction Specifications5-87Item number Application instructions-15 Name NOTLadder format Condition codeProcessing time (µs)RemarkR7F4 R7
Chapter 5 Instruction Specifications5-88Item number Application instructions-16 Name Two's complement (NEGATE)Ladder format Condition codeProces
Chapter 5 Instruction Specifications5-89Item number Application instructions-17 Name Absolute valueLadder format Condition codeProcessing time (µs)Re
Chapter 1 Features1-2MEMO
Chapter 5 Instruction Specifications5-90Item number Application instructions-18 Name Binary → BCD conversionLadder format Condition codeProcessing ti
Chapter 5 Instruction Specifications5-91Item number Application instructions-19 Name BCD → Binary conversionLadder format Condition codeProcessing ti
Chapter 5 Instruction Specifications5-92Item number Application instructions-20 Name DecodeLadder format Condition codeProcessing time (µs)RemarkR7F4
Chapter 5 Instruction Specifications5-93Item number Application instructions-21 Name EncodeLadder format Condition codeProcessing time (µs)RemarkR7F4
Chapter 5 Instruction Specifications5-94Item number Application instructions-22 Name Bit countLadder format Condition codeProcessing time (µs)RemarkR
Chapter 5 Instruction Specifications5-95Item number Application instructions-23 Name SwapLadder format Condition codeProcessing time (µs)RemarkR7F4 R
Chapter 5 Instruction Specifications5-96Item number Application instructions-24 Name UnitLadder format Condition codeProcessing time (µs)RemarkR7F4 R
Chapter 5 Instruction Specifications5-97Program exampleX00001LD X00001AND DIF0[UNIT(WY0010, WR0000, 3)]UNIT (WY0010, WR0000, 3)DIF0Program descriptio
Chapter 5 Instruction Specifications5-98Item number Application instructions-25 Name DistributeLadder format Condition codeProcessing time (µs)Remark
Chapter 5 Instruction Specifications5-99Program exampleX01001LD X00001AND DIF0[DIST (WR0000, WX0000, 4)]DIST (WR0000, WX0000, 4)DIF0Program descripti
Chapter 2 System Overview2-1Chapter 2 System OverviewThis chapter describes the system configuration of the MICRO-EH.The MICRO-EH is an all-in-one ty
Chapter 5 Instruction Specifications5-100Item number Control instructions-1 Name Normal scan endLadder format Condition codeProcessing time (µs)Remar
Chapter 5 Instruction Specifications5-101Item number Control instructions-2 Name Scan conditional endLadder format Condition codeProcessing time (µs)
Chapter 5 Instruction Specifications5-102Item number Control instructions-3 Name Unconditional jump (JUMP)Ladder format Condition codeProcessing time
Chapter 5 Instruction Specifications5-103Item number Control instructions-4 Name Conditional jumpLadder format Condition codeProcessing time (µs)Rema
Chapter 5 Instruction Specifications5-104Syntax of JMP, CJMPLBL 2JMP 1JMP 1LBL 7JMP 2LBL 3END SBJMP 3LBL 2JMP 4 RTS SBLBL 4JMP 5LBL 6 PTSINTOJMP
Chapter 5 Instruction Specifications5-105Item number Control instructions-5 Name LabelLadder format Condition codeProcessing time (µs)RemarkR7F4 R7F3
Chapter 5 Instruction Specifications5-106Item number Control instructions-6 Name FORLadder format Condition codeProcessing time (µs)RemarkR7F4 R7F3 R
Chapter 5 Instruction Specifications5-107Item number Control instructions-7 Name NEXTLadder format Condition codeProcessing time (µs)RemarkR7F4 R7F3
Chapter 5 Instruction Specifications5-108Syntax of FOR to NEXTFOR 1 (WR0010)NEXT 2NEXT 5FOR 5 (WM04F)ProgramProgramProgramProgramProgramNEXT 3FOR 3Pr
Chapter 5 Instruction Specifications5-109Item number Control instructions-8 Name Call subroutineLadder format Condition codeProcessing time (µs)Remar
Chapter 2 System Overview2-2[1] Basic unit[2] Expansion unit[3] Expansion cable[2] Expansion unit[2] Expansion unit [2] Expansion unit[3] Expansion c
Chapter 5 Instruction Specifications5-110Item number Control instructions-9 Name Start subroutine programLadder format Condition codeProcessing time
Chapter 5 Instruction Specifications5-111Item number Control instructions-10 Name End of subroutine program (RETURN SUBROUTINE)Ladder format Conditio
Chapter 5 Instruction Specifications5-112Item number Control instructions-11 Name Start interrupt scan program (INTERRUPT)Ladder format Condition cod
Chapter 5 Instruction Specifications5-113Item number Control instructions-12 Name End interrupt scan program (RETURN INTERRUPT)Ladder format Conditio
Chapter 5 Instruction Specifications5-114Syntax of SB n, RTS, INT n and RTISB 1RTSSB 2RTSRTSRTSRTSSB 10SB 11SB 12ENDINT 1RTIINT 2RTIProgramSB nRTSPro
Chapter 5 Instruction specifications5-115Item number Transfer command-1 Name General purpose port communication commandLadder format Condition codePr
Chapter 5 Instruction specifications5-116[3] Address of sending area :Address number and address type are configured in 2 words as below.s+4s+5Type :
Chapter 5 Instruction specifications5-117*1 Received data is defined by either of following 4 ways depending on setting in [7] s+A to [9] s+C.(a) Sta
Chapter 5 Instruction specifications5-118[9] Timeout :This bit is set "1" when timeout detected.[A] Input buffer full :This bit is set &quo
Chapter 5 Instruction specifications5-119Sample programDescriptionTRNS 0 parameter and sent data are configured at 1st scan by R7E3 contact.When the
Chapter 3 Function and Performance Specifications3-1Chapter 3 Function and PerformanceSpecifications3.1 General SpecificationsItem SpecificationPower
Chapter 5 Instruction specifications5-120TRNS/RECV command return code tableReturn codeName Description CountermeasureH00 Completed properly Operatio
Chapter 5 Instruction specifications5-121Item number Transfer command-2 Name General purpose port communication commandLadder format Condition codePr
Chapter 5 Instruction specifications5-122[3] Address of sending area :Address number and address type are configured in 2 words as below.s+4s+5Type :
Chapter 5 Instruction specifications5-123(6) "t" parameter : Set by user[0][1][2][3][4][5][6][7][8][9][A][B]tt+B[0] Execution bit:Set &quo
Chapter 5 Instruction Specifications5-124Item number FUN instructions-1 Name General purpose port switchingLadder format Condition codeProcessing tim
Chapter 5 Instruction Specifications5-125Item number FUN instructions-2 Name I/O refresh (All points)Ladder format Condition codeProcessing time (µs)
Chapter 5 Instruction Specifications5-126Item number FUN instructions-3 Name I/O refresh (Input/output)Ladder format Condition codeProcessing time (µ
Chapter 5 Instruction Specifications5-127Item number FUN instructions-4 Name I/O Refresh (slot)Ladder format Condition codeProcessing time (µs)Remark
Chapter 5 Instruction Specifications5-128Notes• Set the unit number (0 to 3) and slot number (0 to 1) after s+1. For other set values, DER is set to
Chapter 5 Instruction Specifications5-129Item number FUN instructions-5 Name High-speed Counter Operation ControlLadder format Condition codeProcessi
Chapter 3 Function and Performance Specifications3-23.2 Function SpecificationsThe functions available in the MICRO-EH are described in the table bel
Chapter 5 Instruction Specifications5-130Item number FUN instructions-6 Name High-speed Counter Coincidence Output ControlLadder format Condition cod
Chapter 5 Instruction Specifications5-131Item numberFUN instructions-7NameHigh-speed Counter Up-Count/Down-count Control (Singlephase counter only)La
Chapter 5 Instruction Specifications5-132Item number FUN instructions-8 Name High-speed Counter Current Value ReplacementLadder format Condition code
Chapter 5 Instruction Specifications5-133Item number FUN instructions-9 Name High-speed counter current value readingLadder format Condition codeProc
Chapter 5 Instruction Specifications5-134Item number FUN instructions-10 Name High-speed counter current value clearLadder format Condition codeProce
Chapter 5 Instruction Specifications5-135Item number FUN instructions-11 Name High-speed counter presetLadder format Condition codeProcessing time (µ
Chapter 5 Instruction Specifications5-136Program exampleR6LD R6AND DIF6[WR60 = H100WR61 = 5000WR62 = 10000FUN 146 ( WR60 )]DIF6WR60 =
Chapter 5 Instruction Specifications5-137Item number FUN instructions-12 Name PWM operation controlLadder format Condition codeProcessing time (µs)Re
Chapter 5 Instruction Specifications5-138Item number FUN instructions-13 Name PWM Frequency on-duty changesLadder format Condition codeProcessing tim
Chapter 5 Instruction Specifications5-139Notes• If a value other than H01 to H04 is specified as the PWM output number, and if the on-duty value is o
Chapter 3 Function and Performance Specifications3-3No. Item Description5 Control method With the PLC, the user programs are converted in batch at op
Chapter 5 Instruction Specifications5-140Item number FUN instructions-14 Name Pulse output controlLadder format Condition codeProcessing time (µs)Rem
Chapter 5 Instruction Specifications5-141Item number FUN instructions-15 Name Pulse frequency output setting changesLadder format Condition codeProce
Chapter 5 Instruction Specifications5-142Notes• If the pulse output number is set to a value other than H01 to H04, DER will be set to “1”and no proc
Chapter 5 Instruction Specifications5-143Item number FUN instructions-16 Name Pulse output with acceleration/decelerationLadder format Condition code
Chapter 5 Instruction Specifications5-144NotesWhen this instruction is executed, the maximum frequency is stored in the special internal output’s pul
Chapter 5 Instruction Specifications5-145Item number FUN instructions-17 Name BOX commentLadder format Condition codeProcessing time (µs)RemarkR7F4 R
Chapter 5 Instruction Specifications5-146
Chapter 6 I/O Specifications6-1Chapter 6 I/O SpecificationsTable 6.1 lists the input/output classifications and input/output point types that can be
Chapter 6 I/O Specifications6-26.1 I/O AssignmentI/O assignment and I/O address are listed below.Table 6.2 I/O assignment and I/O addressType I/O ass
Chapter 6 I/O Specifications6-36.2 External I/O NumbersWhen starting an operation of the MICRO-EH, a user program is executed (scanned) after the inp
WARNINGTo ensure that the equipment described by this manual. As well as all equipment connected to and usedwith it, operate satisfactorily and safely
Chapter 3 Function and Performance Specifications3-4No. Item Description9 Forced set/reset Forced set and forced reset of the designated I/O can be p
Chapter 6 I/O Specifications6-4The following explains the external I/O assignment. The external I/O numbers for the MICRO-EH system are expressedwith
Chapter 6 I/O Specifications6-56.3 Internal Output NumbersMemory is available as an internal output area in the CPU module. There are three areas: bi
Chapter 7 Programming7-1Chapter 7 Programming7.1 Memory Size and Memory AssignmentTable 7.1. Lists the programming specifications for the MICRO-EH.Ta
Chapter 7 Programming7-27.2 Programming DevicesThe following methods are used to create the user programs.Table 7.2 Programming methodsNo. Programmin
Chapter 7 Programming7-37.3 Programming MethodsThe following shows the system configuration using a personal computer and the procedures for creating
Chapter 7 Programming7-4Table 7.4 List of procedures for creating a programCreate new program Modify Test operation, adjustmentItemOff-line Off-line
Chapter 7 Programming7-5The user program is managed in circuit units. One circuit can describe nine contact points (a-type contact point or b-typecon
Chapter 7 Programming7-6In addition, if loop symbols are used, a circuit containing up to 57 contact points and one coil can be entered within sevenl
Chapter 7 Programming7-77.4 Program TransferThe MICRO-EH stores the user programs written from the peripheral units in the execution memory (RAM). Th
Chapter 7 Programming7-8Note 1) The following lists the special internal outputs for various settings that can be transferred to the backup memory by
Chapter 3 Function and Performance Specifications3-5No. Item Description20 Interrupt input The external input of the basic unit can be specified for
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-1Chapter 8 High-speed counter, PWM / Pulse trainoutput and Analogue I/OThe M
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-28.1.2 Operation ModeSelect one mode from the 5 modes shown in Table 8.1 (mo
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-38.1.3 Input/Output SettingConfigure each I/O setting in the special interna
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-48.1.4 Input/Output Setting (Mode 10) Mode 10 had been added since Ver. 01.1
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-58.1.5 Special Output Operation in CPU STOP StatusGenerally the counter outp
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-68.2 High-Speed Counter (Single-Phase)The high-speed counter settings are st
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-7Others7] The user program can switch from using a counter as an up counter
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-88.2.2 Setting of Single-Phase CounterIf either one of operation modes 1, 2,
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-9(4) Setting the counter preloadWhen preloading is used, the value to be pre
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-108.3 High-Speed Counter (Two-Phase Counter)When operation mode 3 is selecte
Chapter 3 Function and Performance Specifications3-63.3 Performance Specifications3.3.1 Calculation SpecificationsThe calculation specifications of t
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-11(2) Phase counting mode 1In this mode the counter counts at the rising edg
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-12(4) Phase counting mode 3In this mode the counter counts at the rising and
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-138.3.2 Setting of Two-Phase CounterThe setting of the two-phase counters ar
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-14(5) Individual counter settingThe on-preset and off-preset values can be c
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-158.4 PWM OutputA PWM output can be set as an output by setting the operatio
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-168.4.2 Setting the PWM OutputThe settings of the PWM output operation are s
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-17(3) Effective range of PWM output on-duty valuesWhen correcting on-duty va
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-188.5 Pulse Train OutputA pulse output can be assigned to an output by setti
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-19To change the number of output pulses, the following operation will be per
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-20(4) At setting abnormalityIf the sum of the frequencies of the pulse outpu
Chapter 3 Function and Performance Specifications3-73.3.2 Input SpecificationsThe input circuit consists of DC input and AC input, with the following
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-218.6 Interrupt InputWhen either operation mode 0, 1, or 3 is selected, it i
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-228.8 PotentiometersCPUs other than of the 10-point type are equipped with t
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-238.9 Analogue InputThe 23-point type CPU is equipped with two points of ana
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O8-248.11 Analogue Expansion unitAnalogue expansion module has 4 ch. of analog
Chapter 9 PLC Operation9-1Chapter 9 PLC OperationThe operating status and stop status of the MICRO-EH can be switched through various types of operat
Chapter 9 PLC Operation9-29.1 RUN StartWhen the MICRO-EH switches to the operating state, the user program is executed in sequence from the beginning
Chapter 9 PLC Operation9-3Each program is executed in the order of the priority shown in Figure 9.2. Each program is executed while monitoringthe exe
Chapter 9 PLC Operation9-4(2) Causes of congestion errors at normal scanCongestion errors may occur at normal scan because of the following three pos
Chapter 9 PLC Operation9-59.1.2 Periodical Scan(1) Definition and operationThis scan executes interrupt programs (periodical scan programs) while the
Chapter 9 PLC Operation9-6(3) Continuation of operation after a congestion errorIf a congestion error occurs when the special internal output bit R7C
Chapter 3 Function and Performance Specifications3-83.3.3 Output Specifications(1) DC output(Y100 of EH-*23DRP/A23DRT/*28DRP/*28DRT)Item Specificatio
Chapter 9 PLC Operation9-7(3) Continuation of operation after a congestion error occurredIf an interrupt scan congestion error occurs when the specia
Chapter 9 PLC Operation9-89.1.4 Relationship of Each Scan TypeWhen three types of scan occur at the same time, scan is executed in the order of perio
Chapter 9 PLC Operation9-99.2 Online Change in RUNThe user programs can be modified during operation while retaining the output status as is. This is
Chapter 9 PLC Operation9-109.3 Instantaneous Power FailureThe following shows operation when the power supply to the MICRO-EH shuts off. 24 V DCON
Chapter 9 PLC Operation9-119.4 Operation ParameterThe settings of “parameters,” which are required to perform tasks such as creating programs, transf
Chapter 9 PLC Operation9-129.5 Test Operation(1) Verification of interlockVerify performance of the interlock in case of unexpected incidents.Create
Chapter 10 PLC Installation, Mounting, Wiring10-1Chapter 10 PLC Installation, Mounting, Wiring10.1 Installation(1) Installation location and environm
Chapter 10 PLC Installation, Mounting, Wiring10-2Securing the unitSecure the unit by installing DIN rail fixing bracketsfrom both sides. (The product
Chapter 10 PLC Installation, Mounting, Wiring10-310.2 Wiring(1) Separation of the power systemThe power supplies include power for the MICRO-EH main
Chapter 10 PLC Installation, Mounting, Wiring10-4(3) Wiring to the power module100 V AC to240 V ACPower supplyfor the sensorPower leakagebreakerShiel
Chapter 3 Function and Performance Specifications3-9(2) DC output: LCDC-Low Current(All points of EH-D10DT/DTP, Y102-Y105 of EH-D14DT/DTP, Y102-Y109
Chapter 10 PLC Installation, Mounting, Wiring10-5(5) Wiring to the input terminalsDC input AC input 3] 4] 6] C10 V C0 5] 7]24 V DC0]24+2]1]Current o
Chapter 10 PLC Installation, Mounting, Wiring10-6(6) Wiring to the output terminalsItemRelay outputEH-*XXDR**ExternalwiringFUSE1] 2] 4] C2POW C1 3] 5
Chapter 10 PLC Installation, Mounting, Wiring10-7(a) Wiring to the relay output terminals1] Life of relay contactsLife curve of relay contacts5001001
Chapter 10 PLC Installation, Mounting, Wiring10-8(7) Wiring to the unit terminalsNFWiring for the power supplyUse a 2 mm2 cable and twist it. Leave a
Chapter 11 Communication Specifications11-1Chapter 11 Communication Specifications11.1 Port functionPort function of MICRO-EH is shown in Table 11.1.
Chapter 11 Communication Specifications11-2(1) Port 1 settingsPort 1 is configured by combination of DIP switch and special register (WRF01A).DIP sw
Chapter 11 Communication Specifications11-311.3 Port 2The specifications of port 2 are listed in Table 11.4. 1:n station communication by the high pr
Chapter 11 Communication Specifications11-4(2) 1:n station communication on RS-485When station number mode is used on RS-485, termination command (NA
Chapter 11 Communication Specifications11-511.5 Modem Control FunctionThe 14-point or higher MICRO-EH is equipped with a modem control function. The
Chapter 11 Communication Specifications11-6(2) List of commands (extract)1] AT commandsCommand Function overview ExampleAT Automatically recognizes d
Chapter 3 Function and Performance Specifications3-10(4) DC output (ESCP type): HCDC-High Current(Y100,Y101 of EH-D14DTPS, Y100-Y103 of D28DTPS) Y*0
Chapter 11 Communication Specifications11-7(3) SequenceAn example of a communication sequence using the Omron-made modem ME3314A is given below.(a) R
Chapter 11 Communication Specifications11-811.6 Connecting to the PortsThe following shows some examples of connections between port 1 and 2 and peri
Chapter 11 Communication Specifications11-911.6.2 Port 2Port 2 of the MICRO-EH is a communication port that uses either the RS-422 or RS-485 protocol
Chapter 11 Communication Specifications11-10MEMO
Chapter 12 Error Code List and Special Internal Outputs12-1Chapter 12 Error Code List and Special InternalOutputs12.1 Error CodesThe table below indi
Chapter 12 Error Code List and Special Internal Outputs12-2Related specialinternal outputErrorcodeError name[detection timing]Classifi-cationDescript
Chapter 12 Error Code List and Special Internal Outputs12-312.2 Syntax and Assembler Error CodesThe following describes the syntax and Assembler erro
Chapter 12 Error Code List and Special Internal Outputs12-412.3 Operation Error CodesIf an error occurs when a control instruction is executed, “1” i
Chapter 12 Error Code List and Special Internal Outputs12-512.4 Bit Special Internal Output AreaThe MICRO-EH has a special internal output area for p
Chapter 12 Error Code List and Special Internal Outputs12-6No. Name Meaning DescriptionSettingconditionResettingconditionR7D7 Undefined Do not use.R7
Chapter 3 Function and Performance Specifications3-11(6) Relay outputItem Specification Circuit diagramRated load voltage 5 to 250 V AC, 5 to 30 V DC
Chapter 12 Error Code List and Special Internal Outputs12-7No. Name Meaning DescriptionSettingconditionResettingconditionR7EB Clear retentive area 1:
Chapter 12 Error Code List and Special Internal Outputs12-8Table 12.1 List of special internal outputs that can be storedNo.Special internal outputth
Chapter 12 Error Code List and Special Internal Outputs12-912.5 Word Special Internal Output AreaThe following lists the definitions of the word spec
Chapter 12 Error Code List and Special Internal Outputs12-10No. Name Storage data DescriptionSettingconditionResettingconditionWRF03CPort 1Modem time
Chapter 12 Error Code List and Special Internal Outputs12-11No. Name Stored data DescriptionSettingconditionResettingconditionWRF057Detailed informat
Chapter 12 Error Code List and Special Internal Outputs12-12No. Name Stored data DescriptionSettingconditionResettingconditionWRF06BPulse and PWMoutp
Chapter 13 Troubleshooting13-1Chapter 13 Troubleshooting13.1 Error Display and ActionsThe display locations of errors detected by individual device i
Chapter 13 Troubleshooting13-2The following shows the range of the special internal output that is cleared when R7EC is set to “1.”No. Bit special in
Chapter 13 Troubleshooting13-3(2) Corrective actions when an error occurredThe process flow when an error occurred is shown below.Error occurredRefer
Chapter 13 Troubleshooting13-4Error code Error name Corrective action61 Port 1 transmissionerror (parity)62 Port 1 transmissionerror(framing/overrun)
Chapter 3 Function and Performance Specifications3-123.3.4 High-Speed Counter SpecificationsSingle phase Two phaseAvailable input X0, X2, X4, X6 X0 a
Chapter 13 Troubleshooting13-513.2 Checklist when Abnormality OccurredIf an error occurs in the MICRO-EH system, check the following items. If there
Chapter 13 Troubleshooting13-613.3 Procedures to Solve AbnormalityThe following shows the processing flow when a problem has occurred:Problem occurre
Chapter 13 Troubleshooting13-7(a) PLC will not startThe CPU OK LED does not turn off even when power is started, nor peripheral units cannot be conne
Chapter 13 Troubleshooting13-8(b) Will not operate (will not run)Even if the PLC operation conditions are met, the CPU does not operate (the RUN LED
Chapter 13 Troubleshooting13-9(c) Operation stopped (RUN stopped)During normal operation, the CPU suddenly stops (the RUN LED turns off).NOYESNOYES13
Chapter 13 Troubleshooting13-10(d) Wrong input at input module or no input (operation problem)The CPU runs, but the input data is not correct.Check i
Chapter 13 Troubleshooting13-11Data cannot be entered.I/O assignment error is generated, but data is read.NOYESYESNOYESNONOYESIs there a wiringerror,
Chapter 13 Troubleshooting13-12(e) The counter input does not functionThe CPU operates, but the input data is incorrectSet the operating mode for the
Chapter 13 Troubleshooting13-13(f) Wrong output from output module or output module will not output (operation problem)The CPU operates, but output s
Chapter 13 Troubleshooting13-14The CPU operates, but output signals are not detected.I/O assignment error occurred, but output is normal. Replace the
Chapter 3 Function and Performance Specifications3-13Circuit diagram (23 points type) Circuit diagram (Analog expansion unit)3.3.7 Analogue Output Sp
Chapter 13 Troubleshooting13-15(g) The PWM and pulse output does not operateThe CPU operates, but the pulse output and PWM output are not correct*Pul
Chapter 13 Troubleshooting13-16(h) Peripheral units problemPeripheral units cannot be connected.Replace the connection cablePlease contact our servic
Chapter 14 Operation Examples14-1Chapter 14 Operation ExamplesTo understand the basic operation of the MICRO-EH, this chapter explains samples of ope
Chapter 14 Operation Examples14-2S T E P1 Starting the LADDER EDITOR for Windows®1. Start the personal computer.Start the personal computer.2. Start
Chapter 14 Operation Examples14-3S T E P2 InitializationSettings for the CPU type, memory type and I/O assignment are performed.1. Setting the CPU ty
Chapter 14 Operation Examples14-42. Setting the memory typeClick [Utility] → [CPU Setting] → [CPUInformation] in the Menu bar.The CPU Information dia
Chapter 14 Operation Examples14-5[Setting from the I/O Assign List]1] Double-click the cell for the unit number andslot number to be set.The Assignm
Chapter 14 Operation Examples14-6[Setting from the Slot Setting Status]Click the [Slot] button to display the Slot SettingStatus dialogue box.1] Clic
Chapter 14 Operation Examples14-7S T E P3 Program Input1. Input a program.At first, the output window displays “there is noprogram” in the bottom lef
Chapter 14 Operation Examples14-8When the dialogue box closes, the symbol isdisplayed in the Read/Edit screen and the cursorshifts.Display of symbolT
LIMITED WARRANTY AND IMITATION OF LIABILITYHitachi, Ltd. (Hitachi) warrants to the original purchaser that the programmable controller (PLC)manufactur
Chapter 3 Function and Performance Specifications3-143.3.8 Potentiometer Analogue Input SpecificationsNumber of potentiometer inputs 2Stored inCh.1 :
Chapter 14 Operation Examples14-9The input of the horizontal line symbol, which connects between symbols, may be omitted. (Symbols are connected byho
Chapter 14 Operation Examples14-103] Input comparison expression and comment.4] Click the [OK] button.Comparison Box propertyThe comment input is val
Chapter 14 Operation Examples14-11S T E P4 Checking Program ErrorsCheck to see if the program in the memory is correct.Click [Utility] → [Check] in t
Chapter 14 Operation Examples14-12S T E P5 Saving the ProgramSave the program and comment that has been created to a floppy disk.Click [File] → [Reco
Chapter 14 Operation Examples14-13S T E P6 Program Transfer to CPUWrite the program that has been input, to the CPU. However, verify the following:•
Chapter 14 Operation Examples14-14The Confirmation dialogue box is displayed; clickthe [Yes] button and start the CPU initialization.The Exit dialogu
Chapter 14 Operation Examples14-15S T E P7 Monitoring (Verifying the Operation)Monitor the program execution status in the CPU.[Circuit monitor]Click
Chapter 14 Operation Examples14-16The I/O monitor can be specified in the followingtwo ways.1] Click [Edit] → [I/O monitor setting] in theMenu bar.2]
Chapter 15 Daily and Periodic Inspection15-1Chapter 15 Daily and Periodic InspectionsIn order to use the functions of the MICRO-EH in the optimal con
Chapter 15 Daily and Periodic Inspection15-2(4) Life of the battery• The battery life time is shown below.Battery life time (total power off time) [H
Chapter 3 Function and Performance Specifications3-153.3.12 Clock Function23-point and 28-point types have calendar function. This can be operated ei
Appendix 1 H-series Instruction Support Comparison ChartA-1Appendix 1 H-Series Instruction SupportComparison Chart[Basic instructions and sequence in
Appendix 1 H-series Instruction Support Comparison ChartA-2[Basic instructions and comparison boxes]No. Instruction format Instruction nameMICRO-EHEH
Appendix 1 H-series Instruction Support Comparison ChartA-3[Arithmetic instructions]No. InstructionformatInstruction nameMICRO-EHEH-150 H-64~H-20H-20
Appendix 1 H-series Instruction Support Comparison ChartA-4[Application instructions] (2/2)No. InstructionformatInstruction nameMICRO-EHEH-150 H-64~H
Appendix 1 H-series Instruction Support Comparison ChartA-5[High-function module transfer instructions]No. InstructionformatInstruction nameMICRO-EHE
Appendix 1 H-series Instruction Support Comparison ChartA-6[FUN instructions] (2/5)No. InstructionformatInstruction nameMICRO-EHEH-150 H-64~H-20H-200
Appendix 1 H-series Instruction Support Comparison ChartA-7[FUN instructions] (3/5)No. InstructionformatInstruction nameMICRO-EHEH-150 H-64~H-20H-200
Appendix 1 H-series Instruction Support Comparison ChartA-8[FUN instructions] (4/5)No. InstructionformatInstruction nameMICRO-EHEH-150 H-64~H-20H-200
Appendix 1 H-series Instruction Support Comparison ChartA-9[FUN instructions] (5/5)No. InstructionformatInstruction nameMICRO-EHEH-150 H-64~H-20H-200
Appendix 2 StandardsA-11Appendix 2 StandardsMICRO-EH products are global products designed and manufactured for use throughout the world. They should
Chapter 3 Function and Performance Specifications3-163.3.13 Power Supply for SensorThe 24 V terminal at the input terminal part can supply current to
Chapter 4 Product lineup and wiring4-1Chapter 4 Product lineup and wiring4.1 Product lineup(1) Basic unitsTable 4.1 Product lineup listType Specifica
Chapter 4 Product lineup and wiring4-2(2) Peripheral UnitsTable 4.2 List of peripheral unitsProduct Form Specification RemarksHL-GPCL Ladder diagram/
Chapter 4 Product lineup and wiring4-34.2 10-Point Basic UnitName and function of each partType EH-D10DT, EH-D10DTP, EH-D10DR1] POW LED2] OK LED3] RU
Chapter 4 Product lineup and wiring4-44.3 14-Point Basic UnitName and function of each partType EH-*14***1] POW LED2] OK LED3] RUN LED10] Terminal co
Chapter 4 Product lineup and wiring4-54.4 23-Point and 28-Point Basic UnitName and function of each partEH-*23***EH-*28***Type1] POW LED2] OK LED3] R
Chapter 4 Product lineup and wiring4-64.5 Expansion UnitName and function of each partType EH-*14ED** (same dimension as 14 pts. basic unit)EH-*28ED*
Chapter 4 Product lineup and wiring4-74.6 Terminal Layout and Wiring10-point typeEH-D10DT, EH-D10DTP* Since the DC input is bidirectional, it is poss
Copyright 2000 by Hitachi Industrial Equipment Systems Co., Ltd.All Rights reserved - Printed in JapanThe information and/or drawings set forth in thi
Chapter 4 Product lineup and wiring4-814-point typeEH-A14DR, EH-D14DR* Since the DC input is bidirectional, it is possible to reverse the polarity of
Chapter 4 Product lineup and wiring4-9EH-A14ASEH-D14DTP* Since the DC input is bidirectional, it is possible to reverse the polarity of the power sup
Chapter 4 Product lineup and wiring4-10EH-D14EDTP* Since the DC input is bidirectional, it is possible to reverse the polarity of the power supply.EH
Chapter 4 Product lineup and wiring4-1123-point typeEH-A23DRP* Since the DC input is bidirectional, it is possible to reverse the polarity of the pow
Chapter 4 Product lineup and wiring4-1228-point typeEH-A28DRP* Since the DC input is bidirectional, it is possible to reverse the polarity of the pow
Chapter 4 Product lineup and wiring4-13EH-A28ASEH-D28DTP* Since the DC input is bidirectional, it is possible to reverse the polarity of the power su
Chapter 4 Product lineup and wiring4-14EH-A28DR* Since the DC input is bidirectional, it is possible to reverse the polarity of the power supply.EH-A
Chapter 4 Product lineup and wiring4-15Analog expansion unitEH-A6EAN (Example of voltage input and voltage output)EH-D6EAN (Example of current input
Chapter 4 Product lineup and wiring4-164.7 Weights and Power ConsumptionPower consumption (A) Remarks100V AC 264V AC 24V DCTypeWeight(g)Normal Rush N
Chapter 4 Product lineup and wiring4-174.8 Exterior Dimensions(1) 10-point type(Unit : mm)(2) 14-point type, 14-point expansion unit, Analog expansio
Safety PrecautionsRead this manual and attached documents thoroughly before installing and operating this unit, and performingmaintenance or inspectio
Chapter 4 Product lineup and wiring4-18MEMO
Chapter 5 Instruction Specifications5-1Chapter 5 Instruction Specifications5.1 Instruction ClassificationsThe instructions used with the MICRO-EH are
Chapter 5 Instruction Specifications5-2The following lists the instructions.1. Basic instructions (sequence instructions)R7F4R7F3R7F2R7F1R7F0Processt
Chapter 5 Instruction Specifications5-3R7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symbolInstructionsymbolInstructionnameProc
Chapter 5 Instruction Specifications5-43. Basic instructions (relational box)R7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symb
Chapter 5 Instruction Specifications5-5R7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symbolInstructionsymbolInstructionnameProc
Chapter 5 Instruction Specifications5-64. Arithmetic instructionsR7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symbolInstructio
Chapter 5 Instruction Specifications5-7R7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symbolInstructionsymbolInstructionnameProc
Chapter 5 Instruction Specifications5-8R7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symbolInstructionsymbolInstructionnameProc
Chapter 5 Instruction Specifications5-9R7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symbolInstructionsymbolInstructionnameProc
2. WiringREQUIRED• Always perform grounding (FE terminal).If grounding is not performed, there is a risk of an electric shock or malfunction.CAUTION•
Chapter 5 Instruction Specifications5-10R7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symbolInstructionsymbolInstructionnamePro
Chapter 5 Instruction Specifications5-116. Control instructionsR7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symbolInstructions
Chapter 5 Instruction Specifications5-12R7F4R7F3R7F2R7F1R7F0Processtime(µ s)ClassificationItem numberLadder symbolInstructionsymbolInstructionnamePro
Chapter 5 Instruction Specifications5-135.3 Instruction Specification Details(1) Basic instructions(2) Arithmetic instructions(3) Application instruc
Chapter 5 Instruction Specifications5-14Item number Basic instructions-1, 2 Name Logical operation start (LD, LDI)Ladder format Condition codeProcess
Chapter 5 Instruction Specifications5-15Item number Basic instructions-3, 4 Name Contact serial connection (AND, ANI)Ladder format Condition codeProc
Chapter 5 Instruction Specifications5-16Item number Basic instructions-5, 6 Name Contact parallel connection (OR, ORI)Ladder format Condition codePro
Chapter 5 Instruction Specifications5-17Item number Basic instructions-7 Name Negation (NOT)Ladder format Condition codeProcessing time (µs)RemarkR7F
Chapter 5 Instruction Specifications5-18Item number Basic instructions-8 Name Leading edge detection (AND DIF, OR DIF)Ladder format Condition codePro
Chapter 5 Instruction Specifications5-19Item number Basic instructions-9 Name Trailing edge detection (AND DFN, OR DFN)Ladder format Condition codePr
4. MaintenanceDANGER• Never connect the and of the battery in reverse. Also, never charge, disassemble, heat, place in fire, orshort circuit the ba
Chapter 5 Instruction Specifications5-20Item number Basic instructions-10 Name Coil output (OUT)Ladder format Condition codeProcessing time (µs)Remar
Chapter 5 Instruction Specifications5-21Item number Basic instructions-11, 12 Name Set/reset coil output (SET, RES)Ladder format Condition codeProces
Chapter 5 Instruction Specifications5-22Item number Basic instructions-13, 14 Name Set (start)/reset (cancel) master control (MCS, MCR)Ladder format
Chapter 5 Instruction Specifications5-23Item number Basic instructions-15, 16, 17 Name Save/read/clear operation result (Branching of ladder)Ladder f
Chapter 5 Instruction Specifications5-24Item number Basic instructions-18 Name Logical block serial connection (ANB)Ladder format Condition codeProce
Chapter 5 Instruction Specifications5-25Item number Basic instructions-19 Name Logical block parallel connection (ORB)Ladder format Condition codePro
Chapter 5 Instruction Specifications5-26Item number Basic instructions-20 Name Processing box start and end (PROCESSING BOX)Ladder format Condition c
Chapter 5 Instruction Specifications5-27Item number Basic instructions-21 Name Relational box start and end (RELATIONAL BOX)Ladder format Condition c
Chapter 5 Instruction Specifications5-28Item number Basic instructions-22 Name On delay timer (ON DELAY TIMER)Ladder format Condition codeProcessing
Chapter 5 Instruction Specifications5-29Program description[Time chart]X000001234565 535TD10R100Progress valueof TD10 (TC10)1] 2] 3] 4] 5]Set value1]
Revision HistoryNo. Description of Revision Date of Revision Manual Number1 Appendix-1 Instruction Support FUN92 to 96 of H-4010 { -> ×.Appendix-2
Chapter 5 Instruction Specifications5-30Item number Basic instructions-23 Name Single shot (SINGLE SHOT)Ladder format Condition codeProcessing time (
Chapter 5 Instruction Specifications5-31Program description[Time chart]X00001SS11R10112 567Progressvalue of SS11(TC11)1] 2] 3] 4]Set value1] The prog
Chapter 5 Instruction Specifications5-32Item number Basic instructions-24 Name Counter (COUNTER)Ladder format Condition codeProcessing time (µs)Remar
Chapter 5 Instruction Specifications5-33Program description[Time chart]X00005CL15CU151234565 5353Progressvalue ofCU15 (TC15)1]2]4]Set value 45]3]Ign
Chapter 5 Instruction Specifications5-34Item numberBasic instructions-25, 26NameUp (CTU n) and down (CTD n) of up/down counter(UP/DOWN COUNTER)Ladder
Chapter 5 Instruction Specifications5-35Program exampleX00007CTU17LD X00007OUT CTU17 4LD X00008OUT CTD17LD X00009OUT CL17LD CT17OUT R107X00008CTD174
Chapter 5 Instruction Specifications5-36Item number Basic instructions-27 Name Counter clear (COUNTER CLEAR)Ladder format Condition codeProcessing ti
Chapter 5 Instruction Specifications5-37Item number Basic instructions-28 Name =Relational box (=RELATIONAL BOX)Ladder format Condition codeProcessin
Chapter 5 Instruction Specifications5-38Item number Basic instructions-29 Name Signed = Relational box (SIGNED = RELATIONAL BOX)Ladder format Conditi
Chapter 5 Instruction Specifications5-39Item number Basic instructions-30 Name <> Relational box (<> RELATIONAL BOX)Ladder format Conditi
Table of ContentsChapter 1 Features ...
Chapter 5 Instruction Specifications5-40Item numberBasic instructions-31NameSigned <> Relational box (SIGNED <> RELATIONALBOX)Ladder form
Chapter 5 Instruction Specifications5-41Item number Basic instructions-32 Name <Relational box (<RELATIONAL BOX)Ladder format Condition codePro
Chapter 5 Instruction Specifications5-42Item number Basic instructions-33 Name Signed<Relational box (SIGNED < RELATIONAL BOX)Ladder format Con
Chapter 5 Instruction Specifications5-43Item number Basic instructions-34 Name ≤ Relational box (≤ RELATIONAL BOX)Ladder format Condition codeProcess
Chapter 5 Instruction Specifications5-44Item number Basic instructions-35 Name Signed ≤ Relational box (SIGNED ≤ RELATINAL BOX)Ladder format Conditio
Chapter 5 Instruction Specifications5-45Item number Arithmetic instructions-1 Name Substitution statement (ASSIGNMENT STATEMENT)Ladder format Conditi
Chapter 5 Instruction Specifications5-46Program exampleX00000 DIF0X00001 DIF1X00002 DIF2X00003 DIF3WR0000WR0000(WM000)=WX0000WR0000=WX0000WR0000(WM00
Chapter 5 Instruction Specifications5-47Item number Arithmetic instructions-2 Name Binary addition (BINARY ADDITION)Ladder format Condition codeProce
Chapter 5 Instruction Specifications5-48Item number Arithmetic instructions-3 Name BCD addition (BCD ADDITION)Ladder format Condition codeProcessing
Chapter 5 Instruction Specifications5-49Item number Arithmetic instructions-4 Name Binary subtraction (BINARY SUBTRACTION)Ladder format Condition cod
Komentarze do niniejszej Instrukcji