Class MyProcessImage
java.lang.Object
io.openems.edge.controller.api.modbus.MyProcessImage
- All Implemented Interfaces:
com.ghgande.j2mod.modbus.procimg.ProcessImage
This implementation answers Modbus-TCP Slave requests.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.ghgande.j2mod.modbus.procimg.DigitalIn
getDigitalIn
(int ref) int
com.ghgande.j2mod.modbus.procimg.DigitalIn[]
getDigitalInRange
(int offset, int count) com.ghgande.j2mod.modbus.procimg.DigitalOut
getDigitalOut
(int ref) int
com.ghgande.j2mod.modbus.procimg.DigitalOut[]
getDigitalOutRange
(int offset, int count) com.ghgande.j2mod.modbus.procimg.FIFO
getFIFO
(int ref) com.ghgande.j2mod.modbus.procimg.FIFO
getFIFOByAddress
(int ref) int
com.ghgande.j2mod.modbus.procimg.File
getFile
(int ref) com.ghgande.j2mod.modbus.procimg.File
getFileByNumber
(int ref) int
com.ghgande.j2mod.modbus.procimg.InputRegister
getInputRegister
(int ref) From here, the methods are not implemented!.int
com.ghgande.j2mod.modbus.procimg.InputRegister[]
getInputRegisterRange
(int offset, int count) com.ghgande.j2mod.modbus.procimg.Register
getRegister
(int ref) int
com.ghgande.j2mod.modbus.procimg.Register[]
getRegisterRange
(int offset, int count)
-
Field Details
-
parent
-
-
Constructor Details
-
MyProcessImage
-
-
Method Details
-
getInputRegisterRange
public com.ghgande.j2mod.modbus.procimg.InputRegister[] getInputRegisterRange(int offset, int count) throws MyIllegalAddressException - Specified by:
getInputRegisterRange
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
- Throws:
MyIllegalAddressException
-
getRegisterRange
public com.ghgande.j2mod.modbus.procimg.Register[] getRegisterRange(int offset, int count) throws MyIllegalAddressException - Specified by:
getRegisterRange
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
- Throws:
MyIllegalAddressException
-
getRegister
public com.ghgande.j2mod.modbus.procimg.Register getRegister(int ref) throws MyIllegalAddressException - Specified by:
getRegister
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
- Throws:
MyIllegalAddressException
-
getInputRegister
public com.ghgande.j2mod.modbus.procimg.InputRegister getInputRegister(int ref) From here, the methods are not implemented!.- Specified by:
getInputRegister
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getInputRegisterCount
public int getInputRegisterCount()- Specified by:
getInputRegisterCount
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getDigitalOutRange
public com.ghgande.j2mod.modbus.procimg.DigitalOut[] getDigitalOutRange(int offset, int count) - Specified by:
getDigitalOutRange
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getDigitalOut
public com.ghgande.j2mod.modbus.procimg.DigitalOut getDigitalOut(int ref) - Specified by:
getDigitalOut
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getDigitalOutCount
public int getDigitalOutCount()- Specified by:
getDigitalOutCount
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getDigitalInRange
public com.ghgande.j2mod.modbus.procimg.DigitalIn[] getDigitalInRange(int offset, int count) - Specified by:
getDigitalInRange
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getDigitalIn
public com.ghgande.j2mod.modbus.procimg.DigitalIn getDigitalIn(int ref) - Specified by:
getDigitalIn
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getDigitalInCount
public int getDigitalInCount()- Specified by:
getDigitalInCount
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getRegisterCount
public int getRegisterCount()- Specified by:
getRegisterCount
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getFile
public com.ghgande.j2mod.modbus.procimg.File getFile(int ref) - Specified by:
getFile
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getFileByNumber
public com.ghgande.j2mod.modbus.procimg.File getFileByNumber(int ref) - Specified by:
getFileByNumber
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getFileCount
public int getFileCount()- Specified by:
getFileCount
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getFIFO
public com.ghgande.j2mod.modbus.procimg.FIFO getFIFO(int ref) - Specified by:
getFIFO
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getFIFOByAddress
public com.ghgande.j2mod.modbus.procimg.FIFO getFIFOByAddress(int ref) - Specified by:
getFIFOByAddress
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-
getFIFOCount
public int getFIFOCount()- Specified by:
getFIFOCount
in interfacecom.ghgande.j2mod.modbus.procimg.ProcessImage
-