Download MCX312 User`s Manual

Transcript
MCX312 – M69
NOVA electronics Inc.
6.10 Logical Position Counter Setting
Code
Command
Symbol
09h
Logical position counter setting
LP
Data Range
−2,147,483,648
~
+2,147,483,647
Data Length
4 bytes
“LP” is the parameter setting the value of logic position counter.
Logical position counter counts Up / Down according to the +/− direction pulse output.
The data writing and reading of logical position counter is possible anytime.
6.11 Real position Counter Setting
Code
0Ah
Command
Symbol
Real position counter setting
Data Range
EP
−2,147,483,648
~
+2,147,483,647
Data Length
4 bytes
“EP” is the parameter setting the value of real position counter.
Real position counter counts Up / Down according to encoder pulse input.
The data writing and reading of real position counter is possible anytime.
6.12 COMP+ Register Setting
Code
0Bh
Command
Symbol
COMP+ register setting
Data Range
CP
−2,147,483,648 ~ +2,147,483,647
Data Length
4 bytes
“CP” is the parameter setting the value of COM+ register.
COMP+ register is used to compare with logical / real position counter, and the comparison result will be output to bit D0 of
register RR1 or nOUT2/CMPP signal. Also, it can be used as the + direction software limit.
The value of COMP+ register can be written anytime.
6.13 COMP− Register Setting
Code
0Ch
Command
Symbol
COMP− register setting
Data Range
CM
−2,147,483,648 ~ +2,147,483,647
Data Length
4 bytes
“CM” is the parameter setting the value of COMP − register.
COMP− register is used to compare with logical / real position counter, and the comparison result will be output to bit D0 of
RR1 register or nOUT3/CMPM signal. Also, it can be used as the direction software limit.
The value of COMP− register can be written anytime.
– 69 –