Command number 24: read alarm logs – Rockwell Automation 1758-RTU202 DataSite Software User Manual FRN 1.2 User Manual

Page 313

Advertising
background image

Publication 1758-UM002D-EN-P - October 2010

Extension Modbus Protocol for DataSite Controllers (1758-FLO) 313

Command Number 24: Read Alarm Logs

Use command number 24 to read alarm logs for up to 15 alarms at a time.
Each alarm consists of 12 registers.

The following table lists the register addresses for alarms 2…15. The data type
and attribute of each register are the same as those of the corresponding
register for alarm 1

Parameters for command number 24

Address

Data Type

Attribute

Description

49025

u_short

RW

24

49026

u_short

R

Return code
0: OK

49027

u_short

W

Reserved

49028

u_int

W

Pass code for user

49030

u_short

W

Start date index (0…299)

49031

u_short

W

Number of records you want to
get (1…15)

49032…49034

Reserved

Registers for alarm 1

Address

Data Type

Attribute

Description

49035

u_short

R

Alarm ID

49036

u_short

R

Alarm type

49037

u_char

R

Year

u_char

R

Month

49038

u_char

R

Day

u_char

R

Hour

49039

u_char

R

Minute

u_char

R

Second

49040

u_short

R

Variable address

49041

float

R

Value

49043…49046

u_short

R

Reserved[4]

Registers for alarms 2…15

Address

Data Type

Attribute

Description

49047…49058

See above

See above

Alarm 2

49059…49070

See above

See above

Alarm 3

49071…49082

See above

See above

Alarm 4

Advertising