{"searchBar":{"inputPlaceholder":"Search by keyword or ask a question","searchBtn":"Search","error":"Please enter a keyword to search"}}
{}
{}
Search FAQs

GP-Pro EX/ How can I save alarm history in a CSV file?

Configure settings on [Common Settings] in [Alarm] and [Display Unit] in [System Settings].
For detailed procedure, see the following descriptions.

①Click on [Alarm] on the [Common Settings] menu of GP-Pro EX.



②Enable [Backup History] in the [Common] settings.



③Click on [Project] - [System Settings] - [Display Unit] on GP-Pro EX.



④Select the [Mode] tab. Check on the box of [Save Data] in the [Memory Card Settings].
⑤Specify a SAVE destination (external storage ) of the CSV file for [Save in].
⑥Specify any device address for [Control Word Address]. (*Avoid duplication of the device address used for another.)



*Control Word Address means an address that controls writing data to an external storage (output of CSV File).

・Address configuration of Control Word Address
AddressSetting Item
Control Word AddressCommand/Status
The address above+1File Number

-Command / Status
If you designate a file number and then write a command to a control address, history data of the block number corresponding to each command will be written out to an external storage. The result (status) after processing will be reflected to the address.
ModeWord DataContents
Command0005hAlarm history data of Block 1
0006hAlarm history data of Block 2
0007hAlarm history data of Block 3
0008hAlarm history data of Block 4
0009hAlarm history data of Block 5
000ahAlarm history data of Block 6
000bhAlarm history data of Block 7
000chAlarm history data of Block 8
Status0000hNormal end
0100hWrite error
0200hNo external storage is inserted.
The CF card cover is open.
Writing to the SD card is prohibited.
0300hNo Write Data. (No data is not specified)
0400hFile Number Error (The file number exceeds the specified range.)
0500hWriting commands to Control Word Address and accessing Backup Memory (SRAM) from Pro-Server EX or GP-Viewer EX occur simultaneously.
2000hNormal response (for compatibility) to Auto Save of Logging (group operation) for GP-PRO/PB III for Windows only
While the control address value is this value, the Auto Save mode continues. When the value changes, the Auto Save mode exits.

-File Number
・Designate a file number that is specified for the filename at the time of saving in an external storage. The setting range of the file number is 0 to 65535. Designate a file number before writing commands.
・The filename of the CSV file to be outputted is as follows;
Z 1 00002.CSV
① ②    ③

①(Z):a symbol that means Alarm History Data.
② Block Number
③ File Number

Target Version : all GP-Pro EX versions

Did this answer your question?