Explicit exchange objects: General. Schneider Electric Software PLC Application-Specific Functions, Micro/Junior/Pro, 4.5
Advertentie
Advertentie
Language words and bits
Exchange management: Module %MWx.MOD.0:Xj or channel %MWx.i.0:Xj exchanges in progress
At a Glance
Description
These word-type objects provide information on the module or channel i exchanges in progress.
They are updated automatically by the system.
The table below explains the meanings of the different bits in the word
%MWx.MOD.0
.
Address
%MWx.MOD.0:X0
%MWx.MOD.0:X1
Meaning for Xj = 1
Exchange of status words in progress on at least one channel of the module.
Exchange of command words in progress on at least one channel of the module.
Description
Example
The table below explains the meanings of the different bits in the word %MWx.i.0
.
Address
%MWx.i.0:X0
%MWx.i.0:X1
Meaning for Xj = 1
Exchange of status words in progress on channel i.
Exchange of command words in progress on channel i.
The example below shows one possible way in which this type of word can be used
(* Update request for channel 0 status words *)
(* for the module located at slot 3*)
(* if no exchange in progress on this channel *)
IF NOT %MW3.0:X0 THEN READ_STS %CH3.0;
END_IF;
Note: When the duration of the explicit exchange is shorter than the PLC task cycle time, the %MWx.i:X0 bit never switches to 1.
TLX DS 37 PL7 xxE
107
Downloaden
Advertentie