« Back to Product

Documentation

ModBus_WriteRegisterChar

Require: IP-Symcon >= 4.4

 boolean ModBus_WriteRegisterChar (int $InstanceID, int $Value) 

Parameters

InstanceID

ID of the device to be switched

Value

-128 to 127

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Warning

This function was named __ModBus_WriteRegisterShortInt__ up to and including Version 4.3

Sets address with ID InstanceID to Value

Example

//Writes -123 into the register of the instance with the ID 12345
ModBus_WriteRegisterChar(12345, -123);
Any questions?