MODS Instrument Software. MODS Instrument Software Interjoined Software Logic (ISL) System Parts...

Preview:

Citation preview

MODS Instrument Software

MODS Instrument Software

Interjoined Software Logic (ISL) Interjoined Software Logic (ISL) System System

Parts of the ISL systemParts of the ISL system Tasks involved in MODS Tasks involved in MODS

operations.operations.

MODS Instrument Software (ISL)

control system for: control system for: monitoring monitoring controlling controlling data acquisitiondata acquisition

MODS Instrument Software (ISL)

Although a project seems to be very small, and does not require to many resourses in the beginning.

The true nature of a project is not always immediately obvious!

MODS Instrument Software

Accepts commands interactively Accepts commands interactively from a user.from a user.

Execute a predetermined lists of Execute a predetermined lists of commands. commands.

Schedule tasks when timing is Schedule tasks when timing is important.important.

MODS Instrument Software (ISL)

semaphores utilities.semaphores utilities. Inter-task communications utilities.Inter-task communications utilities. Allocates and provides shared Allocates and provides shared

memory utilities.memory utilities.

MODS Instrument Software (ISL cont.)

MODS Instrument Software ‘‘isl’ ( task interjoins other tasks and/or isl’ ( task interjoins other tasks and/or

systems together )systems together ) Initialize all tasks and shared memory.Initialize all tasks and shared memory. Interjoins multiple tasks on to itself.Interjoins multiple tasks on to itself. Starts On-line tasks.Starts On-line tasks.

On-line task: task that is started and On-line task: task that is started and terminated by ‘isl’.terminated by ‘isl’.

Off-line task: task that is started from the Off-line task: task that is started from the prompt. It is not terminated by ‘isl’ but can prompt. It is not terminated by ‘isl’ but can enjoys the use of all the ‘isl’ utilitiesenjoys the use of all the ‘isl’ utilities

MODS Instrument Software

‘‘initall’ – Off-lineinitall’ – Off-line

Initialize Shared MemoryInitialize Shared Memory

Only task that is not started in Only task that is not started in background reason is obviousbackground reason is obvious

MODS Instrument Software

‘‘islmgr’ – On-lineislmgr’ – On-line

Started by ‘isl’ as an On-line task.Started by ‘isl’ as an On-line task. Manages input/output.Manages input/output. Searches for appropriate tasks, and Searches for appropriate tasks, and

passes information.passes information.

MODS Instrument Software

‘‘islerrislerr’ – On-line’ – On-line Looks up error number.Looks up error number. Assigns a human readable Assigns a human readable

message.message. Send message to a logging task.Send message to a logging task.

MODS Instrument Software

‘‘msgoutmsgout’ – On-line’ – On-line

Generates a new filename, using Generates a new filename, using date.date.

Logs all errors and messages Logs all errors and messages generated by all interjoined tasks.generated by all interjoined tasks.

MODS Instrument Software

‘‘quickC’ – On-linequickC’ – On-line

Quick commands for mechanism Quick commands for mechanism controlcontrol

Quick commands for procedures, list, Quick commands for procedures, list, PLC program loading.PLC program loading.

MODS Instrument Software

SNTools – Off-lineSNTools – Off-line

Standard Notation ToolsStandard Notation Tools

Standalone tasks for monitor and Standalone tasks for monitor and control.control.

Written as needed.Written as needed.

‘‘Comtrol’ and ‘WAGO’ HardwareComtrol’ and ‘WAGO’ Hardware

will use on-line and off-line taskswill use on-line and off-line tasks Tasks such as quickC, comtrol, fieldtalk, etc. Tasks such as quickC, comtrol, fieldtalk, etc.

will talk to these communication devices for will talk to these communication devices for mechanism control for on-line tasks as well mechanism control for on-line tasks as well as off-line tasks if needed. Some tasks as off-line tasks if needed. Some tasks checkr, monit, etc. will be used for wellness checkr, monit, etc. will be used for wellness monitoring on MODS.monitoring on MODS.

MODS Instrument Software

q uic kC

IS L

IM C S A G W S ta ge S litM as k O thers

S elec t (1)

X (1)

Ins ert (1)

F o c us (1)

F W (1)

T T F A (2)

T T F B (2)

T T F C (2)

G ratings

T ilts (6) S elec t (2)

I S L : A g g r e g a tion fr om in s tr u m e n ts to I S L

Y (1)

D arks lid e(1)

C alib ratio n (1)

D ic hro ic (1)

S hutters (2)

C am eraP F (2)

C am eraF W (2)

m s go ut is lerr is lm gr

im c s agw c u

TC S/IIFc l ie nt /s e rve r

G C Ss erver

IC S IN

te rmina tion p a th(when te rmina tio n is sen t by "ics in " ISL will te rmin a te a ll ta sks) LB

TO

-TC

S/G

CS

Comtrol 10/100 network

W A G OC o n tro lle r

networkethernet 10/100network

network

32 ser ial ports

T he o nes in R E D are basically do ne........T he o nes in gray are P LC 's which need so m e wo rk.

T he o nes in the o ther co lo r are being wo rked o n....

LBL HOM E

HOLD 2MOV R done?

P LC Com m a nd S e nt Com m a nd/Re sponse

M icroLYNX var sets and HOM E commandFlowchart: Command Example.

Ye s

Ye s

No

Ye s

Command flowc hart divides a proc ess into "Command Sent" and "Command Response"c omponents — or into steps/states that oc c ur when things go r ight, versus those that oc c ur whenthings go wrong.

w a it

P OS = 0.0

Done

Ye s

No

BRU P OLL

S e t S pe e dV M =V NOM

M OV R M AXM OV

M OV R -M AXM OV

LBL S EEKDELAY 500

S e t S pe e dV M =V S EEK

LBL P OLL

BRU S EEK

M OV A 1HOLD 2

MOV R done? Now a it

IO 21 = 0?

No

R e q u ire m e n tsM o d e l

A n a ly s isM o d e l

D e s ignM o d e l

Im p le m e n ta tio nM o d e l

T e s t M o d e lis l sy s te m te s t

(c o d e )

IS L S o ftw a re

U se c a sed iag r am s , tex t

P ro b le md o m ain o b jec t

d iag r am s , tex t

A n a ly s isd ia gra m s

In te ra c tio nd iag r am s

f lo w c h ar tsc o d e an d /o r tex t

S ta te tra n s itio nd iag r am s

f lo w c h ar tsc o d e an d /o r tex t

re a lize d v e rifie d

im p le m e n te dstru c tu re d

e x p re sse d

sp e c ifie d

In te rfa c eis l sy s te m

c o d e an d tex t

MODS Instrument Software

DCS based on MS DOS for testing with Data handling integrated

A Linux DCS may be integrated into ISL before MODS is delivered.

Data handling integrated Satisfy data, speed, access requirements as become know.

MODS Instrument Software

conclusion We will have a modular system

System can be modified easily.

Adding tasks and attaching them to shared memory will be simple.

q uic kC

IS L

IM C S A G W S ta ge S litM as k O thers

S elec t (1)

X (1)

Ins ert (1)

F o c us (1)

F W (1)

T T F A (2)

T T F B (2)

T T F C (2)

G ratings

T ilts (6) S elec t (2)

I S L : A g g r e g a tion fr om in s tr u m e n ts to I S L

Y (1)

D arks lid e(1)

C alib ratio n (1)

D ic hro ic (1)

S hutters (2)

C am eraP F (2)

C am eraF W (2)

m s go ut is lerr is lm gr

im c s agw c u

TC S/IIFc l ie nt /s e rve r

G C Ss erver

IC S IN

te rmina tion p a th(when te rmina tio n is sen t by "ics in " ISL will te rmin a te a ll ta sks) LBT

O-T

CS

/GC

S

Comtrol 10/100 network

W A G OC o n tro lle r

networkethernet 10/100network

network

32 ser ial ports

T he o nes in R E D are basically do ne........T he o nes in gray are P LC 's which need so m e wo rk.

T he o nes in the o ther co lo r are being wo rked o n....

Thank YouQuestions?

MODS Instrument Software