Download Software Manual - EZAutomation - Innovative Industrial Control

Transcript
3-50
Chapter 3 - Programming EZPLC
3.3.9 String Instructions
A string is succession of characters. EZPLC’s string instructions operate on
ASCII String Data files only.
Adding String Instructions
To configure String instructions, click on the String instruction icon on the
right side of the screen. Position the mouse over the Ladder diagram and
click the mouse to place the instruction. To enter Tag Name/Address, double
click the instruction to open its dialog box.
To configure the String Move and String Compare instructions, perform the
following steps:
1. Select a Tag name/address from the drop down list for the Source
register (Source1 for String Comparison Instruction).
2. Enter a value in the Number of Characters field.
3. Select a Tag name/address from the drop down list for the Destination
register (Source 2 for String Comparison Instruction).
4. Data types for both source and destination must be the same.
Adding String Length Instruction
1. Select a Tag name/address from the drop down list for the ‘String’
register.
2. Select a Tag name/address from the drop down list for the ‘Save in’
register.
EZAutomation
www.EZAutomation.net
1-877-774-EASY