Omron TJ2-MC64 - PROGRAMMING Programming Manual page 102

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

BASIC commands
Arguments
function
0 = Read, 1 = Write.
unit_number
-1.
parameter
0 = IP Address
2 = Subnet Mask
3 = MAC address
4 = Default Port Number (initialised to 23)
5 = Token Port Number (initialised to 3240, used by Trajexia Studio)
7 = ModbusTCP mode: Integer (0) or IEEE floating point (1)
8 = Default Gateway
9 = Data configuration: VR variables (0) or TABLE (1)
10 = ModbusTCP Port Number (initialised to 502)
11 = ARP cache (read-only).
12 = Default FINS Port Number (initialised to 9600), see also section
4.2.2.
values
The required parameter for a write.
Example
ETHERNET(1,-1,0,192,200,185,2)
Set the Trajexia IP address to 192.200.185.2.
See also
N/A
3.2.121 EX
/i
Type
System command
Syntax
EX[(option)]
Description
Resets the controller as if it were being powered up again.
There are two types of reset performed by the EX command. EX without the
argument, or EX(0) does the software reset of the controller. EX(1) does the
hardware reset of the controller, also resetting the communication interface.
This e.g. is necessary to make a changed IP address effective.
Arguments
N/A
Example
No example.
See also
N/A
PROGRAMMING MANUAL
3.2.122 EXP
/i
Type
Mathematical function
Syntax
EXP(expression)
Description
The EXP function returns the exponential value of the expression.
Arguments
expression
Any valid BASIC expression.
Example
>>PRINT EXP(1.0)
2.7183
See also
N/A
3.2.123 FALSE
/i
Type
Constant (read-only)
Syntax
FALSE
Description
The FALSE constant returns the numerical value 0.
Arguments
N/A
Example
test:
res = IN(0) OR IN(2)
IF res = FALSE THEN
PRINT "Inputs are off"
ENDIF
See also
N/A
3.2.124 FAST_JOG
/i
Type
Axis parameter
Syntax
FAST_JOG
96

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents