Home > Samsung > Home Theater System > Samsung Ht As700 User Manual

Samsung Ht As700 User Manual

    Download as PDF Print this page Share this page

    Have a look at the manual Samsung Ht As700 User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1705 Samsung manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    							101
    Specialty Module Dimensions
    NX-IOLINK Module Dimensions
    115 .5
    35.0
    RS232C COM1
    RS485
    RS232C COM2
    RS485RESET
    104 .0
    AU I
    T
    12V
    35.035.0
    LINK NO00
    0
    FG
    - +
    +
    -
    F.G
    NX-MWLINKMW LINKNX-SC USCUNX-ETHER N ETEtherN et
    unit (mm)
    +
    -
    FG
    LINE
    4
    3
    2
    1
    OFF
    ON
    MODE SW
    24V D C
    INPUT+
    -105.0
    70.5
    unit (mm)
     
    						
    							102
    Decimal, Bin, Hex, BCD, Gray Code 
    Cross-reference Table
     
    						
    							103
    ASCII Code Table
    b4b3b2b101234567
    00000NULDEL0@P`p
    00011SO HDC1!1AQaq
    00102ST XDC2“2BRbr
    00113ETXDC3#3CScs
    01004EO TDC4$4DTdt
    01015ENQNAK%5EUeu
    01106ACKSYN&6FVfv
    01117BELETB'7GWgw
    10008BSCA N(8HXhx
    10019HTEM)9IYiy
    1010ALFSUB*:JZjz
    1011BVTESC+;K〔k{
    1100CFFFS‘N∧n~
    1111FSIUS/?O_oDEL
    b8b7b6b5
    b8
    b700001111
    b600110011
    b501010101
    C
    R
    SPA CE
     
    						
    							105
    Appendix
    Communication Protocols
    The communication protocol of NX-CPU700p PLC provides a complete 
    method of communications between the graphic consol programmers 
    (WinGPC) and the PLC by controlling programs, CPU status, and I/O at 
    user’s convenience. The user can easily expand the capabilities of the 
    overall PLC system by communicating to the PLC using a variety of 
    peripheral communications equipment in accordance with the 
    following communication protocols and procedures. Additionally, the 
    communications protocol allows for the PLCs to communicate to a 
    central computer on a single network using RS485, at a distance of up 
    to 1.2 km (RS232C, 15 m). 
    Communication Protocols for NX-CPU700p
     
     Half duplex asynchronous
     Parity: No parity
     Stop bit: 1 stop bit
     Communication method: RS232 or RS485 (optional)
     Communication speed: 4800/9600/19200/38400 bps (optional) 
     Communication cable: refer to the cable wiring diagram
     Number of PLCs on a single network: Maximum of 64 
    (communicating 1:N using RS485) 
     Maximum communication delay time: 3 seconds
    Communication environment
     
    						
    							106
    Communication Protocols 
      
    Q (Query) is a signal sent from the peripheral devices to the PLC after 
    setting the network ID number and the function code for the PLC to 
    communicate with. 
     
    QA (Query Acknowledge) is a signal sent from the PLC to the 
    peripheral devices, indicating that the Q signal from the peripheral 
    device was received.
      
    RR (Response Request) is a signal sent from the peripheral device to 
    the PLC, indicating that the QA signal from the PLC was received. This 
    signal is sent when Q
    →QA is normal.
      
    When the PLC receives the RR from the peripheral device, it 
    determines that the communication with peripherals is successful and 
    sends R (Response) signal to the peripherals. This R signal contains 
    how the original Q signal from the peripheral device handled its 
    function code. The communication cycle for one function code ends 
    when the PLC sends the R. 
    Communications delay
    The PLC will return a signal after receiving a Q or an RR within a 
    specific time. However, due to errors in the communications network, 
    CRC values, and communication speed flux, there are occasions when 
    the PLC will not receive the signal from the peripheral device. The 
    peripheral device should allow up to three seconds for a response 
    from the PLC. If there are no responses to the Q or the RR message, 
    the communication is considered to have failed, and the Q or RR 
    should be sent again. 
    CPU ID
    All devices connected to the network need a network ID number for 
    communication. There is an available range of 0 to 191 network ID 
    numbers for the NX series. 
    Redundancy is not permitted. When a single PLC and a peripheral 
    device are connected, usually 0, 1, or 255 is assigned as the network ID 
    number to the PLC. When the peripheral device wants to communicate 
    to a connected PLC regardless of its programmed network ID number, 
    it can use global network ID number 255, to which any PLC will 
    respond. However, the NX series can not be used to communicate with 
    more than two CPU modules at one time, so if you assign ID 225 as an 
    ID of more than two CPU modules at once, it will cause 
    communication errors.
    Step 2-QA
    Step 1-Q
    Step 3-RR
    Step 4-R
     Query Query
     Query Query Acknowledge 
     Query 
    Response
     Query Response Request 
     
    						
    							107
    When several CPU modules are connected to one communication 
    network, they must use individual ID numbers. The PLC’s network ID 
    number is configured using the WinGPC.
    Communication steps
    The NX CPU can support 2-step or 4-step communication methods. 
    The communication methods are easily distinguished each other by 
    selecting and sending the function code of the Q frame. Even for the 4-
    step method, the 2-step method can be used for the repeated function. 
    This function sends and receives the only RR repeatedly when you 
    want to redo the frame you sent with query, allowing users to quickly 
    monitor data.
    2-step communication method
    This method allows users to easily and directly program 
    communication since it only uses the simple 
    Q
    →R steps. 
    2-step configuration: 
    Q(step 1) 
    → R(step 2)
    Repeated function code: 
    Q(step 1)
    →R(step 2)→RR(step 1) →R(step 2) → 
    RR(step 1) 
    → R(step 2)....
    4-step communication method 
    Q
     → QA → RR → R. 
    2-step method can be used for the response to the repeated 
    function code. 
    4-step configuration: 
    Q(step 1)
    →QA(step 2)→RR(step 3)→R(step 4)
    Repeated function code: 
    Q(step 1)
    →QA(step 2)→RR(step 3)→R(step 4)→
    RR(step 1)
    →R(step 2)…
     
    						
    							108
    2-step communication method
    4-step communication method
    No communication error
    Peripheral
    device
    PLC
    Peripheral
    device
    PLC
    Peripheral
    device
    PLC
    When R is not received
    Response to repeated function code
    3 seconds
    No communication error
    Peripheral
    device
    PLC
    Peripheral
    device
    PLC
    Peripheral
    device
    PLC
    When QA is not received
    Peripheral
    device
    PLC
    When R is not received
    Response to repeated function code3 secondsFor the internal processing of the 
    PLC CPU send RR at least 5 msec 
    after receiving QA. 
    3 seconds
     
    						
    							109
    Function codes included in the query
    Each function code is 1 byte. When the PLC receives a query (Q), the 
    function code of the final response (R) is formed by adding $80 (hex) to 
    the function code sent by the query. The value added to the function 
    code sent by the query differs for 2-step and 4-step by $20 (hex).
    The function code of the R message can be used by the peripheral 
    device to verify that the correct Q message has been received by the 
    PLC. 
    Communication function codes
      $ notes hexadecimal notations
    The bit/word address assignment uses the absolute address method 
    for reading memory locations. (Refer to Absolute Addressing on 
    Chapter 3)
    Please contact our technical support for more information about 
    reading/writing program or other function codes. 
    Query, which dictionary meaning is `question’, `ask’, or `question mark’, 
    means that a user or an application program requests any specific 
    information to a corresponding part when it is used as a 
    communication term.
    Communication 
    functionQuery (Q) 
    function codeResponse (R) 
    function code
    Remarks
    2-step4-step2-step4-step
    Read bits $21 $01 $A1 $81 Detailed description 
    Write bits $22 $02 $A2 $82
    “
    Read words $23 $03 $A3 $83
    “
    Write words $24 $04 $A4 $84
    “
    Read bits and words $25 $05 $A5 $85
    “
    Write bits and words $26 $06 $A6 $86
    “
    Read program $27 $07 $A7 $87 No detailed description
    Write program $28 $08 $A8 $88
    “
    Read instruction $29 $09 $A9 $89
    “
    Change instruction $2A $0A $AA $8A
    “
    Change operand $2B $0B $AB $8B
    “
    Insert instruction $2C $0C $AC $8C
    “
    Delete instruction $2D $0D $AD $8D
    “
    Search instruction $2E $0E $AE $8E
    “
    Search operand $2F $0F $AF $8F
    “
    Delete all/parts of program $20 $10 $A0 $90
    “
    No service $00 $00 $00 (hex) $00 (hex)
    “
     
    						
    							110
    Cyclic Redundancy Checking (CRC)
    The CRC is a 2-byte checksum code attached to the end of the message 
    by the sender to check if the communication frame is transmitted 
    without error.
    The sender calculates the CRC when it sends one-byte message, and 
    the receiver should also calculate the CRC from the data of the 
    message. Since this CRC calculation takes a long time when writing a 
    communication program, you should find any ways to increase the 
    speed of this part to avoid errors and improve the communication 
    speed.
    CRC-16 calculation subroutine written in BASIC 
    CRC_Sum: CRC-16 reserve code after the calculation (CRC content to be sent at the 
    end of message)
    Data: CRC-16 data input to be calculated (byte data from message)
    1000   CRC_Sum = CRC_Sum XOR Data
    1010   FOR I=1 to 8
    1020    CARRY=CRC_Sum AND 1
    1030   RC_Sum=CRC_Sum SHR 1
    1040   IF CARRY=1 THEN CRC_Sum XOR 0A001H
    1050   NEXT I
    1060   RETURN
    CRC-16 calculation subroutine written in PASCAL 
    Procedure CRC16 (Data: Byte)
    Var i : Byte;
    Begin
    CRC_Sum := CRC_Sum xor Data;
    for i : 1 to 8 do
    Begin
    if((CRC_Sum and 1)=1) then CRC_Sum := (CRC_Sum shr 1) xor $A001;
    Else CRC_Sum: = CRC_Sum shr 1;
    End;
    End;
    CRC-16 calculation subroutine written in C
    Void Crc16 (unsigned int Data) {
    Unsigned int i;
    Crc=Crc^(Data & 0x00FF);
    for(i=0;i>1)^0xA001;
    else Crc=Crc>>1;
    }
    }
    CRC calculation range
    DA SA Function Length Information CRC L CRC H
    CRC calculation range2 bytes
     
    						
    All Samsung manuals Comments (0)

    Related Manuals for Samsung Ht As700 User Manual