ii
Table of Contents
EZAutomation www.EZAutomation.net 1-877-774-EASY
Instructions for Programming EZPLC
3.1 LADDER LOGIC PROGRAMMING IN EZPLC .........................................3-2
3.3.1 Relay/Boolean Instructions ........................................................3-9
Adding Relay/Boolean Instructions .........................................3-9
3.3.2 Compare Instructions ..............................................................3-16
Adding Compare Instructions ...............................................3-16
3.3.3 Math Instructions .....................................................................3-21
Adding Math Instructions ......................................................3-21
3.3.4 Bitwise Instructions ..................................................................3-28
Adding Bitwise Instructions ...................................................3-28
3.3.5 Move Instructions ....................................................................3-33
Power Flow ...........................................................................3-33
Adding Move Instructions .....................................................3-33
3.2 MEMORY MAP ..........................................................................................3-3
3.2.1 System Discretes .......................................................................3-3
3.2.2 System Registers ......................................................................3-4
3.3 RLL INSTRUCTIONS IN EZPLC ..............................................................3-5
RLL Instructions Table (continued) .........................................3-6
RLL Instructions Table (continued) .........................................3-7
RLL Instructions Table (continued) .........................................3-8
3.3.6 Timer/Counter Instructions ......................................................3-40
Adding Timer Instruction .......................................................3-40
3.3.7 Counter Instruction ..................................................................3-44
Adding Counter Instruction ...................................................3-44
Counter: ...............................................................................3-45
3.3.8 Program Control Instructions ...................................................3-47
Adding Program Control Instructions ....................................3-47
3.3.9 String Instructions ....................................................................3-50
Adding String Instructions .....................................................3-50
Adding String Length Instruction ..........................................3-50
3.3.10 Communication Instructions ..................................................3-54
Adding Communication Instructions .....................................3-54
Adding Open Port Instructions ..............................................3-54
Adding Send To and Receive From Port Instructions ...........3-55
Adding Send to Marquee Instruction ....................................3-55
Adding Modbus Master Instruction .......................................3-55
3.3.11 Miscellaneous Instructions .....................................................3-62
Introduction to Drum Sequencing .........................................3-62
Adding the Drum Instruction: ................................................3-63
Configuring I/O Modules
4.1 HIGH-SPEED COUNTER MODULES .......................................................4-2
4.1.1 Selecting Counter Module .........................................................4-2
4.1.2 Configuring the Counter ...........................................................4-3
4.1.2a Count Mode ................................................................4-4
4.1.2b Set Point (1-4) ............................................................4-5
4.1.2c Preset Value ...............................................................4-5
4.1.2d Preset Mode ...............................................................4-5
4.1.3 Output Register Information .........................................4-5
Wiring ..................................................................................................4-5
4.1.4 Input Register Information .............................................4-6
4.1.5 Closing .........................................................................4-6