EasyManua.ls Logo

Omron TJ2-MC64 - PROGRAMMING

Omron TJ2-MC64 - PROGRAMMING
362 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...
Examples and tips
PROGRAMMING MANUAL 308
Revision 1.0
'VR(911,913 ... 941) - VR(servo_alarm+axis_n*2) stores the
'alarm code of the servo
'Omron Auto Generated - Symbols
'Warning: Automated code section - any manual code changes
will be lost.
First action is to declare the GLOBAL variables and CONSTANTS and
make other initialization
'Omron Auto Generated - Globals
GLOBAL "length",0
GLOBAL "lot_n",1
GLOBAL "product_type",2
GLOBAL "machine_speed",3
GLOBAL "status_word",900 'SHELL
GLOBAL "action",902 'SHELL
GLOBAL "sys_error",908 'SHELL
GLOBAL "first_error",909 'SHELL
'Omron Auto Generated - Constants
CONSTANT "max_axis",15 'SHELL
CONSTANT "status_bits",901 'SHELL
CONSTANT "diag01",903 'SHELL
CONSTANT "diag02",904 'SHELL
CONSTANT "diag03",905 'SHELL
CONSTANT "system01",906 'SHELL
CONSTANT "signal_state",907 'SHELL
CONSTANT "servo_status",910 'SHELL
CONSTANT "servo_alarm",911 'SHELL
'ETHERNET Settings
ETHERNET(1,-1,12,9600) 'FINS port number
ETHERNET(1,-1,7,0) 'Modbus TCP Mode
ETHERNET(1,-1,9,0) 'Modbus TCP Data Configuration
'Omron Auto Generated - CAM TABLE

Related product manuals