FM libraries (JAVA)
Connect to FM middleware
public class Main {
public static void main(String[] args) {
TcpDriverSwHandshake driver = new TcpDriverSwHandshake("127.0.0.1", 30000);
LowLevelFMInterfaceNoControl fmInterface = new LowLevelFMInterfaceNoControl(driver);
try {
fmInterface.openPort();
fmInterface.setCharset(Charset.CP1250);
After port open it is allowed to send command into FM middleware
Comands sending
Example of command send to read getVariable B51 from FM
fmInterface.getVariable(1,"B51");
Examples for eKasa
Examples for POS
Last modified: 23 februára 2026