Technical FAQs

Ask a Question

ETSNZ - What is the correct SoMachine Basic Syntax to use with the %READ_VARi.OBJTYPE if I want to use "%MW" or "%I" or "%Q" or "%IW" ?

The correct syntax to use with the %READ_VARi.OBJTYPE instruction is an integer value 0(MW), 1(I) ,2(Q), 3 (IW) ,  corresponding for Modbus FunctionCode 3(holding register) ,2(Discrete Input) ,1 (coil) ,4 (input register)  
Was this helpful?
What can we do to improve the information ?