Jump to content
OMRON Forums

BrickAC BrickLV structure in C


Recommended Posts

Dear all,


What is the best and fastest method to read BrickLV and BrickAC status from C (BusOverVoltage, BusUnderVoltage, ...) ?


On PowerBrickLV (firmware, APM86xxx), asking "pshm->BrickLV.BusOverVoltage" always returns 1... so does not work.



BrickLV.BusOverVoltage is set at 1 when there is no power, in combinaison with BrickLV.BusUnderVoltage



I currently have a situation where i can be ClosedLoop without power on the BrickLV. I will get a FollowingError when i will ask for a move.

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

This is an element of an upper structure and must be properly "C-extracted". This structure is declared in "RtGpShm.h":

typedef struct BrickLv


int Config, Reset, Monitor;

int MonitorPeriod;

int BusOverVoltage,BusUnderVoltage, OverTemp;

unsigned char szVersion[32];


} BrickLv;


It might be easier to have a PLC copy the value into a "global" for easy C access.

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...