Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GetScheduleSysMem

Obtains the time data of a certain schedule.

Function

n = GetScheduleSysMem(Schedule Index, Starting Address of SYSTEM MEMORY)

Description

Returns the time data of the specified schedule index. To use this command, 7 system memory tags must be registered sequentially.

※ Please refer to the description of the ‘SetScheduleSysMem’ command for configuring tag data.

Example

Enter the command to obtain the time data of the 1st schedule from the system memory address 0 to 6.

TIME = GetScheduleSysMem(1, 0);

...

SetScheduleSysMem

Modifies the schedule directly without using the schedule setting window.

Subroutine

SetScheduleSysMem(Schedule Index, Starting Address of SYSTEM MEMORY)

Description

This subroutine is used to modify the schedule directly without using the ‘Schedule config’ dialog box. To use this command, 7 system memory tags must be registered sequentially. System memory tags must have consecutive addresses. If the system memory is used for recipe as well, the addresses must not overlap with each other.

Enter the time data in each system memory tag as shown in the table below.

System Memory

Description

Range of Input Value

0

Repeat Settings

0

Not repeat

1

Annually

2

Monthly

3

Daily

4

End of Month

5

Hourly

6

Weekly

1

Year

Available from 2011 to 2041

2

Month

Available from 1 to12

3

Date

Available from 0 to 31

4

Hour

Available from 0 to 23

5

Minute

Available from 0 to 59

6

Day

1

Sunday

2

Monday

3

Tuesday

4

Wednesday

5

Thursday

6

Friday

7

Saturday

Example

Enter the command to change the 1st schedule list to match with the time data saved in the system memory address 0 to 6.

SetScheduleSysMem(1, 0);

...