Difference between revisions of "MC-Basic:ESTOKENCOUNT"
m (1 revision) |
m (note template) |
||
Line 16: | Line 16: | ||
4 – Ethernet2 | 4 – Ethernet2 | ||
− | + | {{Note/Important|Systems with FPGA version 8.51, firmware 4.0.0 and higher support IP-over DPRAM, hence entrystation type will be either 1 or 4.}} | |
− | |||
− | |||
|TYPE= | |TYPE= |
Revision as of 17:45, 13 December 2010
Returns number of tokens (byte-codes) executed by Interpreter since its invocation. This command is used for diagnostics, like detection of endless loops in entry station context.
1 – Ethernet
2 – DPRAM
3 – Virtual Entry Station
4 – Ethernet2
IMPORTANT | |
Systems with FPGA version 8.51, firmware 4.0.0 and higher support IP-over DPRAM, hence entrystation type will be either 1 or 4. |
Syntax
? ESTokenCount
Availability
Versions AMCS 0.4.5.28 and higher
Type
Long
Range
1 to 4
Scope
Configuration, Task, Terminal
Limitations
Read Only.
ESTokenCount will return error 5029 ("No such device") for inactive entry station.
Examples
-->?ESTokenCount(1)
4
-->?ESTokenCount(2)
Error: 5029, "No such device.", Task: ,ESEthern0, Line: 1, Module: Entry_Station