User manual
IEC61131 User and Reference Manual 
April 22, 2008     
333 
Outputs 
Type 
Description 
forma 
Integer 
Protocol format errors are the number of received 
messages that don't have the correct framing or 
internal formatting. This is a count of how many 
messages are garbled. 
For Modbus ASCII this includes: 
  start of message missing 
  end of message missing 
  unexpected start of message inside message 
  unexpected end of message 
  invalid characters in message 
For Modbus RTU this includes: 
  received data is too short to be a message 
  received data is too long to be a message (it 
didn't fit in the 256 byte buffer). 
check 
Integer 
Protocol checksum errors are the number of received 
messages with a bad checksum. 
mCmdS 
Integer 
Protocol master commands sent  
mRspR 
Integer 
Protocol master responses received 
sCmdR 
Integer 
Protocol slave commands received 
sRspS 
Integer 
Protocol slave responses sent 
status 
Integer 
Protocol master command status 
0 = message sent, waiting for response 
1 = response received, no error occurred 
2 = not used 
3 = bad value in function code register 
4 = bad value in slave controller address register 
5 = bad value in slave register address 
6 = bad value in length register 
7 = not used 
8 = not used 
9 =specified protocol is not supported by this 
controller 
msgsS 
Integer 
Protocol stored messages 
msgsF 
Integer 
Protocol forwarded messages 
See Also 
mbusinfo 










