Mitsubishi Electric MELSEC iQ-R Series User Manual page 364

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

Advertisement

■Input variables
Import : At start, R: Retrigger possible, C: Continuous update possible
Name
Variable name
Execute
Execute
command
Continuous
ContinuousUpdat
update
e
Enabled window
WindowOnly
Lower limit
FirstPosition
position
Upper limit
LastPosition
position
Probe data
ProbeData
Compensation
CompensationTi
time
me
Latch mode
RecordMode
Number of latch
RecordCount
times
Storage location
OutputBuffer
of latch data
■Output variables
Name
Completion
Executing
Abortion of execution
Error
Error code
The current value monitor
data
Latch position
Number of latch times
Probe ID
12 COMMON FUNCTIONS
362
12.2 Touch Probe
Data type
Import
BOOL
BOOL
/R/C
BOOL
/R/C
LREAL
/R/C
LREAL
TARGET_REF
LREAL
MC_RECORD_
MODE
WORD(UINT)
TARGET_REF
Variable name
Data type
Done
BOOL
Busy
BOOL
CommandAborted
BOOL
Error
BOOL
ErrorID
WORD(UINT)
PositionData
LREAL
RecordedPosition
LREAL
RecordedCounter
WORD(UINT)
TouchProbeID
WORD(UINT)
Setting range
Default
value
FALSE
FALSE
FALSE
Depends on the
0.0
probe data
Depends on the
0.0
probe data
-5.0 to 5.0 [s]
0.0
0
0 to 2
1 to 10000
1
Default
value
FALSE
FALSE
FALSE
FALSE
0000H
0.0
0.0
0
0
Description
When TRUE, it executes the FB.
During TRUE, it can continuously change the
enabled window, the first position, and the last
position.
When it is TRUE, triggers are detected only in the
defined area.
Specifies the lower limit position of the trigger
event valid area. The valid area includes the
lower limit position.
Specifies the upper limit position of the trigger
event valid area. The valid area does not include
the upper position.
Sets the probe data.
Page 358 TARGET_REF structure
Compensates the delay time of the touch probe
process. Set a positive value to compensate for a
delay.
Sets the latch method of the data.
0: OneShot: One shot mode
1: RecordCount: Number of designation times
mode
2: RingBuffer: Ring buffer mode
Sets the number of latch times.
Sets the storage location of latch data. When it is
omitted, latch data is output only in
RecordedPosition.
Description
When TRUE, it indicates the output value is valid.
Indicates that the FB is in execution.
Indicates that an execution of FB is aborted by
error and multipul start.
Indicates that an error has occurred in the FB.
The error code generated is returned.
For details, refer to the following.
Page 534 List of Error Codes
Stores the current value of data to be latched.
Stores the current value when a trigger event is
occurring. When latch is executed multiple times,
the data is overwritten by the latest data.
Stores the number of times that latch is executed.
Stores the ID unique to this FB.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents