20.16 Import/Export Alarm Settings

Alarm data can be imported/exported using a CSV or TXT file.

You can create and edit data records in a spreadsheet, such as Microsoft Excel.

CSV File Format

In [Alarm], click [Export] to output information on the alarm settings as a CSV-format file as follows. The image below shows how the data appears when opened in Microsoft Excel.

In the [Common Settings] menu's [Alarm] settings, for [Alarm Type] select [Extended] and the number to the right of the File Version column becomes 1.

Language Settings: Set the alarm message language with the following text.
ja-JP: Japanese, en-US: ASCII, zh-TW: Chinese (Traditional), zh-CN: Chinese (Simplified), ko-KR: Korean, ru-ru: Russian (Cyrillic), th-TH: Thai

Color Code: Set the alarm message color with the following text.

0: 65,536 Colors, No Blink

1: 32,768 Colors, 1-Speed Blink (Reserved)

2: 16,384 Colors, 3-Speed Blink

4: 4,096 Colors, 3-Speed Blink

5: Monochrome 16 Levels 3-Speed Blink

6: 256 Colors, No Blink

7: 64 Colors, 3-Speed Blink

8: 16 Colors, 1-Speed Blink

9: Monochrome 8 Levels, 1-Speed Blink

10: Monochrome 8 Levels, No Blink

13: Monochrome 16 Levels, No Blink

14: Monochrome 16 Levels, 1-Speed Blink

19: 16,777,216 Colors, No Blink/261,244 Colors, No Blink

20: 4,149,304 Colors, 3-Speed Blink/65,536 Colors, 3-Speed Blink

Use StringTable: Enable Text Table “0: Disable, 1: Enable”

Table No.: Text table number in use (1 to 16)

Block No.: Block Number

History: “0: Disable, 1: Enable”

History Records: History [Records]

Log: “0: Disable, 1: Enable”

Log Records: Log History [Records]

Active: “0: Disable, 1: Enable”

Active Records: Active History [Records]

Print Setting (0: Disable, 1: Enable): Print Setting “0: Disable, 1: Enable”

Print Mode (0: Real Time, 1: Batch): Print Mode “0: Real-time, 1: Batch Print”

Print Word Address: Print Word Address (Input example, [PLC1]D00100)

Completion Bit Address: Completion Bit Address

CSV Multiline Output: When saving alarms to CSV file, output messages with multiple lines “0: Disable, 1: Enable”

Data Format: Date Format settings (Set the date display format using the following codes.)

0: yy/mm/dd

1: dd/mm/yy

2: mm/dd/yy

3: 20yy/mm/dd

4: dd/mm/20yy

5: mm/dd/20yy

6: mm/dd

Backup History (0: Disable, 1: Enable): Backup History “0: Disable, 1: Enable”

Continues Action(0: Display as a new Alarm, 1: Hide continuing Alarms): Continue Alarm Operations at Power Up “0: Display as a New Alarm, 1: Hide Continuing Alarms”

External Operation (0: Disable, 1: Enable): External Operation

Control Word Address: Control Word Address

Completion Bit Address: Completion Bit Address

Group Feature (0: Disable, 1: Enable): Enable the Group Feature “0: Disable, 1: Enable”

No. of Alarms Write Start Address: Write start address to indicate the number of alarms

Accumulation (0:Disable, 1:Enable): Retentive Accumulation/Count (accumulated time of an alarm and the number of times an alarm is triggered) “0: Disable, 1: Enable”

SaveTo (0:CF Card, 1:USB): Save to (0: CF card, 1: USB storage device)

Trigger (0: Constant Cycle, 1: Bit ON, 2: Bit Change): Retentive Condition: (0: Cycle; 1: Bit ON; 2: Bit Change)

Cycle: Cycle for saving

Control Bit Address: Control Bit Address for saving

Status Address: Status Address for saving

Enable Banner (0: Disable, 1: Enable): Enable Banner “0: Disable, 1: Enable”

Enable Summary (0: Disable, 1: Enable): Enable Summary “0: Disable, 1: Enable”

Data Type (0: DEC, 1: HEX, 2: BCD): Data Type (When [Bit Monitoring] is set, the Data Type is "0".) “0: DEC, 1: HEX, 2: BCD”

Sign +/- (0: No sign, 1: Sign): Sign (When [Bit Monitoring] is set, the Sign is "0".) “0: No Sign, 1: Sign”

Unit Count: Number of units (number of units for specifying the Monitoring Address)

Polling Cycle: Polling Frequency (polling frequency for reading the Monitoring Address)

Unit Names: Unit Names (unit names for specifying the Monitoring Address) When [Enable Text Table] is enabled, "Text Table Index Number: “Unit Name" format is used.

Block1~8: Block Number 1 to 8 (Input only the item name for disabled blocks. Input the settings under the block number.)

No. of Address: Number of Addresses

Common Address1 to 8: Common Address “0: Disable, 1: Enable" (Input only when reading data.)

Bit Log: Bit Monitoring

No.: Rung Number (The number is not required to be sequential.)

Bit Address: Bit Address

Trigger Condition: Trigger Condition

Index No.: Text Table index number (output when [Enable Text Table] is enabled. When it is disabled, there is no Index No. setting.)

Message: Messages (Messages set with the Multiple line display are enclosed by double quotation marks.)

Level: Level

Group No.: Group number

Sub Display Screen Number: Sub Display Screen Number

Addresses 1 to 8: Addresses 1 to 8 (Input the Address value only. Input the following items when setting a Word Address.)

Bit Count: Settings for Bit Length of Addresss “0: 16 Bit, 1: 32 Bit, 2: 8 Bit”

Data Type: Data Type “0: DEC, 1: HEX, 2: BCD, 3: FLOAT”
(*3 [FLOAT] can only be specified when the Bit Count (bit length) is “1: 32 bits”.)

Sign: Sign “0: No Sign, 1: Sign”

Total Display Digits: Total Display Digits “1 to 11: DEC/HEX/BCD, 1 to 17: FLOAT”

Decimal Places: Decimal Places (Maximum input range is "Total Display Digits - 1")

Display Position: Display Position “0: Align Left, 1: Align Right”

Zero Suppress: Zero Suppress (Set whether to pad zeros to fill in missing digits when the display value has fewer digits than the Total Display Digits.) “0: Display zeros, 1: Do not display zeros”

Round Off:  Round Off (Set only when Data Type is “3: Float”.) “0: Disable, 1: Enable”

Data Category: Data Format “0: Numeric Value, 1: Date/Time”

Tag Data Type: Data Type “0: TIME, 1: DATE, 2: TIME_OF_DAY”

Date Time: Format (please see Formats when the [Format] is [Date/Time])

First Item Digits: The number of digits for the first item (This can be set only when the Tag Data Type is set to "0: TIME".)

Day Of The Week: The day of the week (This can be set only when the Tag Data Type is set to “1: DATE”.) “0: OFF, 1: ON”

Word Log: Word Monitoring

No.: Rung Number (The number is not required to be sequential.)

Word Address: Word Address

Trigger Condition (X :Word Address Value): Set with Trigger Condition Settings (Set X=[Alarm Value]).

Bit Count: Settings for Bit Count of Alarm Value “0: 16 Bit, 1: 32 Bit”

Message: Messages (Messages set with the Multiple line display are enclosed by double quotation marks.)

Level: Level

Group No.: Group number

Sub Display Screen Number: Sub Display Screen Number

Addresses 1 to 8: Addresses 1 to 8 (Input the Address value only. Refer to Addresses 1 to 8 of "Bit Log" when setting Word Addresses.)

Font Type(0:Standard Font, 1:Stroke Font): Font Type “0: Standard Font, 1: Stroke Font

Font Size: Font Size (Example of Standard Font: 8x16→W:8,H:16, set Stroke Font at 8, 16 or 32.)

No.: Rung Number (The number is not required to be sequential.)

Bit Address: Bit Address

Message: Message

Text Color: Text Color

Blink: Blink

Background Color: Background Color

Blink: Blink

Print At Trigger Time (0: OFF, 1: ON): Print at Trigger Time "0: OFF, 1: ON”

Print At Recovery Time (0: OFF, 1: ON): Print at Recovery Time "0: OFF, 1: ON”

The setup item is the same as [Banner Setting].

Formats when the [Format] is [Date/Time]

Number

TIME

DATE

TIME_OF_DAY

0

-

Show day of the week only

-

1

dd

yyyy

hh

2

hh

mm

mm

3

mm

dd

ss

4

ss

yy/mm

ms

5

ms

yyyy/mm

hh:mm

6

dd:hh

-

-

7

-

-

-

8

-

-

mm:ss

9

hh:mm

-

-

10

-

mm/dd

-

11

-

-

ss.ms

12

mm:ss

-

-

13

-

yy-mm-dd

-

14

-

yy/mm/dd

hh:mm:ss

15

ss.ms

dd/mm/yy

-

16

-

mm/dd/yy

-

17

-

yyyy-mm-dd

mm:ss.ms

18

dd:hh:mm

yyyy/mm/dd

-

19

-

dd/mm/yyyy

-

20

-

mm/dd/yyyy

hh:mm:ss.ms

21

hh:mm:ss

-

-

22

-

-

-

23

-

-

-

24

mm:ss.ms

-

-

25

-

-

-

26

-

-

-

27

dd:hh:mm:ss

-

-

28

-

-

-

29

-

-

-

30

hh:mm:ss.ms

-

-

31

-

-

-

32

-

-

-

33

dd:hh:mm:ss.ms

-

-

34

-

-

-

35

-

-

-

*1 These formats use double-byte characters only.