Language objects associated with the discrete specific application. Schneider Electric PL7 Junior/Pro - Premium PLC Applications - Standard applications
Reklamë
Reklamë
Language words and bits
8.2
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 Maps:
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
128
TLX DS 57 PL7 xx
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.
l l xy for in-rack modules,
\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.
l l xy for in-rack modules,
\p2c\m for remote modules.
TLX DS 57 PL7 xx
129
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.
l l 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
Exchange of status words in progress on channel i.
Exchange of command words in progress on channel i.
Key:
(1) @module = module address.
l l xy for in-rack modules,
\p2c\m for remote modules.
130
TLX DS 57 PL7 xx
Example
Language words and bits
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.
TLX DS 57 PL7 xx
131
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.
l l 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.
l l xy for in-rack modules,
\p2c\m for remote modules.
132
TLX DS 57 PL7 xx
Example
Language words and bits
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;
TLX DS 57 PL7 xx
133
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 %[email protected] (@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 l l l l l l the following instructions:
READ_STS (read status words),
WRITE_CMD (write command words),
WRITE_PARAM
READ_PARAM
SAVE_PARAM
(write adjustment parameters),
(read adjustment parameters),
(save adjustment parameters),
RESTORE_PARAM (restore adjustment parameters).
134
TLX DS 57 PL7 xx
Explicit exchange object: %[email protected]:Xj channel status
Language words and bits
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.
%[email protected]:X9 External fault: Line fault.
%[email protected]:X10 à X15 Reserved.
Key:
(1)
(2)
@module = module address.
l l xy for in-rack modules,
\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).
TLX DS 57 PL7 xx
135
Language words and bits
Explicit exchange object: Status Module %[email protected]:Xj
Presentation
Description
This word-type object provides information on the status of the module.
It is updated on execution of command READ_STS%[email protected].
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.
Key:
(1)
(2)
FIPIO extension
FIPIO extension
@module = module address.
l l xy for in-rack modules,
\p2c\m for remote modules.
Fault coming from extension module or bus (Base-extension or FIPIO).
136
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.
TLX DS 57 PL7 xx
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.
l l xy for in-rack modules,
\p2c\m for remote modules.
i = first channel in group of channels (0, 8, 16, ...).
TLX DS 57 PL7 xx
137
Language words and bits
138
TLX DS 57 PL7 xx
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
139
TLX DS 57 PL7 xx
Shkarko
Reklamë