Omron TJ2-MC02 Hardware Reference Manual page 242

Trajexia machine control system
Table of Contents

Advertisement

Hardware reference
Example
The following example maps the FQ-M (address 1002) Command area to VR
locations 100 to 104 and the Response and Output area to VR locations 200
to 212:
ETHERCAT($66,0,1002,100,5,200,13)
As a result the Control word is mapped to VR(100), the Command word to
VR(101), etc..
The status of the FQ-M can be read from VR(200).
To read the ERR flag, use READ_BIT(15,200)
Note
Please refer to the FQ-M User's manual (Z314-E1) to configure
the Fieldbus Data Output.
Command Specifications
The following commands can be sent to the FQ-M to control its functions.
Function
Start continuous measurement
End continuous measurement
Clear measurement values
Clear Data Output Buffer
Reset Encoder Counter
Save Data in Sensor
Re-register Model
Reset
Get Scene Number
Select Scene
Get Inspection Item Data
Set Inspection Item Data
Get Software Version Information
Get Encoder Counter
Set Encoder Counter
HARDWARE REFERENCE MANUAL
Command code
$00101020
$00101030
$00102010
$00102020
$00102030
$00103010
$00104010
$0010F010
$00201000
$00301000
$00401020
$00501020
$00403000
$00206000
$00306000
236

Advertisement

Table of Contents
loading

Table of Contents