Browse FAQs

How can I control the input/output interface on an XBTGT 2000 series and higher?

Published date: 30 October 2019

You can control the input/output interface for the XBTGT2000 series and higher through scripting.

For example if a value is greater than 100 you can turn on one of the output. Below is a scripting example that turn the buzzer output ON when the value is greater than 100.

{

if (PLC_ModbusEquipment01.Variable1.getIntValue() > 100)

_DIOPort.DOut0.write(1);

if (PLC_ModbusEquipment01.Variable1.getIntValue() <= 100)

_DIOPort.DOut0.write(0);

}



Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.