Omron trajexia CJ1W-MCH72 Operation Manual page 227

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-185 PLC_STATUS
4-2-186 PMOVE
216
/i
Type
System parameter (read-only)
Syntax
PLC_STATUS(mode)
Description
The PLC_STATUS(0) system parameter contains the monitored PLC
CPU/PC21 bus status. The status consists of status bits, which defini-
tions are shown in the table below.
/i
Bit number
8
PLC Program Mode flag
9
FALS (Severe Failure) PLC flag
10
FAL (Non-severe Failure) PLC flag
11
LOAD OFF PLC flag
12
Axes watchdog enable monitor. See word n, bit 1 3-3-1-1.
14
Output enable monitor. See word n, bit 3 3-3-1-1.
/i
PLC_STATUS(1) returns the elapsed time in milliseconds since the last
PLC cyclic service. This function allows you to monitor the PLC CPU
using a shorter time than the default of 11 seconds.
Arguments
mode
0 or 1, to return the status or the elapsed time since the last PLC
cyclic service.
Example
No example.
See also
PLC_EXCHANGE
/i
Type
Task parameter (read-only)
Syntax
PMOVE
Description
The PMOVE parameter contains the status of the task buffers. The
parameter returns TRUE if the task buffers are occupied, and FALSE if
they are empty.
When the task executes a movement command, the task loads the
movement information into the task move buffers. The buffers can hold
one movement instruction for any group of axes. PMOVE will be set to
TRUE when loading of the buffers has been completed. When the next
servo interrupt occurs, the motion generator loads the movement into
the next move (NTYPE) buffer of the required axes if they are available.
When this second transfer has been completed, PMOVE is cleared to 0
until another move is executed in the task.
Each task has its own PMOVE parameter. Use the PROC modifier to
access the parameter for a certain task. Without PROC the current task
will be assumed.
Arguments
N/A
Example
No example.
See also
NTYPE, PROC.
Section 4-2
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents