Class OmronTOD

  • All Implemented Interfaces:
    BitAddressable, BoolHost

    public class OmronTOD
    extends CipULINT
    Omron implementation of nanoseconds Time of Day.

    Encoded unsigned in eight bytes. Can represent up to 23:59:59.999999999.

    • Constructor Detail

      • OmronTOD

        public OmronTOD()
      • OmronTOD

        public OmronTOD​(long val)
      • OmronTOD

        public OmronTOD​(int[] dimensions)
      • OmronTOD

        protected OmronTOD​(OmronTOD data,
                           int[] indices)
    • Method Detail

      • getNestingDef

        public DataDefinitionSeg getNestingDef()
        Description copied from class: BaseDataType
        Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.
        Overrides:
        getNestingDef in class CipULINT
      • putAbbrevType

        public void putAbbrevType​(java.nio.ByteBuffer dest)
        Description copied from class: BaseDataType
        Many subclasses will be data elements supported by Logix processors. The LogixTagType interface requires this routine, which is identical for all types with a compact representation.
        Overrides:
        putAbbrevType in class BaseDataType<java.lang.Long>
      • crcName

        public java.lang.String crcName()
        Description copied from class: BaseDataType
        Obtain the name of this type as used for computing structure CRCs. Can be different from the name(s) used by the CipPath parser.
        Overrides:
        crcName in class CipULINT
        Returns:
      • wrap

        public OmronTOD wrap​(int[] indices)
        Description copied from class: BaseDataType
        Application-side wrapper for inner dimensions. Implementations must update memberOffsets if not not using the protected constructor.
        Overrides:
        wrap in class CipULINT
        Parameters:
        indices - Array subscripts. Missing subscripts are allowed.