OMRON TCP/IP Global Parameters

OMRON_MAX_BUFFER_SIZE

This global parameter allows you to increase the maximum buffer (cache) size for a particular device communications interface.

For Project
Purpose To increase the size of the poll buffer.
Value Size range of 538 to 1000.

<PORT>_SEQUENCE_SID

In the messaging for the OMRON Ethernet communications there is a field named Service ID (SID) in the message header.  

The Service ID field:

  • By default, will have a value equal to the lower order byte of the process ID for the CIMPLICITY device communications process that is sending the message.
  • Alternatively, can have the SID configured so it is used as a sequence number with an increment of one each time a new message is sent.   

The device communication interface now checks the SID in the received message to ensure that it matches the number of the sent message. If the SID does not match, then the response is considered a failed receipt (communications error).

To configure the SID to be used as a sequence number, configure the following project level global parameter:

For Project
Purpose To enable the service ID to be a sequence number with a range of 0 to 0xFF, increasing for each newly sent message.
Value Enter one of the following
Value The SID will be the:
Y Sequence number with a range of 0 to 0xFF.
N Last 2 bytes of the process ID for the device communications (devcom) process that is sending the message.
Default N Note: The default also applies if <PORT>_SEQUENCE_SID does not exist.