Parameters Zone: Terminal address. Schneider Electric Software PLC Application-Specific Functions, Micro/Junior/Pro, 4.5
Iklan
Iklan
Built-in DOP functions
Parameters Zone: Terminal address
At a Glance
Addressing in words or constants
This parameter contains the access path (addressing) of the CCX 17 interface terminal.
This path can be either: l l located in a table of six internal words (%MW), located in a table of six internal constants (%MW), l entered directly as an immediate value in the form of an ADR# operator.
ADR# is thus assimilated into a table of six internal consecutive words.
The table below gives the meaning of the different words composing the terminal address.
Word number
%MWi / %KWi
%MWi +1 / %KWi+1
%MWi +2 / %KWi+2
%MWi +3 / %KWi+3
%MWi +4 / %KWi+4
%MWi +5 / %KWi+5
Description
Most significant
6 (Uni-telway)
254 (1)
0
0
Module number
CCX 17 address
SYS
0
0
Least significant
0
0 (1)
0 channel
Key
(1) CCX 17 terminal operation only authorizes one intra-station address. Consequently, the {Network.Station} pair systematically takes the value {0.254}.
Writing to this field is optional.
Uni-telway
Addressing
Note: The keyword SYS (value 254) corresponds to addressing the system channel (UNI-TE server) as a communication channel.
Addressing for a CCX 17 connected to the Uni-telway bus takes the following form:
ADR#{<Network>.<Station>}<module>.<channel>.<CCX 17 address> ,
ADR#{<Network>.<Station>}<module>.<channel>.SYS
,
ADR#<module>.<channel>.<CCX 17 address> ,
ADR#<module>.<channel>.SYS.
278
TLX DS 37 PL7 xxE
Built-in DOP functions
Addressing examples
If you are using: in the function entry Help screen, … internal words (or constants)
Example:
Parameters
Terminal address: %MW0 6
ADR syntax
A CCX 17 slave at address UTW 4-5 connected to a master Micro PLC via the
Uni-telway integrated link (channel 0).
An address can be entered in several ways (example using the internal words
%MW0 to %MW5):
Example: you must enter the program …
%MW0:=16#0600;
%MW1:=16#FE00;
%MW2:=16#0000;
%MW3:=16#0400;
%MW4:=16#0000;
%MW5:=16#0000; or
%MW0:6:=ADR#0.0.4;
-
Parameters
Terminal address: ADR#0.0.4
FONCTION_DOP(ADR#0.0.4,...
Note: When using constants, you must first initialize the %KW0:6 table in the Data editor, by successively assigning the %KWis of which it is composed.
TLX DS 37 PL7 xxE
279
Unduh
Iklan