Built-In Functions

Clock Function

This is used to read a time from RTC and to store the result in the device assigned to F.

Device F

Stored Details

Example

F040

Year of Clock Data

Year 2001      H07d1

F041

Month & Day of Clock Data (Upper:Month, Lower:Day)

July 20            H0714

F042

Day of the Week  & Hour of Clock Data
(Upper : Day of the Week, Lower L Hour)

Friday 12H     H050c

F043

Minute & Second of Clock Data

(Upper : Minute, Lower : Second)

30m 10s         H1e0a

 

Indicating Days of the Week

Sun

Mon

Tue

Wed

Tur

Fri

Sat

0

1

2

3

4

5

6

 

Setting Up I/O Reservation Function

  • This is the function used to detect whether a card is inserted to an assigned slot correctly and to reserve that a program is written without changing the number of I / O when spare parts are substituted in case of expansion or break-down.

  • It is available to assign the common points of I/O for each slot by 0 point or 16 points or 32 points or 64 points.

  • In case that common points is less than actual points, the I/O points used are reduced. In case that common points are greater than actual points, the I/O points used are increased to be Dummy points.

  • Actual points are occupied in the slots which are not assigned and 16 points are used in common with a blank slot.

  • The case that an inserted module is different type from an set module is processed as error.

  • Example to assign I/O addresses
    In case that parameters are not assigned, assigning I/O devices according to the state of I/O

 

In case of 8 slots

POWER

CPU

00

~ 0F

10

~ 1F

20

~ 2F

30

~ 3F

40

~ 4F

50

~ 5F

60

~ 6F

70

~ 7F

 

In case parameters are assigned, assigning I/O devices according to the state of I/O

POWER

CPU

Input

16p

Input

32p

Blank

Output

8p

Output

16p

Output

32p

Blank

I.Flag

16p

00

~ 0F

10

~ 2F

30

~ 3F

40

~ 47

50

~ 5F

60

~ 7F

80

~ 8F

90

~ 9F

 

If you select "Reserve I/O" in a Parameter dialog box or double-click "Reserve I/O" on a Project window, a "Reserve IO" dialog box will appear. Select the "Base Type" in the dialog box.
If the Automatic is selected, I/O addresses are automatically assigned according to the points of inserted cards .

 

image-20240321-060011.png

 

Reserving I/O

 

image-20240321-060017.png

 

  • Reserving I/O by modules is available and the points for I/O devices are secured by the Automatic.

  • The case that an inserted module is different type from a set module is processed as error. For example, if an output module is inserted after an input module is mounted, it is processed as error. The points of assigned cards are indicated on the bottom.

 

Online-Editing a Program

  • This is the function to edit the contents of a program while a PLC is in e Run mode.

  • Steps to Online-Edit a program

    • Enter the Program Spare in the Program Block dialog box to edit a program while it runs. 100 Steps are assigned as a initial value.

    • Click the Start Program while running icon while a PLC runs.

    • If you click the Finish icon after a program has been edited, the edited program will be downloaded and the PLC is operated by the program.