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

Hide thumbs Also See for TJ1-MC04 - PROGRAMMING 1:
Table of Contents

Advertisement

BASIC commands
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
/i
Bit 1
Bit 2
0
0
0
1
1
0
1
1

3.2.200 OUTDEVICE

/i
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.
PROGRAMMING MANUAL
Result
0
1
1
1
See also
PRINT.
/i
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

3.2.201 OUTLIMIT

/i
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.

3.2.202 OV_GAIN

/i
Type
Axis parameter
Syntax
OV_GAIN
121

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-mc16 - programming 1Tj1-mc04 1

Table of Contents