Word
Symbol
|
||||
---|---|---|---|---|
%SW70
WEEKOFYEAR
|
Function
|
Real-time clock function
|
||
Initial State
|
–
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
System word containing the number of the week in the year: 1 to 52 (in BCD).
|
||||
%SW71
KEY_SWITCH
|
Function
|
Position of the switches on the Quantum front panel
|
||
Initial State
|
0
|
|||
Platforms
|
M340: No M580: No M580 Safety: No | Quantum: Yes Momentum: No | Premium: No Atrium: No | |
This word provides the image of the positions of the switches on the front panel of the Quantum processor. This word is updated automatically by the system:
|
||||
%SW72
|
Function
|
Unity 984 Error Log
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: No M580 Safety: No | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
Extended Math library (EMTH) detected error log errors (as LL984).
|
||||
Bit / Function:
|
||||
15 - 8: function code / EMTH sub-function (see below)
7 - 6: not used
4: integer/floating point conversion detected error
3: exponential function power too large
2: invalid floating point value or operation
1: floating point overflow
0: floating point underflow
|
||||
Function code / EMTH sub-function:
|
||||
16#01 / ADDDP
16#02 / SUBDP
16#03 / MULDP
16#04 / DIVDP
16#05 / SQRT
16#06 / SQRTP
16#07 / LOG
16#08 / ANLOG
16#09 / CNVIF
16#0A / ADDIF
|
16#0B / SUBIF
16#0C / MULIF
16#0D / DIVIF
16#0E / SUBFI
16#0F / DIVFI
16#10 / CMPIF
16#11 / CNVFI
16#12 / ADDFP
16#13 / SUBFP
16#14 / MULFP
|
16#15 / DIVFP
16#16 / CMPFP
16#17 / SQRFP
16#18 / CHSIN
16#19 / PI
16#1A / SINE
16#1B / COS
16#1C / TAN
16#1D / ARSIN
16#1E / ARCOS
|
16#1F / ARTAN
16#20 / CNVRD
16#21 / CNVDR
16#22 / POW
16#23 / EXP
16#24 / LNFP
16#25 / LOGFP
16#26 / ERLOG
|
|
%SW73
TS_DIAGNOSTICS_FLAGS
|
Function
|
Time stamping diagnostics flags
|
||
Initial State
|
0
|
|||
Platforms
|
M340: No M580: Yes M580 Safety: Yes | Quantum: No Momentum: No | Premium: No Atrium: No | |
This word provides diagnostics information about the time stamped events source:
|
||||
%SW74
|
Function
|
Time stamping status
|
||
Initial State
|
0
|
|||
Platforms
|
M340: No M580: Yes M580 Safety: Yes | Quantum: No Momentum: No | Premium: No Atrium: No | |
Meaning of the bytes of the word %SW74:
|
||||
%SW75
TIMEREVTNB
|
Function
|
Timer-type event counter
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: Yes Momentum: No | Premium: Yes Atrium: Yes | |
This word contains the number of timer-type events in the queue.
For Premium and Atrium, not available on the processors TSX 57 1•/2•/3•/4•/5•.
|
||||
%SW76
DLASTREG
|
Function
|
Diagnostics function:
recording
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
Result of the last registration:
|
||||
%SW77
DLASTDEREG
|
Function
|
Diagnostics function:
non-recording
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
Result of the last de-registration:
|
||||
%SW78
DNBERRBUF
|
Function
|
Diagnostics function:
number of errors
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
Number of errors currently in the diagnostics buffer.
|
||||
%SW80
MSGCNT0
|
Function
|
Message management
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: No M580 Safety: No | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
This word is updated by the system, and can also be reset using %S80.
For Premium:
Number of message sent by the system to the terminal port (Uni-Telway port).
For Modicon M340 and Momentum:
Number of message sent by the system to the terminal port (Modbus serial port).
For Quantum:
Number of Modbus messages sent by the system as client on all communication ports.
NOTE: Modbus messages sent by the system as Master are not counted in this word. |
||||
%SW81
MSGCNT1
|
Function
|
Message management
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: No M580 Safety: No | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
This word is updated by the system, and can also be reset using %S80.
For Premium:
Number of message received by the system to the terminal port (Uni-Telway port).
For Modicon M340 and Momentum:
Number of message received by the system to the terminal port (Modbus serial port).
For Quantum:
Number of Modbus messages received by the system as client on all communication ports.
NOTE: Modbus messages received as response to the requests sent by the system, as Master, are not counted in this word. |
||||
%SW82
MSGCNT2
|
Function
|
Message management
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
This word is updated by the system, and can also be reset using %S80.
For Premium and Atrium:
Number of messages sent by the system to the PCMCIA module.
For M340, Momentum and M580:
Number of Bridged messages of all types, properly routed.
For Quantum:
Number of Modbus messages sent or received on serial port 1, updated at 1 seconde period.
|
||||
%SW83
MSGCNT3
|
Function
|
Message management
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
This word is updated by the system, and can also be reset using %S80.
For Premium and Atrium:
Number of messages received by the system from the PCMCIA module.
For M340, Momentum and M580:
Number of Bridged messages of all types, not properly routed.
For Quantum:
Number of Modbus messages sent or received on serial port 2, updated at 1 second period.
|
||||
%SW84
MSGCNT4
|
Function
|
Premium: Telegram management
Modicon M340: Message management
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: Yes | Premium: Yes Atrium: Yes | |
This word is updated by the system, and can also be reset using %S80.
For Premium:
Number of telegrams sent by the system.
For Quantum, M340, M580, and Momentum:
Number of messages sent to the USB port.
|
||||
%SW85
MSGCNT5
|
Function
|
Premium: Telegram management
Modicon M340: Message management
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: Yes | Premium: Yes Atrium: Yes | |
This word is updated by the system, and can also be reset using %S80.
For Premium:
Number of telegrams received by the system.
For Quantum, M340, M580, and Momentum:
Number of messages received by the USB port.
|
||||
%SW86
MSGCNT6
|
Function
|
Message management
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: Yes | Premium: Yes Atrium: Yes | |
This word is updated by the system, and can also be reset using %S80.
For Premium and M580:
Number of messages refused by the system.
For Modicon M340 and Momentum:
Number of messages refused by the system, not treated because of lack of resources for example.If the message is refused by Modbus Server then it corresponds to Modbus exception messages, sent by the CPU to the remote Modbus client.
|
||||
%SW87
MSTSERVCNT
|
Function
|
Communication flow management
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
Number of requests processed by synchronous server per master (MAST) task cycle.
The requests processed may come from all communication ports (having access to the server Modbus/UNI-TE, each of them having its own limitation). This means also that requests from other clients, then communication EFs like IO Scanner, connected HMI and so on should be counted.
|
||||
%SW88
ASNSERVCNT
|
Function
|
Premium: Communication flow management
Modicon M340, M580 and Momentum: HTTP requests received by the processor’s Web server per second
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: Yes | Premium: Yes Atrium: Yes | |
For Premium:
Number of requests processed by asynchronous server per master (MAST) task cycle.
For Modicon M340, M580 and Momentum:
Number of HTTP requests received by the processor’s Web server per second.
|
||||
%SW89
APPSERVCNT
|
Function
|
Premium: Communication flow management
Modicon M340 and M580:FTP requests received by the FTP server per second
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: No | Premium: Yes Atrium: Yes | |
For Premium:
Number of requests processed by server functions (immediately) per master (MAST) task cycle.
For Modicon M340, and M580:
Number of FTP requests received by the FTP server per second.
|
||||
%SW90
MAXREQNB
|
Function
|
Maximum number of requests processed per master task cycle
|
||
Initial State
|
N
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: Yes Momentum: Yes | Premium: Yes Atrium: Yes | |
This word is used to set a maximum number of requests (all protocols included: UNI-TE, Modbus, and so on.) which can be processed by the server of the PLC per master task cycle. (Requests sent by the PLC as client are not concerned).
The number of requests to be processed per cycle should take into account requests from all communication ports (having access to the server). This means that requests from other clients than communication EFs, like IO Scanner, connected HMI and so on should also be taken into account.
The Word is initialized by the system with N (default value). If the value 0 is entered, it is the value N that is taken into account. If a value between 1 and minimum is entered, it is the minimum value that is taken into account. If a value greater than maximum is entered, it is maximum value that is taken into account.
NOTE: Requests may come from various modules or embedded communication ports. The communication exchange capacity of each port is limited, therefore the maximum request value set in %SW90 might not be reached. This number of requests must be between a minimum and a maximum (defined as N+4) depending on the model.
For M340 range:
For M580 range:
For Premium range:
For Quantum range:
For Momentum range:
|
||||
%SW91 and %SW92
|
Function
|
Function blocks message rates
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: No | Premium: Yes Atrium: Yes | |
Can be read by the user program or by the terminal.
These counters does not include other outgoing requests coming from an IO Scanner for example.
|
||||
%SW93
|
Function
|
Memory card file system erasing command & status
|
||
Initial State
|
0
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: No | Premium: No Atrium: No | |
Can be read and written by the user program or the terminal. This word is used by the customer to erase or clean up the memory card.
The erasing operation deletes the web pages. To recover them, perform one of the two following actions:
The clean up operation deletes the content of the data storage directory.
Erasing or clean up is possible only in Stop mode:
|
||||
%SW94 and %SW95
|
Function
|
Application modification signature
|
||
Initial State
|
–
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: Yes | Premium: No Atrium: No | |
These two words contain a 32-bit value that changes at every application modification except when:
They can be read by the user program or by the terminal.
|
||||
%SW96
CMDDIAGSAVEREST
|
Function
|
Command and Diagnostic of Save and Restore
|
||
Initial State
|
–
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: Yes | Premium: No Atrium: No | |
This word is used to copy or delete the current value of %MW to or from internal flash memory and to give the action’s status. It can be read by the user program or by the terminal:
%SW96.8 to %SW96.15 are error codes when %SW96.2 is set to 1:
|
||||
%SW97
CARDSTS
|
Function
|
Card status
|
||
Initial State
|
–
|
|||
Platforms
|
M340: Yes M580: Yes M580 Safety: Yes | Quantum: No Momentum: No | Premium: No Atrium: No | |
Can be read by the user program or by the terminal. Indicates the status of the card.
%SW97:
|
||||
%SW98
|
Function
|
CRP/CRA support of CCOTF (Configuration Change On The Fly) low status register
|
||
Initial State
|
0
|
|||
Platforms
|
M340: No M580: No M580 Safety: No | Quantum: Yes Momentum: No | Premium: No Atrium: No | |
This words contains a bit string indicating at 1 that the corresponding CRP/CRA supports the CCOTF. The bit assignment is the following:
NOTE: Take care the Drop is powered, otherwise the CRA’s bit is always equal to 0. |
||||
%SW99
|
Function
|
CRA support of CCOTF (Configuration Change On The Fly) high status register
|
||
Initial State
|
0
|
|||
Platforms
|
M340: No M580: No M580 Safety: No | Quantum: Yes Momentum: No | Premium: No Atrium: No | |
NOTE: This system word is also used for Premium module but has a different function (see below). This words contains a bit string indicating at 1 that the corresponding CRA supports the CCOTF. The bit assignment is the following:
NOTE: Take care the Drop is powered, otherwise the CRA’s bit is always equal to 0. |
||||
%SW99
INPUTADR/SWAP
|
Function
|
Communication redundancy management
|
||
Initial State
|
0
|
|||
Platforms
|
M340: No M580: No M580 Safety: No | Quantum: No Momentum: No | Premium: Yes Atrium: Yes | |
NOTE: This system word is used for Quantum module but has a different function (see above). Word used to manage the redundancy of network modules.
When a problem is detected on a communication module used to access a network number x (X-WAY), it is possible to switch to another communication module (connected to the same network) by entering the network number in the %SW99 word.
%SW99 is reset to 0 by the system.
|