Skip to main content
Skip table of contents

CDRFLEx.set_modbus_output

Features

This is a function for outputting a signal at the modbus I/O contact point in the robot controller.

Parameter

Parameter Name

Data Type

Default Value

Description

strSymbol

string

-

Modbus name

nValue

unsigned short

-

  • In the case of Modbus digital I/O: 0 or 1
  • In the case of Modbus analog: Data

Return

Value

Description

0

Error

1

Success

Example

CPP
//When the Modbus digital I/O is connected and the signal is registered as “di1” and “do1,”  
drfl.set_modbus_output("do1",1);
drfl.set_modbus_output("do2",0);


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.