Referencing and offset calculation command. Schneider Electric Software PLC Application-Specific Functions, Axis control, Junior/Pro, 4.5, PL7 Junior/Pro - Premium PLC Application-specific functions - Axis control
Quảng cáo
Quảng cáo
Programming
Referencing and offset calculation command
Introduction
Assisted offset
If an assisted offset absolute encoder is being used, referencing and offset calculations can be set using the RP_HERE command.
An edge on the RP_HERE (%Qxy.i.6) bit is used to change the axis to a referenced state.
If the encoder has been declared in assisted offset mode (any reference must be cancelled), the offset is recalculated at the current point as being at position defined in the PARAM parameter. This position is entered either in the %QDxy.i.2 double word or in the debugging screen of the TSX CAY module.
In this case, it is essential to force adjustment parameters to be saved so as not to l l lose them on restart:
Either use Save parameters from the adjustment screen.
Or via the application by calling the SAVE_PARAM function.
Note: The value of PARAM must be between the soft stops.
The offset calculation is refused if an adjustment is in progress or if the axis is referenced.
If resolution is modified, the offset must be recalculated.
186
TLX DS 57 PL7 xxE
Tải xuống
Quảng cáo