| Home | Welcome | About | Products | Services | Support | Help | Contact | Search | |||
|
|||
| OSAI
USA - 105A West Dudley Town Road - Bloomfield - CT 06002 |
| The
following function blocks can be used with the 10/Series CNC control.
The files are available for download in a ZIP format, and can be downloaded
by clicking on the relevant link.
To add the Function Blocks to your project, unzip the files to the ABLOG\LIB or LOG\LIB directory and import it into the library from inside the PLUS editor. ABSWConverts a signed short to a positive value
B2F_ADDDouble variables are selected by Boolean variables and the selections are added together
B2W_ADDShort variables are selected by Boolean variables and the selections are added together
BAR_GRAFCreates a linear bar graph from an input value
BIT2WConverts a Boolean variable to an equivalent short 0 or 1
CADDConditionally adds two doubles
CADDWConditionally adds two shorts
CDIVConditionally divides two doubles
CDIVWConditionally divides two shorts
CINCWConditionally increments a short
CINCW_ROConditionally increments a short with roll-over
CMPDConditionally compares two doubles
CMULConditionally multiplies two doubles
CNEGDConditionally inverts a double
CNEGWConditionally inverts a word
CSENDConditional send
CSLLConditional shift left
CSUBConditional double subtract
CWAITConditional wait
DATETIMEPuts date and time into variables for part program access
DECODECompare and input word with another input variable and sets a Boolean output
DECODE1Converts a short value between 1 and 16 to a bit position in a word. Val1 = bit0, Val16=bit15 etc.
DEFSUBSubroutine definition without input parameters
DIS_DConverts a double to ASCII and displays it on the specified screen, at the specified row and column
DIS_WConverts a short to ASCII and displays it on the specified screen, at the specified row and column
ENCODEConverts a bit position between 0 and 15 to a short value between 1 and 16
ENCODERConverts a bit pattern to a short
FLT_STRAppends a float value to an ASCII string
GETDECSeparates the decimal (fractional) part of a float from its integer and stores it in a float
GRAY2DECConverts Gray code to Decimal
LIMDSets a bit if an input float value is between an upper and lower limit
LIMWSets a bit if an input short value is between an upper and lower limit
MES_HISStores first occurrence of message in history file and displays multiple messages sequentially
MUXDDouble variable muliplexer allows selection of double by Boolean
MUXWShort variable muliplexer allows selection of short by Boolean
RES_ACKRegisters that a task has been executed to assist handling of reset
RES_ENDManages reset acknowledge on completion of all tasks
SELDDouble values are selected based on a short word value
SELWSelect short data based on the value of a short
SP2AXManages spindle to axis switching
TESTDTest if a value is less than a pre-set value
TESTWTest if a value is less than a pre-set value
TIMFLASHEnable an output for a time and disable for a time
TONTimer on, with pre-set time period
|
| Home | Welcome | About | Products | Services | Support | Help | Contact | Search |
| Copyright
© 2003 OSAI USA. All specifications subject to change without notice.
The OSAI logo is a registered trademark of OSAI. Other products and companies
referred to are trademarks or registered trademarks of their respective
companies. |