Hitachi PLC Getting Started

Getting Started
Hitachi PLC
No. Contents Page
1 Introduction 2 2 Hitachi PLC 4 3 Technical Specifications 10 4 Setting up 11 5 Configuration 13 6 Wiring 16 7 Programming 17
Powerful Hitachi PLC
Programming is fully compatible from the smallest PLC (MICRO-EH) to the biggest one (Big-H series).
2 communication ports
2 communication ports can be used flexibly as programming, HMI communication and general purpose port for bar code reader or intelligent sensors or scales.
(Note : MICRO-EH does not support the general purpose port.)
Easy programming
Hitachi provides two different programming software.
1) Pro-H : IEC61131-3 standard, Multiprogramming languages.
2) LADDER EDITOR for Windows : Easy ladder programming editor (The both in one CD package)
High speed micro processor
EH-150 and MICRO-EH has a 32 bits RISC microprocessor called “Super H”.
Compact size
The compact PLC has more capabilities with high reliability, and saves more space and cost.
Open network
EH-150 series has Profibus DP master/slave modules and DeviceNet master/slave modules, which will increase application range.
Flexible product line up
Digital I/O (normal / high density), analog I/O (V, I, PT100/1000), high speed counter, positioning, several communication modules are available.
Solution for total automation system
Hitachi provides many options besides PLC as follows.
- Operator panel EH-HMI series
- Remote I/O system EH-RIO series
- Frequency inverters L/SJ100 and L300P/SJ300 series.
1
1. Introduction
What is a PLC?
“PLC” stands for Programmable Logic Controller. PLC is an industrial controller, which enables the control of many devices and signals easily and flexibly. The PLC is “Programmable” by PC or hand held programming unit. The PLC’s basically work in 3 steps : reading input data, calculating in the CPU and writing outp ut dat a according to user program in the PLC.
Input
- Switches
- Sensors
- Encoders, etc.
PLC
CPU
Program
Calculating
OutputInput
Output
- V a lv es
- Relays
- Alarms, etc.
How it works?
The PLC has a CPU. The CPU executes (scans) a user program. When the CPU reaches the end of the program, the CPU will return t o t he program top and execute again, this process is continuo us. In every cycle, input data is read, and output data is writt en once each.
1 cycle
1 cycle
Program Scanning
Read Input data Write Output data
Input and output data is effective once in a scan. This is called “
* Scan time (cycle time) depends on your program. (Normally 5 to 30ms.)
Refresh Processing
1 cycle
”.
2
Time
System processing
and Communication
Basic flow
Micro processor
Micro processor
Programming on PC
Download from PC to CPU
Programming software required (see page 1)
Program
PLC
CPU module
The program is stored in FLASH memory of CPU
Program
FLASH memory keeps the program after power OFF.
Start the PLC by PC or RUN switch on the PLC
PLC starts operation according to the user program.
CPU module
FLASH memory
Program memory (SRAM)
Data memory (SRAM)
Retentive Data memory
(SRAM)
RUN
CPU module
FLASH memory
ç ç ç
è è è
Program memory (SRAM)
Data memory (SRAM)
Retentive Data memory
(SRAM)
Input Output
3
2. Hitachi PLC
LED indication
LED indication
è RUN
System design
Hitachi has a compact type PLC “MICRO-EH” and modular type PLC “EH-150”.
n MICRO-EH
RUN/STOP
switch
Potentiometer
× 2
Communication
Port 1
(RS-232C)
n
EH-150
Power supply module
CPU module
Input terminal
Communication port 2 (RS-422/485)
Expansion connector
Output terminal
Expansion connector
Battery
I/O modules
RUN LED Error LED
Reset button
é
RUN/STOP switch Communication port 1 (RS-232C/422*/485*)
Communication port 2 (RS-232C)
(+ terminal cover)
* : Supported by CPU308/316/448
4
Base unit
Terminal block
Binary, decimal and hexadecimal code
00000001001000110100010101100111100010011010101111001101111011110123456789ABCDE
F
Binary code
Hexadecimal code
000110010111011112EFWord
0
1
or
Before going into the Hitachi PLC details, it is important to understand the numbering system of the PLC. Electric devices like PLC’s can handle only digital data. The minimum unit of digital data is a “bit”. 1 bit has two states, 0 or 1.
4 bits can give us 16 different values because of 24 as below left.
4 bits
16 values
Since 4 bits of data is not easy to handle, the data is translated to hexadecimal code 0 to F as above right. One hexadecimal code (= 4 bits) can express 16 different values. 4 hexadecimal codes have 65,535 values (= 164). This unit (4 hexadecimal codes = 16 bits) is called as “Word”. Normally Hitachi PLC handles binary data and word data.
This is a comparison table of one “Word” in binary, decimal and hexadecimal expressions.
2 10 16 2 10 16
0000 0000 0000 0000 0 H 0000 0000 0000 0011 1111 63 H 003F 0000 0000 0000 0001 1 H 0001 0000 0000 0100 0000 64 H 0040 0000 0000 0000 0010 2 H 0002 0000 0000 0000 0011 3 H 0003 0000 0000 1111 1111 255 H 00FF 0000 0000 0000 0100 4 H 0004 0000 0001 0000 0000 256 H 0100 0000 0000 0000 0101 5 H 0005 0000 0000 0000 0110 6 H 0006 0000 0011 1111 1111 1023 H 03FF 0000 0000 0000 0111 7 H 0007 0000 0100 0000 0000 1024 H 0400 0000 0000 0000 1000 8 H 0008 0000 0000 0000 1001 9 H 0009 0000 0111 1111 1111 2047 H 07FF 0000 0000 0000 1010 10 H 000A 0000 1000 0000 0000 2048 H 0800 0000 0000 0000 1011 11 H 000B 0000 0000 0000 1100 12 H 000C 0000 1111 1111 1111 4095 H 0FFF 0000 0000 0000 1101 13 H 000D 0001 0000 0000 0000 4096 H 1000 0000 0000 0000 1110 14 H 000E 0000 0000 0000 1111 15 H 000F 0111 1111 1111 1111 32767 H 7FFF
0000 0000 0001 0000 16 H 0010 1000 0000 0000 0000 32768 H 8000 0000 0000 0001 1111 31 H 001F 1111 1111 1111 1111 65535 H FFFF
0000 0000 0010 0000 32 H 0020
5
I/O data types
Hitachi PLC’s handles the following I/O.
External I/Os
Bit
(for Digital data, etc)
(for Analog data, etc) Input X ¨¨¨¨ [D] WX ¨¨¨ [H] DX ¨¨¨ [H] Output Y ¨¨¨¨ [D] WY ¨¨¨ [H] DY ¨¨¨ [H]
Word
Normal memory R ¨¨¨¨ [H] WR ¨¨¨ [H] DR ¨¨¨ [H] Shared memory M ¨¨¨¨ [H] WM ¨¨¨ [H] DM ¨¨¨ [H] Link memory L ¨¨¨¨ [H] WL ¨¨¨ [H] DL ¨¨¨ [H]
Internal I/Os
Timer (TD,SS, etc.) TD ¨¨¨ [D] - ­Counter (CU, etc.) CU ¨¨¨ [D] - ­Edge detection á DIF ¨¨¨ [D] - ­Edge detection â DFN ¨¨¨ [D] - -
Note : [D] ... Decimal (ex. 00,01,...,09,10,...,15,16,17,18,19,20,21,...) [H] ... Hexadecimal (ex. 00,01,...,09,0A,0B,...0F,10,11,...1F,20,21,...)
n
Bit, Word and Double Word
Double Word consists of 2 Words, and 1 Word consists of 16 bits as below.
Double Word
Word (16 bits)
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
i
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Double Word (32 bits)
Example : WR 0 = H’1234, WR 1 = H’5678 è DR 0 = H’5678 1234
WR 1 WR 0
n
External I/O
External I/Os (X, Y, WX, WY, etc.) are direct addresses for each digital input/output module or analog input/output module. Please note bit I/Os X and Y are decimal expression. (WX/WY can be used as access command or data for high function modules like the counter module.)
DX 1
WX 0
WX 1
WX 2
B
i t
0
X
X1X
0
2
X13X14X15X
16
DX 0
X17X
18
X29X30X31X
32
X33X
34
X45X46X
47
DX 2
6
n
Internal I/O
Internal I/O (R, WR, M, WM, etc.) means data memory. This data memory area can be read or written freely for flags, parameters, set point values or calculation depending on your program.
[ R, WR ]
Note : “R” and “WR/DR” are physically separated memory areas.
R0R1R2R3R4R5R6R7R8R9RARBRCRDRERFR10R11R12R13R14R15R16R17R18R19R1AR1BR1CR1DR1ER1FR20R
21
DR 1
WR 0
WR 1 WR 2
No bit access No bit access No bit access
DR 0
[ M, L ]
Note : “M”, “WM” and “DM” are in one common memory area. (L/WL/DL as well.)
DM 1
WM 0
M
0
M1M
2
MDMEMFM
10
M11M
12
WM 1
M1DM1EM1FM
20
WM 2
M21M
22
DM 0
DR 2
M2DM2EM
2F
DM 2
Note : “L” is available only for the LINK module
* Refer to the chapter “Programming” for further information about TD, CU, DIF and DFN.
7
I/O address of MICRO-EH
The I/O address of MICRO-EH is fixed.
n
10/14/28 points
Input
Output
n
23 points
DI × 6
DO × 4
DI × 13 AI × 2
X0 – X5
Y100 – Y103
X0 – X12
DI × 8
DO × 6
WX30,31
X0 – X7
Y100 – Y105
DI × 16
DO × 12
X0 – X15
Y100 – Y111
DO × 10
n
Expansion units
DI
: Digital Input
DO
: Digital Output
AI
: Analog Input
AO
: Analog Output
Y100 – Y109
X1000 – X1007DI × 8
DO × 6
Y1016 – Y1021
AO × 1
WY40
X2000 – X2007
Y2016 – Y2021
X3000 – X3007
Y3016 – Y3021
X4000 – X4007
Y4016 – Y4021
8
I/O address of EH-150
X ¨ ¨
WX ¨ ¨
EH-XD16
EH-YTP64
EH-YTP32
EH-AX8V
EH-XD16
EH-AX8V
EH-AY4V
EH-XD64
The I/O address of EH-150 depends on the module location and I/O type.
[ Bit ]
16 DI
X0000 – X0015
Power supply
Basic unit
(Unit 0)
¨¨
CPU
Bit number (decimal) Slot number (0 - 7) Unit number (0 - 1) I/O type
0 1 2 3 4
[ Word ]
16 DI
8 AI
¨
X0100 – X0115
WX020 – WX027
64 DO
4 AO
64 DI
Y0300 – Y0363
X1000 – X1063
Word number Slot number (0 - 7) Unit number (0 - 1)
I/O type
WY040 – WY043
Expansion unit
0 1 2 3 4
32 DO
Y1200 – Y1231
(Unit 1)
I/O controller module
* 16 DI : 16 points Digital Input module, 4 AO : 4 channels Analog Output module
4 AI
WX140 – WX147
& Hexadecimal expression
As mentioned above, each hexadecimal code can be expressed as 4 bits.
0 : 0000 4 : 0100 8 : 1000 C : 1100 1 : 0001 5 : 0101 9 : 1001 D : 1101 2 : 0010 6 : 0110 A : 1010 E : 1110 3 : 0011 7 : 0111 B : 1011 F : 1111
Since one word (WX, WY, WM, etc.) consists of 16 bits (X, Y, M, etc.), the relation between WX/WY and X/Y is as follows. (“H” stands for hexadecimal.)
X15 X0X7X8
WX 0 = H1234 = 0001 0010 0011 0100
Y15 Y0Y7Y8
WY 5 = H00FF = 0000 0000 1111 1111
9
3. Technical specifications
EH-150MICRO-EH
10/14/23,28
Speed of Binary command
0.9µs 1.0µs 0.1µs
Memory size 3 kstep 4 kstep 8 kstep 8 kstep 16 kstep 48 kstep I/O points 10/70/84 512 1,024 Exp. unit Up to 4 - 1 Commands 98 152 PID ­Clock
ü *1 Port 1 RS-232C RS-232C/422/485 Port 2 Memory board Modem
RS-422/485 *1
(planned) - ü (optional)
ü
R WR
4,096 word
(WR0 – FFF)
M, WM L, WL
-
Special R Special WR Timer (TD)/ counter (CU) points
256 points (TD + CU)
0.01s : 64 pts.
TD /CU setting value Edge detect 512 points (DIF0 - 511) / 512 points (DFN0 - 511)
*1 : Only 23, 28 points module. *2 : (TD) is up to 256 (TD0 - 255), and counter (CU) is up to 511 (CU0 - 511) for EH-150 series. TD number
is not allowed to use same as CU number, and vice versa.
CPU104 CPU208 CPU308 CPU316 CPU448
General specification
ü
-
ü
RS-232C
-
ü
Internal memory
1984 bits (R0 – R7BF)
8,192 w.
(WR0 – 1FFF)
16,384 points = 1,024 w. (M0 – 3FFF = WM0 – 3FF)
16,384 points ×2 = 1,024 w. ×2
(L0 – 3FFF = WM0 – 3FF, L10000 – 13FFF = WL1000 – 13FF
64 points (R7C0 – 7FF
512 words (WRF000 – F1FF)
512 points (TD + CU) *2
(TD : up to 256 points, 0.01s base TD : up to 64 points.)
TD : 65,535 with 0.01, 0.1 or 1 sec. time base
CU : 65,535 times
17,408 w.
(WR0 – 43FF)
22,528 w.
(WR0 – 57FF)
50,176 w.
(WR0 – C3FF)
(see below) (see below)
Special internal registers R, WR
The special internal registers are some flags, diagnostic information and parameter setting area to operate the PLC easily and flexibly. The following list is a part of this area and error code in WRF000.
Address Description Set by Reset by Error code in WRF000
R7E3 ON while the first scan CPU R7E4 Always ON CPU CPU H33 memory size error R7E5 0.02s clock (0.01s ON, 0.01s OFF) CPU CPU H34 program (syntax) error R7E6 0.1s clock (0.05s ON, 0.05s OFF) CPU CPU H41 I/O configuration error R7E7 1s clock (0.5s ON, 0.5s OFF) CPU CPU R7EC Clear error code user CPU WRF000 Error code (See right table.) CPU user WRF00B – 00F Calendar CPU ­WRF010 – 012 Scan time (max. / current / min.) CPU CPU H71 Battery low WRF01B – 01F Calendar to read/write user user WRF050 ROM version CPU CPU WRF051 FLASH ROM version CPU CPU
10
CPU
H13 micro processor error
scan time error
H44
(normal scan) scan time error
H45
(periodic scan)
4. Setting up
Baud rate for PLC
n
MICRO-EH
Configure baud rate for communication port 1 and 2. For normal use, set the dip switch 1 ON. The port 1 will then be available for programming with 19.2kbps.
ON
1 2 3 4
Port 1 RS-232C
Dedicated port (Programming / HMI)
Port 2 RS422/485
Dedicated port (Programming / HMI)
baud rate Standard
Modem mode
Standard
Multidrop
Dip switchPort No. Communication type /
1 2 3 4
38.4 kbps ON - ON - - -
19.2 kbps ON
9600 bps - - ON - - ­4800 bps - - - - - ­4800 bps - ON - - H0000 ­9600 bps - ON - - H0100 -
19.2 kbps - ON - - H0200 -
38.4 kbps - ON - - H0300 -
57.6 kbps - ON - - H0400 ­2400 bps - ON - - H0500 -
4800 bps - - - - - H8000 9600 bps - - - - - H8100
19.2 kbps
38.4 kbps - - - - - H8300 4800 bps - - - - - HA0xx 9600 bps - - - - - HA1xx
19.2 kbps - - - - - HA2xx
38.4 kbps - - - - - HA3xx
- - - - - H8200
- - - - -
WRF01A WRF03D
11
n
19.2 kbps for both ports
EH-150
Configure baud rate for communication port 1 and 2. For normal use, set the dip switch 1, 3, 5 all ON, and the toggle switch ON. Both ports will then be available for programming with 19.2kbps.
CPU module
Toggle switch
Dip switch
Dip switch 1, 3, 5 : ON Toggle switch : ON
Dip switch and toggle switch configuration
Remote SW 1 : ONRUN/STOP
Mode Port 1
Port 2 Dedicated port
SW1-6 = Dip switch, SW T = Toggle switch
RUN switch SW 1 : OFF Dedicated port
(Programming / HMI)
General purpose port SW 5 : OFF
(Programming / HMI)
SW 5 : ON
ON
OFF
8 7 6
5
ONOFF
4 3
2 1
4,800 bps SW 3, 4 : ON, ON 9,600 bps SW 3, 4 : OFF, ON 19,200 bps SW 3, 4 : ON, OFF 38,400 bps SW 3, 4 : OFF, OFF Modem mode SW 2 : ON Normal mode SW 2 : OFF 4,800 bps SW 6, T : OFF, OFF 9,600 bps SW 6, T : ON, OFF 19,200 bps SW 6, T : OFF, ON 38,400 bps SW 6, T : ON, ON
Baud rate for PC (Programming software)
The baud rate setting procedure depends on the programming software.
Pro-H Right mouse click on “Resource” - [Setting] – [Communication] Ladder Editor for Win. [Utility] – [Environment] – [Communication]
12
5. Configuration
The user program is up/downloaded from/to the PLC as described above. Besides the user program, several other pieces of important information are up/downloaded from/to the PLC together with user program. Ensure the following settings are configured correctly. The “I/O configuration” and “Memory size” in the PC program must be same as the actual I/O configuration and memory size in the PLC.
PC
User program
Ø I/O configuration Ø Memory size Ø Operation parameters Ø Retentive area, etc.
PLC
I/O configurationMemory size
I/O configuration
n MICRO-EH The I/O configuration of MICRO-EH is fixed for each model. This table can be read out from the PLC when on-line.
10, 14, 28 points basic module
Unit 0 Unit 1 Slot 0 X48 Slot 1 Y32 Slot 2 Slot 3 Slot 4
23 points basic module
Unit 0 Unit 1 Slot 0 X48
Slot 1 Y32 Slot 2 Slot 3 Slot 4
Empty 16
WX 4
WY 4
10 points
23 points
14 points
I/O configuration of 10,14 and 28 points module is fixed (X48, Y32).
28 points
Expansion module
Unit 0 Slot 0 X48 Slot 1 Y32 Slot 2 Slot 3 Slot 4
Unit 1 B1/1
28 points
13
14 points exp.
n
EH-150
Since the module configuration of EH-150 depends on the user, the I/O configuration table (module configuration table) must be declared in the PC. This table can be read out from PLC when on-line.
EH-XD64
[ I/O configuration table in PC ]
Unit 0 Unit 1 Slot 0 X64 Slot 1 WX 8 Slot 2 Y16 Slot 3 Y16 Slot 4 WY4 Slot 5 Slot 6 Slot 7
Note : The assignment of a 12 point relay module is “Y16”. Note : Each module has its own I/O assignment. Please refer to the application manual for further
information.
Note : If the downloaded I/O configuration table does not accord with the actual I/O configuration, the
PLC will not start. However the programming software has a special option setting, which allows the PLC to work with the wrong I/O configuration.
EH-AX8V EH-YR12 EH-YTP16 EH-AY4V
Memory size
Configure memory size in programming software accordingly. The memory size can be read out from PLC when on-line as well as the I/O configuration.
MICRO-EH all models 3 k step (4 k step*)
EH-CPU104 4 k step EH-CPU208 8 k step
EH-150
*Note : Actual memory size of MICRO-EH is 3 k step however, the configuration on PC should be 4 k step.
On programming software
This setting is configured in the following way depending on programming software.
I/O configuration
Pro-H Double click on “Resource configuration”- [I/O Configuration] Ladder Editor for Win. [Utility] - [CPU setting] - [I/O assignment]
Memory size
Pro-H Double click on “Resource configuration” - [Memory Allocation] Ladder Editor for Win. [Utility] - [CPU setting] - [CPU information]
EH-CPU308 8 k step EH-CPU316 16 k step EH-CPU448 48 k step
14
Operation parameters
Retentive area
Several optional parameters are available. Configure if necessary.
Operation parameters Default Enable
RUN input Disable Set the address Max. scan time 100 ms Set the time Operation mode in wrong I/O configuration STOP RUN Operation mode in expansion unit error STOP RUN Operation mode in remote unit error STOP RUN LINK area range Disable Set the range etc.
If the “Operation mode in wrong I/O configuration” is enabled, CPU can work without actual I/O modules, which is useful for debugging or testing.
On programming software
Pro-H Double click on “Resource configuration”- [Operation parameters] Ladder Editor for Win. [Utility] - [CPU setting] - [Operation parameters]
Retentive area
Internal memory R, WR, WM, TD can be configured as “Retentive area”, which will be kept by a battery after power off. The battery keeps data not only in the retentive area, but also the real time clock. User program is kept in FLASH memory, which does not require battery back up.
PLC
Battery
Data in
Real time clock
On programming software
Pro-H Double click on “Resource configuration”- [Memory allocation] Ladder Editor for Win. [Utility] - [CPU setting] - [CPU information]
FLASH memory
Normal data
User program
Lost after power off
15
6. Wiring
-+-
+
-++
-
0
1
892310114
5121367
1415C
S
+
-
-
+
-
Wiring diagram for some modules are shown below. Implement wiring based on these drawings for other MICRO-EH also. Each I/O module for EH-150 has a wiring label at the terminal block.
Note : All DC inputs can be connected as either positive or negative logic.
MICRO-EH [EH-D10DTP] EH-150 [EH-YTP16]
RUN
NC 0 1 2 3 C0 4 5
RUN input
24V
0V
GND
0 1 2 3 C0 V0
MICRO-EH [EH-A23DRP]
24V 1
3 4
DC input
Transistor output
6 C1
8 10
Connect jumper in current mode
12 IN1+
IN2-
CH 0 / CH 1 V / V : WRF06E = H0000 V / I : WRF06E = H4000 I / V : WRF06E = H8000 I / I : WRF06E = HC000
IN2JP
00V
C02
75
9C2
IN1-11
IN1JP
IN2+
DC input Analog input
Transistor
AC 0
GNDAC
output
V0 2
1C0
4 5
C13
Relay output Analog output
6 7
C3C2
8 C5
9C4
IO VO
VCIC
16
7. Programming
A Contact / Coil
B Contact / Coil
Contact
Coil
S
R
One of the most popular and basic programming language is “ladder” (LD), however SFC or FBD is becoming very popular. In this chapter, LD is introduced for easy understanding.
The simplest LD circuit consists of one contact and one coil as below.
(=Input) (=Output)
Switch Light
In this picture, while the switch is ON, the light is ON. This LD circuit is almost the same meaning as the above picture. The “contact” is condition for the coil to be ON, and the “coil” is the result. Basically input “X” is used for the contact, and output “Y” is used for the coil. The internal I/Os “R”, “M” can be used for both cases depending on your program. (Y can work as a contact.)
Hitachi PLC handles the following I/O types.
A contact (Normally open) B contact (Normally close) Edge detection (Low è High) Edge detection (High è Low)
NOT
TD
CU
X0
Normal coil Set / Reset coil
(MCS / MCR coil available) Timer (Other timers ; SS, MS, TMR, WDT available) Counter (Other counters ; RCU, CTU, CTD, CL available)
X0 Y100
X0 Y100
Y100
X0
Y100
17
Edge detection (á) : DIF
Edge detection (â) : DFN
Set/Reset coil
X0 Y100
AND
OR
Internal memory R, M can be used instead of X and Y.
NOT
X1
X0 Y100
X1
X0 X1
Y100
X0 X1
Y100
X0
X0 Y100
X0 Y100DIF 0
X0 Y100DFN 0
S
Y100
X0
Y100
1 scan time
X0
Y100
1 scan time
X0
X0 Y100
R
X1 Y100
& De Morgan’s Laws
NOT ( A AND B ) = ( NOT A ) OR ( NOT B ) A × B = A + B NOT ( A OR B ) = ( NOT A ) AND ( NOT B ) A + B = A × B
X1
Y100
18
ON delay timer : TD
12
n
n
LADDER EDITOR
n
12
Single Shot timer : SS
n
12
n
n
12
X0 TD 0
TD 0 Y100
Pro-H (LD)
TD 0
X0
Pro-H (FBD)
X0
12
0.1s
TD 0
0.1s
Y100
Y100
12
0.1s
X0
TD 0
Y100
1.2s
TC 0
* TC is a word data counting 0 up to 65,535.
LADDER EDITOR
X0 SS 0
TD 0 Y100
Pro-H (LD)
SS 0
X0
Pro-H (FBD)
X0
12
0.1s
SS 0
0.1s
Y100
Y100
12
0.1s
X0
TD 0
Y100
TC 0
* TC is a word data counting 0 up to 65,535.
1.2s
Note : MICRO-EH supports above 2 timers only. Note : EH-150 supports Mono-stable timer “MS”, integral timer “TMR” and Watch dog timer “WDT”
besides above ones.
19
Inline box
Comparison box
n
LADDER EDITOR
n
WX 3
n
H3000
<
WX 3
Y100
H3000
Pro-H (LD)
WX 3
16#3000
Pro-H (FBD)
16#3000
R5
DIF2
GT 0
0.1s
GT 0
0.1s
WR0 = WR1 OR H00FF WR2 = WR2 + 10 SHL (WM100,1) TRNS 0 (WX0, WR0, R0) FUN 80 (WR3)
Y100
Y100
* GT : Greater Than
Up to 19 lines
WX 3
Y100
While WX 3 exceeds H3000, Y100 is ON.
Many commands are available
Basic commands : 35 Arithmetical commands : 22 Application commands : 25 Control commands : 12 Special function commands : 16
20
Loading...