![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454161.webp)
All BASIC commands
Section 4-2
150
4-2-92 ENCODER_WRITE
/i
4-2-93 ENDIF
See
IF..THEN..ELSE..ENDIF
.
4-2-94 ENDMOVE
/i
Type
Axis command
Syntax
ENCODER_WRITE(address, value)
Description
The
ENCODER_WRITE
command is applicable only to Flexible axis
absolute EnDat axis with
ATYPE
value 47. The command writes to an
encoder parameter specified by the address. Bits 8 -15 of the address
are the EnDat MRS field settings and bits 0 - 7 are the offset within the
EnDat MRS block. If a CRC error occurs, this command will return 0.
Writing to address 0 performs an encoder reset function.For more infor-
mation see EnDat absolute encoder interface specification.In order to
successfully write an encoder parameter with this command, the
ENCODER_CONTROL
parameter must be set to 1, encoder parameter
read/write mode.
Arguments
•
address
Specifies the EnDat MRS field to write to.
•
value
Any valid BASIC expression.
Example
No example.
See also
AXIS
,
ENCODER
,
ENCODER_BITS
,
ENCODER_CONTROL
.
Type
Axis parameter
Syntax
ENDMOVE
Description
The
ENDMOVE
axis parameter holds the position of the end of the cur-
rent move in user units. If the
SERVO
axis parameter is ON, the
ENDMOVE
parameter can be written to produce a step change in the
demand position (
DPOS
).
Note: As the measured position is not changed initially, the Following
Error limit (
FE_LIMIT
) should be considered when writing to ENDMOVE
to produce a step change. If the change of demanded position is too
big, the limit will be exceeded.
Arguments
N/A
Example
No example.
See also
AXIS
,
DPOS
,
FE_LIMIT
,
UNITS
.
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...