![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454227.webp)
All BASIC commands
Section 4-2
216
4-2-185 PLC_STATUS
/i
/i
/i
4-2-186 PMOVE
/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.
Bit number
Description
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.
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
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
.
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...