SY

Syntax:Explicit or Implicit
Operands:_SYn
Burn:burnable with BN

Serial encoder BiSS active level

Hardware: DMC40x0 DMC41x3 RIO DMC300x0

Full Description

This command is used to designate the active level of the Error and Warning bits when using the Galil BiSS upgrade. The BiSS protocol defines two bits which can be used by the encoder to signal various events. The encoder manufacturer dictates the high/low active state of both of these bits. Consult your encoder documentation for details.

The SY mask should be set appropriately to ensure that the #SERERR automatic subroutine will run when the bits are active, and that the _SSn operand reports the fault state of the encoder correctly.

Example of Warning and Alarm/Error bit use

Quoted from Renishaw Data Sheet L-9709-9005-03-A

Error (1 bit)
The error bit is active low: "1" indicates that the transmitted position information has been 
verified by the readhead's internal safety checking algorithm and is correct; "0" indicates 
that the internal check has failed and the position information should not be trusted. 
The error bit is also set to "0" if the temperature exceeds the maximum specification for the 
product.

Warning (1 bit)
The warning bit is active low: "0" indicates that the encoder scale (and/or reading window) 
should be cleaned. Note that the warning bit is not an indication of the trustworthiness of 
the position data. Only the error bit should be used for this purpose.

Arguments

SY m,m,m,m,m,m,m,m or SYn=m

where
m specifies the axis Error and Warning active high/low configuration according to the following table.

SY argument
SY "m" argumentWarning BitError Bit
0Active LowActive Low
1Active LowActive High
2Active HighActive Low
3 (default)Active HighActive High

Operands

_SYn contains the current state of the SY setting

Usage

Usage and Default Details
UsageValue
While Moving Yes
In a ProgramYes
Command LineYes
Default Value3

Related Commands

SS - Configure the special Galil BiSS feature
#SERERR - Serial Encoder Error Automatic Subroutine

Examples

'configure SY for Renishaw Resolute encoder
SYA=0