Generic send command: PANEL_CMD function. Schneider Electric Software PLC Application-Specific Functions, Micro/Junior/Pro, 4.5
Реклама
Реклама
Appendices
Generic send command: PANEL_CMD function
Introduction It is possible to manage different command types (clearing, printing) and to send them by using internal words (%MWi) as intermediaries. This is the role of the
PANEL_CMD function.
Data to send parameter coding
Meaning
1
2
Word number
The table below shows the significance of the different words which constitute the following parameter: Data to send (3 words maximum).
3 contains a marker of value 16#CC17, contains the command number: l l l l l l l l
1: clear screen,
2: clear a line,
9: print the alarm message log,
10: clear the alarm message log,
11: print the alarm log
13: clear the alarm log,
29: clear the alarm (from 1 to 300) destined for CCX 17,
30: clear the alarm (from 900 to 999) destined for the PLC.
indicates the command parameter.
l l l clear line = line number, cancel alarm = alarm number, other commands: no object.
Example of use The example below shows the values corresponding to the word table %MW0:2
(data to send) for the PANEL_CMD(ADR#0.0.4,%MW0:2,%MW100:4) function;
Value Comment Word number
%MW0
%MW1
16#CC17
1
Marker
Clear screen
TLX DS 37 PL7 xxE
349
Appendices
350
TLX DS 37 PL7 xxE
Завантажити
Реклама