Hello @MichalH,
thank you for your patience and support. I installed the new freemaster version 3.2 so that it's possible to define expression for the variable addresses. My freemaster_cfg.c now looks like this:
FMSTR_TSA_STRUCT(tMbdlt25bf)
FMSTR_TSA_MEMBER(tMbdlt25bf, state, FMSTR_TSA_USERTYPE(MBDLT25BF_STATE))
FMSTR_TSA_MEMBER(tMbdlt25bf, mbdlt25bfOut, FMSTR_TSA_POINTER)
FMSTR_TSA_MEMBER(tMbdlt25bf, mbdlt25bfIn, FMSTR_TSA_POINTER)
FMSTR_TSA_STRUCT(MinasOutput)
FMSTR_TSA_MEMBER(MinasOutput, controlword, FMSTR_TSA_UINT16)
FMSTR_TSA_MEMBER(MinasOutput, operation_mode, FMSTR_TSA_SINT8)
FMSTR_TSA_MEMBER(MinasOutput, target_torque, FMSTR_TSA_SINT16)
FMSTR_TSA_MEMBER(MinasOutput, max_torque, FMSTR_TSA_UINT16)
FMSTR_TSA_MEMBER(MinasOutput, target_position, FMSTR_TSA_SINT32)
FMSTR_TSA_MEMBER(MinasOutput, max_motor_speed, FMSTR_TSA_UINT32)
FMSTR_TSA_MEMBER(MinasOutput, touch_probe_function, FMSTR_TSA_UINT16)
FMSTR_TSA_MEMBER(MinasOutput, target_velocity, FMSTR_TSA_SINT32)
FMSTR_TSA_MEMBER(MinasOutput, position_offset, FMSTR_TSA_SINT32)
FMSTR_TSA_STRUCT(MinasInput)
FMSTR_TSA_MEMBER(MinasInput, error_code, FMSTR_TSA_UINT16)
FMSTR_TSA_MEMBER(MinasInput, statusword, FMSTR_TSA_UINT16)
FMSTR_TSA_MEMBER(MinasInput, operation_mode, FMSTR_TSA_USERTYPE(PDS_OPERATION))
FMSTR_TSA_MEMBER(MinasInput, position_actual_value, FMSTR_TSA_SINT32)
FMSTR_TSA_MEMBER(MinasInput, velocity_actual_value, FMSTR_TSA_SINT32)
FMSTR_TSA_MEMBER(MinasInput, torque_actual_value, FMSTR_TSA_SINT16)
FMSTR_TSA_MEMBER(MinasInput, touch_probe_status, FMSTR_TSA_UINT16)
FMSTR_TSA_MEMBER(MinasInput, touch_probe_posl_pos_value, FMSTR_TSA_SINT32)
FMSTR_TSA_MEMBER(MinasInput, digital_inputs, FMSTR_TSA_UINT32)
One thing that I didn't tell you is that my mbdlt25bf struct is actually an array of struct:
tMbdlt25bf mbdlt25bf[ARRAY_SIZE_MOTORS];
I've one more issue where I'm trying to get the value stored in the variable mbdlt25bf[7].mbdlt25bfOut->controlWord.
The address that I wrote is: valueof(mbdlt25bf[7].mbdlt25bfOut) + offsetof(MinasOutput, controlword), as shown in the picture.

As you can see the value doesn't get updated. Can you advise me?
Thank you again for your cooperation.
Davidino