Subversion Repositories DMV.werkorder

Rev

Blame | Last modification | View Log | Download

createdAt: "2019-11-05T13:40:08.369Z"
updatedAt: "2019-11-05T14:04:25.012Z"
type: "MARKDOWN_NOTE"
folder: "d1cc296b3fd7fc164332"
title: "Flowchart"
tags: []
content: '''
  # Flowchart
  Order 200302994
  
  Inhoud:
  [TOC]
  
  ## Teruglezen instellingen T10P2 (PLC6) --> FL
  Instellingen, parameters worden bij opstart niet terug gelezen.
  
  IML procedure voor teruglezen setpoints uit PLC bij opstart en na communicatie fout.
  Voor vaststellen van communicatie fout wordt de dataset gebruikt voor lezen actuele instellingen in PLC. Indien deze DS een fout geeft bij lezen, worden nadat communicatie hersteld is de instellingen eenmalig teruggelezen.
  Teruglezen is voltooid bij actief worden van readcmpl dataset 15, en status van deze actie is nul.
  
  ``` flowchart
  st=>start: Start: File setp.prg
  Proc = sp_read6 
  IML trigger readcmpl[6][10]
  e=>end: Einde
  op1=>operation: Communicatie fout gevonden
  Geef teruglezen setpoints vrij
  _glb_sp_plc[6] = 0
  op2=>operation: Trigger teruglezen SP
  ccr_lvl2_change_sp[6] == 1
  sub1=>subroutine: My Subroutine
  cond1=>condition: Read completion status
  Dec_status_ds[6][10] = 0?
  cond2=>condition: Teruglezen SP actief, 
  _gbl_sp_plc[6] != 0 ?
  io=>inputoutput: catch something…
  st->cond1
  cond1(yes)->cond2
  cond1(no)->op1(right)->e
  cond2(no,right)->e
  cond2(yes)->op2->e
  ```
  
  
'''
linesHighlighted: []
isStarred: false
isTrashed: true