NuDAM-6050 NuDAM-6052 NuDAM-6053 NuDAM-6054 NuDAM-6056 NuDAM-6058 NuDAM-6060 NuDAM-6063 Digital I/O Modules Recycled Paper
Copyright 1995~2001 ADLINK Technology Inc. All Rights Reserved. Manual Rev. 3.51: March 27, 2001 Part No : 50-12003-201 The information in this document is subject to change without prior notice in order to improve reliability, design and function and does not represent a commitment on the part of the manufacturer.
Getting service from ADLINK ♦Customer Satisfaction is always the most important thing for ADLINK Tech Inc. If you need any help or service, please contact us and get it. ADLINK Technology Inc. http://www.adlink.com.tw http://www.adlinktechnology.co Sales & Service service@Adlink.com.tw NuDAQ nudaq@adlink.com.tw NuDAM nudam@adlink.com.tw Technical NuIPC nuipc@adlink.com.tw Support NuPRO nupro@adlink.com.tw Software sw@adlink.com.tw TEL +886-2-82265877 FAX +886-2-82265717 Address 9F, No.
Table of Contents Chapter 1 Introduction.............................................................1 1.1 1.2 About the NuDAM DIO Modules ...........................................1 Overview of NuDAM-6050 .....................................................2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3 Overview of NuDAM-6052 .....................................................7 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4 What is NuDAM-6053 ? .............................................................
1.7 Overview of NuDAM-6058 .....................................................27 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.8 Overview of NuDAM-6060 .....................................................33 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.9 What is NuDAM-6058 ? ............................................................ 27 Features of NuDAM-6058......................................................... 27 Specifications of NuDAM-6058 ...............................................
2.10 Application Wiring for NuDAM-6060 ......................................55 2.11 Application Wiring for NuDAM-6063 ......................................56 Chapter 3 Command Set .........................................................57 3.1 Command and Response.....................................................57 3.1.1 3.1.2 3.1.3 3.1.4 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.14 3.15 3.16 3.17 3.18 3.19 3.20 3.21 Introduction.....................................................
1 Introduction 1.1 About the NuDAM DIO Modules The NuDAM provides a series of digital input or output (DIO) modules to sense the digital signal or to control the remote devices. The specified features of each module are shown here.
1.2 Overview of NuDAM -6050 1.2.1 What is NuDAM-6050? NuDAM-6050 is a digital input and output module. The digital input channels can monitor active TTL signals, and sense passive switch on/off signal because of the internal pull high resistors. The convenient open collector output channels can sink up to 50 mA current. Combining with the relay devices, it is possible to control the high power devices by programming output channel of the NuDAM-6050. 1.2.
♦ Digital Output • Channel numbers : 8 • Output characteristic : open collector transistor • Maximum current sink : 50mA • Max. power dissipation : 300mW ♦ Watchdog Function • Module internal watchdog timer: 150 ms • Power failure threshold : 4.65 V • Safety value : 8 output channels • Host programmable watchdog : • 100 ms ~ 25.500 sec ♦ Power • Power supply : +10V to +30V • Current consumption : 0.
DO 1 DO 0 DI 0 DO 2 11 10 (B)GND (R)+Vs DO 3 DO 4 DO 5 DO 6 DO 7 (Y)DATA+ Bit 0-7 Bit 0-6 DEFAULT * Signal 1 I/O Type Digital Output Digital Input (G)DATA- Digital Input/Output ND-6050 4 • Introduction DI 1 DI 3 DI 2 DI 4 DI 5 A Look at ND-6050 & Pin Assignment 20 DI 6 1.2.
1.2.
1.2.
1.3 Overview of NuDAM -6052 1.3.1 What is NuDAM-6052 ? NuDAM-6052 provides 8 isolated digital input channels. Six of the input channels are differential type and two of them are single-ended with common ground. The isolation voltage is up to 5000 Vrms. It is suitable to use NuDAM-6052 in industrial environment with the dangerous of high voltage electric shock. 1.3.
• Safe value : 8 output channels • Host programmable watchdog :100 ms ~ 25.5 sec ♦ Power • Power supply : +10V to +30V • Current consumption : 0.
DI 0- DI 0+ 11 (B)GND DI 1+ 10 (G)DATA- (Y)DATA+ 6 2 DEFAULT * D.GND DI 7+ DI 6+ (R)+Vs Channels Input Type Diffential Single Ended DI 5- DI 1- Isolated Digital Input ND-6052 1 DI 2+ DI 2- DI 3+ DI 3- DI 4+ DI 4- 20 A Look at ND-6052 & Pin Assignment DI 5+ 1.3.
1.3.5 Pin Definitions of NuDAM-6052 Pin # Signal Name Description 1 DI5+ Digital Input Channel 5+ 2 DI5 - Digital Input Channel 5 - 3 DI6+ Digital Input Channel 6+ 4 D.
1.3.6 ND-6052 Functional Block Diagram +5V Power Input +10V ~ +30V Power Regulator & Filter GND +5V DI0+ Watchdog/Power Failure Supervisor Data - RS-485 Rec/Drv EEPROM Config Data Safe Value DI0- DI0+ Micro Processor DI0- DI5+ DI5DI6+ D.GND DI7+ D.
1.4 Overview of NuDAM -6053 1.4.1 What is NuDAM-6053 ? NuDAM-6053 provides 16 digital input channels for dry contact or wet contact signals. The effective distance from DI to contact point is up to 500m for dry contact input. 1.4.2 Features of NuDAM-6053 • 16 bits digital input • Programmable host watchdog timer for host failure protection • Internal watchdog timer for device failure protection • Easy programming by software • Easy installation and wiring 1.4.
• Power failure threshold : 4.65 V • Host programmable watchdog : 100 ms ~ 25.5 sec ♦ Power • Power supply : +10V to +30V • Current consumption : 0.
14 • Introduction Channels 16 10 Input Type Digital Input (B)GND 16-CH Digital (R)+Vs ND-6053 (G)DATA - (Y)DATA+ DEFAULT DI 14 DI 13 DI 12 DI 11 DI 10 1 DI 1 DI 2 DI 3 DI 4 DI 5 DI 6 DI 7 DI 8 DI 9 11 DI 0 20 1.4.
1.4.
1.4.
1.5 Overview of NuDAM -6054 1.5.1 What is NuDAM-6054 ? NuDAM-6054 provides 15 isolated digital input channels. All of the input channels are common power type and one of them is using the same pin with default (use jumper to choose). The isolation voltage is up to 5000 Vrms. It is suitable to use NuDAM-6054 in industrial environment with the dangerous of high voltage electric shock. 1.5.
• Module internal watchdog timer : 150msec • Power failure threshold : 4.65 V • Host programmable watchdog :100 ms ~ 25.5 sec ♦ Power • Power supply : +10V to +30V • Power consumption : 0.
DI8 DI9 (B)GND DI7 (R)+Vs DI6 DI5 DI4 DI3 DI2 DI1 DI0 A Look at ND-6054 & Pin Assignment 20 DI 15 DEFAULT /DI14 DI13 DI12 DI11 Ext24V * (G)DATA- Channels (Y)DATA+ Input Type 1 11 15-CH Isolated Digital Input ND-6054 DI10 1.5.
1.5.
1.5.
1.6 Overview of NuDAM -6056 1.6.1 What is NuDAM-6056 ? NuDAM-6056 provides 15 isolated digital output channels. All o f the output channels are common ground type and one of them is use the same pin with default (use jumper to choose). The isolation voltage is up to 5000 Vrms. It is suitable to use NuDAM-6056 in industrial environment with the dangerous of high voltage electric shock. 1.6.
♦ Watchdog Function • Module internal watchdog timer : 150msec • Power failure threshold : 4.65 V • Safe value : 15 output channels • Host programmable watchdog :100 ms ~ 2 5.5 sec ♦ Power • Power supply : +10V to +30V • Current consumption : 0.3 W(Max 3.5W for Hardware Reversion.
20 11 24 • Introduction (R)+Vs (B)GND (Y)DATA+ DEFAULT DO13 Ext.GND 15 DO12 Channels DO DO11 DO10 Output Type (G)DATA - 15-CH Isolated Digital Output ND-6056 1 DO0 DO1 DO2 DO3 DO4 DO5 DO7 DO6 DO8 A Look at ND-6056 & Pin Assignment DO9 1.6.
1.6.
1.6.
1.7 Overview of NuDAM -6058 1.7.1 What is NuDAM-6058 ? NuDAM-6058 provides 28 digital I/O channels. It emulates industry standard mode zero configuration of 8255 programmable peripheral interface (PPI) chip. The PPI offers 3 ports A, B and C, the C port can also be subdivided into 2 nibble-wide (4-bit) port – C upper and C lower. A 50 pin SCSI connector equipped with ND-6058 which is corresponding to PPI chip with 24 DIO points. 1.7.
1.7.3 ♦ Specifications of NuDAM-6058 Interface • Interface : RS-485, 2 wires • Speed (bps) : 1200, 2400, 4800, 9600, 19.2K, 38.4K, 115.2K (115.2K only for firmware reversion above A4.00) ♦ Programmable Digital Input/Output • Channel numbers : 24 • Input Signal: • Logical level 0 : -0.5 ~ 0.8 V • Logical level 1: 2.0 ~ 5.25 V • Output Signal: • Logical level 0: 0.5 V Maximum • Logical level 1: 2.
• ♦ 50-pin SCSI II connector Power • Power supply : +10V to +30V • Current consumption: 1.
~ C7 C0 ~ B7 A7 ~ B0 A Look at ND-6058 & Pin Assignment A0 1.7.
1.7.
1.7.
1.8 Overview of NuDAM -6060 1.8.1 What is NuDAM-6060 ? NuDAM-6060 provides four relay output channels, two are form A and two are form C. It can control high power devices without external circuits. The isolation guarantees the industrial safety. 1.8.
• DC 2A / 30V, 0.6A / 110V • Relay ON/OFF time interval : 3 ms / 1ms • Breakdown voltage : 500 V • Expected life : 108 times • Insulation resistance : 1000 MΩ minimum ♦ Watchdog Function • Module internal watchdog timer : 150ms • Power failure threshold : 4.65 V • Safety value : 4 output channels • Host programmable watchdog : 100 ms ~ 25.5 sec ♦ Power • Power supply : +10V to +30V • Current consumption : 0.
1.8.4 Using Relay Output The ND-6060 contains two types of relay : Form C and Form A. The relay R3 and R4 are form C relays, and R1 and R2 are plain form A type. The difference between these two types of relay are: 1. Form C Relay : ( R3, R4) NO NO COM NC COM NC Control Bit = High (1) Control Bit = Low (0) Form C relay has three contacts : NC ( Normal Close), NO ( Normal Open), and COM( Common). The CM post, located at the middle, can make contact either NO post or NC post.
36 • Introduction 1 10 4 4 (B)GND Channels (R)+Vs Type Relay Output Digital Input (G)DATA- (Y)DATA+ ND-6060 DEFAULT * Ext24V DI 0 DI 1 DI 2 DI 3 RL1 NO 11 RL1 COM RL2 NO RL2 COM RL3 NO RL3 NC RL3 COM RL4 NO RL4 NC 20 RL4 COM 1.8.
1.8.
1.8.
1.9 Overview of NuDAM -6063 1.9.1 What is NuDAM-6063 ? NuDAM-6063 provides eight from A relay output channels. It can control high power devices without external circuits. 1.9.2 Features of NuDAM-6063 ♦ 8 channel relay output ♦ Programmable host watchdog timer for host failure protection ♦ Internal watchdog timer for device failure protection ♦ Easy programming by software ♦ Easy installation and wiring 1.9.
♦ Watchdog Function • Module internal watchdog timer : 150ms • Power failure threshold : 4.65 V • Safety value : 8 output channels • Host programmable watchdog : 100 ms ~ 25.5 sec ♦ Power • Power supply : +10V to +30V • Current consumption : 1.2 W 1.9.4 Using Relay Output Form A Relay : NO NO COM Control Bit = High (1) COM Control Bit = Low (0) Form A relay only has two contacts : NO (Normal Open) and COM( Common). The COM post can make contact either NO post or not contact NO post.
1 RL8 COM 8 20 RL2 NO RL2 COM RL3 NO RL3 COM RL4 NO RL4 COM COM RL5 NO RL5 COM 10 11 RL1 NO Relay Output (B)GND Channels RL1 COM 8-CH Isolated Relay Output (R)+Vs Type (G)DATA- (Y)DATA+ ND-6063 DEFAULT*1 RL8 NO RL7 COM RL7 NO RL6 COM RL6 NO 1.9.
1.9.
1.9.
2 Initialization & Installation 2.1 Software Installation 1. If you have already installed “NuDAM Administration” then skip other steps. 2. Backup your software diskette. 3. Insert “NuDAM Administration” disc into CD-ROM. 4. Change drive to the path of CD-ROM. For example, your drive of CD-ROM is F:, then change the drive to F: 5. Find the setup of NuDAM Administration and run it. 6. Please follow the steps of setup program then you can successful to install the nudism Administration.
2.2 Initializing a Brand-New Module 2.2.1 Objective of Initializing a Brand-New NuDAM All NuDAM modules. except NuDAM-6520 and NuDAM-6510, in a RS-485 network must have an unique address ID, however, every brand-new NuDAM has a factory default setting as following : ♦ Address ID is 01.
2.2.2 Default State The NuDAM I/O modules must be set at Default State when you want to change the default settings, such as the ID address, baud rate, check-sum status etc. All NuDAM I/O modules have an special pin labeled as DEFAULT*. The module will be in Default State if the DEFAULT* pin is shorted to ground when power ON.
2.2.3 Initialization Equipments ♦ Host computer with an RS-232 port ♦ An installed RS-485 module (NuDAM-6520) with 9600 baud rate ♦ The brand new NuDAM module ♦ Power supply (+10 to +30 VDC) for NuDAM modules ♦ Administration utility software Note1: Never Connect the DRFAULT* pin to Vs or power source just left it open or wired to GND. 2.2.4 Initialization Procedure 1. Power off the host computer and the installed NuDAM-6520. Be sure of the baud rate of the NuDAM-6520 is 9600 bps. 2.
2.2.
2.3 Install a New NuDAM to a Existing Network 2.3.1 Equipments for Install a New Module ♦ A existing NuDAM network ♦ New NuDAM modules. ♦ Power supply (+10 to +30 VDC) 2.3.2 Installing Procedures 1. Configure the new NuDAM module according to the initialization procedure in section 2.2. 2. The baud rate and check-sum status of the new module must be identity with the existing RS-485 network. The address ID must not be conflict with other NuDAM modules on the network. 3.
2.4 Application Wiring for NuDAM -6050 Digital Input Connect with TTL Signal NuDAM-6050 Digital Input Channel +5V TTL Buffer TTL Device DI n To Micro Processor GND Digital Input Connect with Switch or Push Button NuDAM-6050 Digital Input Channel +5V TTL Buffer DI n Switch or Push Button To Micro Processor GND Digital Output Connect with Power Loading NuDAM-6050 Digital Output Channel From Micro Processor open collector LED, SSR, Relay etc.
2.
2.
2.7 Application Wiring for NuDAM -6054 Isolated Common Power Input NuDAM-6054 Common Power Channel Photo Coupler Common Power Ext.24V Digital Signal Source To Micro Processor DI n GND 2.
2.9 Application Wiring for NuDAM -6058 Digital Input Connect with TTL Signal NuDAM-6058 Digital Input Channel +5V TTL Buffer TTL Device DI n GND 6058 To Micro Processor DIN-24P DIN-24R DIN-24G DIN-50S DIN-24P 24-CH Opt-Isolated Digital Input Termination Board with DIN Socket. DIN-24R 24-CH Relay Output Termination Board with DIN Socket. DIN-24G 24-CH Grayhill I/O Modules Termination Board with DIN Socket. DIN-50S 50-Pin SCSI Connector Termination Board with DIN Socket.
2.
Digital Input : Transistor Mode NuDAM-6060 Digital Input Channel Ext24V Photo Coupler To Micro Processor DI n+ DI n- External Signal 2.
3 Command Set 3.1 Command and Response 3.1.1 Introduction The NuDAM command is composed by numbers of characteristics, including the leading code, address ID, the variables, the optional check-sum byte, and a carriage return to indicate the end of a command. The host computer can only command only one NuDAM module except those syncronized commands with wildcard address “**”. The NuDAM may or may not give response to the command. The host should check the response to handshake with the modules.
3.1.2 Document Conventions The following syntax conventions are used to describe the NuDAM commands in this manual. (Leading Code) (Addr) (Comma nd Variable) [Data] [Checksu m] <> 3.1.3 Leading Code is the first characteristic of the NuDAM command. All NuDAM commands need a command leading code, such as %,$,#,@,...etc.
Example 2: checksum is enable User Command: $012B7 Response: !01400600AC $ 01 2 B7 ‘$’ = 0x24 : LeadingCode : Address : Command (Read Configuration) : Checksum value : Carriage return 0x0D ‘0’ = 0x30 ‘1’ = 0x31 ‘2’ = 0x30 B7 = ( 0x24 + 0x30 + 0x31 + 0x32 ) MOD 0x100 ‘!’ = 0x24 ‘6’ = 0x36 ‘0’ = 0x30 ‘1’ = 0x31 ‘4’ = 0x34 AC = ( 0x24 + 0x30 + 0x31 + 0x34 + 0x30 + 0x30 + 0x36 + 0x30 + 0x30 ) MOD 0x100 Note : 1.There is no spacing between characters. 2.
3.2 Summary of Command Set There are three categories of NuDAM commands. One is the general commands, including set configuration command, read configuration, reset, read module‘s name or firmware version, etc. Every NuDAM can response to the general commands. The second category is the functional commands, which depends on functions of each module, not every module can execute all functions.
Command Set of Digital I/O Modules Command Syntax General Commands %(OldAddr)(NewAddr) Set Configuration (TypeCode)(BaudRate) (CheckSumFlag) Read Configuration $(Addr)2 Read Module Name $(Addr)M Read Firmware Version $(Addr)F Reset Status $(Addr)5 Functional Commands Synchronized Sampling #** Read Synchronized Data $(Addr)4 #(Addr)(ChannelNo) (OutData) #(Addr)(Port)(Odata) #(Addr)(Port)(ChannelNo)( BitData) #(Addr)T(OdataA)(OdataB) (OdataC) Digital Input $(Addr)6 Set Programmable I/O Mode $(Addr)S(IOSts
3.3 Set Configuration ( 6050, 6052, 6053, 6054, 6056, 6058, 6060, 6063 ) @Description Configure the basic setting about address ID, baud rate, and checksum. @Syntax %(OldAddr)(NewAddr)(TypeCode)(BaudRate)(CheckSumFlag) % Command leading code. (1-character) (OldAddr) NuDAM module original address ID. The default address ID of a brand new module is 01. The value range of address ID is 00 to FF in hexadecimal.
Note : When you want to change the checksum or baud rate then the DEFAULT* pin should be grounded at first. @Example User command: Response: %0130400600 !30 Item % 01 Meaning (Leading Code) (OldAddr) 30 (NewAddr) 40 06 00 (TypeCode) (BaudRate) (CheckSumFlag) Carriage return Code 03 04 05 06 07 08 09 Description Command leading code. Original address ID is 01H. New address ID is 30H (Hexadecimal). Digital I/O module. Baud rate is 9600. 00 means checksum is disable. 0x0D.
3.4 Read Configuration ( 6050, 6052, 6053, 6054, 6056, 6058, 6060, 6063 ) @Description Read the configuration of module on a specified address ID. @Syntax $(Addr)2 $ (Addr) 2 Command leading code Address ID. Command code for reading configuration @Response !(Addr)(TypeCode)(BaudRate)(CheckSumFalg) or ?(Addr) ! ? (Addr) (TypeCode) Command is valid. Command is invalid. Address ID. It always be 40 (Hex) for digital I/O modules.
Checksum 0 : disable 1 : enable Reserved Must to be 000 7 6 5 4 3 2 1 Module Type 000: ND-6050 001: ND-6060 010: ND-6052 011: ND-6053 100: ND-6058 101: ND-6063 110: ND-6054 111: ND-6056 0 Reserved Must to be 0 Table 0-3 Response of check sum flag @Example User command: Response: ! 30 40 06 00 $302 !30400600 Command is valid. Address ID. Digital I/O module. Baud rate is 9600 bps. checksum is disable.
3.5 Read Module Name ( 6050, 6052, 6053, 6054, 6056, 6058, 6060, 6063 ) @Description Read NuDAM module‘s name. @Syntax $(Addr)M $ (Addr) M Command leading code. Address ID. Read module name. @Response !(Addr)(ModuleName) or ?(Addr) ! ? (Addr) (ModuleName) Command is valid. Command is invalid. Address ID. NuDAM module‘s name. @Example User command: Response: ! 30 6050 66 • Command Set $30M !306050 Command is valid Address. ND-6050 (Digital I/O module).
3.6 Read Firmware Version ( 6050, 6052, 6053, 6054, 6056, 6058, 6060, 6063 ) @Description Read NuDAM module‘s firmware version. @Syntax $(Addr)F $ (Addr) F Command leading code. Address ID Read module firm ware version. @Response !(Addr)(FirmRev) or ?(Addr) ! ? (Addr) (FirmRev) Command is valid. Command is invalid. Address ID. NuDAM module‘s firmware version. @Example User command: Response: ! 30 A1.50 $30F !30A1.50 Command is valid.
3.7 Reset Status ( 6050, 6052, 6053, 6054, 6056, 6058, 6060, 6063 ) @Description Checks the reset status of module at specified address to see whether it has been reset since the last reset status command was issued to the module. @Syntax $(Addr)5 $ (Addr) 5 Command leading code. Address ID. Reset Status Command. @Response !(Addr)(Status) or ?(Addr) ! ? (Addr) (Status) Command is valid. Command is invalid. Address ID. 0 : It has not been reset since the last reset status command was issued.
3.8 Digital Output ( 6050, 6060, 6063 ) @Description Set digital output channel value at specified address. This command is only available to modules involving the digital output function. @Syntax #(Addr)(ChannelNo)(OutData) (6050,6060,6063 Only) # (Addr) (ChannelNo) (OutData) Command leading code. (1-character) Address ID (2-character) 00 : Set value to all channels 1X : Set value to single channel First character is 1, Second character is channel number.
User command: Response: 2F 12 01 70 • Command Set #2F1201 > Address ID 1 : Set output to single channel 2 : Output single channel is channel 2 Set single channel to ON
3.9 Digital Output (Continued) ( 6056, 6058 ) @Description Set digital output channel value at specified address. This command is only available to modules involving the multiport digital output function. @Syntax #(Addr)T(OutDataH)(OutDataL) (6056 only) #(Addr)T(OutDataA)(OutDataB)(OutDataC) (6058 only) # (Addr) T (OutDataH) (OutDataL) (OutDataA) (OutDataB) (OutDataC) Command leading code.
@Example User command: Response: 30 T 0303 User command: Response: 2F T 01 02 03 72 • Command Set #30T0303 (for ND-6056) > Address ID Set output to all port 0303 (0000001100000011), Channel 0, 1, 8 and 9 are set ON other channels are set to OFF #2FT010203 (for ND-6058) > Address ID Set output to all port Set channel 0 of port A ON Set channel 1 of port B ON Set channel 0 and 1 of port C ON
3.10 Digital Output (Continued) ( 6056, 6058 ) @Description Set digital output port channel value at specified address. This command is only available to modules involving the multiport digital output function. @Syntax #(Addr)(Port)(OutData) (6056, 6058 only) # (Addr) (Port) (OutData) Command leading code.
03 User command: Response: 2F 0A 10 74 • Command Set 03 (00000011), Channel 8 and 9 are set ON other channels are set to OFF #2F0A10 Address ID Set output to port A Set channel 4 of port A ON
3.11 Digital Output (Continued) ( 6056, 6058 ) @Description Set direct digital output channel value at specified address. This command is only available to modules involving the multiport digital output function. @Syntax #(Addr)(Port)(ChNo)(OutData) (6056,6058 only) # (Addr) Command leading code.
@Example User command: Response: 30 H 3 1 User command: Response: 2F A 2 0 76 • Command Set #30H31 (for ND-6056) Address ID Set output to high byte Channel number is 3, that is channel 11 Set corresponding channel to ON #2FA20 Address ID Set output to port A Channel number is 2 Set corresponding channel to OFF
3.12 Synchronized Sampling ( 6050, 6052, 6053, 6054,6058, 6060, ) @Description Synchronized all modules to sample input values and stored the values in the module’s register at the same time and use “Read Synchronized Data” command to read the data and process it one by one. For digital I/O module, this command is only available to modules involving the digital input function, such as NuDAM-6050, NuDAM-6052, NuDAM-6053, NuDAM-6054, NuDAM-6058 and NuDAM-6060. @Syntax #** # ** Command leading code.
3.13 Read Synchronized Data ( 6050, 6052, 6053,6054, 6058, 6060 ) @Description After a synchronized sampling command #** was issued, you can read the input value that was stored in the addressed module’s register and use same method to process other module‘s data one by one. @Syntax $(Addr)4 $ (Addr) 4 Command leading code. Address ID. Read synchronized data.
(Status) (IOFlag) (DataOut) (DataIn) (DIn) (DataInH) (DataInL) (DataInA) (DataInB) (DataInC) 0 : Data has been sent at least once before. 1 : Data has been sent for the first time since a synchronized sampling command was issued.
@Examples Example for NuDAM-6050 : User command: Response: ! 1 06 52 $304 !1065200 Command is valid. Data has not been sent before. 06 (00000110) means digital output channel 1,2 are ON, channel 0,3,4,5,6,7 are OFF. 52(01010010) means digital input channel 1,4, 6 are HIGH, channel 0,2,3,5,7 are LOW.. Example for NuDAM-6058 : User command: Response: ! 1 0C 0F 01 02 03 80 • Command Set $304 !10C0F010203 Command is valid. Data has not been sent before.
3.14 Digital Input ( 6050, 6052, 6053, 6054, 6058, 6060 ) @Description Read the digital input channel value and readback the digital output channel value. @Syntax $(Addr)6 $ (Addr) 6 Command leading code. Address ID Digital data input command.
or ?(Addr) ! ? (DataOut) (DataIn) (DataInH) (DataInL) (DataOutH) (DataOutL) (DataA) (DataB) (DataB) (IOFlag) 82 • Command Set Command is valid. Command is invalid. Value of digital output channel. (2-character) Value of digital input. (2-character) Value of digital input channel 15-8. (2-character) Value of digital input channel 7-0.(2-character) Value of digital output channel 15-8. (2-character) Value of digital output channel 7 -0.(2-character) Value of digital channel 7-0.
@Example Example for NuDAM-6050 : User command: Response: ! 32 11 00 $306 !321100 Command is valid. 32 (00110010) means digital output channel 1, 4, 5 are ON, channel 0, 2, 3, 6, 7 are OFF. 11 (00000011) means digital input channel 0, 1 are HIGH and channel 2, 3, 4, 5, 6, 7 are LOW. No used Example for NuDAM-6058 : User command: Response: ! 0C 0F 01 02 03 $304 !0C0F010203 Command is valid. Port A and B are input mode, high and low half byte of port C are output mode.
3.14 Programmable I/O Mode Setting ( 6058) @Description Set the programmable input or output mode for ND-6058. @Syntax $(Addr)S(IOFlag) (6058 only) $ (Addr) S (IOFlag) Command leading code.
@Example User command: Response: ! 0C $060C !06 Command is valid. Port A and B are input mode, high and low half byte of port C are output mode.
3.15 Read Leading Code Setting ( 6050, 6052, 6053, 6054, 6056, 6058, 6060, 6063 ) @Description Read command leading code setting and host watchdog status. @Syntax ~(Addr)0 ~ (Addr) 0 Command leading code. Address ID Read command leading code setting. @Response !(Addr)(Status)(C1)(C2)(C3)(C4)(C5)(C6) or ?(Addr) ! ? (Addr) (Status) (C1) (C2) (C3) (C4) (C5) (C6) 86 • Command Set Command is valid. Command is invalid.
Default is *. (1-character) @Example User command: Response: ~060 !0600$#%@~* Command leading code setting is $#%@~* for module address ID is 06, current status is factory default setting.
3.16 Change Leading Code Setting ( 6050, 6052, 6053, 6054, 6056, 6058, 6060, 6063 ) @Description User can use this command to change command leading code setting as he desired. @Syntax ~(Addr)10(C1)(C2)(C3)(C4)(C5)(C6) ~ (Addr) 10 (C1) (C2) (C3) (C4) (C5) (C6) Command leading code. Address ID, range (00 - FF). Change command leading code setting. Leading code 1, for read configuration status, firmware version, etc. default is $.
@Examples User command: Response: User command: Response: User command: Response: ~060 !0600$#%@~* ~0610A#%@~* !06 A06F !06A1.8 Read leading code setting is $#%@~* for module address 06 and change leading code $ to A, then use A06F to read firmware version of module on address 06. *** WARNING *** We do not recommend users to change the default setting of leading code, because it will make you confuse The leading code change only use the command conflicts other devices on the network.
3.17 Set Host Watchdog Timer & Safety Value ( 6050, 6052, 6053, 6054, 6056, 6058, 6060, 6063 ) @Description Set host watchdog timer, module will change to safety state when host is failure. Define the output value in this command.
@Response !(Addr) or ?(Addr) ! ? (Addr) Command is valid. Command is invalid. Address ID @Example Example for NuDAM-6050 : User command: Response: 06 2 1 12 1C ~0621121C !06 Address ID Set host watchdog timer and safe state value. Enable host watchdog timer. Timeout value. 0x12 = 18 18 * 100 = 1800 ms 1C (00011100) Digital output channel DO2, DO3 and DO4 are high, the others are low.
Example for NuDAM-6058 : User command: Response: 06 2 1 12 1C1C1C 92 • Command Set ~0621121C1C1C !06 Address ID Set host watchdog timer and safe state value. Enable host watchdog timer. Timeout value. 0x12 = 18 18 * 100 = 1800 ms 1C (00011100) port A, B and C channel 2, 3 and 4 are high, the other are low.
3.18 Read Host Watchdog Timer & Safety Value ( 6050, 6052, 6053, 6054, 6056, 6058, 6060, 6063 ) @Description Read host w atchdog timer setting and the safety value. @Syntax ~(Addr)3 ~ (Addr) 3 Command leading code. Address ID Read host watchdog setting and module safety state value.
@Example User command: Response: 06 1 12 1C ~063 !061121C Address ID Host watchdog timer is enable. Timeout value. 0x12 = 18 18 * 100 = 1800 ms 1C (00011100) Digital output channel DO3, DO4 and DO5 are high, the others are low. Between 1800 ms time period, if host does not send (Host is OK) then digital output will change to safety state 1C ( 00011100) means digital output DO3 , DO4 and DO5 is high, others are low.
3.19 Change Polarity @Description To change the polarity state of digital inputs and outputs of the module.
3.20 Read Polarity @Description To read the polarity state of digital inputs and outputs of the module. @Syntax ~(Addr)CR ~ (Addr) CR Command leading code (1 character) Address ID (2 character) Read Polarity (2 character) @Response !(Addr)(State) or ?(Addr) ! ? (Addr) Command is valid. Command is invalid. Address ID.
3.21 Host is OK @Description When host watchdog timer is enable, host computer must send this command to every module before timeout otherwise “host watchdog timer enable” module‘s output value will go to safety state output value. Timeout value and safety state output value is defined in 3.14. “Set Host Watchdog Timer & Safety Value”. @Syntax ~** ~ ** Command leading code. Host is OK. @Response Note : Host is OK command has NO response.
Product Warranty/Service ADLINK warrants that equipment furnished will be free from defects in material and workmanship for a period of one year from the date of shipment. During the warranty period, we shall, at our option, either repair or replace any product that proves to be defective under normal operation. This warranty shall not apply to equipment that has been previously repaired or altered outside our plant in any way as to, in the judgment of the manufacturer, affect its reliability.