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+.

    							41
    Special Registers
    Word registers F000 to F015 
    AddressFunctionDescription
    F000 register System check/control System self-check/program checking, operation control
    F001 register System check/clock 0.01/0.02/0.1 ms timer output, calculation results, carry flag
    F002 register Link control Link installation and operation mode setting
    F003 register Link control Link installation and operation mode setting
    F004 register Link status flag Link participating station information
    F005 register Link status flag Link participating station information
    F006 register Link status flag Link data receiving information flag
    F007 register Link status flag Link data receiving information flag
    F008 register Remote control flag Remote operation control flag
    F009 register Remote control flag Remote operation control flag
    F010 register Remote control flag Remote operation control flag
    F011 register Remote control flag Remote operation control flag
    F012 registerUser-defined 
    communication flagFor port COM2
    User-defined communication control flag
    F013 register System reservation
    F014 register PID control PID operation mode and operation/stop control flag
    F015 register PID control PID operation mode and operation/stop control flag
     
    						
    							42
    Word register F000 (F0.0 to F0.15)
    Only a bit process is available.
    AddressFunctionDescriptionNormal status
    F0.00 System checkWhen the power is applied, the system self-checks the 
    ROM. Should any fault exist, the error lamp is turned on. 
    Output and operation are halted. OFF
    F0.01 CPU ROM checkWhen the power is applied, the system self-checks the 
    ROM. Should any fault exist, the error lamp is turned on. 
    Output and operation are halted. OFF
    F0.02 CPU RAM checkWhen the power is applied, the system self-checks the 
    RAM. Should any fault exist, the error lamp is turned on. 
    Output and operation are haltedOFF
    F0.03User program 
    memory errorIf the user program memory is damaged or the program is 
    faulty, the error lamp is turned on. Output and operation 
    are halted.OFF
    F0.04Program syntax 
    errorThe CPU initially runs and checks the user program’s 
    syntax. In the case of an error, the error lamp is turned on. 
    Output and operation are halted.OFF
    F0.05Module range 
    errorIndicates an invalid R word (>64) used. OFF
    F0.06Module change 
    errorOn when an I/O module is removed/added/fails while the 
    system is running. The error lamp is on and the CPU keeps 
    running. Turned off when the error is corrected.OFF
    F0.07 Module type errorOn when the I/O module information that is stored in the 
    CPU and module that is installed are different types, the 
    error lamp is turned on. Operation stops.OFF
    F0.08 Input data controlOff when the running CPU input module’s data is not 
    updated. (Input update is turned Off.) ON
    F0.09Output data 
    controlOff to suspend updating of the output modules while the 
    CPU is in the Run state. (Output update is turned Off). The 
    outputs are maintained in their last valid state prior to 
    update being disabled. ON
    F0.10 All output offTurns all outputs off while CPU is in the Run state. 
    (Outputs are disabled)ON
    F0.11Constant cycle 
    interruptOn when the constant cycle interrupt instructions are used. 
    (Refer to the INT instructions.)
    (The cycle time is defined by the user.)OFF
    F0.12 Watchdog error On when a scan time exceeds the watchdog set time. OFF
    F0.13Disable module 
    type checkingOn when the CPU starts the initial Run and the program is 
    checked without performing I/O module type verification.
    F0.14Program changes 
    during runningOn when a user corrects the program while in Run mode. If 
    there are any syntax errors, the CPU is stopped.
    F0.15 Run state controlOn when the CPU is in the Run state. Off when stopped or 
    paused.ON
     
    						
    							43
    Word register F1 (F1.0 to F1.15)
    Only a bit process is available.
    The 16 bits in the F1 address provide the CPU’s special function and self-diagnosis result. They are used for 
    status contacts only, and are not used to modify or control the PLC. Only the F1.5 instantaneous interrupt display contact 
    should be used as an output contact by the user, to be turned off after power loss indication.
    NOTE
    AddressFunctionDescriptionRemarks
    F1.0 First single scanMaintain On state for first single-scan period, when the CPU 
    shanges its status stop to Run.
    F1.1 Scan clockCycle On/Off state for each scan during the program. 
    (1Scan On, 1Scan Off)
    F1.2 0.02-second clock10 ms: On, 10 ms: Off
    F1.3 0.1-second clock50 ms: On, 50 ms: Off
    F1.4 1-second clock500 ms: On, 500 ms: Off
    F1.5Instantaneous 
    interruptOn when power is off for 20 ms or more. Maintained
    F1.6CPU running 
    statusOn when the CPU is in the run state. 
    F1.7Keep area 
    error displayOn when the K retentive data is destroyed and/or changed.
    F1.8 Carry flag On in the event of carry when performing math instruction.
    F1.9Division 
    by zero errorOn when the denominator of division commands is zero.
    F1.10Range designation 
    errorOn when the absolute address exceeds the specified range.
    F1.11 Reserved System use area Do not use
    F1.12W area error 
    indicationSystem use area
    F1.13 Reserved System use area Do not use
    F1.14 Reserved System use area Do not use
    F1.15 Reserved System use area Do not use
    10m S10m S 10m S
    50m S50m S 50m S
    500mS500mS 500mS
    NOTE
     
    						
    							44
    Word register F12 (F12.0 to F12.15)
    Only a bit process is available.
    Special registers SR0 to SR016 (W2560 to W2576) 
    May be modified - each is composed of 1 word.
    AddressFunctionDescriptionRemarks
    F12.0 RTC check On when the RTC is enabled. -
    F12.2 Flash On when the 9.6 KW of flash memory is installed. -
    F12.3 Flash On when the 16 KW of flash memory is installed. -
    F12.5 Battery errorOn when the battery is not connected or the voltage is 
    lower than the backup voltage.-
    F12.7Periodical scan 
    errorOn when any error exists in the periodical program.
    F12.10 RTC set error On when there is an error setting the RTC. Output
    F12.11Saving Flash and 
    checking bootOff when the program is normally saved into Flash by 
    setting F12.15 On.Output
    F12.12EEPROM backup 
    ch eckOn when the program in EEPROM is the same with that in 
    RAM.
    F12.13 RTC Set 1On when you change the year, month, day, or date. Off 
    when the data set is normal.I/O
    F12.14 RTC Set 2On when you change the hour, minute, or second. Off 
    when the data set is normal.I/O
    F12.15 Saving FlashOn when you save the current program into the flash. Off 
    when the data set is normal.I/O
    AddressFunctionDescription
    SR000 CPU ID numberIndicates the CPU ID number in the lower 8 bits. 0 to 223 are the valid user-
    defined values, 255 is the default value.
    SR001CPU stateIndicates current CPU information state. (run/stop/remote control/error)
    Error = 1
    CPU run control (same as F0.15)
    CPU switch remote control (REM) =1
    CPU switch RUN = 1
    CPU switch STOP= 0
    SR2 Watchdog time Indicates the user program watchdog time (unit: msec)
    SR3 Scan timeIndicates the scan time when executing a program. Updated at every scan 
    (unit: msec)
    SR4 Max. scan time Indicates maximum value of scan time when executing a program.
    SR5 
    to SR7Link module 
    numberLink module number as set by the link # 1, 2, 3
    SR8 PID table PID register block start address
    SR9 
    to SR10Reserved System use area
    SR11 
    to SR16Remote I/O 
    informationRemote setup area
    MSB           ←
                           03         02         01        00
     
    						
    							45
    Special registers SR017 to SR511 (W2577 to W3071) 
    May be changed - each is composed of 1 word.
    * Applied when using wire link modules
    AddressFunctionDescription
    SR017System error 
    informationGives result of self-diagnosis by CPU. Indicates error content .
    Watchdog time error = ON
    Undefined instruction = ON
    Peripheral device fault = ON
    Misc. logic faults = ON
    Logic circuit fault = ON
    Microcomputer fault = ON
    SR018Location of 
    undefined 
    instructionIndicates the location of the instruction (the step number) that caused an 
    undefined instruction error during program execution.
    SR019 Reserved System use area
    SR020 Multiplication Stores high order bit values upon executing 16 bit multiplication instructions.
    SR021 Lower remainderStores the low order bit values of remainder after a division instruction has 
    been executed.
    SR022Higher 
    remainderStores the high order bit values of the remainder after a division instruction 
    has been executed.
    SR023 to 
    SR027Reserved System use area
    SR028 to 
    SR029Defective slot 
    informationLocation of defective slots mounted onto the basic slot
    SR030 to 
    SR48Reserved System use area (syntax information and system information)
    SR49 to SR79 Slot information Stores slot information for installed I/O modules.
    SR261 to 
    SR279 *Remote control 
    domainContains remote I/O configuration data.
    SR289 to 
    SR297RTCContains real time clock information 
    (year, month, day, hour, minute, second, date).
    SR298 to 
    SR373 *User-defined 
    communication 
    areaFor port COM2
    User-defined communication area
    SR374 to 
    SR379 *Link error 
    informationLink error information data.
    SR380 to 
    SR511Reserved System use area
    MSB   ←
                    7       6        5       4         3       2       1        0
     
    						
    							46
    Program syntax error status register SR30 (W2590)
    Indicates the result of the automatic check on the user program syntax 
    when the programmer or GPC executes a syntax check, and when the 
    operation mode is switched from the Stop state to the Run state. If the 
    value of W2590 is not zero, F004 bit turns On. The error lamp also turns 
    On.
    Error correction method: 
    Find the error in the CPU online mode and then correct the program.
    WordBitDescription
    SR300On if the I/O number range of bit process instruction is beyond the specified range or 
    designates an external contact/output module which is not installed.
    1 On if the channel number of the timer or the counter exceeds 255 or is duplicated.
    2On if the bit or word number in the advanced instruction is beyond the specified range or if 
    it designates a module which is not installed.
    3On if a word number in the refresh instruction (INPR, OUTR) is beyond the specified range, 
    or if it designates a module which is not installed.
    4 On if an undefined instruction exists.
    5 On in event of a user program memory writing error.
    6 On in event of miscellaneous errors.
    7 On if the user program memory is abnormal.
    8On if an error on external I/O address and bit/word/double word numbers used occurs. For 
    example, the first slot is set with an input module and OUT R00001 is designated.
    9On if the label numbers of the JMP or CALL instructions exceed 63, the corresponding 
    instruction LBL or SBR does not exist, and/or the corresponding LBL/SBR instructions exist 
    prior to JMP/CALL instructions.
    10 On if the label number of the LBL instruction exceeds 63 and/or is duplicated.
    11 On if the JMPS/JMP instructions are mistakenly combined and/or used.
    12On if the FOR/NEXT instructions are mistakenly combined and/or used more than four 
    times. (Loop)
    13On if SBR/RET instructions are not combined and/or used and/or the SBR instructions 
    overlap or exceed 63.
    14On if NT/RETI instructions are not combined and/or used and/or more than two sets of INT 
    instructions are used.
    15 On if no END instruction inserted automatically.
     
    						
    							47
    Real-time clock registers SR289 to SR297 
    (W2849 to W2857) 
    Sets the time of the built-in clock (RTC) and stores and displays the 
    present time. Data is stored in BCD format. 
    (
    ○: b i t  =  0 ;  ×: bit change)
    * Usable for NX70-CPU70p2 module only
    In SR289, the year can be read in a 4-digit BCD.
    Ex) $1998=1998, $2000=2000
    SR289 to SR297 for clock functions are shown in BCD, so it is convenient to confirm in HEX.
    Set the range as follows:
    Year: 00 to 99, Month: 01 to 12, Day: 01 to 31, Day of Week: 01 to 07 (Sun. to Sat.)
    Hour: 00 to 23, Minute: 00 to 59, Second: 00 to 59
    1. Ladder setting method:
    For example, current date and time are: Tuesday, March 21, 1996, 18:35:07
    2. When changing the year, month, date, or day, new data is input in SR295, SR294, then the F12.14 bit is turned 
    On. The F12.10 bit is kept Off.
    3. When changing the hour, minute, and second, new data is input in SR297, SR296, then the F12.14 bit is turned 
    on. If the new data is not set correctly, the F12.10 bit turns on.
    4. The display date and set value are expressed in BCD so it is convenient to input as hex ($).
    5. The year, month, and day are automatically changed.
    Classification
    AddressBit address
    Adjustment/ 
    indicationDetails
    1514131211109876543210
    Current 
    timeSR289Year 
    (4-digit BCD)
    SR290 Date: day
    ○○××××××○○○○○×× ×
    SR291 Year: month
    ○×××××××○○○×××× ×
    SR292 Second: 00
    ○○××××××○○○○○○○ ○
    SR293 Hour: minute○○××××××○○○○○○○ ○
    Time 
    settingSR294 Date: day
    ○○××××××○○○○○×× ×
    SR295 Year: month
    ○×××××××○○○×××× ×
    SR296 Second: 00
    ○○××××××○○○○○○○ ○
    SR297 Hour: minute○○××××××○○○○○○○ ○
    NOTE
    Designate year, month, 
    day
    Designate hour, minute, second
    Date indicators are 
    Sun (01), Mon (02), Tue (03), 
    Wed (04), Thu (05), Fri (06), 
    and Sat (07)
     
    						
    							48
    Timer/Counter Area
    Timer/counter set value and present value addresses
    If you change the above registers while the program is running or program them incorrectly, errors or damage 
    may occur. Be sure you understand the programming procedures of the timer/counter thoroughly.
     
    Channel
    Set 
    value 
    (SV)Present
    value 
    (PV)
    0 W2048 W2304
    1 W2049 W2305
    2 W2050 W2306
    3 W2051 W2307
    4 W2052 W2308
    5 W2053 W2309
    6 W2054 W2310
    7 W2055 W2311
    8 W2056 W2312
    9 W2057 W2313
    10 W2058 W2314
    11 W2059 W2315
    12 W2060 W2316
    13 W2061 W2317
    14 W2062 W2318
    15 W2063 W2319
    16 W2064 W2320
    17 W2065 W2321
    18 W2066 W2322
    19 W2067 W2323
    20 W2068 W2324
    21 W2069 W2325
    22 W2070 W2326
    23 W2071 W2327
    24 W2072 W2328
    25 W2073 W2329
    26 W2074 W2330
    27 W2075 W2331
    28 W2076 W2332
    29 W2077 W2333
    30 W2078 W2334
    31 W2079 W2335
    32 W2080 W2336
    33 W2081 W2337
    34 W2082 W2338
    35 W2083 W2339
    36 W2084 W2340
    37 W2085 W2341
    38 W2086 W2342
    39 W2087 W2343
    Channel
    Set 
    value 
    (SV)Present 
    value 
    (PV)
    40 W2088 W2344
    41 W2089 W2345
    42 W2090 W2346
    43 W2091 W2347
    44 W2092 W2348
    45 W2093 W2349
    46 W2094 W2350
    47 W2095 W2351
    48 W2096 W2352
    49 W2097 W2353
    50 W2098 W2354
    51 W2099 W2355
    52 W2100 W2356
    53 W2101 W2357
    54 W2102 W2358
    55 W2103 W2359
    56 W2104 W2360
    57 W2105 W2361
    58 W2106 W2362
    59 W2107 W2363
    60 W2108 W2364
    61 W2109 W2365
    62 W2110 W2366
    63 W2111 W2367
    64 W2112 W2368
    65 W2113 W2369
    66 W2114 W2370
    67 W2115 W2371
    68 W2116 W2372
    69 W2117 W2373
    70 W2118 W2374
    71 W2119 W2375
    72 W2120 W2376
    73 W2121 W2377
    74 W2122 W2378
    75 W2123 W2379
    76 W2124 W2380
    77 W2125 W2381
    78 W2126 W2382
    79 W2127 W2383
    ChannelSet value 
    (SV)Present 
    value 
    (PV)
    80 W2128 W2384
    81 W2129 W2385
    82 W2130 W2386
    83 W2131 W2387
    84 W2132 W2388
    85 W2133 W2389
    86 W2134 W2390
    87 W2135 W2391
    88 W2136 W2392
    89 W2137 W2393
    90 W2138 W2394
    91 W2139 W2395
    92 W2140 W2396
    93 W2141 W2397
    94 W2142 W2398
    95 W2143 W2399
    96 W2144 W2400
    97 W2145 W2401
    98 W2146 W2402
    99 W2147 W2403
    100 W2148 W2404
    101 W2149 W2405
    102 W2150 W2406
    103 W2151 W2407
    104 W2152 W2408
    105 W2153 W2409
    106 W2154 W2410
    107 W2155 W2411
    108 W2156 W2412
    109 W2157 W2413
    110 W2158 W2414
    111 W2159 W2415
    112 W2160 W2416
    113 W2161 W2417
    114 W2162 W2418
    115 W2163 W2419
    116 W2164 W2420
    117 W2165 W2421
    118 W2166 W2422
    119 W2167 W2423
    NOTE
     
    						
    							49
     
    Channel
    Set 
    value 
    (SV)Present 
    value 
    (PV)
    120 W2168 W2424
    121 W2169 W2425
    122 W2170 W2426
    123 W2171 W2427
    124 W2172 W2428
    125 W2173 W2429
    126 W2174 W2430
    127 W2175 W2431
    128 W2176 W2432
    129 W2177 W2433
    130 W2178 W2434
    131 W2179 W2435
    132 W2180 W2436
    133 W2181 W2437
    134 W2182 W2438
    135 W2183 W2439
    136 W2184 W2440
    137 W2185 W2441
    138 W2186 W2442
    139 W2187 W2443
    140 W2188 W2444
    141 W2189 W2445
    142 W2190 W2446
    143 W2191 W2447
    144 W2192 W2448
    145 W2193 W2449
    146 W2194 W2450
    147 W2195 W2451
    148 W2196 W2452
    149 W2197 W2453
    150 W2198 W2454
    151 W2199 W2455
    152 W2200 W2456
    153 W2201 W2457
    154 W2202 W2458
    155 W2203 W2459
    156 W2204 W2460
    157 W2205 W2461
    158 W2206 W2462
    159 W2207 W2463
    160 W2208 W2464
    161 W2209 W2465
    162 W2210 W2466
    163 W2211 W2467
    164 W2212 W2468
    165 W2213 W2469
    Channel
    Set 
    value 
    (SV)Present 
    value 
    (PV)
    166 W2214 W2470
    167 W2215 W2471
    168 W2216 W2472
    169 W2217 W2473
    170 W2218 W2474
    171 W2219 W2475
    172 W2220 W2476
    173 W2221 W2477
    174 W2222 W2478
    175 W2223 W2479
    176 W2224 W2480
    177 W2225 W2481
    178 W2226 W2482
    179 W2227 W2483
    180 W2228 W2484
    181 W2229 W2485
    182 W2230 W2486
    183 W2231 W2487
    184 W2232 W2488
    185 W2233 W2489
    186 W2234 W2490
    187 W2235 W2491
    188 W2236 W2492
    189 W2237 W2493
    190 W2238 W2494
    191 W2239 W2495
    192 W2240 W2496
    193 W2241 W2497
    194 W2242 W2498
    195 W2243 W2499
    196 W2244 W2500
    197 W2245 W2501
    198 W2246 W2502
    199 W2247 W2503
    200 W2248 W2504
    201 W2249 W2505
    202 W2250 W2506
    203 W2251 W2507
    204 W2252 W2508
    205 W2253 W2509
    206 W2254 W2510
    207 W2255 W2511
    208 W2256 W2512
    209 W2257 W2513
    210 W2258 W2514
    211 W2259 W2515ChannelSet value 
    (SV)Present 
    value (PV)
    212 W2260 W2516
    213 W2261 W2517
    214 W2262 W2518
    215 W2263 W2519
    216 W2264 W2520
    217 W2265 W2521
    218 W2266 W2522
    219 W2267 W2523
    220 W2268 W2524
    221 W2269 W2525
    222 W2270 W2526
    223 W2271 W2527
    224 W2272 W2528
    225 W2273 W2529
    226 W2274 W2530
    227 W2275 W2531
    228 W2276 W2532
    229 W2277 W2533
    230 W2278 W2534
    231 W2279 W2535
    232 W2280 W2536
    233 W2281 W2537
    234 W2282 W2538
    235 W2283 W2539
    236 W2284 W2540
    237 W2285 W2541
    238 W2286 W2542
    239 W2287 W2543
    240 W2288 W2544
    241 W2289 W2545
    242 W2290 W2546
    243 W2291 W2747
    244 W2292 W2548
    245 W2293 W2549
    246 W2294 W2550
    247 W2295 W2551
    248 W2296 W2552
    249 W2297 W2553
    250 W2298 W2554
    251 W2299 W2555
    252 W2300 W2556
    253 W2301 W2557
    254 W2302 W2558
    255 W2303 W2559
     Channel: The inherent number of the timer and the counter (numbers that are equivalent to 000 of TC000).
     Set Value (SV): The designated value for the timer (to turn On) and the counter (number of times On) to start 
    operation.
     Present Value (PV): Current processing value of the timer (elapsed time) and the counter (number of counts).NOTE
     
    						
    							50Address (register)
    Address refers to the location of memory being used. It can refer to the 
    external I/O module and internal memory.
    An address is categorized into 1 bit, 16 bits (word), or 32 bits (double 
    word).
    Bit
    A bit is the minimum module required for calculation. It can be either 
    On (1) or Off (0).
    Byte
    A byte is made up of 8 bits. It can hold data values from 0 to 255. In 
    base 16, or hexadecimal, a byte can be expressed as 0 to FF. You 
    cannot have a value greater than 255 when using one byte.
    Word
    A word is made of 16 bits. It can hold data values from 0 to 65,535. In 
    base 16 a word can be expressed as 0 to FFFF. 
    NX PLCs set R, M, K, F, and W areas into word areas and can be 
    processed without any separate measures.
    Double Word 
    A double word is made of 32 bits. It can hold data values from 0 to 
    4,294,976,295. In base 16, a double word can be expressed as 0 to 
    FFFFFFFF. In the D32LT, a double word is made up of two consecutive 
    word addresses as follows: 
    Double word address = Start word address + Next word address.
    Scan Time
    The CPU follows a procedure in which it 1) reads the inputs, 2) 
    processes the ladder program, and 3) updates the outputs. It 
    continually repeats this process. This 3-step process is called a “scan,” 
    and the time it takes to complete this process is the “scan time.” In a 
    typical PLC application, most of the scan time is used to process the 
    program. When programming, keep in mind that the scan time will 
    increase as you increase the number of inputs and outputs and/or the 
    size of the program
    Edge
    An edge is defined as the point when an input changes state. For 
    example, a rising edge occurs during the very first scan after the input 
    has changed from Off to On. A falling edge occurs after the input has 
    changed from On to Off.
    Example: When using W003,
         W003 (double word address) =  W003 (start word address) + W004 (next word address)
     
    						
    All Samsung manuals Comments (0)

    Related Manuals for Samsung Ht As700 User Manual