MC_TRIGGER_REF
MC_TRIGGER_REF: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Input | MC_INPUT_REF | Reserved for future use |
|
| Bit | UINT | Bit ID that represents unique pins on the hardware where the trigger is wired. See Notes for more detail. | myTrigger.Bit := UINT#1; |
| Pattern | INT | Reserved for future use. |
|
| ID | UINT | Unique ID for each trigger on the same axis; used as a link between MC_TouchProbe and MC_AbortTrigger. If using simultaneous MC_TouchProbe function blocks , specify unique IDs.See Notes for more detail. | myTrigger.ID := UINT#1 |
MC_INPUT_REF: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| ID | UINT | Reserved for future use |
|
Notes
CoE amplifier latch
features
-
Position data available to be latched
- CoE amplifiers can be configured to latch position from any of:
- Encoder configured to provide position data for semi- or full-closed operation
- Encoder configured as dual feedback (Sigma-7S and Sigma-XS).
- CoE amplifiers can be configured to latch position from any of:
-
Internal latch signals
- CoE amplifiers can latch encoder position based on the index pulse (C-pluse).
- For CoE amplifiers only, the source of the C-pulse can be either the servo position control encoder (1.1.1 above) or the dual feedback encoder (1.1.2 above). The source becomes the dual feedback encoder when the encoder is configured and Pn00E.3 is set.
-
External latch signals
- On CoE amplifiers, the latch nomenclature is PROBE1, PROBE2, and HOME. PROBE1 is analogous to EXT1, PROBE2 is analogous to EXT2, and HOME is analogous to EXT3 on Mechatrolink.
-
External latch signal mapping
- The default CoE latch signal is:
- PROBE1 = SI4
- PROBE2 = SI5
- HOME = SI6
- The default CoE latch signal is:
-
CoE amplifier signal mapping limitation
- For CoE amplifiers, only PROBE1 and PROBE2 can be used for latching via PLCopen FB. (HOME is reserved for CiA-402 homing routines supported by the amplifier firmware but not exposed via function block.)
-
Touchprobes
- CoE amplifiers contain two parallel latch functions called
Touchprobe 1and
Touchprobe 2. They have similar functionality, but their configuration has some limitations:
-
Touchprobe 1
- Can be configured to trigger off external signal PROBE1 or internal C-pulse.
-
Touchprobe 2
- Sigma-7S: Can only be configured to trigger off external signal PROBE2.
- Sigma-XS: Can be configured to trigger off external signal PROBE2 or internal C-pulse. Trigger is possible from a rising edge only. (not supported: falling or both rising and falling edges.)
-
Touchprobe 1
- The touchprobes have different behavior depending on whether external encoder monitoring is enabled.
- If a dual-feedback encoder is configured (Pn00E.3 is set) and Touch Probe Function object 0x60b8 bit 6 is clear:
- Both Touchprobe 1 and 2 are allocated to the motor encoder
- If a dual-feedback encoder is configured (Pn00E.3 is set) and Touch Probe Function object 0x60b8 bit 6 is set:
- Sigma-7S: Touchprobe 1 is allocated to the external encoder and Touchprobe 2 is unavailable (due to bug in CoE firmware; see Helix EtherCatOpt database SCR 746)
- Sigma-XS: Touchprobe 1 is allocated to the CN12 encoder and Touchprobe 2 is allocated to the CN2 encoder
- CoE amplifiers contain two parallel latch functions called
Touchprobe 1and
Touchprobe 2. They have similar functionality, but their configuration has some limitations:
-
MC_TouchProbe
- User must select Touchprobe and signal. Allowable signal selection depends on chosen Touchprobe according to note 6.1 above.
- Sigma-7S
- To useTouchprobe 1
- Set TRIGGER_REF.ID = 0 (select Touchprobe 1)
- Choose a supported trigger signal:
- To use PROBE1 set TRIGGER_REF.bit = 1
- To use C-pulse set TRIGGER_REF.bit = 0
- To use
Touchprobe 2
- Set TRIGGER_REF.ID = 1 (select Touchprobe2)
- Set TRIGGER_REF.bit = 2 (select PROBE2--other settings are not allowed)
- To useTouchprobe 1
- Sigma-XS
- To use Touchprobe 1
- Set TRIGGER_REF.ID = 0 (select Touchprobe 1)
- Choose a supported trigger signal:
- To use PROBE1 set TRIGGER_REF.bit = 1
- To use C-pulse set TRIGGER_REF.bit = 0
- Configure latch signal edge sensitivity:
- To trigger off rising edge only: Set latch config controller parameter bit 0 and clear bit 1 (default setting)
- (not supported: To trigger off falling edge only: Set latch config controller parameter bit 1 and clear bit 0)
- (not supported: To trigger off both rising and falling edges: Set latch config controller parameter bits 0 and 1)
- To inhibit latch trigger: Clear latch config controller parameter bits 0 and 1
- To use Touchprobe 2
- Set TRIGGER_REF.ID = 1 (select Touchprobe2)
- Choose a supported trigger signal:
- To use PROBE2 set TRIGGER_REF.bit = 2
- To use C-pulse set TRIGGER_REF.bit = 0
- Configure latch signal edge sensitivity:
- To trigger off rising edge only: Set latch config controller parameter bit 2 and clear bit 3 (default setting)
- (not supported: To trigger off falling edge only: Set latch config controller parameter bit 3 and clear bit 2)
- (not supported: To trigger off both rising and falling edges: Set latch config controller parameter bits 2 and 3)
- To inhibit latch trigger: Clear latch config controller parameter bits 2 and 3
-
MC_ReadParameter
- No difference compared to M3 amplifier. Use parameters 1030-1033 (latch channel 1/2 cyclic/non-cyclic) according to the channel
-
MC_StepRefPulse
- This FB internally makes use of Touchprobe 1.So when using this function block, concurrent use of Touchprobe 1 via MC_TouchProbe is not allowed.
- User selects between motor and dual feedback encoder C-pulse according to 6.1.2 above.
Note that default pin assignments can be changed according to the value of drive parameter Pn511.
Counter 1x32Bit (050-1BA00)
User must provide a wide trigger signal to the latch input. The trigger signal pulse must, at minimum, be as as wide as the network scan period.
MC_TRIGGER_REF.ID = 0
MC_TRIGGER_REF.Bit = 0 or any UINT. There is only one Latch input (Pin 4) on this module.