Process; Procnumber; Profibus - Omron TJ1-MC04 - PROGRAMMING 1 Programming Manual

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

Advertisement

BASIC commands

3.2.211 PROCESS

/i
Type
Program command
Syntax
PROCESS
Description
The PROCESS command returns the status list of all running tasks with their
task number.
Arguments
N/A
Example
No example.
See also
HALT, RUN, STOP.

3.2.212 PROCNUMBER

/i
Type
Task parameter (read-only)
Syntax
PROCNUMBER
Description
The PROCNUMBER parameter contains the number of the task in which the
currently selected program is running. PROCNUMBER is often required
when multiple copies of a program are running on different tasks.
Arguments
N/A
Example
MOVE(length) AXIS(PROCNUMBER)
See also
PROC_STATUS, PROC.
PROGRAMMING MANUAL

3.2.213 PROFIBUS

/i
Type
System command
Syntax
PROFIBUS(unit_number, 2,1,VR_start_outputs,no_outputs,
VR_start_inputs,no_inputs)
PROFIBUS(unit_number,4,0)
Description
PROFIBUS function 2 configures the TJ1-PRT for data exchange with the
PROFIBUS-DP master unit and defines areas in the VR memory where I/O
exchange takes place. PROFIBUS function 4 returns the data exchange sta-
tus of the TJ1-PRT. Refer to the table for the description of the bits in the data
exchange status word.
Arguments
unit_number
Specifies the unit number of the TJ1-PRT in the Trajexia system.
VR_start_outputs
The starting address in VR memory of the controller where the output
data from the PROFIBUS-DP master is located.
no_outputs
The number of output words from the PROFIBUS-DP master in VR
memory.
VR_start_inputs
The starting address in VR memory of the controller where the input data
for the PROFIBUS-DP master is located.
no_inputs
The number of input words to the PROFIBUS-DP master in VR memory.
Example
PROFIBUS (0,2,1,10,16,150,31)
In this example, the TJ1-PRT is configured to exchange data with PROFI-
BUS-DP master with 16 output words (received from the master) located at
VR(10) to VR(25), and 31 input words (sent to the master) located at VR(150)
to VR(180).
See also
N/A
/i
125

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-mc16 - programming 1Tj1-mc04 1

Table of Contents