Oleksandr_Husyev
Member
Hello dear experts!
In my current project I have four Rosemount flowmeters (4-20 mA + HART) connected to AI8x16bit HART module (6ES7 331-7TF01-0AB0). Primary variables (current flowrate) I plan to receive via 4-20 mA signals (channels 0-3) from PIW256-PIW262. Also I want to receive additional information from the flowmeters (temperature and pressure) by HART protocol. I set 8 HART variables (Var1 address 272, Var2 address 277 etc. up to Var8 address 307) on HART Variables tab in AI module properties window in HW Config.
Could I read these HART variables simply like this:
L PID 272 //Var1 value in REAL
T MD 100
L PIB 276 //Var1 status in HEX
T MB 104
L PID 277 //Var2 value in REAL
T MD 105
L PIB 281 //Var2 status in HEX
T MB 109
.... etc. ?
Or do I need to call SFC58/ SFC59 additionally for this task?
I don't have flowmeters yet, so I can't test this live.
When I check a diagnostic buffer of the AI HART module in online I see there 2 messages:
1. "ADC/DAC error. Event ID: 16#F553:8044"
2. "Module without parameters. Event ID: 16#F553:8006"
Time stamps are absent for both messages.
The first one I guess comes because that I haven't any signal 4-20 mA connected to my module.
But the second message about parameters confuses me a little. I think I make all setting via module properties in HW Config in Step7. Or I need to set module parameters with SFC58 in my program?
P.S. SF led on module is off.
Thanks a lot for any your help or advice!!!
In my current project I have four Rosemount flowmeters (4-20 mA + HART) connected to AI8x16bit HART module (6ES7 331-7TF01-0AB0). Primary variables (current flowrate) I plan to receive via 4-20 mA signals (channels 0-3) from PIW256-PIW262. Also I want to receive additional information from the flowmeters (temperature and pressure) by HART protocol. I set 8 HART variables (Var1 address 272, Var2 address 277 etc. up to Var8 address 307) on HART Variables tab in AI module properties window in HW Config.
Could I read these HART variables simply like this:
L PID 272 //Var1 value in REAL
T MD 100
L PIB 276 //Var1 status in HEX
T MB 104
L PID 277 //Var2 value in REAL
T MD 105
L PIB 281 //Var2 status in HEX
T MB 109
.... etc. ?
Or do I need to call SFC58/ SFC59 additionally for this task?
I don't have flowmeters yet, so I can't test this live.
When I check a diagnostic buffer of the AI HART module in online I see there 2 messages:
1. "ADC/DAC error. Event ID: 16#F553:8044"
2. "Module without parameters. Event ID: 16#F553:8006"
Time stamps are absent for both messages.
The first one I guess comes because that I haven't any signal 4-20 mA connected to my module.
But the second message about parameters confuses me a little. I think I make all setting via module properties in HW Config in Step7. Or I need to set module parameters with SFC58 in my program?
P.S. SF led on module is off.
Thanks a lot for any your help or advice!!!