Thank you for purchasing a Zlinx 485 product! This product has been manufactured to the highest standards of quality and performance to ensure your complete satisfaction. About this Manual This manual has been created to assist you in installing, configuring and using your Zlinx 485 Base module.
The Zlinx 485 family of products features a selection of operational modes, communications modes, Modbus and I/O combinations. The system is scalable making it easy to start with a few I/O points and build a system with the required I/O-Modbus mix.
The base module is connected to a PC that is running the Zlinx 485 Manager software. Zlinx 485 systems can operate in Modbus or Peer-to-Peer modes. In Modbus mode a Zlinx 485 system exchanges Modbus messages with a Modbus capable base module.
Base Modules Each Zlinx 485 system is built around a base module. Base modules provide Modbus, digital and/or analog I/O and communicate with other Zlinx nodes. Several different combinations of digital inputs (DI), digital outputs (DO), analog inputs (AI) and analog outputs (AO) are available. For example, the ZZ-NA-485 Base module features a combination of two AI’s, two AO’s, two DI’s and two DO’s in a package.
Page 8
Hardware Figure 4. Base and Expansion Modules Connected Together Programming the Base Module using the RS232 connector The base module has a programming feature that can be used to configure that base module as well as expansion modules. The base module connects to the PC for configuration.
Indicators, Connectors and Accessories LED Indicators Zlinx 485 Base modules have three LED indicators: a Power LED, a Data LED Local Bus Data LED. Expansion modules have two LED’s: a Power LED and a Local Bus Data LED Power LED The Power LED illuminates (red) immediately on power up indicating that DC power is present on the power supply terminals.
The Power Supply connector (base modules only) is a two-position removable terminal block located on the top of the unit. Terminal spacing is 3.5 mm. The terminal block accepts solid and stranded wires from 28 AWG to 16 AWG. marking in Figure 8. Expansion modules receive power from the base module via the local bus connector.
Page 11
16 terminals (two 8-terminal blocks) for I/O, with an additional 5 terminals for RS- 422/485 on the base module. The Serial Port Connector on the Zlinx 485 is an RJ45 female connector (configured as a DCE) device supporting RS-232 serial communications including TD (Pin 3 on the DB9 end), RD (Pin 2) and GND (Pin 5) signal lines.
Page 12
422/485 switch in the right position) the two-wire RS-485 two-wire communications cable pair is connected to Terminals TDB and TDA. The communications cable ground/shield is connected to GND. Figure 8. Zlinx 485 Base Module RS-422/485 Connector Figure 9. RS-422/485 Four-Wire Connection Manual Documentation Number: Zlinx485m-1808 Hardware www.bb-elec.com...
Note: A standard RJ45 to serial (DB9) cable will not work, use only the one supplied Power Supply Requirements Zlinx 485 systems can be powered from 10 to 30 VDC power sources. No supply is included since the power rating of the supply will depend on the total power requirements of all modules used in the system.
I/O Options and Characteristics I/O Options The Zlinx 485 family of products features a variety of input and output options. Base and expansion module options include: • 2 analog inputs, 2 analog outputs, 2 digital inputs and 2 digital outputs (sourcing or sinking driver) •...
Digital Outputs Digital outputs send on/off signals (low or high logic levels) to drive external devices such as indicators, relay coils or the inputs of other equipment such as PLC’s, SCADA, etc. Modules with digital outputs are available with sourcing or sinking drivers. Sourcing (PNP transistor) drivers provide up to 240 mA per output at output voltages up to 30 VDC to connected loads.
Page 16
Figure 12. DO Wiring The following diagram shows typical connection wiring for modules featuring sourcing (PNP) drivers: Figure 13. The following diagram shows typical connection wiring for modules featuring sinking (NPN) drivers: Typical Digital Input Wiring for Various Input Devices (ZZ-4DID0-DCT Expansion Module) Note: No external power supply wiring is required for Expansion modules Typical Digital Output Wiring for Sourcing Outputs...
Page 17
Figure 14. AI Wiring The following diagram shows typical connection wiring for analog inputs: Figure 15. AO Wiring The following diagram shows typical connection wiring for analog outputs: Typical Digital Output Wiring for Sinking Outputs (ZZ-4DID0-DCT1 Expansion Module) Typical Analog Input Wiring (ZZ9D-NA-MR Base Module) Manual Documentation Number: Zlinx485m-1808 Hardware www.bb-elec.com...
Page 18
Hardware Figure 16. Typical Analog Output Wiring (ZZ9D-NA-MR Base Module) RTD Wiring The following diagram shows typical connection wiring for RTD inputs. Figure 17. Typical RTD Input Wiring Manual Documentation Number: Zlinx485m-1808 www.bb-elec.com www.bb-europe.com...
Page 19
The following diagram shows typical connection wiring for Relay outputs. Modbus Mode Configuration The Zlinx 485 Base module can be configured to operate in Modbus Mode. In Modbus mode messages are sent across the physical layer (wiring configuration) from the Zlinx 485 base to the Modbus network.
Page 20
AO data and the next four locations are assigned to Frequency Counter data. • If a Modbus device communicating with Zlinx 485 tries to send to or receive from a memory address not implemented by the hardware in use, the Zlinx 485 replies with an exception response.
• A maximum of 16 points can be displayed at any one time. Appendix D of this manual contains a list of Modbus I/O assignments for the Zlinx 485. Zlinx 485 Modes of Operation Zlinx 485 systems can operate in Peer-to-Peer or Modbus modes.
32 nodes per Modbus network Connecting the Hardware With an RS-232 connection, the Zlinx 485 Base module is connected to a Modbus device via a DB-9M connector and an RS-232 cable. If the connected Modbus device is configured as a DTE device, use a straight-through cable.
Installing Zlinx 485 Software To install the Zlinx 485 Manager software: 1. Insert the CD included with your Zlinx 485 product into the CD ROM drive of your 2. The installation should launch automatically. If not: a. Click Start on the Task Bar and select Run b.
3. Connect the PC serial port to the Base Module using the supplied RJ45 male to serial (DB9 female) 6 ft cable. 4. Re-apply power to the Zlinx 485 Base Module. The Power LED should light up. Starting Zlinx 485 Manager 1.
Page 26
Select the COM port number from the Connection drop down list. b. Click the Connect button to initiate the connection process. 5. If the device is found, the Zlinx 485 Manager window opens. Figure 27. Discovery Window Clicking the Stop button stops the module discovery process.
Modbus Basics Figure 28. Zlinx 485 Manager The Zlinx 485 Manager window contains: • File and Help menus • Three tabbed panes: Information, Configuration, and Input/Output • A Help sidebar containing information and hints related to the current tab • A graphic display of the base and expansion Modules discovered •...
• Hardware version number for each module Configuration Tab The Configuration tab contains fields that allow configuration of: • Communications Modes: Peer-to-Peer Master, Peer-to-Peer Slave, Modbus (and related parameters) Input/Output Tab The Input/Output tab contains: • A tree structure listing input and output types for each module •...
Discrete (on/off) or Frequency Counter modes and analog inputs and outputs are configurable for voltage or current loop operation. Configuring Zlinx 485 Zlinx 485 modules can be configured to operate as Modbus nodes or as serial links in Peer-to-Peer mode. Configuring Modbus Mode...
Page 30
Using a Modbus base module, a PC and Modbus simulation software (e.g. Modscan) you can test the link and hardware, and investigate the operation of the Zlinx 485. Modscan is a Windows application that simulates a Modbus master node. You can read from and write to memory locations on the Zlinx 485.
In Peer-to-Peer mode digital and analog signals can be transferred in both directions across a Zlinx 485 link. For successful communication both base modules must be the same model and all expansion modules must be complimentary (e.g. DI to DO, AI to AO) and arranged in the same order on the Local Bus.
Page 32
Discrete inputs or Frequency Counter inputs. (Any additional digital inputs operate as Discrete inputs only.) Frequency Counter operation is only functional when the Zlinx 485 is set up in Modbus mode. Analog inputs and outputs can be configured for voltage or current loop operation.
Page 33
An input tree appears listing all base and expansion modules in the system and the inputs available on them. Figure 34. 2. Select the Digital Input to be configured. 3. Select Discrete or Frequency Counter (for the first two inputs only). Do NOT exceed 5 kHz for frequency input.
Page 34
Modbus Basics Figure 35. Analog Input Configuration 6. Select the Analog Output to be configured. 7. Select the required Analog Mode (0 to 10 VDC or 0 to 20 mA). If RTD module present then, 1. Select the Input/Output tab. Manual Documentation Number: Zlinx485m-1808 www.bb-elec.com www.bb-europe.com...
Page 35
Saving the Configuration When all configuration settings are complete, click the Update button to save them in the Zlinx 485 Base and Expansion modules. 1. The Progress bar at the bottom of the windows shows the progress of the update.
B&B Electronics website). When the Zlinx 485 Manager software is installed on your computer the Zlinx 485 Updater software is also installed. This can be used to update the firmware in your Zlinx 485 modules. The following procedure describes the firmware updating process 4.
Page 37
11. Click Connect. 12. Re-apply power to the Zlinx 485 Base module. The Power LED should light up. 13. The Zlinx 485 Firmware Updater window opens and displays a list of the base and expansion modules. 14. On the module list, select the base or expansion module to be updated.
Modbus ASCII/RTU Basics The Modbus protocol emerged in the mid-1970s as an early protocol for linking terminals with Modicon PLCs using a master/slave (sometimes called a master/client) relationship. A simple, open, message-based protocol, it caught on quickly and became a defacto standard in the industry.
Hints and Tips A few simple suggestions that may assist you if your system is experiencing problems include: • Slowing down the polling rate may be helpful if power cycling doesn’t cure the problem. • A common misperception is that every serial network must terminate with a resistor. While this was true of early serial network configurations, it’s typically the wrong answer –...
Paper copy, PDF available on enclosed CD-ROM disc Manual: Available on enclosed CD-ROM disc, and on B&B website CD-ROM disc: Zlinx 485 Manager PDF of Zlinx 485 User Manual PDF of Quick Start guide Operating Systems supported: Windows ME/98/2000/XP Dimensions: 1.15 x 3.65 x 5 in (2.92 x 9.27x 12.7 cm)
Page 41
Frequency Input: Two DI inputs per module software selectable as Frequency Counters, 0 to 5 kHz range (do NOT exceed more than 5kHz) Voltage Range: 10 to 45 VDC (for sourcing outputs), 0 toVDC (for sinking outputs) Open Source: 40 mA per output Ranges: 0 to 10 VDC or 0 to 20 mA Resolution:...
RJ-45F Figure 38. RS-232 Connections for RJ45 type plug Note: PIN 4 (RTS) is reserved for the configuration software only. Asserting RTS during normal operation will result in a communication failure. Disable RTS if your hardware supports it RJ45 Male to RS-232 Female Pinout RS-232 Pinouts Signal RS-232...
Page 45
RJ45 male DB9 female Figure 39. RJ45 Male to RS232 female adapter cable RS-422/485 4 Wire Pinouts Signal Name Transmit Data (-) Transmit Data (+) Receive Data (-) Receive Data (+) Signal Ground (COM) Figure 40. Zlinx Base Module Terminal Block Pin-out for RS-422/485 Four-Wire Operation Note: 4-Wire Connections must be wired as Mater/Slave.
Page 46
Signal Name DataA (-) DataB (+) Not used Not used Signal Ground (COM) Figure 41. Zlinx 485 Base Module Terminal Block Pin-out for RS-485 Two-Wire Operation Label Direction Terminal TDA(-) In/Out TDB(+) In/Out RDA(-) RDB(+) Manual Documentation Number: Zlinx485m-1808 Serial Connections www.bb-elec.com...
Modbus function codes supported are: Function 1: Read DO Status Function 2: Read DI’s Function 3: Read AO Status Function 4: Read AI’s Function 5: Write to Single DO (firmware v2.0 or higher) Function 6: Write to Single AO Function 15: Write to Multi DO’s Modbus Address Description 00001...
Page 48
Modbus Address Description 00037 EXP-2 Digital Output-5 00038 EXP-2 Digital Output-6 00039 EXP-2 Digital Output-7 00040 EXP-2 Digital Output-8 00041 EXP-2 Digital Output-9 00042 EXP-2 Digital Output-10 00043 EXP-2 Digital Output-11 00044 EXP-2 Digital Output-12 00045 EXP-2 Digital Output-13 00046 EXP-2 Digital Output-14 00047 EXP-2 Digital Output-15...
Page 49
Modbus Address Description 00086 EXP-5 Digital Output-6 00087 EXP-5 Digital Output-7 00088 EXP-5 Digital Output-8 00089 EXP-5 Digital Output-9 00090 EXP-5 Digital Output-10 00091 EXP-5 Digital Output-11 00092 EXP-5 Digital Output-12 00093 EXP-5 Digital Output-13 00094 EXP-5 Digital Output-14 00095 EXP-5 Digital Output-15 00096 EXP-5 Digital Output-16...
In peer-peer mode, the master and slave must have the same number of expansion modules. The Zlinx 485 configures the base module and expansion modules on a cycle of power. No damage occurs by adding/removing a module “hot.” Power will need to be cycled for the base module to update the expansion locations.
Term Master node with I/O Base module Expansion node that responds to master node Expansion module B&B proprietary RS-485 bus interconnection via 14 pin 2 mm Local bus connector header/plug Definition Manual Documentation Number: Zlinx485m-1808 Terms and Definitions www.bb-elec.com www.bb-europe.com...