Skip navigation links

Package org.lsst.ccs.subsystem.shutter.plc

Package class diagram package org.lsst.ccs.subsystem.shutter.plc
This package implements the conversion of messages that are sent and received from the Beckhoff PLC controller via ADS.

See: Description

Package org.lsst.ccs.subsystem.shutter.plc Description

This package implements the conversion of messages that are sent and received from the Beckhoff PLC controller via ADS. Most of the classes represent messages and inherit from one of two abstract classes:

Every message class has a constructor that can decode the PLC (ADS) form of the message and set the instance fields accordingly. Each also has an encode() method which implements the reverse transformation. Neither the constructor nor encode() resets the current position of the byte buffers used to hold the PLC form of the message. Both the decoding constructor and the encoding method are provided in order to facilitate testing; in normal use either one or the other is used. For the same reason each message class also has a constructor that takes the values of instance fields directly if there are any.

See the subsystem manual for a more detailed description of the communication between the subsystem and the PLC controller.

Skip navigation links

Copyright © 2020 LSST. All rights reserved.