Class DigitalInputsConfigs
- All Implemented Interfaces:
ParentConfiguration,ISerializable
Contains float-state settings and when to assert the S1/S2 inputs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionWhat value the Signal 1 input (S1IN) needs to be for the CTR Electronics' CANdi™ to detect as Closed.The floating state of the Signal 1 input (S1IN).What value the Signal 2 input (S2IN) needs to be for the CTR Electronics' CANdi™ to detect as Closed.The floating state of the Signal 2 input (S2IN). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(String to_deserialize) toString()withS1CloseState(S1CloseStateValue newS1CloseState) Modifies this configuration's S1CloseState parameter and returns itself for method-chaining and easier to use config API.withS1FloatState(S1FloatStateValue newS1FloatState) Modifies this configuration's S1FloatState parameter and returns itself for method-chaining and easier to use config API.withS2CloseState(S2CloseStateValue newS2CloseState) Modifies this configuration's S2CloseState parameter and returns itself for method-chaining and easier to use config API.withS2FloatState(S2FloatStateValue newS2FloatState) Modifies this configuration's S2FloatState parameter and returns itself for method-chaining and easier to use config API.
-
Field Details
-
S1FloatState
The floating state of the Signal 1 input (S1IN). -
S2FloatState
The floating state of the Signal 2 input (S2IN). -
S1CloseState
What value the Signal 1 input (S1IN) needs to be for the CTR Electronics' CANdi™ to detect as Closed.Devices using the S1 input as a remote limit switch will treat the switch as closed when the S1 input is this state.
-
S2CloseState
What value the Signal 2 input (S2IN) needs to be for the CTR Electronics' CANdi™ to detect as Closed.Devices using the S2 input as a remote limit switch will treat the switch as closed when the S2 input is this state.
-
-
Constructor Details
-
DigitalInputsConfigs
public DigitalInputsConfigs()
-
-
Method Details
-
withS1FloatState
Modifies this configuration's S1FloatState parameter and returns itself for method-chaining and easier to use config API.The floating state of the Signal 1 input (S1IN).
- Parameters:
newS1FloatState- Parameter to modify- Returns:
- Itself
-
withS2FloatState
Modifies this configuration's S2FloatState parameter and returns itself for method-chaining and easier to use config API.The floating state of the Signal 2 input (S2IN).
- Parameters:
newS2FloatState- Parameter to modify- Returns:
- Itself
-
withS1CloseState
Modifies this configuration's S1CloseState parameter and returns itself for method-chaining and easier to use config API.What value the Signal 1 input (S1IN) needs to be for the CTR Electronics' CANdi™ to detect as Closed.
Devices using the S1 input as a remote limit switch will treat the switch as closed when the S1 input is this state.
- Parameters:
newS1CloseState- Parameter to modify- Returns:
- Itself
-
withS2CloseState
Modifies this configuration's S2CloseState parameter and returns itself for method-chaining and easier to use config API.What value the Signal 2 input (S2IN) needs to be for the CTR Electronics' CANdi™ to detect as Closed.
Devices using the S2 input as a remote limit switch will treat the switch as closed when the S2 input is this state.
- Parameters:
newS2CloseState- Parameter to modify- Returns:
- Itself
-
toString
-
deserialize
- Specified by:
deserializein interfaceParentConfiguration
-
serialize
- Specified by:
serializein interfaceISerializable
-