How to access arbitrary PLC registers from the EPICS translator ?

To read PLC register values, kagraMpsArray.db is used to define array records to hold the register values. For writing into PLC registers, kagraMpsOut.db is used.

In order to add entries in those db files, you need to edit proto files in base-3.14.12.2/protocols/ directory.

For example, if you want to read registers in M1300 - M1363, you need to add the following entry to "kagraMpsArray.proto".

M1000-M1063{
out "500000FF03FF000018001004010001M*0013000040";
in "D00000FF03FF0000440000%1X";
}