Quickstart Guide
...
Allen-Bradley
Gen 2 Drivers
AB DF1 Serial
8min
review the following information for setting up and configuring the ab df1 serial driver manufacturing connect edge compatible series compatibility parameter compatible items driver type serial validated devices/series plc 5 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 record the serial communication parameters for the device otherwise, follow the steps below note when configuring the settings for the plc, the error detect setting must be set to crc, otherwise a connection with manufacturing connect edge won't be successful refer to the following parameters and reference images when setting up the plc device plc5/40c communication i/f ꓽ rs232 complete the following steps to setup and configure the plc to configure the plc connect the plc to the computer with a serial port 25 pin d shell cable open rslinx classic software click the configure drivers icon then, click add new\ and add the rs 232 df1 devices driver configure the driver with the following parameter values and click ok baud rate 9600 bits per char 8 stop bits 1 parity none error detect crc in the driver settings, click auto configure and confirm you see an auto configuration successful! message ensure these same settings are configured in the plc to establish a connection open rslogix 5 software click comms and select who active go online select the device that you configured and click online in the navigation menu, click channel configuration and select open confirm the serial port settings for channel 0 , which is the rs232 port note down the baud rate, data bits, stop bits, and parity the error detect setting must be set to crc you can use channel 3a to configure the ethernet port, if applicable step 2 set up the plc device in manufacturing connect edge devicehub configure the following parameters when you connect a device docid\ rfvijdxz7dbad8mwbisma with this driver update default values to the specific setup of your device parameter value type allen bradley driver ab df1 serial communication port local serial connection file path data bits 8 baud rate 1200 2400 4800 9600 19200 38400 57600 115200 230400 460800 921600 parity even, mark, none, odd, space stop bits 1 plc type plc5 source id (src byte) 0 destination id (dst byte) 1 read timeout 200 retry count 2 step 3 configure the list of registers when you add tags docid\ ioanzd2awqnkuppgee3eh to the connected device, refer to the following register table and tag parameters refer to the following additional resources device and tag metadata use case docid\ f b720nivllber44rfyhn tag formula variables docid\ pwd 7p kzjxkt pyawaow register table note the register table below represents the plc address format in manufacturing connect edge, you will need to enter the tag address in decimal format this means you must convert the plc addresses for the input and output data files from octal format to decimal format name value types address format min address max address description o uint ooo 0 255 output o bit bit ooooo 0 25515 output i uint ooo 0 255 input i bit bit ooooo 0 25515 input s uint ddd 0 255 status s bit bit ddddd 0 25515 status b bit ddddddd 0 3276015 binary t bit bit ddddd 0 32760 timer t uint ddddd 0 32760 timer c bit bit ddddd 0 32760 counter c uint ddddd 0 32760 counter r bit bit ddddd 0 32760 control r uint ddddd 0 32760 control n uint, int ddddd 0 32760 integer f float ddddd 0 32760 float d bcd ddddd 0 32760 bcd a string ddddd 0 32760 ascii st string ddddd 0 32760 string 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 the value must in the decimal format, within the allowed min/max range omit the leading zeros the device might use the decimal (d), hexadecimal (h), or octal (o) address format see the register table at the bottom of the dialog box 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 length available for ascii data files enter the number of characters for tag 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 from a previous value 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)