Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Version history

1.12Aug 2019Counter Conig add. IO4 → 0 Counter Input / 1= Status Input
1.11Jan 2020Encoder can be used as Step/Dir Beta, no Tango Support jet!
1.10Aug 2019Add HW Inhibit IO 15 and SW Inhibit Reg. 15
1.9Okt 2018Fix: Disable Output Tigger and Gate when it is in extrenal trigger / gate mode
1.8Okt 2018Add New Trigger Mode: External Gate
1.7Sep 2018Disable Output Tigger and Gate when it is in external trigger mode
1.6Feb 2018Last Release

Tigger Modi

For the continuous scans with the PiLC there are different Trigger modi:

NumberStartStepsExampleImportant Information
1Encoder PositionEncoder PositionTrigger generation starts at encoder pos. 100 and every 10 encoder steps a trigger is generated
2Time basedTime basedTrigger generation starts after 100ms and every 10ms a trigger is generated
3Encoder PositionTime basedTrigger generation starts at encoder pos. 100 and every 10ms a trigger is generated
4Time basedEncoder PositionTrigger generation starts after 100ms and every 10 encoder steps a trigger is generated
5External TriggerExternal TriggerA external device generate the triggerTo get all measurement points, one needs to send 1 extra triggers or set the number of triggers larger and disarm after the scan to save the last measurement.
8External GateExternal GateA external device generate a gate signal

To get all measurement points, one needs to send 1 extra Gate or set the number of triggers larger and disarm after the scan to save the last measurement.


NumberStartStepsPauseExample
6Encoder PositionEncoder PositionEncoder PositionTrigger generation starts at encoder pos. 100 and every 10 encoder steps a trigger is generated. The Trigger generation pause, when encoder pos. is 1000
7Encoder PositionTimeEncoder PositionBeta. Please don't use!!!


Warning
titlePosition based triggering

Be aware that when you use position based triggering that the position of the encoder only can have discrete values which are determined by the resolution of the used encoder. E.G. When your encoder has a resolution of 20 nm you will only get position increments and thus positions which are multiple of this value away from your calibration value. In this example you will thus not be able to generate position triggers which are 150 nm apart since this is not a multiple of the encoder resolution, being 20 nm.


Warning
titleGate Outout

When you use the Gate Output and the timing Mode, be sure that the TriggerPulseLength must be >0.00001s!


Warning
titlePiLCTGConnected

When you use the function "PiLCTGConnected" and the timing Mode, be sure that "TimeTriggerStart" must be >0.5s


Dataset

By the rising edge of the Trigger, one of the follow dataset will be saved in the 32MB ram.

Trigger counterEncoder 1 PositionCounterEncoder 2 PositionEncoder 3 PositionEncoder 4 PositionEncoder 5 PositionChecksum (Xor from Data 1 to 7)

Encoder Spilter

To get the Encoder signals in the PiLC you need a Encoder Splitter

The Splitter converts the differential signals to singled ended.

I/Os

NumberTypFunction
1InputEncoder 1 A
2InputEncoder 1 B
3InputExternal Trigger
4InputCounter
5InputEncoder 2 A
6InputEncoder 2 B
7InputEncoder 3 A
8InputEncoder 3 B
9InputEncoder 4 A
10InputEncoder 4 B
11InputEncoder 5 A
12InputEncoder 5 B
13OutputTrigger
14OutputGate
15N/AN/A
16N/AN/A

Register

NumberIn RegisterOut Register
1ControlPosition ENC 1
2ENC/Time Start PosPosition ENC 2
3ENC/Time StepPosition ENC 3
4ENC/Time Stop PosPosition ENC 4
5ENC Load 1Position ENC 5
6Tigger DelayTrigger Counter
7ENC Load 2Save Counter
8ENC Load 3N/A
9ENC Load 4N/A
10ENC Load 5N/A
11ENC_SelectN/A
12ENC Pause PosN/A
13ENC ConfigN/A
14Counter ConfigCounter Out
15N/AN/A
16N/AN/A



Warning
titlePosition based triggering

Be aware that when you use position based triggering that the position of the encoder only can have discrete values which are determined by the resolution of the used encoder. E.G. When your encoder has a resolution of 20 nm you will only get position increments and thus positions which are multiple of this value away from your calibration value. In this example you will thus not be able to generate position triggers which are 150 nm apart since this is not a multiple of the encoder resolution, being 20 nm.