Commserror; Compile - Omron TJ1-MC04 - PROGRAMMING 1 Programming Manual

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

Advertisement

BASIC commands
See also
AXIS, CONNECT, MOVELINK.

3.2.51 COMMSERROR

/i
Type
System parameter (read-only)
Syntax
COMMSERROR
Description
The COMMSERROR parameter contains the communication errors that
have occurred since the last time that it was initialized.
The bits in COMMSERROR are given in the table below.
Arguments
N/A
Example
No example.
See also
N/A
/i
Bit
Description
8
Port 1 Rx data ready
9
Port 1 Rx Overrun
10
Port 1 Parity Error
11
Port 1 Rx Frame Error
12
Port 2 Rx data ready
13
Port 2 Rx Overrun
14
Port 2 Parity Error
15
Port 2 Rx Frame Error
PROGRAMMING MANUAL
Error location
Serial port 1
Serial port 1
Serial port 1
Serial port 1
Serial port 2
Serial port 2
Serial port 2
Serial port 2
3.2.52 COMMSTYPE
/i
Type
Slot parameter
Syntax
COMMSTYPE SLOT(unit_number)
Description
This parameter returns the type of unit in a controller unit. The table below
lists the return values.
Arguments
unit_number
Unit numbers are 0 to 6, with 0 being the unit immediately to the right of
the TJ1-MC__.
Example
No example.
See also
N/A
/i
Return value
Description
0
Unused unit
31
TJ1-ML__
33
TJ1-FL02
34
TJ1-PRT
35
TJ1-DRT

3.2.53 COMPILE

/i
Type
Program command
Syntax
COMPILE
Description
The COMPILE command forces the compilation the current program to inter-
mediate code. Program are compiled automatically by the system software
prior to program execution or when another program is selected.
Arguments
N/A
Example
No example.
See also
N/A
58

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-mc16 - programming 1Tj1-mc04 1

Table of Contents