Explicit Exchange Objects of IODDT Types T_WEIGHING_ISPY101 and T_WEIGHING_ISPY101_2
(Original Document)
Introduction
These word type objects allow commands to be sent to the weighing module by explicit exchange (WRITE_CMD instruction):
This topic describes the explicit exchange objects of the IODDT of types T_WEIGHING_ISPY101 and T_WEIGHING_ISPY101_2, which apply to the TSX ISP Y101 module. These IODDTs group together the word objects, the bits of which have a particular meaning.
Word Objects
The following table describes the meaning of explicit command parameters %MWCmd used with WRITE_CMD explicit exchange.
Standard Symbol
Type
Access
Meaning
Address
CMD_TYPE
INT
R/W
Command type
%MWr.m.0.3
STD_LOAD1
DINT
R/W
Standard load weight for the calibration command
%MDr.m.0.4
STD_LOAD_L2
INT
R/W
Standard load weight for the calibration command (least significant word)
%MWr.m.0.4
STD_LOAD_H2
INT
R/W
Standard load weight for the calibration command (most significant word)
%MWr.m.0.5
1 Premium/Atrium only
2 M580 only
NOTE: The standard load weight S is a DINT. (The S value is typically between 10 and 400,000.) To perform a calibration by program, the least significant word of the standard load weight value S is copied into %MWr.m.0.4, and the most significant word of the standard load weight value S is copied into %MWr.m.0.5. This takes place before executing WRITE_CMD while setting the calibration order of the channel using the standard load weight.
Example: The standard load weight for calibration S can be copied into the %MWr.m.0.4 and %MWr.m.0.5 words as follows:
DINT_AS_WORD (S, LowWord, HighWord);
%MWr.m.0.4:=WORD_TO_INT(LowWord);
%MWr.m.0.5:=WORD_TO_INT(HighWord);
Managing Exchanges: CMD_TYPE
The following table desribes the meaning of the word bits CMD_TYPE (%MWr.m.0.3).
Standard Symbol
Type
Access
Meaning
Address
MOD_CAL_SAVE_CMD
BOOL
R/W
Save calibration coefficients in module
%MWr.m.0.3.0
ZERO_LOAD_CAL_CMD
BOOL
R/W
Zero Load calibration
%MWr.m.0.3.1
STD_LOAD_CAL_CMD
BOOL
R/W
Calibration Weight Calibration (normal condition)
%MWr.m.0.3.2
CANCEL_CMD
BOOL
R/W
Cancellation of command (calibration, setting to zero, taring)
%MWr.m.0.3.3
TARE_CMD
BOOL
R/W
Taring order
%MWr.m.0.3.4
ZERO_CMD
BOOL
R/W
Reset order
%MWr.m.0.3.5
GROSS_CMD
BOOL
R/W
Return to GROSS weight order
%MWr.m.0.3.6
MANU_TARE_DISP_CMD
BOOL
R/W
3 second display of manual tare
%MWr.m.0.3.7
TH_EN_CMD
BOOL
R/W
Enable thresholds
%MWr.m.0.3.8
TH_DIS_CMD
BOOL
R/W
Disable thresholds
%MWr.m.0.3.9
FORCED_CAL_CMD
BOOL
R/W
Forced calibration (CPU -> module)
%MWr.m.0.3.10
CPU_CAL_SAVE_CMD
BOOL
R/W
Save calibration coefficients in processor
%MWr.m.0.3.11
DG_CAL_CMD
BOOL
R/W
Standard load calibrated at <  70 % of maximum weight
%MWr.m.0.3.12