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.

General Purpose Functions<br />

6 General Purpose Functions<br />

6.1 Convert an ASCII String to a Signed Integer of 32 Bits atoi 6 - 3<br />

6.2 Convert an ASCII String to a Signed Integer of 32 Bits atoj 6 - 4<br />

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

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

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

6.6 Read the Parameters Stored on the Stack cpyarg 6 - 8<br />

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

6.8 Copy One or More Words cpyw 6 - 10<br />

6.9 Copy One or More Long Words cpyl 6 - 11<br />

6.10 Set Self-Test Period diagiq 6 - 11<br />

6.11 Convert a Signed Integer to an ASCII String itoa 6 - 12<br />

6.12 Convert an Unsigned Integer to an ASCII String itostr 6 - 12<br />

6.13 Concatenate Bytes into Bits oct 6 - 13<br />

6.14 Simulate Operator Panel Keyboard putkey 6 - 15<br />

6.15 Shortest Path Calculation qcktool 6 - 15<br />

6.16 Search for the Value of a Byte rchb 6 - 16<br />

6.17 Search for the Value of a Word rchw 6 - 16<br />

6.18 Search for the Value of a Long Word rchl 6 - 17<br />

6.19 Return to Calling Module or Network return 6 - 18<br />

6.20 Jump to a Module Label without Return goto 6 - 19<br />

6.21 Jump to a Module Label with Return call 6 - 19<br />

6.22 Flag sema 6 - 20<br />

6.23 Set One or More Bytes setb 6 - 20<br />

6.24 Set One or More Words setw 6 - 21<br />

6.25 Set One or More Long Words setl 6 - 22<br />

6.26 Call %SP Modules 6 - 22<br />

6.26.1 Call an %SP Module sp 6 - 22<br />

6.26.2 Call an %SP Module with<br />

%Y Local Variables spy 6 - 23<br />

6.27 Format a Character String sprintf 6 - 24<br />

6.28 Integer Square Root sqrt 6 - 25<br />

6.29 Analyse an ASCII String sscanf 6 - 25<br />

6.30 Compare Two Character Strings strcmp 6 - 26<br />

6.31 Copy a Character String strcpy 6 - 27<br />

6.32 Calculate String Length strlen 6 - 27<br />

6.33 Swap the Even and Odd Bytes of a Word swapw 6 - 28<br />

6.34 Swap the Four Bytes of a Long Word swapl 6 - 29<br />

en-938846/7 6 - 1<br />

6

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

Saved successfully!

Ooh no, something went wrong!