![Trio Motion Coordinator Euro 205 Technical Reference Manual Download Page 331](http://html1.mh-extra.com/html/trio/motion-coordinator-euro-205/motion-coordinator-euro-205_technical-reference-manual_1163425331.webp)
Motion Coordinator
Technical Reference Manual
Trio BASIC Commands 8-141
Mathematical Operations and Commands
CLEAR_BIT
Type:
Command
Syntax:
CLEAR_BIT(bit#,vr#)
Description:
CLEAR_BIT
can be used to clear the value of a single bit within a
VR()
variable.
Example:
CLEAR_BIT(6,23)
Bit 6 of VR(23) will be cleared (set to 0).
Parameters:
See also
READ_BIT, SET_BIT
CONSTANT
Type:
System Command
Syntax:
CONSTANT “name”, value
Description:
Declares the name as a constant for use both within the program containing the
CONSTANT
definition and all other programs in the Motion Coordinator project.
MC206 and MC224 only.
Parameters:
Example:
CONSTANT “nak”,$15
CONSTANT “start_button”,5
IF IN(start_button)=ON THEN OP(led1,ON)
IF key_char=nak THEN GOSUB no_ack_received
Note:
The program containing the
CONSTANT
definition must be run before the name is
used in other programs. For fast startup the program should also be the ONLY proc-
ess running at power-up.
A maximum of 128
CONSTANTs
can be declared.
bit #
Bit number within the VR. Valid range is 0 to 23
vr#
VR() number to use
name:
Any user-defined name containing lower case alpha, numeri-
cal or underscore (_) characters.
value
The value assigned to name.
Summary of Contents for Motion Coordinator Euro 205
Page 4: ......
Page 11: ...C H A P T E R CHAPTER0INTRODUCTION...
Page 12: ......
Page 27: ...C H A P T E R CHAPTER0HARDWARE OVERVIEW...
Page 28: ......
Page 35: ...Motion Coordinator Technical Reference Manual Hardware Overview 2 9 Motion Coordinator MC202...
Page 75: ...C H A P T E R CHAPTER0INSTALLATION...
Page 76: ......
Page 88: ...3 14 Installation EMC Considerations Trio Motion Technology...
Page 89: ...C H A P T E R CHAPTER0DAUGHTER BOARDS...
Page 90: ......
Page 126: ...4 38 Daughter Boards Profibus Daughter Board Trio Motion Technology...
Page 127: ...C H A P T E R CHAPTER0EXPANSION MODULES...
Page 128: ......
Page 158: ...5 32 Expansion Modules Communications Adaptors Trio Motion Technology...
Page 159: ...C H A P T E R CHAPTER0SYSTEM SETUP AND DIAGNOSTICS...
Page 160: ......
Page 173: ...C H A P T E R CHAPTER 0PROGRAMMING...
Page 174: ...7 2 Programming Trio Motion Technology...
Page 190: ...7 18 Programming Command Line Interface Trio Motion Technology...
Page 191: ...C H A P T E R CHAPTER0TRIO BASIC COMMANDS...
Page 192: ......
Page 200: ...8 10 Trio BASIC Commands Trio Motion Technology VERIFY 8 178 VFF_GAIN 8 178 VP_SPEED 8 179...
Page 254: ...8 64 Trio BASIC Commands Input Output Commands Trio Motion Technology...
Page 372: ...8 182Trio BASIC Commands Axis Parameters Trio Motion Technology...
Page 373: ...C H A P T E R CHAPTER 0PROGRAMMING EXAMPLES...
Page 374: ......
Page 389: ...C H A P T E R CHAPTER0SUPPORT SOFTWARE...
Page 390: ......
Page 472: ...10 84Support Software Project Autoloader Trio Motion Technology...
Page 473: ...C H A P T E R CHAPTER0FIBRE OPTIC NETWORK...
Page 474: ......
Page 486: ...11 14Fibre Optic Network Network Specification Trio Motion Technology...
Page 487: ...C H A P T E R CHAPTER0USING THE TRIO ACTIVEX CONTROL...
Page 488: ......
Page 518: ...12 32Using the Trio ActiveX Control Events Trio Motion Technology...
Page 519: ...C H A P T E R CHAPTER0COMMUNICATIONS PROTOCOLS...
Page 520: ......
Page 551: ...A P P E N D I X CHAPTER 0REFERENCE...
Page 552: ......