Omron CK3M Seres Hardware User Manual page 282

Programmable multi-axis controller
Table of Contents

Advertisement

Appendices
Bit
Name
21 to
Com-
16
mand_Code
15 to
Reserve
14
13
SerialEncTrig-
Mode
12
SerialEncTrigE-
na
11
Reserve
10
SerialEncData-
Ready
09 to
Reserve
06
05 to
SerialEncNum-
00
Bits
The following shows examples of general settings.
MRS Code:
Command Code:
SerialEncTrigMode:
SerialEncTrigEna:
SerialEncDataReady:
SerialEncStatusBits: = Depending on encoder
ations
SerialEncNumBits:
ations
A-26
Set the Command Code to send to the Endat encoder.
This product supports the following four Command Codes.
000111 – Position data read
101010 – Encoder reset
111000 – Position data and additional data read
101101 – Position data and additional data read, encoder reset
Always set 0.
Serial trigger mode (continuous or one-shot) setting
Set whether to sample the encoder repeatedly or sample it only once.
For continuous sampling, it is sampled for each clock (phase or servo) to be set us-
ing Gate3[i].SerialEncCtrl.
0: Continuous sampling
1: One-shot sampling
Serial trigger enable
Set whether to sample the encoder.
When SerialEncTrigMode is continuous sampling, it is sampled continuously during
SerialEncTrigEna = 1.
When SerialEncTrigMode is one-shot sampling, it is sampled only once at Serial-
EncTrigEna = 1. When sampling is done, SerialEncTrigEna will be 0 automatically.
0: Serial encoder trigger disable
1: Serial encoder trigger enable
Always set 0.
Serial reception status read
0: Reception in progress
1: Reception done
This bit is read-only and writing is disabled.
Always set 0.
Number of encoder data bits setting
Set the number of bits of the position data to be sent from the encoder.
The valid setting range is from 12 to 40 (001100 to 101000).
= 0000000
= 000111
= 0
= 1
= 0
= Depending on encoder
CK3M/CK5M Series Programmable Multi-Axis Controller Hardware User's Manual (O036)
Function
// Additional data not set
// Position data read
// Continuous sampling
// Serial encoder trigger enable
// Read-only and writing is disable
// Set according to encoder specific
// Set according to encoder specific

Advertisement

Table of Contents
loading

Table of Contents