EasyManua.ls Logo

Omron TJ1-MC04 - PROGRAMMING 1 - Outdevice; Outlimit; Ov_Gain

Omron TJ1-MC04 - PROGRAMMING 1
312 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC commands
PROGRAMMING MANUAL 121
Revision 3.0
/i
3.2.200 OUTDEVICE
/i
/i
3.2.201 OUTLIMIT
/i
3.2.202 OV_GAIN
/i
Example Example 1:
result = 10 OR (2.1*9)
The parentheses are evaluated first, but only the integer part of the
result, 18, is used for the operation. Therefore, this expression is
equivalent to the following:
result = 10 OR 18
Therefore, result will contain the value 26.
Example 2:
Example result = 10 OR 18
The OR is a bit operator and so the binary action taking place is:
01010 OR 10010 = 11010
Example IF KEY OR VR(0) = 2 THEN GOTO label
See also N/A
Bit 1 Bit 2 Result
000
011
101
111
Type I/O parameter
Syntax OUTDEVICE
Description The OUTDEVICE parameter defines the default output device. This device
will be selected for the PRINT command when the #n option is omitted. The
OUTDEVICE parameter is task specific. The supported values are listed in
the table below.
Arguments N/A
Example No example.
See also PRINT.
Value Description
0 Programming port 0 (default)
1 RS-232C serial port 1
2 RS-422A/485 serial port 2
5 Trajexia Tools port 0 user channel 5
6 Trajexia Tools port 0 user channel 6
7 Trajexia Tools port 0 user channel 7
Type Axis parameter
Syntax OUTLIMIT
Description The output limit restricts the demand output from a servo axis to a lower value
than the maximum. The value required varies depending on the maximum
demand output possible. If the voltage output is generated by a 16 bit DAC
values an OUTLIMIT of 32767 will produce the full +/-10v range. A MECHA-
TROLINK-II speed axis has a 32 bit maximum demand.
Arguments N/A
Example No example.
See also AXIS, S_REF, S_REF_OUT, SERVO.
Type Axis parameter
Syntax OV_GAIN
I52E-EN-03.book Seite 121 Freitag, 29. Juni 2007 11:55 11

Table of Contents

Related product manuals