Omron Hostlink
6 min
review the following information for setting up and configuring the omron hostlink driver manufacturing connect edge compatible series compatibility parameter compatible items driver type serial validated devices/series omron replaces gen 1 driver(s) omron peripheral (gen1) to set up and configure this device in manufacturing connect edge, you will need to do the following step 1 set up and configure the plc device step 2 set up the plc device in manufacturing connect edge devicehub step 3 configure the list of registers step 1 set up and configure the plc device verify the serial port connection between the manufacturing connect edge device and the omron plc identify the serial communication port (for example, /dev/ttys0, /dev/ttys1) record the plc's serial communication parameters baud rate data bits stop bits parity note the plc's destination node id (station id) step 2 set up the plc device in manufacturing connect edge devicehub configure the following parameters when you connect a device docid\ nm1lqfefya dsiffitity with this driver update default values to the specific setup of your device parameter value type omron driver omron hostlink communication port the serial port file path (for example, /dev/ttys0, /dev/ttys1) baud rate 9600 data bits 7 stop bits 2 parity even destination node id 0 step 3 configure the list of registers when you add tags docid\ h5heqicxrcy3nch9kbg9i to the connected device, refer to the following register table and tag parameters refer to the following additional resources organize device and tag data by using metadata docid\ jouzsq77y8z4dt jdgct tag formula variables docid 4yhyz92z7ggpgswqp05tf register table name value types access types address format min address max address description ir int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword r/w dddd 0 4095 internal relay ir bit bit r/w dddddd 0 409515 internal relay hr int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword r/w dddd 0 4095 hold relay hr bit bit r/w dddddd 0 409515 hold relay lr int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword r/w dddd 0 4095 link relay lr bit bit r/w dddddd 0 409515 link relay ar int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword r/w dddd 0 4095 auxiliary relay ar bit bit r/w dddddd 0 409515 auxiliary relay t flag, int, bcd, word r/w dddd 0 9999 timer c flag, int, bcd, word r/w dddd 0 9999 counter dm int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string r/w dddd 0 9999 data memory em int, dint, lint, bcd, dbcd, lbcd, real, lreal, word, dword, lword, string r/w dddd 0 9999 extend memory tag parameters name select a register name from the drop down list the available options depend on the names in the register table value type select a data type from the drop down list the available options depend on the register name selected polling interval enter a value in seconds this determines how often the tag should poll the register for data tag name enter a name for the tag description (optional) enter a description for the tag address enter a tag address in decimal format, within the allowed min/max range omit the leading zeros for bit tags, append the bit address without the bit separator the lowercase letters in the address format indicate how many digits you should enter in the bit address count enter the number of register values to read a count higher than 1 will generate an array of values from the address value configured and respective subsequent address values tag formula enter a formula for the tag to process the generated data two variables are permitted value (current tag value) and timestamp (current tag unix time in milliseconds) the following math functions are available sin cos sqrt tan power power ( x ) performs the operation 10^x log log ( x ) is the natural logarithm (the logarithm is in base e ) exp exp ( x ) performs the operation e^x only publish on change of value select the checkbox to customize nats messages to be published only when the value parameter changes to a new one change of value only applies to boolean, numeric (such as int or float), and simple string data types it does not apply to complex types, such as json or array poll once topics will not be affected by change of value settings these topics will still only see a single message meta data metadata summarizes basic information about data this feature allows you to define key value pair data for the device output payload later on it can then be used to find, use, and reuse particular instances of data note if you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload this can cause two key names to be combined into one for example, configuring the key names a b and a&\&b will cause only one key name to be created (a b)