stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Day 180

Day 180 of 365 · Advanced · Month 6: Atmosphere and control

Exam preparation advanced

All instructions of the advanced level at a glance, the typical mistakes the exam likes to ask about, and five practice questions to warm up.

Lesson 25 min Week 26

What you learn today

  • Repeat the instructions of the level
  • Typical mistakes
  • Practice questions

The day after tomorrow is the advanced exam: 20 questions, 40 minutes, pass from 70 %. Today you go through everything once.

The instructions of the level

AreaInstructions
Networklbns, ss, sbs, bdnvl, bdnvs, batch mode Count
Relative jumpsbreq … brge, breqz … brgez, brnan, brdse, brdns, jr
Approximatesap, sna, sapz, snaz, bap, bna, bapz, bnaz and the br variants
Memorypush, pop, peek, poke, get, put, clr, clrd
Subroutinesjal, j ra and the al family beqal … bnazal, bdseal, bdnsal
Otherhcf, rand, sqrt, pow, exp, log

Plus the patterns: state machine, ring buffer, smoothing, P/PI/PID, cascade, airlock.

Typical mistakes

MistakeRight
beq after a calculationbap with a tolerance
label in breq or jrrelative jumps take distances, labels only with beq & co.
brXXaldoes not exist – branch and link only absolute
put address value deviceput device address value
Maximum without a match = 0−infinity
log for log10log(x) / log(10)
cooling stage Setting above the inletit heats
hcf as an emergency stopa lock state of your own

Tolerances and edges

Approximate comparisons and edges often appear in the exam as a line of code. sap a b c is 1 when the distance is at most c times the larger magnitude – a relative tolerance. You recognise an edge by comparing with the previous tick:

sap inband actual target TOLERANCE   # 5 % of 100 kPa = 5 kPa
seqz tmp inband
and tmp tmp before                   # just inside, now outside
Warning

sapz and bapz work with a tiny fixed tolerance (float.epsilon · 8), not with the constant epsilon. If you need “approximately zero” with some slack, sap a 0 c fails, because the relative tolerance of 0 is 0 again. Then only abs and a comparison help.

Tip

In the exam you can try every line of code in the IC10 coder while the clock runs. Two minutes of simulator are often safer than one minute of brooding.

Exercise

Task

Exam training: the pressure in the tank (sensor “Tank”) should be within 5 % of the target in the logic memory “Soll”.

  • Lamp “Imband” on while the pressure is in the band (sap)
  • Display “Abweichungen” counts how often the pressure leaves the band (edge, not every tick)
  • Sensor gone: lamp off

Hints

Hint 1

sap inband actual target TOLERANCE – with NaN it gives 0.

Hint 2

Edge: seqz tmp inband, and tmp tmp before, add to the counter.

Hint 3

Then move before inband for the next tick.

Quiz

5 questions. You pass from 60 % – the server does the grading.

Complete the day

  • Passed the simulator exercise
  • Passed the quiz with at least 60 %

Without an account progress is saved in this browser only.

Report a mistake in this lesson

Please sign in to report. Sign in

Esc
↑ ↓ selectEnter open/ opens search anywhere