Triggering a Sintral generated event

In addition to those events generated by the knitting machine, events can also be triggered by the Sintral program.

Enter one of the following PRINT commands into Sintral at the corresponding position for this purpose:

Syntax

Explanation

PRINT /text/

text = Any ASCII characters (comment, is displayed on the machine touch screen). text may contain several [#<VariableName>] variables.
This command causes the text to be displayed on the touch screen.

The PRINT /Hello Operator/ command causes the text Hello Operator to be displayed on the touch screen.

PRINT /@SKR#:text/

@SKR = identification that data was reported to the database. The corresponding EVENT_TYP is 5.
# = one-digit number that is written in the EVENT_ID column.
text = any ASCII characters. text may contain several [#<VariableName>] variables and is written in the EVENT_PARAM column.

This command causes an entry in the database without the Sintral status being changed (Sintral-generated events without status (info events))

The command PRINT /@SKR2:xyz / causes the EVENT_ID entry (2) in the database with the time of its occurrence. In the EVENT_PARAM column you can find the entry xyz.
No further action is carried out.
During the evaluation the event is displayed with the moment of its occurrence and the corresponding text.

PRINT /@SKR#S:text/

@SKR = identification that data was reported to the database.
# = one-digit number that is written in the EVENT_ID column.
S = Causes a change in the Sintral status. The corresponding EVENT_TYP is 6.
text = any ASCII characters. text may contain several [#<VariableName>] variables and is written in the EVENT_PARAM column.

This command causes an entry in the database with the Sintral status being changed (Sintral generated events with status (status events))

The Sintral status can be called up additionally via the live machine state table (skr_get_mc_states) in the SINTRAL_STATE column (Live machine state prompt).

The command PRINT /@SKR4S:abc/ causes the EVENT_ID entry (4) in the database with the time of its occurrence. The Sintral status is set to 4.
During the evaluation, the beginning, the end and the duration of the event are displayed. The corresponding text abc can be retrieved in the EVENT_PARAM column.

The status corresponds to that specified with #.
The respective status is retained until the next Sintral command with the PRINT /@SKR#S:text/ syntax is executed and sets the status in accordance with its #.

Both events (Sintral information, EVENT_TYP=5 and Sintral status, EVENT_TYP=6) can also be determined using the event list (Evaluating the Event List). You can find the given number in the EVENT_ID column.
In the EVENT_PARAM column appears the text. The ASCII text can be mixed with any variables in the [#<VariablenName>] format.
Example text:
xyz, NP1=[#NP1] ; Count151= [#151] – Demo
In the column EVENT_PARAM you would find the entry xyz, NP1=10 ; Count151=35 – Demo, if NP1 contains the value 10 and the counter value 151 was set to 35.

If this command is included in a program loop, this may cause overloading of the network and of the database because this event is generated constantly.