Configuration

Structure of the test table (csv-file)

Row Description
Number Consecutive number for the test step.
MANDATORY
Title Title of the test step (will be shown in the protocol).
MANDATORY
Address1 Address of the in- or output which will be tested.
MANDATORY
Address2 Address of the redundant in- or output. Leave this field empty if there is only one in- or output to test.
OPTIONAL
Action Code Programming for this test step. For further information see article ‘Action Codes’ and the examples.
OPTIONAL
Value Parameter of action code. Could be an address, blinking frequency or a value of an analogue in- or output.
MANDATORY
Text Test instruction.
MANDATORY
Schematics Position of this test step in the schematics (will be shown in the protocol).
OPTIONAL
Location Location of the device (position in schematics).
OPTIONAL
OK? Write a ‘x’ in this row if this test has to be successful to continue.
OPTIONAL
Additional Code 1 Additional code for this test step. allowed is: SET, RESET, NOP, SET1, SET3
OPTIONAL
Additional Address 1 Address for the additional code.
OPTIONAL
Additional Code 2 See “Additional Code 1″.
OPTIONAL
Additional Address 2 See “Additional Address 1″.
OPTIONAL
Additional Code 3 See “Additional Code 1″.
OPTIONAL
Additional Address 3 See “Additional Address 1″.
OPTIONAL
Picture Path for a picture file relative to the testing table. Example: Pics\Button1.jpg
OPTIONAL
Info Text Info text will be shown to the user with an additional button in the user interface.
OPTIONAL

Download template

Action Codes

Action Code Description
SET Sets a digital output to TRUE or a analogue output to VALUE.
Redundant digital outputs will be set alternately (one is always TRUE, the other FALSE)
RESET Sets a digital output to FALSE
SF Waiting for a rising trigger on the digital input (auto. continue).
FF Waiting for a falling trigger on the digital input (auto. continue).
SF_FF Waiting for a rising and a falling trigger on the digital input (auto. continue).
FF_SF Waiting for a falling and rising trigger on the digital input (auto. continue).
BLINK Digital output will blinking with the frequency off VALUE.
AI Shows the value of an analogue input.
LT Compares the analogue input with VALUE to “lower than” (in percentage or absolute)
(auto. continue)
GT Compares the analogue input with VALUE to “greater than” (in percentage or absolute)
(auto. continue)
OUTPUT The digital input is direct connected to a digital output (auto. continue)
NOP The digital input may not change.
SET1 The digital output will be set to TRUE for one second (only as additional code)
SET3 The digital output will be set to TRUE for three seconds (only as additional code)
RESET1 The digital output will be set to FALSE for one second (only as additional code)
RESET3 The digital output will be set to FALSE for three seconds (only as additional code)
DI Shows the value of a digital input.

Address Table

If you use the schematic names of the addresses it is mandatory to use an address table. This table will translate the schematic name into a PLC address. The filename has to begin with ”Adressen” and end with “.txt”. Example: Adressen_FLIRT_SBB.txt.

PLC addresses always begin with “%” and looks like this: “%IX1.23.4.7″.
I: Accesstype [I = Input; Q = Output]
X: Datatype [X = Boolean; W = Word]
1: CAN [1 = CAN1; 2 = CAN2]
23: CAN Node ID
4: Module number
7: Input or Output number

Structure of address table “Adressen.txt”

//CAN1 (this is a comment)
418/1 DO ;%QX1.49.0.
418/1 DI ;%IX1.49.0.
418.1/1 AI ;%IW1.49.1.
418.2/1 AO ;%QW1.49.2.

//CAN2
418/2 DO ;%QX2.49.0.
418/2 DI ;%IX2.49.0.
418.1/2 AI ;%IW2.49.1.
418.2/2 AO ;%QW2.49.2.
//No CAN, extension module of CPU
420.1/1 DI ;%IX0.0.1.

During runtime the left part from semicolon will be changed with the right part. If you write “418/1 DO 01″ in the test sequence, it will be changed to “%QX1.49.0.01″.

For the second connection with “Dual Login” the PLC address should begin with “COM2_”.

  418/2 DO ;COM2_%QX1.49.0.

Leave a Reply