Java implementation of Omron FINS communication protocol
Establishes connection with the device
- Exceptions:
Exception
— Error opening connection
Connection status
- Returns: true connected
Close current connection
Controller information data
- Returns: ControllerData
- Exceptions:
Exception
— Error getting ControllerData
Read the state of the indicated bit
- Parameters:
position
— Memory positionbit
— Bit position
- Returns: bit status
- Exceptions:
Exception
— Error reading
Read the state of the indicated bit
- Parameters:
cio
— Channel Input Output - Returns: bit status
- Exceptions:
Exception
— Error reading
Write the status of the indicated input
- Parameters:
position
— Memory positionbit
— Bit positionvalue
— New state
- Exceptions:
Exception
— Error writing
Write the status of the indicated input
- Parameters:
cio
— Channel Input Outputvalue
— new state
- Exceptions:
Exception
— Exception Error writing
- Parameters:
listener
— Interface to notify subscription events
- Returns: Interface where subscription events are notified
Adds a subscription to the state change events of the indicated bit
- Parameters:
cio
— Channel Input Output
Remove bit subscription
- Parameters:
cio
— Channel Input Output - Returns: true if there was a subscription
Adds a subscription to the state change events of the indicated bit
- Parameters:
position
— Memory positionbit
— Bit position
Remove bit subscription
- Parameters:
position
— Memory positionbit
— Bit position
Remove all bit subscriptions
2021 Sergio Soriano - www.sergiosoriano.com