You are on page 1of 21

Mod_MB_VFD Page 1 of 2

Home > Programming references > Libraries > Modules > 1tool modules > Mod_MB_VFD > General operations

Mod_MB_VFD
Checks serial communications in Modbus Master protocol for VFD devices

Application:

Mod_MB_VFD accesses all status variables and parameters in VFD devices (Variable Frequency Driver) via serial line with
Modbus Master protocol. Some main configuration parameters are in the mask and the user can edit them in remote. Access to
any VFD parameter is permitted via its Modbus address (refer to manual NXL Frequency Converter - Functions and Parameters
+030220726 updated version available on the CAREL website).

Technical features
1tool >= 2.6.57 -

BIOS >= 4.23 -

>= 5.08 to use two Modbus


protocol serial ports

Compatibility - -
with other
modules

Devices all pCO controllers -

Firmware - -

Password no -

Protocols Modbus Master Modbus protocol manages 42 sublists addressed with 32 bit pointers.

NOTE: Modbus Master service is set up by the developer


(baudrate, stop bit, etc) using the Mod_MB_Protocol_Mng
module that initializes and starts the service.

Terminals pGD1 (6 keys) Italian, English

General operations
Mod_MB_VFD can only access the device via serial line with Modbus Master protocol if all these conditions are true:

 System variables COM_PROTOCOL_XXX (serial port protocol) and COM_BAUDRATE_XXX (serial communications speed)
were initialized to use Modbus Master protocol. To use Modbus Master protocol on two serial ports simultaneously, set
protocol type 28 on both ports, otherwise the system will return an error. To use Modbus Master protocol on only one
serial port, set either protocol 21 or 28 indifferently.

 The Modbus Master protocol was started by the Mod_MB_Protocol_Mng module

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD Page 2 of 2

 En_VFD = 1 (module enabled to operate)

 En_Msk_VFD = 1 (device enabled from mask)

Mod_MB_VFD acquires and displays VFD device status variables and internal parameters. Access to main configuration
parameters for editing is permitted from the Configuration and Parameter menus (see mask section). In mask m_Config_Vfd_8,
the user can display/edit any internal VFD parameter by selecting it via its Modbus address (refer to manual NXL Frequency
Converter - Functions and Parameters +030220726 updated version available on the CAREL website).

VFD parameters can be initialized to default parameters using the specific mask parameter m_Config_Vfd_1. This operation is
only possible if serial communications are active.

Enabling the module


To enable the module, set En_VFD = 1 and En_Msk_VFD = 1.

See also
Variable visibility

Inputs

Outputs

Shared variables

Example

Release notes

1tool standard modules 2.6.9.0 - +030220881 Manual - 1tool 2.7.x dated October, 15 2013 © 2007-2013 CAREL

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: inputs Page 1 of 7

Home > Programming references > Libraries > Modules > 1tool modules > Mod_MB_VFD > Inputs

Mod_MB_VFD: inputs
Connection indications
None.

Auto connections on inputs

Auto connections on inputs


Pin ID Other module Pin ID

Unit_OnOff AutoC_Unit_OnOff OnOff_UnitStatus Unit_OnOff AutoC_Unit_OnOff

Block pin list


NOTE: parameter codes appear in parentheses (i.e.: P.1.3.1)

Variable Description Default U.M. Limits or values Memory Type Read Visibility
from…

Acceler_Time Acceleration time 1.0 s 0.1…3000.0 X A - Mask,


Default
(P2.1.3)
table

Address_Generic Generic VFD 0 - 0…9999 X I - Mask,


parameter Modbus Default
address table

Auto_Boost V/f optimization 0 - 0: not used X I - Mask,


Default
(P2.1.13) 1: automatic
table
torque boost

Automatic_Restart Automatic restart 0 - 0: not used X I - Mask,


Default
(P2.1.21) 1: in use
table

CounterClockWise Drive direction 0 - 0:Forward drive T B - Mask,


Default
1:Reverse drive
table

Current_Limit Current limit - A 0…999.9 X A - Mask,


Default
(P2.1.5)
table

Curve_Midpoint_F V/f curve midpoint 50.0 Hz 0.0…320.0 X A - Mask,


frequency Default
table
(P2.6.5)

Curve_Midpoint_V V/f curve midpoint 100.0 % 0.0…100.0 X A - Mask,


voltage Default
table
(P2.6.6)

Data_Generic Generic parameter 0 - -32768…32767 X I - Mask,


value to be Default
read/written table

Deceler_Time Deceleration time 1.0 s 0.1…3000.0 X A - Mask,

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: inputs Page 2 of 7

Default
(P2.1.4)
table

Direction_panel Panel direction (P3.3) 0 - 0:Forward drive X I - Mask,


Default
1:Reverse drive
table

En_Field_FB Enables field display 0 - 0: settings X B - Mask,


for field bus settings. hidden Default
table
1: settings
displayed

En_Field_I_O Enables field display 0 - 0: settings X B - Mask,


for I/O terminal hidden Default
settings. table
1: settings
displayed

En_Field_Panel Enables field display 0 - 0: settings X B - Mask,


for panel settings. hidden Default
table
1: settings
displayed

En_Msk_VFD Enables VFD control 0 - 0:device T B - Mask,


by the manufacturer. disabled Default
All the table
1:device
parameter/mask
enabled
displays of this
function depend on
this parameter. It is
set on the user
interface.

En_TXT_Block_Param Internal variable, 0 - 0: message not X B - Mask,


read-only Enables displayed Default
the message that table
1: message
warns users to turn
displayed
off the device before
editing parameters.

En_TXT_Param Internal variable, 0 - 0: message X B - Mask,


read-only Disables displayed Default
the message that table
1: message not
warns users to turn
displayed
off the device before
editing parameters.

En_VFD Enables the module 0 - 0: module G B - Pin,


algorithm. It is used disabled Default
to disable the table
1: module
function in special
enabled
operating conditions
i.e.: unit or alarm off,
etc.

Force_VFD Forces VFD device 0 - 0: VFD Off X B - Mask,


On/Off during the Default
1: VFD On
test procedure (with table
the unit off)

Max_Frequency Maximum frequency 50.00 Hz Min_Frequency… X A - Mask,


320.0 Default
(P2.1.2)

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: inputs Page 3 of 7

table

Min_Frequency Minimum frequency 0.00 Hz 0… X A Mask,


Max_Frequency Default
(P2.1.1)
table

ModbusMaster_Number Number of the 1 - 1: First Modbus G I - Pin,


Modbus Master Master Default
service used for table
2: Second
communications
Modbus Master

Motor_Control_Mode Motor control mode 0 - 0:frequency X I - Mask,


control Default
(P2.6.1)
table
1:speed control

Motor_Cosfi Motor cosφ 0.85 - 0.3…0.99 X I - Mask,


Default
(P2.1.10)
table

Msk_VFD_Default Initializes VFD 0 - 0:No action X B - Mask,


parameters to default Default
1: default
values. table
installation

Nominal_Current Nominal motor - A -999.9…999.9 X A - Mask,


current Default
table
(P2.1.9)

Nominal_Frequency Nominal motor 50.00 Hz 30.0…320.0 X A - Mask,


frequency Default
table
(P2.1.7)

Nominal_Speed Nominal motor speed 1440 rpm 300…20000 X I - Mask,


Default
(P2.1.8)
table

Nominal_Volt Nominal motor - V 180…690 X I - Mask,


voltage Default
table
(P2.1.6)

OnOff_VFD Switches VFD status 0 - 0: VDF off G B - Pin,


from on to off and Default
1: VFD on
vice versa table

Out_V_at_0_Hz Output voltage at 0.0 % 0.0…40.0 X A - Mask,


zero frequency Default
table
(P2.6.7)

Ratio_Selection V/f ratio selection 0 - 0:Linear X I - Mask,


Default
(P2.6.2) 1:Squared
table
2:Programmable

3: Linear with
flux optimization

Require_VFD Percent load value - % 0.0…100.0 G A - Pin,


requested from VFD Default
device table

Reset_VFD_Alarms Resets VFD alarms 0 - 0: reset off X B - Mask,


Default
1:reset on
table

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: inputs Page 4 of 7

Speed_Require Speed request 0 % 0...100.0 X A - Mask,


Default
table

Start_Function Start function 0 - 0:Ramp X I - Mask,


Default
(P2.1.11) 1:Flying start
table

Stop_Function Stop function 0 - 0: Coasting X I - Mask,


Default
(P2.1.12) 1:Ramp
table

Switch_Khz Switching frequency 6.0 kHz 1.0…16.0 X A - Mask,


Default
(P2.6.8)
table

Test_Speed_Require Percent load required 0 % 0.0...100.0 X A - Mask,


from VFD device Default
during test procedure table
(possible with unit off
only)

Type_Require Fieldbus control 3 - 0:AI1 X I - Mask,


reference selection Default
1:AI2
table
(P2.2.21)
2:Keypad ref

3:Fieldbus ref

4:Motor-
potentiometer

5:PID controller

Type_Require_IO Reference selection 3 - 0: AI1 X I - Mask,


with field bus control Default
1: AI2
and start from I/O table
terminal 2: Panel
reference
(P2.1.14)
3: Fieldbus
reference

4: Motor-
potentiometer

Type_Require_Panel Reference selection 3 - 0: AI1 x i - Mask,


with field bus control Default
1: AI2
and start from panel table
2: Panel
(P2.2.20)
reference

3: Fieldbus
reference

4: Motor-
potentiometer

5: PID
regulation

Type_Switch Control place 1 - 1:I/O terminal X I - Mask,


Default
(P3.1) 2:Keypad
table
3:Fieldbus

Unit_Off Specifies unit Off - - 0: unit on X B - Mask,

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: inputs Page 5 of 7

status Default
1: unit off
table

Unit_OnOff Indicates unit status 0 - 0:unit off G B - Pin,


connected to VDF Default
1:unit on
table

VFD_Address VFD device serial 1 - 1…255 X I - Mask,


address Default
table

VFD_Device_Number VFD device 0 - 0…254 G I - Pin,


identification number Default
table

VFD_Order_ID VFD device 0 - 0…254 X I - Pin,


identification number Mask

VFD_Type Indicates the 0 - 0: VFD NXL; T I - Mask,


selected VFD type Default
1: uVFD
table

VFD_Type_Al_3 Earth fault protection 2 - 0: No response X I - Mask,


(VFD #3 fault) Default
1: Warning
table
(P2.7.5) (uninhibiting)

2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_9 Response to under- 2 - 0: No response X I - Mask,


voltage fault (VFD #9 Default
1: Warning
fault) table
(uninhibiting)
(P2.7.3)
2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_11 Supervision phase in 2 - 0: No response X I - Mask,


output (VFD #11 Default
1: Warning
fault) table
(uninhibiting)
(P2.7.4)
2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_15 Stall protection (VFD 1 - 0: No response X I - Mask,


#15 fault) Default
1: Warning
table
(P2.7.11) (uninhibiting)

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: inputs Page 6 of 7

2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_16 Thermal motor 2 - 0: No response X I - Mask,


protection (VFD #16 Default
1: Warning
fault) table
(uninhibiting)
(P2.7.6)
2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_17 Under-load protection 0 - 0: No response X I - Mask,


(VFD #17 fault) Default
1: Warning
table
(P2.7.15) (uninhibiting)

2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_29 Response to 0 - 0: No response X I - Mask,


thermistor fault (VFD Default
1: Warning
#29 fault) table
(uninhibiting)
(P2.7.19)
2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_50 Response to 4-20mA 0 - 0: No response X I - Mask,


reference fault (VDF Default
1: Warning
#50 fault) table
(uninhibiting)
(P2.7.1)
2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_53 Response to fieldbus 2 - 0: No response X I - Mask,


fault (VFD #53 fault) Default
1: Warning

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: inputs Page 7 of 7

(uninhibiting) table
(P2.7.20)
2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_54 Response to slot fault 2 - 0: No response X I - Mask,


( VFD #54 fault) Default
1: Warning
table
(P2.7.21) (uninhibiting)

2:Fault
(inhibiting) stop
according to
Stop_Function

3:Fault
(inhibiting, stop
by coasting

VFD_Type_Al_55 Actual value 0 - 0: No response X I - Mask,


supervision (VFD #55 Default
1:Warning
fault) table
(uninhibiting) if
(P2.7.22) below limit

2:Warning
(uninhibiting) if
above limit

3:Fault
(inhibiting) if
below limit

4:Fault
(inhibiting) if
above limit

See also
Variable visibility

General operations

Outputs

Shared variables

Example

Release notes

1tool standard modules 2.6.9.0 - +030220881 Manual - 1tool 2.7.x dated October, 15 2013 © 2007-2013 CAREL

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: masks Page 1 of 5

Home > Programming references > Libraries > Modules > 1tool modules > Mod_MB_VFD > Masks

Mod_MB_VFD: masks
Configuration loop
mask Visible Variables Visible field Type

m_Config_Vfd_1 If En_Msk_VFD =1 VFD_Order_ID Always Var output

En_Msk_VFD Always Var in/out

VFD_address Always Var in/out

VFD_Type Always Var in/out

Address_Generic If En_Msk_VFD=1 Var in/out

Data_Generic If En_Msk_VFD=1 Var in/out

Msk_VFD_Default Unit_Off = 1

m_Config_Vfd_2 If En_Msk_VFD =1 VFD_Order_ID Always Var output

Type_Switch Always Var in/out

Type_Require Always Var in/out

Type_Require_I_O Always Var in/out

Type_Require_Panel Always Var in/out

CounterClockWise Always Var in/out

Direction_panel Always Var in/out

m_Config_Vfd_3 If En_Msk_VFD =1 VFD_Order_ID Always Var output

Motor_Control_Mode If Unit_Off =1 Var in/out

Start_Function If Unit_Off =1 Var in/out

Stop_Function Always Var in/out

m_Config_Vfd_4 If En_Msk_VFD =1 VFD_Order_ID Always Var output

VFD_Type_Al_3 Always Var in/out

VFD_Type_Al_9 Always Var in/out

VFD_Type_Al_11 If VFD_NXL_Active = 1 Var in/out

VFD_Type_Al_15 Always Var in/out

m_Config_Vfd_5 If En_Msk_VFD =1 VFD_Order_ID Always Var output

VFD_Type_Al_16 Always Var in/out

VFD_Type_Al_17 If VFD_NXL_Active = 1 Var in/out

VFD_Type_Al_29 If VFD_NXL_Active = 1 Var in/out

VFD_Type_Al_50 Always Var in/out

m_Config_Vfd_6 If En_Msk_VFD =1 VFD_Order_ID Always Var output

VFD_Type_Al_53 Always Var in/out

VFD_Type_Al_54 Always Var in/out

VFD_Type_Al_55 Always Var in/out

m_Config_Vfd_7 Se En_Msk_VFD =1 VFD_Order_ID Always Var output

Nominal_Volt If Unit_Off =1 Var in/out

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: masks Page 2 of 5

Motor_Cosfi If Unit_Off =1 Var in/out

Nominal_Frequency If Unit_Off =1 Var in/out

Nominal_Speed If Unit_Off =1 Var in/out

Nominal_Current If Unit_Off =1 Var in/out

Current_Limit If Unit_Off =1 Var in/out

Input/Output loop
Mask Visible Variables or pin Visible field Type

m_In_Out_Vfd_1 If En_Msk_VFD =1 VFD_Order_ID Always Var output

Status_Ready Always Var output

Status_Run Always Var output

Status_Direct Always Var output

Status_Alarms Always Var output

Speed_Reached If Status_Run = 1 Var output

m_In_Out_Vfd_2 If En_Msk_VFD =1 VFD_Order_ID Always Var output

Speed_Require Always Var output

Speed_Hz Always Var output

Temp_Dissip Always Var output

DC_Voltage Always Var output

m_In_Out_Vfd_3 If En_Msk_VFD =1 VFD_Order_ID Always Var output

Speed_rpm Always Var output

Voltage Always Var output

Current Always Var output

Torque Always Var output

Power Always Var output

Manual management Loop


Mask Visible Variables Visible field Type

m_Manual_Vfd_1 If En_Msk_VFD =1 VFD_Order_ID Always Var output

Reset_VFD_Alarms Always Var in/out

Parameters Loop
mask Visible Variables Visible field Type

m_Param_Vfd_1 If En_Msk_VFD =1 VFD_Order_ID Always Var output

Out_V_at_0_Hz If Unit_Off =1 Var in/out

Switch_Khz Always Var in/out

Curve_Midpoint_V If Unit_Off =1 Var in/out

Curve_Midpoint_F If Unit_Off =1 Var in/out

m_Param_Vfd_2 If En_Msk_VFD =1 VFD_Order_ID Always Var output

Ratio_Selection If Unit_Off =1 Var in/out

Auto_Boost Always Var in/out

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: masks Page 3 of 5

Automatic_Restart Always Var in/out

m_Param_Vfd_3 If En_Msk_VFD =1 VFD_Order_ID Always Var output

Min_Frequency Always Var in/out

Max_Frequency Always Var in/out

Acceler_Time Always Var in/out

Deceler_Time Always Var in/out

Test Loop
Mask Visible Variables Visible field Type

m_Test_Vfd If En_Msk_VFD =1 VFD_Order_ID Always Var output

Test_Speed_Require If Unit_OnOff = 0 Var in/out

Force_VFD If Unit_OnOff = 0 Var in/out

Alarm Loop
mask Visible Variables Visible field Type

m_Alarms_Vfd_1 If the device is enabled and an VFD_Order_ID Always Var


offline alarm triggered. In detail: output

If En_Msk_VFD =1 AND Pin


{ [Al_Offline_VFD = 1 OR output
mAl_Offline_VFD = 1] }

m_Alarms_Vfd_2 If the device is enabled and at VFD_Order_ID Always Var


least one VFD alarm code output
Msk_Al_vfd_Over_Curr If Al_Vfd_Over_Curr = 1
1,2,3,5,8 is triggered. In detail:
Var
Msk_Al_vfd_Over_Volt If Al_vfd_Over_Volt = 1
Se En_Msk_VFD =1 output
AND { [Al_Vfd_Over_Curr = 1 Msk_Al_vfd_Ground_Fault If Al_vfd_Ground_Fault =
Var
OR mAl_Vfd_Over_Curr = 1] 1
Msk_Al_vfd_Charge_Contact output
OR [Al_vfd_Over_Volt = 1 OR If Al_vfd_Charge_Contact
Msk_Al_vfd_System_Fault Var
mAl_vfd_Over_Volt = 1] =1
OR [Al_vfd_Ground_Fault = 1 output
If Al_vfd_System_Fault =
OR mAl_vfd_Ground_Fault = 1] Var
1
OR [Al_vfd_Charge_Contact = 1 output
OR mAl_vfd_Charge_Contact =
Var
1]
output
OR [Al_vfd_System_Fault = 1
OR mAl_vfd_System_Fault =
1] }

m_Alarms_Vfd_3 If the device is enabled and at VFD_Order_ID Always Var


least one of the VFD alarm code output
Msk_Al_vfd_Low_Voltage If Al_vfd_Low_Voltage =
9,11,13,14,15 is triggered. In
1 Var
detail: Msk_Al_vfd_No_Phase_Current
output
If
Se En_Msk_VFD = 1 Msk_Al_vfd_Inv_Low_Temp
Al_vfd_No_Phase_Current Var
AND { [Al_vfd_Low_Voltage = 1 Msk_Al_vfd_Inv_High_Temp =1 output
OR mAl_vfd_Low_Voltage = 1]
Msk_Al_vfd_Motor_Block If Al_vfd_Inv_Low_Temp Var
OR [Al_vfd_No_Phase_Current =
1 OR mAl_vfd_No_Phase_Current =1 output
= 1] If Al_vfd_Inv_High_Temp Var
OR [Al_vfd_Inv_Low_Temp = 1 =1 output
OR mAl_vfd_Inv_Low_Temp =
If Al_vfd_Motor_Block = Var
1]

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: masks Page 4 of 5

OR [Al_vfd_Inv_High_Temp = 1 1 output
OR mAl_vfd_Inv_High_Temp =
1]
OR [Al_vfd_Motor_Block = 1 OR
mAl_vfd_Motor_Block = 1}

m_Alarms_vfd_4 If the device is enabled and at VFD_Order_ID Always Var


least one of the VFD alarm code output
Msk_Al_vfd_High_Motor_Temp If
16,17,22,25,29 is triggered. In
Al_vfd_High_Motor_Temp Var
detail: Msk_Al_vfd_Low_Motor_Load
=1 output
If En_Msk_VFD = 1 Msk_Al_vfd_Eeprom
If Var
AND { [Al_vfd_High_Motor_Temp Msk_Al_vfd_Watchdog Al_vfd_Low_Motor_Load= output
= 1 OR
Msk_Al_vfd_Overload_Fault 1
mAl_vfd_High_Motor_Temp = 1] Var
OR [Al_vfd_Low_Motor_Load= 1 If Al_vfd_Eeprom = 1 output
OR mAl_vfd_Low_Motor_Load = If Al_vfd_Watchdog = 1 Var
1] output
If Al_Vfd_Overload_fault
OR [Al_vfd_Eeprom = 1 OR
=1 Var
mAl_vfd_Eeprom = 1]
output
OR [Al_vfd_Watchdog = 1 OR
mAl_vfd_Watchdog = 1]
OR [Al_Vfd_Overload_fault = 1
OR mAl_Vfd_Overload_fault =
1] }

m_Alarms_Vfd_5 If the device is enabled and at VFD_Order_ID Always Var


least one of the VFD alarm code output
Msk_Al_vfd_Internal_Bus If Al_vfd_Internal_Bus =
VFD 34,40,41,50,51 is triggered.
1 Var
In detail: Msk_Al_vfd_Unknown_Device
output
If
If En_Msk_VFD =1 Msk_Al_vfd_IGBT_Temp
Al_vfd_Unknown_Device Var
AND { [Al_vfd_Internal_Bus = 1 Msk_Al_vfd_Ain_Fault =1 output
OR mAl_vfd_Internal_Bus = 1]
Msk_Al_vfd_External If Al_vfd_IGBT_Temp = 1 Var
OR [Al_vfd_Unknown_Device =
1 OR mAl_vfd_Unknown_Device Msk_Al_uvfd_Appl_Fault output
If Al_Vfd_Ain_Fault= 1
= 1] Var
If Al_vfd_External = 1
OR [Al_vfd_IGBT_Temp = 1 OR output
mAl_vfd_IGBT_Temp = 1]
Var
OR [Al_Vfd_Ain_Fault= 1 OR
output
mAl_Vfd_Ain_Fault = 1]
OR [Al_vfd_External = 1 OR
mAl_vfd_External = 1] OR
[Al_uvfd_Appl_Fault = 1] }

m_Alarms_Vfd_6 If the device is enabled and at VFD_Order_ID Always Var


least one of the VFD alarm code output
Msk_Al_vfd_Comm If Al_vfd_Comm = 1
52,53,54,55 is triggered. In
Var
detail: Msk_Al_Vfd_Field_bus_fault If
output
Al_Vfd_Field_bus_fault=
If En_Msk_VFD =1 Msk_Al_vfd_Slot_Fault
1 Var
AND { [Al_vfd_Comm = 1 OR Msk_Al_vfd_Spv_Value_Fault output
mAl_vfd_Comm = 1] If Al_Vfd_Slot_Fault= 1
OR [Al_Vfd_Field_bus_fault= 1 Var
IF
OR mAl_Vfd_Field_bus_fault = 1] output
Al_Vfd_Spv_value_fault=
OR [Al_Vfd_Slot_Fault= 1 OR 1 Var
mAl_Vfd_Slot_Fault= 1] output
OR [Al_Vfd_Spv_value_fault= 1
OR mAl_Vfd_Spv_value_fault =
1]}

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: masks Page 5 of 5

See also
Variable visibility

General operations

Inputs

Outputs

Shared variables

Example

Release notes

1tool online help - Mask Editor

1tool standard modules 2.6.9.0 - +030220881 Manual - 1tool 2.7.x dated October, 15 2013 © 2007-2013 CAREL

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: outputs Page 1 of 5

Home > Programming references > Libraries > Modules > 1tool modules > Mod_MB_VFD > Outputs

Mod_MB_VFD: outputs
Connection indications
None.

Auto connections on outputs


None.

Block pin list


NOTE: monitoring parameter codes appear in parentheses (i.e.: V.1.3)

Variable Description Default U.M. Limits or values Memory Type Write Vis

to..

Al_Msk_Al2 Mask activation for 0 - 0: no active X B - Ma


VFD alarm codes alarms
1,2,3,5,8
1: at least 1 active
alarm

Al_Msk_Al3 Mask activation for 0 - 0: no active X B - Ma


VFD alarm codes alarms
9,11,13,14,15
1: at least 1 active
alarm

Al_Msk_Al4 Mask activation for 0 - 0: no active X B - Ma


VFD alarm codes alarms
16,17,22,25,29
1: at least 1 active
alarm

Al_Msk_Al5 Mask activation for 0 - 0: no active X B - Ma


VFD alarm codes alarms
34,40,41,50,51
1: at least 1 active
alarm

Al_Msk_Al6 Mask activation for 0 - 0: no active X B - Ma


VFD alarm codes alarms
52,53,54,55
1: at least 1 active
alarm

Al_Not_Serious_Vfd Alarm: at least one 0 - 0: no active X B - Pin


of the non serious alarms
VFD alarms is
1: at least 1 active
active. This alarm
alarm
does not turn off
the device.

Al_Offline_VFD Alarm: no device 0 - 0:active alarm X B - Ma


communications via
1: alarm not
Modbus Master
active
protocol serial line.

Al_Serious_Vfd Alarm: at least one 0 - 0: no active X B - Pin

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: outputs Page 2 of 5

of the serious VFD alarms


alarms is active.
1: at least 1 active
This alarm turns off
alarm
the device.

Current Measured motor - A -99.9…99.9 X A - Ma


current

(V1.4)

DC_Voltage Measured DC-link - V 0…9999 X I - Ma


voltage

(V1.8)

mAl_Msk_Al2 VFD alarm codes - - 0: no active X B - Pin


1,2,5,8,22 memory alarms
Ma
1: at least 1 active
alarm

mAl_Msk_Al3 VFD alarm codes - - 0: no active X B - Pin


13,14,25,34,40 alarms
Ma
memory
1: at least 1 active
alarm

mAl_Msk_Al4 VFD alarm codes - - 0: no active X B - Pin


3,9,41,51,52 alarms
Ma
memory
1: at least 1 active
alarm

mAl_Msk_Al5 VFD alarm codes - - 0: no active X B - Pin


11,15,16,17,29 alarms
Ma
memory
1: at least 1 active
alarm

mAl_Msk_Al6 VFD alarm codes - - 0: no active X B - Pin


50,53,54,55 alarms
Ma
memory
1: at least 1 active
alarm

Msk_Al_vfd_Charge_Contact Alarm status for - - 0:active alarm X B - Ma


fault code #3 VFD –
1: alarm not
Grounding fault
active

Msk_Al_Vfd_Ain_Fault Alarm status for - - 0:active alarm X B - Ma


fault code #50 VFD
1: alarm not
– Analog input value
active
< 4mA

Msk_Al_vfd_Comm Alarm status for - - 0:active alarm X B - Ma


fault code #52 VFD
1: alarm not
– Panel
active
communications

Msk_Al_vfd_Eeprom Alarm status for - - 0:active alarm X B - Ma


fault code #22 VFD
1: alarm not
– EEPROM
active
“checksum” error

Msk_Al_vfd_External Alarm status for - - 0:active alarm X B - Ma


fault code #51 VFD
1: alarm not
– External fault
active

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: outputs Page 3 of 5

Msk_Al_Vfd_Field_bus_fault Alarm for fault code - - 0:active alarm X B - Ma


#53 VFD – Fieldbus
1: alarm not
fault
active

Msk_Al_vfd_Ground_Fault Alarm for fault code - - 0:active alarm X B - Ma


#3 VFD –
1: alarm not
Grounding fault
active

Msk_Al_vfd_High_Motor_Temp Alarm status for - - 0:active alarm X B - Ma


fault code #16 VFD
1: alarm not
– Motor overheating
active

Msk_Al_vfd_IGBT_Temp Alarm status for - - 0:active alarm X B - Ma


fault code #41 VFD
1: alarm not
– IGBT temperature
active

Msk_Al_vfd_Internal_Bus Alarm status for - - 0:active alarm X B - Ma


fault code #34 VFD
1: alarm not
– Internal bus
active
communications

Msk_Al_vfd_Inv_High_Temp Alarm status for - - 0:active alarm X B - Ma


fault code #14 VFD
1: alarm not
– Inverter
active
overheating

Msk_Al_vfd_Inv_Low_Temp Alarm status for - - 0:active alarm X B - Ma


fault code #13 VFD
1: alarm not
– Inverter under
active
heating

Msk_Al_vfd_Low_Motor_Load Alarm status for - - 0:active alarm X B - Ma


fault code #17 VFD
1: alarm not
– Motor under load
active

Msk_Al_vfd_Low_Voltage Alarm status for - - 0:active alarm X B - Ma


fault code #9 VFD –
1: alarm not
Low voltage
active

Msk_Al_vfd_Motor_Block Alarm status for - - 0:active alarm X B - Ma


fault code #15 VFD
1: alarm not
– Motor block
active

Msk_Al_vfd_No_Phase_Current Alarm status for - - 0:active alarm X B - Ma


fault code #11 VFD
1: alarm not
– Output phase
active
supervision

Msk_Al_Vfd_Over_Curr Alarm status for - - 0:active alarm X B - Ma


fault code #1 VFD -
1: alarm not
Over current
active

Msk_Al_vfd_Over_Volt Alarm status for - - 0:active alarm X B - Ma


fault code #2 VFD -
1: alarm not
Over voltage
active

Msk_Al_Vfd_Overload_fault Alarm status for - - 0:active alarm X B - Ma


fault code #29 VFD
1: alarm not
– Thermistor motor
active
temperature

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: outputs Page 4 of 5

Msk_Al_Vfd_Slot_Fault Alarm status for - - 0:active alarm X B - Ma


fault code #54 VFD
1: alarm not
– Optional slot fault
active

Msk_Al_Vfd_Spv_value_fault Alarm status for - - 0:active alarm X B - Ma


fault code #55 VFD
1: alarm not
– Measured value
active
supervision

Msk_Al_vfd_System_Fault Alarm status for - - 0:active alarm X B - Ma


fault code #8 VFD –
1: alarm not
System fault
active

Msk_Al_vfd_Unknown_Device Alarm status for - - 0:active alarm X B - Ma


fault code #40 VFD
1: alarm not
– Unknown device
active

Msk_Al_vfd_Watchdog Alarm status for - - 0:active alarm X B - Ma


fault code #25 VFD
1: alarm not
– Microprocessor
active
“watchdog” fault

mAl_Offline_VFD No communications - - 0: communications X B - Pin


alarm memory with ma
1:no
VFD device
communications

Power Motor power - % -999.9…999.9 X A - Ma

(V1.6)

Speed_Hz Frequency to the - Hz -99.9….99.9 X A - Pin


motor ma

(V1.1)

Speed_Reached Status bit, indicates - % 0: In ramp X B - Ma


if the speed
1:Reference
reference required
reached
of VFD was reached.

Speed_Require VFD speed required - % 0.0…100.0% X A - Pin


If Unit_OnOff = 0 it Ma
is equal to the
Test_Speed_Require
parameter, if
Unit_OnOff = 1 it is
equal to the
Require_VFD
parameter.

Speed_rmp Calculated motor - rpm -9999…9999 X I - Pin


speed ma

(V1.3)

Status_Alarms Status bit, indicates 0 - 0:no fault X B - Ma


active faults on VFD
1:at least 1 fault

Status_Direct Status bit, indicates 0 - 0:clockwise X B - Ma


VFD direction
1:counterclockwise

Status_Ready Status bit, indicates 0 - 0:not ready X B - Ma


VFD ready status
1:ready

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: outputs Page 5 of 5

Status_Run Status bit, indicates 0 - 0:VFD off X B - Ma


VFD on status
1: VFD on

Temp_Dissip Heat sink - °C -999…999 X I - Ma


temperature

(V1.9)

Torque Actual/nominal - % -999.9…999.9 X A - Ma


calculated motor
torque

(V1.5)

Voltage Calculated motor - V -999.9…999.9 X A - Ma


voltage

(V1.7)

uVFD_Active Selected uVFD - - 0: uVDF not X B - Ma


device. selected;

1: uVFD selected.

VFD_NXL_Active Selected NXL - - 0: NXL not X B - Ma


device. selected;

1: NXL selected.

See also
Variable visibility

General operations

Inputs

Shared variables

Example

Release notes

1tool standard modules 2.6.9.0 - +030220881 Manual - 1tool 2.7.x dated October, 15 2013 © 2007-2013 CAREL

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: example Page 1 of 2

Home > Programming references > Libraries > Modules > 1tool modules > Mod_MB_VFD > Example

Mod_MB_VFD: use example

In this example, the communications service in Modbus Master protocol is assigned to serial port 2 (FieldBus) with 19200
bit/second communications speed. The Mod_MB_Protocol_Mng initializes and starts the service and, therefore, it is unique to all
devices in the Modbus network.

The Mod_MB_VFD module lets you access the VFD device with serial address VFD_Address1. In this example, the VFD on/off
status corresponds to the unit On/Off status (Syson), while the VFD request (Require_VFD) is provided by pCO analog input 1.

See also
Variable visibility

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022
Mod_MB_VFD: example Page 2 of 2

General operations

Inputs

Outputs

Shared variables

Release notes

1tool standard modules 2.6.9.0 - +030220881 Manual - 1tool 2.7.x dated October, 15 2013 © 2007-2013 CAREL

file:///C:/Program%20Files%20(x86)/CAREL/1tool/Help/EN/mergedProjects/1toolLibrar... 28.12.2022

You might also like