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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A.1 List by Themes<br />

A.1.1 General Purpose Functions<br />

Lists of Functions<br />

Function Description Page<br />

atoi() Convert an ASCII string to a signed integer of 32 bits 6-3<br />

atoj() Convert an ASCII string to a signed integer of 32 bits 6-4<br />

bcd_bin() BCD —> binary code conversion 6-5<br />

bin_bcd() Binary —> BCD code conversion 6-6<br />

bit() Separate bits into bytes 6-7<br />

call() Jump to a module label with return 6-19<br />

cpyarg() Read the parameters stored on the stack 6-8<br />

cpyb() Copy one or more bytes 6-9<br />

cpyl() Copy one or more long words 6-11<br />

cpyw() Copy one or more words 6-10<br />

diagiq() Set the self-test period 6-11<br />

goto() Jump to a module label without return 6-19<br />

iota() Convert a signed integer to an ASCII string 6-12<br />

itostr() Convert an unsigned integer to an ASCII string 6-12<br />

oct() Concatenate a byte into bits 6-13<br />

putkey() Simulate operator panel keyboard 6-15<br />

qcktool() Shortest Path Calculation 6-15<br />

R_E42000 Read n variables E42000 6-31<br />

rchb() Search for the value of a byte 6-16<br />

rchl() Search for the value of a long word 6-17<br />

rchw() Search for a value of a word 6-16<br />

return() Return to the calling module or network 6-18<br />

sema() Flag 6-20<br />

setb() Write one or more bytes 6-20<br />

setl() Write one or more long words 6-22<br />

setx() Write one or more words 6-21<br />

sp() Call an %SP module 6-22<br />

sprintf() Format a character string 6-24<br />

spy() Call an %SP module with %Y local variables 6-23<br />

sqrt() Integer square root 6-25<br />

sscanf() Analyse an ASCII string 6-25<br />

strcmp() Compare two character strings 6-26<br />

strcpy() Copy a character string 6-27<br />

strlen() Calculate the length of a string 6-27<br />

swapl() Swap the four bytes of a long word 6-29<br />

swapw() Swap the even and odd bytes of a word 6-28<br />

tooldyn() Change a tool wear offset 6-30<br />

en-938846/7 A - 3<br />

A

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

Saved successfully!

Ooh no, something went wrong!