15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table of Contents<br />

Table of Contents<br />

1 Presentation of the <strong>Automatic</strong> Control Function 1 - 1<br />

1.1 General 1 - 3<br />

1.2 <strong>Automatic</strong> Control Function 1 - 6<br />

2 Structure of an Application 2 - 1<br />

2.1 General 2 - 3<br />

2.2 Structure of an Application 2 - 13<br />

2.3 Structure of a Ladder Module - Elementary<br />

Sequences 2 - 15<br />

2.4 Elements Common to All Types of<br />

Sequences 2 - 15<br />

2.5 Table of Constants Sequence 2 - 15<br />

2.6 Character String Sequence 2 - 16<br />

2.7 Ladder Sequence 2 - 16<br />

3 Variables 3 - 1<br />

3.1 Principle of Exchanges 3 - 5<br />

3.2 Variable % - Mnemonic 3 - 6<br />

3.3 Variable % 3 - 6<br />

3.4 Mnemonic 3 - 8<br />

3.5 Common Internal Variables Saved 3 - 8<br />

3.6 Common Internal Variables Not Saved 3 - 8<br />

3.7 I/O Card Interface Variables %I and %Q 3 - 9<br />

3.8 CNC I/O Interface Family %R and %W 3 - 29<br />

3.9 %S Common Word Variables 3 - 68<br />

3.10 %Y Local Variables- Pointers 3 - 70<br />

3.11 Exchange Area 3 - 72<br />

4 Literal Elements of Ladder Language 4 - 1<br />

4.1 Notations Used 4 - 3<br />

4.2 Label - Comment 4 - 3<br />

4.3 Step 4 - 3<br />

4.4 Literal Elements of Ladder Sequences 4 - 3<br />

4.5 Additional Information on Literal Elements 4 - 5<br />

5 Programming in Ladder Language 5 - 1<br />

5.1 Elements Common to All Types of<br />

Sequence 5 - 3<br />

5.2 Network Sequence 5 - 7<br />

5.3 Function Calls 5 - 26<br />

5.4 Parameter Check 5 - 26<br />

6 General Purpose Functions 6 - 1<br />

6.1 Convert an ASCII String to a Signed<br />

Integer of 32 Bits 6 - 3<br />

6.2 Convert an ASCII String to a Signed<br />

Integer of 32 Bits 6 - 4<br />

6.3 BCD —> Binary Conversion 6 - 5<br />

6.4 Binary —> BCD Code Conversion 6 - 6<br />

6.5 Separate Bits into Bytes 6 - 7<br />

6.6 Read the Parameters Stored on the<br />

Stack 6 - 8<br />

6.7 Copy One or More Bytes 6 - 9<br />

en-938846/8 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!