Omron TJ2-MC64 - PROGRAMMING Programming Manual page 314

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

Advertisement

Examples and tips
'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
PROGRAMMING MANUAL
308

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents