6 Drive Programming Commands
6 - 56
Drive Programming User’s Manual (I580-E2)
RX only: RtcSet
Command Description Argument
Sets a 6-byte clock data sent from the LCD Dig-
ital Operator in the variable. This data corre-
sponds to year, month, day, day of the week,
hour and minute.
The hexadecimal variable value corresponds to
year, month, day, day of the week, hour and
minute (decimal).
rtcset on: continuously updates the 6-byte data.
rtcset off: updates the 6-byte data only once.
On/off: continuous/once
User variable: any user parameter variable or
internal user variable U(xx) or UL(xx)
Format
Flowchart method Text language method
rtcset on/off <user variable>
Note 1. This function uses the clock function of the LCD Digital Operator (optional). If you execute the “rtcset
on/off” command when the LCD Digital Operator is not connected, its processing does not finish and
the whole program enters a waiting state for the command. Therefore, we recommend you to create a
program in which the “rtcset on” command is started only once right after the start of the program and
the clock data is always output to the specified variable.
2. When the LCD Digital Operator is shipped, its clock time is set to the default data (2009/1/1/THU
00:00). Set the clock time accurately before you use the “rtcset on/off” command. Also, remember that
the clock function has a time error (per month:
1.5 to 1.5 minutes) when you use this command.
3. The BCD data is output in units of bytes when the “rtcset on/off” command is executed.
The days of the week, Sunday to Saturday are represented as 00 to 06, respectively. However, you
cannot detect the BCD data using the user parameter variable U(k) or the internal user variable. When
you create a program, note that the BCD data is detected as hexadecimal data and converted to the
decimal data in the Drive Programming Editor and the Digital Operator.
4. When the “rtcset on/off” U(k) is executed, the data is set in the following order from upper bytes.
You must ensure continuous three user parameter variables including U(k).
5. When the “rtcset on/off” UL(k) is executed, the data is set in the following order from upper bytes.
You must ensure continuous two internal user variables including UL(k).
6. You must perform the installation and removal of the Digital Operator with the inverter power supply
shut off. Otherwise, a fault may occur.
If an error that causes disconnection from the LCD Digital Operator occurs, the clock data is retained for at
least 1 minute and 45 seconds. Therefore, it is possible to execute the “rtcset on/off” command within 1 minute
and 45 seconds after disconnection. Although, when the time exceeds 1 minute and 45 seconds, the clock
function processing does not finish and the whole program enters a waiting state for the command. When the
connection with the LCD Digital Operator is restored, the program goes to the next step. To prevent the whole
program from entering a waiting state, create a program so that the “rtcset on” command is started only once
when the program is started and the specified variable is always output to the clock data. Do not execute the
“rtcset on/off” command for checking time in the program. Instead, use the specified variable. When the time
exceeds 1 minute and 45 seconds after disconnection, an all-zero data is output to the specified variable.
7. When the battery of the LCD Digital Operator gets weak, the Operator cannot maintain the clock data any longer.
The data is maintained with the control circuit power supply while the power supply for the inverter is on. How-
ever, when the power supply is turned on again, the clock data returns to the initial data (2009/1/1 THU 00:00).