16.2 Temperature Controller/Servo/Inverter Connection 16-33
Macro
To rewrite the station number table on the V series screen, use macro commands [FROM_WR] and [RESTART].
FROM_WR
FROM_WR F0 F1
Function: Writing to FROM
As many words as specified for F1 from the device memory address set for F0 is written in the FP-ROM.
Available device memory
Data range
Notes
- The maximum possible number of write operations to the FP-ROM is 100,000 times. This is not related to the number
of words that are written.
- Do not include the FROM_WR command in a cycle macro or an event timer macro.
- Writing to FP-ROM takes a longer time.
- When the station number table has been rewritten using the [FROM_WR] command, be sure to execute the [RESTART]
command.
- When the station number table is used, it is not possible to set [ Use Internal Flash ROM as Back-up Area] on the
[General Settings] tab window that is displayed by selecting [System Setting] [Unit Setting] [General Settings]. Be
sure to leave this box unchecked.
RESTART
SYS (RESTART) F0
Function: Reconnection
This macro command reconnects the controller when the time specified for F1 has elapsed.
Available device memory
Data range
Internal Device
Memory
PLC n Device Memory Memory Card Constant
F0
F1
: Setting enabled (indirect designation disabled)
: Setting enabled (indirect designation enabled)
Setting Remarks
F0
Top d evic e memo r y
address of the source
32 words from the top address of the specified device memory are used.
Set port numbers from 0 to 31 for each address. For the station number
table not used, set [1].
F1
Number of transmission
words: 32
If any other value than “32” is set, the write error ($s728 = 1) occurs.
When the station number table has been rewritten using the [FROM_WR] command, be sure to execute this command.
Internal Device
Memory
PLC n Device Memory Memory Card Constant
F1
: Setting enabled (indirect designation disabled)
: Setting enabled (indirect designation enabled)
Setting
F0 RESTART
F1 Time: 0 to 60 s