• このライブラリについて
  • サンプルコード
  • リファレンス
  • ドライバAPI
目次の表示/非表示
  • Y2.UsbIO
    • AinFunctions
    • AoutFunctions
    • ConnectMode
    • DeviceException
    • DeviceResult
    • DeviceSwitch
    • DinFunctions
    • DoutFunctions
    • OnOffValue
    • OnOffValues
    • OutputValue
    • OutputValues
    • RlyFunctions
    • Voltage
  • Y2.UsbIO.Abstractions
    • IAinDevice
    • IAinDinDevice
    • IAinDioDevice
    • IAinDoutDevice
    • IAinRlyDevice
    • IAioDevice
    • IAioDinDevice
    • IAioDioDevice
    • IAioDoutDevice
    • IAioRlyDevice
    • IAoutDevice
    • IDevice
    • IDinDevice
    • IDioDevice
    • IDoutDevice
    • IPmcsDioDevice
    • IRlyDevice
    • IRlyDinDevice
    • IRlyDioDevice
    • IRlyDoutDevice
  • Y2.UsbIO.Pmcs
    • AccelerationMode
    • AccelerationTime
    • Axes
    • Axis
    • ContinuousSetting
    • ContinuousSettings
    • Direction
    • IdlingPulse
    • MotorControlLsi
    • NumberOfPulses
    • OperationMode
    • OperationStatus
    • OriginReturnSetting
    • OriginReturnSettings
    • OutputLogic
    • OutputSpeed
    • PcdCommand
    • PcdRegister
    • PcdRegisterValue
    • PcdStatus
    • PcdStatusValue
    • PmcsFunctions
    • Position
    • PositioningSetting
    • PositioningSettings
    • PulseMode
    • RemainingPulse
    • SdSensorConfig
    • SensorLogic
    • SensorStatus
    • Speed
    • SpeedPattern
    • SpeedRate
    • StaStpConfig
    • StopMode
  • Y2.UsbIO.Ub
    • Dio88bUbc
    • Dio88bUbt
    • Dio88cUbt
    • RlyP420bUbt
  • Y2.UsbIO.UsbPc104.Aio
    • Aio16000N64aU
    • Aio1601632aU
    • Aio160aU
    • Aio160N6400aU
    • Aio16400N64aU
    • Aio1641632aU
    • Aio164aU
    • Aio164N6400aU
    • Aio8000N128aU
    • Aio8000N64aU
    • Aio801632aU
    • Aio803264aU
    • Aio80aU
    • Aio80N12800aU
    • Aio80N6400aU
    • Aio80N64N64aU
    • Aio80R24aU
    • Aio8400N128aU
    • Aio8400N64aU
    • Aio841616aU
    • Aio841632aU
    • Aio843264aU
    • Aio84aU
    • Aio84N12800aU
    • Aio84N6400aU
    • Aio84N64N64aU
    • Aio84R24aU
  • Y2.UsbIO.UsbPc104.Dio
    • Dio00N128aU
    • Dio00N192aU
    • Dio00N64aU
    • Dio1616aU
    • Dio1632aU
    • Dio16N112aU
    • Dio16N176aU
    • Dio16N48aU
    • Dio3232aU
    • Dio3264aU
    • Dio32N160aU
    • Dio32N96aU
    • Dio4848aU
    • Dio4896aU
    • Dio48N144aU
    • DioN12800aU
    • DioN128N64aU
    • DioN19200aU
    • DioN6400aU
    • DioN64N128aU
    • DioN64N64aU
  • Y2.UsbIO.UsbPc104.Pmc
    • PmcS40000aU
    • PmcS400N128aU
    • PmcS400N64aU
    • PmcS41632aU
    • PmcS416N112aU
    • PmcS416N48aU
    • PmcS43264aU
    • PmcS432N96aU
    • PmcS80000aU
    • PmcS800N64aU
    • PmcS81632aU
    • PmcS816N48aU
  • Y2.UsbIO.UsbPc104.Rly
    • Rly2400N128aU
    • Rly241616aU
    • Rly241632aU
    • Rly243264aU
    • Rly24aU
    • Rly481616aU
    • Rly481632aU
    • Rly48aU
    • Rly72aU
    • Rly800N128aU
    • Rly81632aU
    • Rly83264aU
    • Rly8aU

SensorLogic クラス

センサの論理設定値

継承
System.Object
SensorLogic
名前空間: Y2.UsbIO.Pmcs
アセンブリ: Y2.UsbIO.Core.dll
構文
public sealed class SensorLogic : IEquatable<SensorLogic>
備考

正論理=オンで検知。負論理=オフで検知

フィールド

AllNegative

STP・STA・ORG・±SD・±EL全てオフで検知。

public static readonly SensorLogic AllNegative
フィールド値
型 説明
SensorLogic

AllPositive

STP・STA・ORG・±SD・±EL全てオンで検知。

public static readonly SensorLogic AllPositive
フィールド値
型 説明
SensorLogic

ElIsPositive

±ELはオンで検知。STP・STA・ORG・±SDはオフで検知。

public static readonly SensorLogic ElIsPositive
フィールド値
型 説明
SensorLogic

MinusElIsPositive

-ELはオンで検知。+EL・STP・STA・ORG・±SDはオフで検知。

public static readonly SensorLogic MinusElIsPositive
フィールド値
型 説明
SensorLogic

MinusSdIsPositive

-SDはオンで検知。+SD・STP・STA・±EL・ORG・STP・STAはオフで検知。

public static readonly SensorLogic MinusSdIsPositive
フィールド値
型 説明
SensorLogic

OrgElIsPositive

ORG・±ELはオンで検知。STP・STA・±SD・STP・STAはオフで検知。

public static readonly SensorLogic OrgElIsPositive
フィールド値
型 説明
SensorLogic

OrgIsPositive

ORGはオンで検知。STP・STA・±SD・±EL・STP・STAはオフで検知。

public static readonly SensorLogic OrgIsPositive
フィールド値
型 説明
SensorLogic

OrgSdElIsPositive

ORG・±SD・±ELはオンで検知。STP・STAはオフで検知。

public static readonly SensorLogic OrgSdElIsPositive
フィールド値
型 説明
SensorLogic

OrgSdIsPositive

ORG・±SDはオンで検知。STP・STA・±EL・STP・STAはオフで検知。

public static readonly SensorLogic OrgSdIsPositive
フィールド値
型 説明
SensorLogic

PlusElIsPositive

+ELはオンで検知。-EL・STP・STA・ORG・±SDはオフで検知。

public static readonly SensorLogic PlusElIsPositive
フィールド値
型 説明
SensorLogic

PlusSdIsPositive

+SDはオンで検知。-SD・STP・STA・±EL・ORG・STP・STAはオフで検知。

public static readonly SensorLogic PlusSdIsPositive
フィールド値
型 説明
SensorLogic

SdElIsPositive

±SD・±ELはオンで検知。STP・STA・ORG・STP・STAはオフで検知。

public static readonly SensorLogic SdElIsPositive
フィールド値
型 説明
SensorLogic

SdIsPositive

±SDはオンで検知。STP・STA・±EL・ORG・STP・STAはオフで検知。

public static readonly SensorLogic SdIsPositive
フィールド値
型 説明
SensorLogic

Sta0Or2IsPositive

STA0(X0, Y0, Z0, U0指定時)・STA2(X1, Y1, Z1, U1指定時)はオンで検知

public static readonly SensorLogic Sta0Or2IsPositive
フィールド値
型 説明
SensorLogic

Sta1Or3IsPositive

STA1(X0, Y0, Z0, U0指定時)・STA3(X1, Y1, Z1, U1指定時)はオンで検知

public static readonly SensorLogic Sta1Or3IsPositive
フィールド値
型 説明
SensorLogic

Stp0Or2IsPositive

STP0(X0, Y0, Z0, U0指定時)・STP2(X1, Y1, Z1, U1指定時)はオンで検知

public static readonly SensorLogic Stp0Or2IsPositive
フィールド値
型 説明
SensorLogic

Stp1Or3IsPositive

STP1(X0, Y0, Z0, U0指定時)・STP3(X1, Y1, Z1, U1指定時)はオンで検知

public static readonly SensorLogic Stp1Or3IsPositive
フィールド値
型 説明
SensorLogic

プロパティ

IsMinusElPositive

public bool IsMinusElPositive { get; }
プロパティ値
型 説明
System.Boolean

IsMinusSdPositive

public bool IsMinusSdPositive { get; }
プロパティ値
型 説明
System.Boolean

IsOrgPositive

public bool IsOrgPositive { get; }
プロパティ値
型 説明
System.Boolean

IsPlusElPositive

public bool IsPlusElPositive { get; }
プロパティ値
型 説明
System.Boolean

IsPlusSdPositive

public bool IsPlusSdPositive { get; }
プロパティ値
型 説明
System.Boolean

IsSta0Or2Positive

public bool IsSta0Or2Positive { get; }
プロパティ値
型 説明
System.Boolean

IsSta1Or3Positive

public bool IsSta1Or3Positive { get; }
プロパティ値
型 説明
System.Boolean

IsStp0Or2Positive

public bool IsStp0Or2Positive { get; }
プロパティ値
型 説明
System.Boolean

IsStp1Or3Positive

public bool IsStp1Or3Positive { get; }
プロパティ値
型 説明
System.Boolean

Value

ドライバAPIでの値

public ushort Value { get; }
プロパティ値
型 説明
System.UInt16

メソッド

Union(SensorLogic)

結合します。フィールドに定義済みでない設定を使用する時に使用できます。

public SensorLogic Union(SensorLogic other)
パラメーター
型 名前 説明
SensorLogic other

結合する設定値

戻り値
型 説明
SensorLogic

結合後の値

例
// ORG・-SD・-ELはオンで検知。+SD・+EL・STP・STAはオフで検知。
SensorLogicConfig.OrgIsPositive.Union(SensorLogicConfig.MinusSdIsPositive).Union(SensorLogicConfig.MinusElIsPositive)

オペレーター

Implicit(Int32 to SensorLogic)

public static implicit operator SensorLogic(int value)
パラメーター
型 名前 説明
System.Int32 value
戻り値
型 説明
SensorLogic

Implicit(UInt16 to SensorLogic)

public static implicit operator SensorLogic(ushort value)
パラメーター
型 名前 説明
System.UInt16 value
戻り値
型 説明
SensorLogic
このページの内容
トップに戻る Copyright © Y2 Corporation