<< Click to Display Table of Contents > 

SAMLight Manual > Global Settings > I/O

I/O
Previous pageReturn to chapter overviewNext page

The settings dialog described here can be reached by selecting the menu item Settings → System → I/O.

Use this window to set special inputs and outputs or to make settings for the SAMLight Job IO Selection mode.

SettingsIO

Figure 66: IO Settings Dialog

Menu Special Outputs: It is possible to insert new menu items for switching I/Os on and off. The bits of the I/O port which will be controlled from special menu points can be defined in the dialog. If one bit is selected and the Active checkbox is enabled a string (Num Active) which indicates the current state of the bit can be defined. Under the following menu the items for switching the I/Os on and off will be inserted.

menu_special

Figure 67: Mark Special Outputs Menu

Default: Defines the default state of the special output that is shown in the menu.

High String: Defines the String that is shown when the special output is set to Low.

Low String: Defines the String that is shown when the special output is set to High.

Status Outputs: This block defines state I/Os that can be switched on an off according to specific program and usage actions. Using the combo boxes it is possible to assign a special output pin for such an action. Using this functionality an integration of external equipment can be done.

Software started: The selected bit is set to high as long as the software is running.

Waiting for external start: Set to high if in trigger mode. This changes to low during marking.

Laser to be ready: Set to high if trigger or mark dialog is open. This stays high during marking.

Marking active: Set to high during marking of a job. Only for USC cards this signal is hardware controlled. For RTC cards this signal is software polled with the result of jitter. For proper I/O handling, this signal has to be used, not the RTC busyout.

Teaching / Relocating: If an output pin is defined here it is set to high on every time the teaching or relocating dialog is active.

Job loaded: The selected bit is set to high if a non empty job is loaded in the View.

SN reached last line: If a file is assigned to a serial id and the last line of this file has been reached this bit is set. To change the state afterwards you have to reset the serial id or load a new job. Instead or in addition you can pop up a message box if the last line of the file has been marked.

Red Pointer:

Use Bit 3: Bit 3 of the I/O port is used to indicate that the red pointer is active.

Pointer always ON: The Red Pointer stays always on (while SAMLight is running) if this flag is activated.

Invert: This option is only available for RTC cards and USC-1. It inverts bit 3 for controlling the red pointer.

Quantity: Here an output can be defined that goes high when a predefined number of mark quantities has been reached. The predefined number of mark quantities can be set up in Mark→Counter→Set Quantities.

Message Inputs: Can be looked up here.

Control Inputs:

Emergency Stop: If an input is selected here it is handled as a watch for an emergency stop condition. That means if the selected input goes to low all marking operations are stopped and a special emergency stop dialog is displayed. This dialog blocks all other operations and stays in front of the screen until normal operation is resumed by pressing the "Resume Operation" button. This button becomes active and can be pressed only after the selected emergency stop input goes to high. When the resume button is pressed the application is brought back into its initial state. That means the connected motion controllers are driven to their home position automatically before the emergency stop dialog disappears and before a user can continue with normal operation.

note

It is recommended to connect the appropriate input pin before this option is enabled. An open input normally is recognized as a low-signal so that leaving the I/O settings dialog would put the application in the emergency stop state immediately.

emergency_stop

Figure 68: Emergency Stop

Pause: Here you can select an input bit to pause the job. The laser is switched off immediately. After the restart, the job continues at the same position, the laser will turn on again after the next mark command, after a PolyEnd or after a jump command. Axis movement will not be paused. (USC-2/-3 only)

I/O Mode: There are four SAMLight I/O modes (which differ from the Flash JobIOSelection mode) that can be chosen:

Standard: the settings described above can be made including the freely definable Message Inputs.

SAMLight JobIOSelect: SAMLight Job IO Selection mode. Opto_In_2 (LSB) .. Opto_In_5 (MSB) are used to load jobs (up to 15 jobs).

SAMLight JobIOSelect Ext: SAMLight Job IO Selection mode. Digi_In_0 (LSB) .. Digi_In_7 (MSB) are used to load jobs (up to 255 jobs) (USC-2/-3 only).

SAMLight JobIOSelect Ext 10 Bit: SAMLight Job IO Selection mode. Digi_In_0 (LSB) .. Digi_In_9 (MSB) are used to load jobs (up to 1024 jobs) (USC-2/-3 only).

For more information see SAMLight Job IO Selection.

note

Message inputs can also be used in Job IO Selection mode. These must be set and activated in standard mode.

In Job IO Selection mode it can happen that the input loads a job as well as being defined as a message input.

Job Execution:

Delay [ms]: Defines an execution delay which is the time between a mark output signal is given and the execution. Only for USC cards the marking active signal is hardware controlled. For RTC cards the marking active signal is software polled with the result of jitter.

Input and Output bit values:

USC cards:

Input pin

Output pin

Bit value

Opto-insulated Inputs and Outputs

Opto_In_0 [a]

Opto_Out_0 [c]

1

Opto_In_1 [b]

Opto_Out_1

2

Opto_In_2

Opto_Out_2 [d]

3

Opto_In_3

Opto_Out_3

4

Opto_In_4

Opto_Out_4

5

Opto_In_5

Opto_Out_5

6

Following pins are only available for USC-2/3

Digital Inputs and Outputs

Digi_In_0

Digi_Out_0

7

Digi_In_1

Digi_Out_1

8

Digi_In_2

Digi_Out_2

9

Digi_In_3

Digi_Out_3

10

Digi_In_4

Digi_Out_4

11

Digi_In_5

Digi_Out_5

12

Digi_In_6

Digi_Out_6

13

Digi_In_7

Digi_Out_7

14

Digi_In_8

Digi_Out_8

15

Digi_In_9

Digi_Out_9

16

Stepper Inputs and Outputs

Stepper_In_0

Stepper_Out_0

17

Stepper_In_1

Stepper_Out_1

18

Stepper_In_2

Stepper_Out_2

19

 

Stepper_Out_3

20

Stepper_Out_4

21

Stepper_Out_5

22

Table 11: I/O bit values for USC cards

RTC cards:

Input pin

Output pin

Bit value

Digital Inputs and Outputs

Digi_In_0

Digi_Out_0

1

Digi_In_1

Digi_Out_1

2

Digi_In_2

Digi_Out_2

3

Digi_In_3

Digi_Out_3

4

Digi_In_4

Digi_Out_4

5

Digi_In_5

Digi_Out_5

6

Digi_In_6

Digi_Out_6

7

Digi_In_7

Digi_Out_7

8

Digi_In_8

Digi_Out_8

9

Digi_In_9

Digi_Out_9

10

Digi_In_10

Digi_Out_10

11

Digi_In_11

Digi_Out_11

12

Digi_In_12

Digi_Out_12

13

Digi_In_13

Digi_Out_13

14

Digi_In_14

Digi_Out_14

15

Digi_In_15

Digi_Out_15

16

Table 12: I/O bit value for RTC cards

[a]: Reserved for trigger start

[b]: Reserved for external stop

[c]: Reserved for marking active

[d]: Only reserved for the red pointer, if the red pointer is active