The following event parameters are sent in XML:
Each event is sending in separate TransactionBlock with unique FunctionNumber parameter. FunctionNumber is specified automatically and it's unique for each event among all NEXT objects in the system.
Low bound of a FunctionNumber values range is specified by FunctionNumberMinValue registry key in the HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\AxxonSoft\PSIM registry section.
Sent XML packages look like:
<TransactionBlock>
<TransactionDate>02.08.10</TransactionDate>
<TransactionTime>19:53:51</TransactionTime>
<FunctionNumber>1001</FunctionNumber>
<FunctionName>Axxon PSIM Event ACCESS_IN</FunctionName>
<ObjectId>1</ ObjectId >
<ObjectType>Perco reader</ ObjectType >
<ObjectName>Perco 1 reader</ ObjectName >
<EventName>Access by ID</ EventName >
<param1>0</param1>
<param0>0</param0>
</TransactionBlock>
<TransactionBlock>
<TransactionDate>02.08.10</TransactionDate>
<TransactionTime>19:54:51</TransactionTime>
<FunctionNumber>1002</FunctionNumber>
<FunctionName>Axxon PSIM Event ACCESS_DENIED</FunctionName>
<ObjectId>1</ ObjectId >
<ObjectType>Perco reader</ ObjectType >
<ObjectName>Perco 1 reader</ ObjectName >
<EventName>Access forbidden</ EventName >
<param1>0</param1>
<param0>0</param0>
</TransactionBlock>
The number and names of parameters can differ depending on the Data bridge settings – see Selecting events to be sent to the Axxon One Server. |