Rockwell Automation 1797-OE8H FLEX Ex HART Analog Modules User Manual User Manual

Page 28

Advertising
background image

Publication 1797-6.5.3 - March 2006

1-14 About the FLEX Ex HART Analog Modules

7. Place the controller into RUN mode.

This assumes you will re-write the Main Routine to meet your
application.

8. Refer to the following list of error codes if an error is returned from one

of the following routines:

Once you have modified your ladder-logic routine, the ladder logic will now
call the HART_initialize routine. The yellow LEDs on the associated channels
of the selected FLEX Ex HART module will start to flash. This indicates that
the module has received the command and is in the process of searching for
HART field devices on the associated channels. Upon successful completion
of the HART_initialize routine, the HART_Init_Status_Done flag is set. At
this point, the ladder logic will examine the contents of the HART_Cmd tag
and attempt to issue the HART command associated with the decimal number
contained in this tag. Any HART replies are placed in their associated
CMDx_reply tag. To issue a different command, change the value of the
HART_Cmd tag to match the desired HART Command.

Table 1.4 HART_Initialize Routine

Error Code

Description

-1

Could not enable HART LEDs

-2

Could not rebuild HART loops

-3

Routine timed out

-4

Could not get status from Rebuild HART
Loops command

Table 1.5 HART_CMD_x Routine

Error Code

Description

-1

Invalid slot number

-2

Invalid expected data size

-3

Invalid Host Group number

-4

Could not get a response

Advertising
This manual is related to the following products: