Andon-NB EN

From PlcWiki

Revision as of 13:08, 7 April 2020 by Jon (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

IP

Server

hostname: MangnaTlacitka01
ip: 192.168.150.230

Raspberry

hostname: mt1
ip: 192.168.150.231
hostname: mt2
ip: 192.168.150.232


Server

service: andon Save: /usr/local/plc/etc/service

http://192.168.150.230:8080/andon/?cols=2&t=01&hist=16&mute=1

parameters:

  • cols.......... number of columns
  • t................ machine identification
  • mute=1.... mute (delete the parameter for mute)
  • hist........... how large is the history displayed

Raspberry pi

Service: cttc, ctte, ctts, ctt Save: /home/ctt


CTTE

The corresponding GPIO creates event when the button is pressed / pressed.

When offline, remembers the current status.

1) GPIO 0-3

2) GPIO 4-7

3) GPIO 21-24

4) GPIO 25-28

CTTC

Creates sentences:

COMPUTER: reports computer information CPU usage, memory, temperature, wifi rx and tx, disk occupancy

The sentence is repeated after 6 min.

JSON: reports information ip, status wifi,access point, owner

A sentence is created when something changes.


CTTS

Sends all sentences z /home/ctt/queue

Checks folder after 0.5 s.

CTT

Starts / stops at once cttc, ctte, ctts.

Diagram

http://plcwiki.clever.cz/index.php/File:ANDON_-_layout.pdf

Personal tools