3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

send_load_module()

Definition

send_load_module(package, sub_type, active)

Features

Loads the Framework Module and returns the UniqueID of the loaded Module.

Parameters

Parameter Name

Data Type

Default Value

Description

package

str

-

Package name of module to load

sub_type

int

-

Sub type of module to load

0 : None

1 : TCP/IP

2 : Serial

4 : Modbus Slave

5 : Force Compliance

7 : Modbus Master

10 : Other

active

int

-

Whether to activate after loading

0 : no active

1 : active

(Used only when sub_type is Force Compliance)

Return

Value

Description

int

Sub type of loaded module

int

status value

0 : success

Value other than 0 : Error code

int

UniqueID of loaded module

str

Package name of the loaded module

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

DR_Error (DR_ERROR_VALUE)

Parameter value is invalid

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

Python
sub_type, status, id, name = send_load_module("com.dart.module.default.admittancecontrol", 5, 1)

Keyword

send / module / send_ / send_load / load_module