Language objects associated with the discrete specific application. Schneider Electric Software PLC Application-Specific Functions, Junior/Pro, 4.5
Annonce
Annonce
8.2
Language words and bits
Language objects associated with the discrete specific application
Presentation
Subject of this section
What's in this
Section?
This section presents the different language objects associated with the discrete specific application.
This section contains the following topics:
Topic
Implicit exchange language objects associated with the discrete specific application
Exchange management: Exchanges in progress module
%[email protected]:Xj or channel %[email protected]:Xj
Exchange management: Module %[email protected]:Xj or channel
%[email protected]:Xj report
Explicit exchange objects: General
Explicit exchange object: %[email protected]:Xj channel status
Explicit exchange object: Status Module %[email protected]:Xj
Explicit exchange object: %[email protected]:Xj channel command
Page
35012326 00 July 2006
139
Language words and bits
Implicit exchange language objects associated with the discrete specific application
Presentation Exchanges for these objects are carried out automatically on each cycle of the task in which the module channels are configured.
Bit objects
Address (1)
The table below shows the different implicit exchange bit objects.
Function
Input channel bit
Output channel bit
Channel error bit
Module error bit
Meaning when the bit is at status 1
Indicates, for input channel i, that the sensor output controlling the input is activated.
Indicates that output channel i is activated.
Indicates that input channel i is faulty.
Indicates that the module is faulty.
Key:
(1) @module = module address.
z xy for in-rack modules, z \p2c\m for remote modules.
Word objects
Address (1)
The table below shows the different implicit exchange word objects.
Function
Event status associated with channel i
Command word associated with channel i
Meaning for Xj = 1
Indicates that event processing is configured on a rising edge.
Indicates that event processing is configured on a falling edge.
Masks/unmasks the event associated with the channel.
Key:
(1) @module = module address.
z xy for in-rack modules, z \p2c\m for remote modules.
140 35012326 00 July 2006
Language words and bits
Exchange management: Exchanges in progress module
%[email protected]:Xj or channel %[email protected]:Xj
Presentation
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
.
Address (1) Meaning for Xj = 1
%[email protected]:X0 Exchange of status words in progress on at least one channel of the module.
%[email protected]:X1 Exchange of command words in progress on at least one channel of the module.
Key:
(1) @module = module address.
z xy for in-rack modules, z \p2c\m for remote modules.
Description The table below explains the meanings of the different bits in the word
.
Address (1)
Meaning for Xj = 1
Exchange of status words in progress on channel i.
Exchange of command words in progress on channel i.
Key:
(1) @module = module address.
z z xy for in-rack modules,
\p2c\m for remote modules.
35012326 00 July 2006
141
Language words and bits
Example 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 of rack 0 *)
(* if no exchange in progress on this channel *)
IF NOT %MW3.0:X0 THEN READ_STS %CH3.0;
END_IF;
Note: If the explicit exchange does not last as long as the PLC task cycle time, the
%[email protected]:X0 bit never changes to 1.
142 35012326 00 July 2006
Language words and bits
Exchange management: Module %[email protected]:Xj or channel
%[email protected]:Xj report
Presentation
Description
These word-type objects provide information on the exchange reports for the module or channel i.
They are updated automatically by the system.
The table below explains the meanings of the different bits in the word
.
Address (1)
Meaning for Xj = 1
Status parameter exchange error on at least one channel of the module.
Command parameter exchange error on at least one channel of the module.
Key:
(1) @module = module address.
z z xy for in-rack modules,
\p2c\m for remote modules.
Description The table below explains the meanings of the different bits in the word
.
Address (1)
Meaning for Xj = 1
Status parameter exchange error on channel i.
Command parameter exchange error on channel i.
Key:
(1) @module = module address.
z xy for in-rack modules, z \p2c\m for remote modules.
35012326 00 July 2006
143
Language words and bits
Example The example below shows one possible way in which this type of word can be used
(* Status error detected on module located at *)
(*slot 3 of rack 0 *)
IF NOT %MW3.MOD.0:X0 THEN READ_STS %CH3.MOD;
END_IF;
IF %MW3.MOD.1:X0 THEN SET %M100;
END_IF;
144 35012326 00 July 2006
Language words and bits
Explicit exchange objects: General
Presentation Explicit exchange objects carry information (e.g. terminal block fault, module missing etc.) and additional commands for advanced programming of specific application functions.
Note: The configuration constants %KW@ module.i.r (@ module = module address), which are not documented in this manual, are accessible in read only mode and correspond to the configuration parameters entered using the
Configuration editor.
Explicit exchanges objects are exchanged at the request of the user program using the following instructions: z READ_STS (read status words), z z z z z
WRITE_CMD (write command words),
WRITE_PARAM (write adjustment parameters),
READ_PARAM (read adjustment parameters),
SAVE_PARAM (save adjustment parameters),
RESTORE_PARAM (restore adjustment parameters).
35012326 00 July 2006
145
Language words and bits
Explicit exchange object: %[email protected]:Xj channel status
Presentation
Description
This word-type object provides information on the status of channel i.
It is updated on execution of the instruction READ_STS%[email protected]
.
The table below explains the meanings of the different bits in the word
.
Address (1)
%[email protected]:X1 (2)
Meaning for Xj = 1
External fault: Tripped.
External fault: Fuse.
Terminal block fault.
External supplyfault.
Internal fault: Module Out of Order
Software or hardware configuration fault.
Communication fault.
Reserved.
External fault: Short-circuit.
External fault: Line fault.
%[email protected]:X10 à X15 Reserved.
Key:
(1)
(2)
@module = module address.
z xy for in-rack modules, z \p2c\m for remote modules.
For Momentum I/Os: minor external fault on the connection base; the meaning of this depends on the connection base in use (see Momentum documentation).
146 35012326 00 July 2006
Language words and bits
Explicit exchange object: Status Module %[email protected]:Xj
Presentation This word-type object provides information on the status of the module.
It is updated on execution of command READ_STS%[email protected]
.
35012326 00 July 2006
147
Language words and bits
Description The table below explains the meanings of the different bits in the word
.
Address (1) Meaning for Xj = 1
%[email protected]:X0 Internal fault: Module Out of Order.
%[email protected]:X1 Functional Fault (2).
%[email protected]:X2 Terminal block fault.
Module type
Base
Base
Base
%[email protected]:X3 Functional Fault (2).
%[email protected]:X4 Self-testing
Base
Base
%[email protected]:X4 Reserved.
Base
%[email protected]:X5 Software or hardware configuration fault. Base
%[email protected]:X6 Module missing
%[email protected]:X7 Fault on FIPIO extension module.
%[email protected]:X8 Internal fault: Module Out of Order.
%[email protected]:X9 Functional Fault (2).
Base
Base
FIPIO extension
FIPIO extension
%[email protected]:X10 FIPIO Extension Terminal Block Fault.
%[email protected]:X11 Self-testing
FIPIO extension
FIPIO extension
%[email protected]:X12 Reserved.
FIPIO extension
%[email protected]:X13 Software or hardware configuration fault. FIPIO extension
%[email protected]:X14 Module missing
%[email protected]:X15 Reserved.
FIPIO extension
FIPIO extension
Key:
(1)
(2)
@module = module address.
z xy for in-rack modules, z \p2c\m for remote modules.
Fault coming from extension module or bus (Base-extension or FIPIO).
Note: for FIPIO remoted I/Os comprising a base module followed by an extension module, only the status word of the base module is significant. Its least significant byte is assigned to the base module, while its most significant byte is assigned to the extension module.
148 35012326 00 July 2006
Language words and bits
Explicit exchange object: %[email protected]:Xj channel command
Presentation This word-type object is used to modify certain parameters for a group of channels.
It is updated on execution of command WRITE_CMD%[email protected]
.
Note: This object is specific to output modules with reactivation.
Description The table below explains the meanings of the different bits in the word
.
Address (1)
Meaning for Xj = 1
Reactivation of tripped outputs (protected outputs).
Inhibition of external supply control.
Confirmation of external supply control.
%[email protected]:X3 to X15 Reserved.
Key:
(1) @module = module address.
z xy for in-rack modules, z \p2c\m for remote modules.
i = first channel in group of channels (0, 8, 16, ...).
35012326 00 July 2006
149
Language words and bits
150 35012326 00 July 2006
Installation of the discrete reflex module
9
Presentation
Subject of this chapter
What's in this
Chapter?
This chapter presents the specific installation features of discrete reflex module
TSX DMY 28 RFK.
This chapter contains the following sections:
Section
9.1
9.2
9.3
9.4
Topic
General presentation of discrete reflex module
Reflex function blocks
Configuration of discrete reflex module
Bits and words associated with discrete reflex module
Page
151
35012326 00 July 2006
Installation of the discrete reflex module
152 35012326 00 July 2006
Download
Annonce