Mitsubishi Electric MELSEC iQ-R Series User Manual page 274

Motion module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■I/O variable
Import : At start
Name
Variable
name
Axis information
Axis
■Input variables
Import : At start
Name
Variable
name
Execute
Execute
command
Target position
Position
Relative position
Relative
selection
Execution mode
ExecutionMode
Options
Options
*1 For a bit and the function description, refer to the following table.
Bit
Function description
0 to 15
Empty (Reserved)
16
Specifies whether cancel is allowed or not after FB is started.
FALSE: Not allow
TRUE: Allow
17 to 31
Empty (Reserved)
■Output variables
Name
Execution completion
Executing
Abortion of execution
Error
Error code
Cancel acceptance
8 RELEVANT FUNCTIONS to POSITION
272
8.1 Current Position Change Function
Data type
Input
import
AXIS_REF
Data type
Import
BOOL
LREAL
BOOL
MC_EXECUTIO
N_MODE
DWORD(HEX)
Variable name
Data type
Done
BOOL
Busy
BOOL
CommandAborted
BOOL
Error
BOOL
ErrorID
WORD(UINT)
CancelAccepted
BOOL
Setting range
Default
value
Omission
not possible
Setting range
Default
value
TRUE, FALSE
FALSE
Page 67
0
Positioning Range
TRUE, FALSE
FALSE
1 to 3
3
*1
00000000H
Default
value
FALSE
FALSE
FALSE
FALSE
0
FALSE
Description
Page 568 Axis variables
Description
When TRUE, it executes the FB.
Sets the target position value.
The current position change with relative distance
is set when Relative turns TRUE. The current
position change with absolute position is set when
Relative is FALSE.
1: mcQueued (Execute at completion)
3: mcSpeculatively (Execute speculatively)
When "1: mcQueued", it executes after the
previous FB is completed.
When "3: mcSpeculatively", it can execute only
when there is no on-going FB on the specified
axis.
Sets a function option with bit specification.
Description
Indicates that the current position change is
completed.
Indicates that the FB is in execution.
When TRUE, it indicates that execution is
interrupted.
When TRUE, it indicates that an error has
occurred
The error code generated in the FB is returned.
For details, refer to the following.
Page 534 List of Error Codes
Indicates that the FB accepted cancel.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents