Omron trajexia CJ1W-MCH72 Operation Manual page 161

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-92 ENCODER_WRITE
4-2-93 ENDIF
4-2-94 ENDMOVE
150
/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.
See
IF..THEN..ELSE..ENDIF
/i
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.
.
Section 4-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents