beautypg.com

Delta RMC151 User Manual

Page 9

background image

Table of Contents

RMCTools Security Policy and Agreement ............................................................ 300

User Programs ..................................................................................................... 301

User Programs Overview .....................................................................................................................301

Creating User Programs .......................................................................................................................303

Verifying User Programs ......................................................................................................................307

Running User Programs .......................................................................................................................308

Stopping User Programs .......................................................................................................................309

Labeling Steps ......................................................................................................................................310

Exporting and Importing User Programs..............................................................................................311

Using Expressions for Commanded Axes ............................................................................................311

Link Types ...........................................................................................................................................312

Link Types Overview ........................................................................................................................................ 312

Link Type: Immediate ....................................................................................................................................... 313

Link Type: Jump ............................................................................................................................................... 314

Link Type: Delay .............................................................................................................................................. 314

Link Type: Wait For ......................................................................................................................................... 316

Link Type: Conditional Jump ........................................................................................................................... 316

Link Type: End ................................................................................................................................................. 318

Data Types ........................................................................................................... 318

Data Types ...........................................................................................................................................318

BOOL Data Type .................................................................................................................................319

DINT Data Type ...................................................................................................................................320

DWORD Data Type .............................................................................................................................320

REAL Data Type ..................................................................................................................................321

Expressions .......................................................................................................... 321

Expressions Overview ..........................................................................................................................321

Assignment Expressions.......................................................................................................................322

Condition Expressions ..........................................................................................................................324

Value Expressions ................................................................................................................................326

Local Variables in User Program Steps ................................................................................................327

Arrays ...................................................................................................................................................328

Operators ..............................................................................................................................................330

Keywords .............................................................................................................................................332

IF Statement .........................................................................................................................................332

Constants ..............................................................................................................................................333

Comments ............................................................................................................................................334

Limitations of 32-bit Numbers .............................................................................................................334

Troubleshooting Expressions ...............................................................................................................335

Functions ............................................................................................................. 336

Functions Overview .............................................................................................................................336

Standard Functions ...............................................................................................................................337

Standard Functions ............................................................................................................................................ 337

ABS Function.................................................................................................................................................... 339

ACOS Function ................................................................................................................................................. 339

ADDR_OFS Function ....................................................................................................................................... 340

ASHR Function ................................................................................................................................................. 340

ASIN Function .................................................................................................................................................. 341

ATAN Function ................................................................................................................................................ 341

CEIL Function .................................................................................................................................................. 342

COPY Function ................................................................................................................................................. 342

COS Function.................................................................................................................................................... 344

COSH Function ................................................................................................................................................. 345

CRV_EXISTS Function .................................................................................................................................... 345

CRV_FIRST_X Function.................................................................................................................................. 346

CRV_INTERP Functions .................................................................................................................................. 346

CRV_LAST_X Function .................................................................................................................................. 348

DINT_TO_DWORD Function .......................................................................................................................... 348

DINT_TO_REAL Function .............................................................................................................................. 348

DWORD_TO_DINT Function .......................................................................................................................... 349

deltamotion.com

ix

This manual is related to the following products: