<< Prev        Next >>

ID : 7584

MC_ReadForceData

Obtain the force control data.

Graphic expression FB category
Non motion

Input and Output Variable

Variable name Data type Valid range Default Omission (*)
AxesGroup eRC_AxesGroup No
Robot Group
Specify a robot variable (structured type data : eRC_AxesGroup) of user-defined type.

Input Variable

Variable name Data type Valid range Default Omission (*)
Execute Boolean
  • TRUE : Start
  • FALSE : -
FALSE No
Execution start
When the parameter is changed from False to True, this FB is executed.
ForceDataNo Integer 0 to 15 0 No
Data number
Specify a data number that you intend to obtain.
For details, refer to Function description.
Mode Integer -1, 0 0 No
Mode
If "0" is specified, acquire data.
If "-1" is specified, acquire the data and then reset the buffer data.

(*) : For some Variable, entries can be omitted.

  • Yes : Entry can be omitted.
  • No : Entry required always.

Output Variable

Variable name Data type / Description
Done Boolean
Execution completion confirmation
TRUE : This FB execution is completed.
FALSE : This FB execution is not completed.
Busy Boolean
Processing status of this FB
TRUE : Being executed.
FALSE : Not being executed.
Error Boolean
Error presence
TRUE : This FB ended abnormally.
FALSE : This FB ended successfully.
ErrorID Word
Error location
2800 (hexadecimal) : The error occurred in the PLC program.
2801 (hexadecimal) : The error occurred in the robot controller.
ErrorIDEx DWord
Error Code
This is a number to identify the error description.
For details, refer to "Error code list".
ForceData1 eRC_Vector
A data that you intend to obtain
ForceData2 eRC_Vector
A data that you intend to obtain

Function Description

ForceDataNo ForceData1 ForceData2
0 The sensor value [N] on the control coordinate system The sensor value [Nm] on the control coordinate system
1 The sensor output value [pulse/N] The sensor output value [pulse/Nm]
2 The positive peak of the force [N] on the force control coordinate system The positive peak of the moment [Nm] on the force control coordinate system
3 The negative peak of the force [N] on the force control coordinate system The negative peak of the moment [Nm] on the force control coordinate system
4 The travel distance (command value)[mm] of the tool end from the start of the force control on the force control coordinate system The travel distance (command value)[deg] of the tool end from the start of the force control on the force control coordinate system
5 The positive peak (command value)[mm] of the tool end's travel distance from the start of the force control on the force control coordinate system The positive peak (command value)[deg] of the tool end's travel distance from the start of the force control on the force control coordinate system
6 The negative peaks (command value)[mm] of the tool end's travel distance from the start of the force control on the force control coordinate system The negative peaks (command value)[deg] of the tool end's travel distance from the start of the force control on the force control coordinate system
7 The travel distance (current value)[mm] of the tool end from the start of the force control on the force control coordinate system The travel distance (current value)[deg] of the tool end from the start of the force control on the force control coordinate system
8 The positive peak (current value)[mm] of the tool end's travel distance from the start of the force control on the force control coordinate system The positive peak (current value)[deg] of the tool end's travel distance from the start of the force control on the force control coordinate system
9 The negative peaks (current value)[mm] of the tool end's travel distance from the start of the force control on the force control coordinate system The negative peaks (current value)[deg] of the tool end's travel distance from the start of the force control on the force control coordinate system
10 The deviation [mm] between the command value and the force control command value from the start of the force control on the force control coordinate system The deviation [deg] between the command value and the force control command value from the start of the force control on the force control coordinate system
11 The positive peak of the deviation [mm] between the command value and the force control command value from the start of the force control on the force control coordinate system The positive peak of the deviation [deg] between the command value and the force control command value from the start of the force control on the force control coordinate system
12 The negative peak of the deviation [mm] between the command value and the force control command value from the start of the force control on the force control coordinate system The negative peak of the deviation [deg] between the command value and the force control command value from the start of the force control on the force control coordinate system
13 The force [N] of the sensor value The moment [Nm] of the sensor value
14 The positive peaks of the force [N] of the sensor value The positive peaks of the moment [Nm] of the sensor value
15 The negative peaks of the force [N] of the sensor value The negative peaks of the moment [Nm] of the sensor value

Attention

-

ID : 7584

<< Prev        Next >>