Omron TJ2-MC64 - PROGRAMMING Programming Manual page 321

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

Advertisement

Examples and tips
ENDIF
ENDIF
NEXT i
'Reset sequence for AXIS error
DATUM(0)
CLEAR_BIT(0,status_bits)
'MECHATROLINK devices reset sequence
IF (SYSTEM_ERROR AND $40000)<>0 THEN
'Omron Auto Generated - ML IO
'Warning: Automated code section - any manual code changes
'will be lost.
'Omron Auto Generated - ML IO End
'Same with the other IO devices
ELSEIF SYSTEM_ERROR<>0 THEN
'Other system error needs initialisation of the system
EX
ENDIF
RETURN
'--------------------------------------------------------
warning_seq:
IF READ_BIT(15,diag01) THEN
'Clear servodrive warning if any
IF res_bit=1 THEN
FOR i=0 TO max_axis
BASE(i)
IF ATYPE>=40 AND ATYPE<=42 THEN
IF (DRIVE_STATUS AND 2)>0 THEN DRIVE_CLEAR
PROGRAMMING MANUAL
315

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents