Omron SYSMAC C200HS Operation Manual page 297

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Special Instructions
Determining Monitoring Time The procedure below can be used to automatically set the monitoring time, T,
1, 2, 3...
D+1 contains the bit address code of the input condition, as shown below.
The word addresses, bit numbers, and TC numbers are in binary.
Data
A
Area
15
14
13
IR, SR
1
0
0
(see
(see
1
0
1
note c)
HR
1
0
0
LR
1
0
0
TC*
1
0
0
Note a) *For the TC area, bit 09 of D+1 indicates whether the number is a
timer or counter. A 0 indicates a timer, and a 1 indicates a counter.
b) The status of the leftmost bit of the bit number (bit 03) is reversed.
c) Although the same word address designations are used for both
ranges, bit 13 is turned OFF to indicate IR 00000 through SR
25515 and turned ON to indicate SR 25600 through IR 51115
Example: If D + 1 contains 1000 0110 0100 1000, IR 10000 would be indi-
cated as follows:
1000 0110 0100 1000
IR
2. Bit address and message output (used when bit 15 of C is ON).
Bit 15 of D indicates whether or not there is bit address information stored in
D+1 to D+3. If there is, bit 14 of D indicates whether the input condition is
normally open or closed. Refer to the following table.
Words D+5 to D+8 contain information in ASCII that are displayed on a Pe-
ripheral Device along with the bit address when FPD(––) is executed.
Words D+5 to D+8 contain the message preset by the user as shown in the
following table.
Word
Bits 15 to 08
D+1
20 = space
D+2
Second ASCII character of bit address
D+3
Fourth ASCII character of bit address
D+4
2D = "–"
D+5
First ASCII character of message
D+6
Third ASCII character of message
D+7
Fifth ASCII character of message
D+8
Seventh ASCII character of message
Note If 8 characters are not needed in the message, input "0D" after the
last character.
under actual operating conditions when specifying a word operand for T. This
operation cannot be used if a constant is set for T.
1. Switch the C200HS to MONITOR Mode operation.
2. Connect a Peripheral Device, such as a Programming Console.
3. Use the Peripheral Device to turn ON control bit AR 2508.
4. Execute the program with AR 2508 turned ON. If the monitoring time cur-
rently in T is exceeded, 1.5 times the actual monitoring time will be stored in
T. FAL(06) errors will not occur while AR 2508 is ON.
5. Turn OFF AR 2508 when an acceptable value has been stored in T.
D+1 bit status
12
11
10
09
08
07
0
Word address
0
Word address
1
1
Word address
1
0
0
Word address
1
0
1
*
Timer or counter number
$64 = 100
Bit 00 (inverting status of bit 03)
First ASCII character of bit address
Third ASCII character of bit address
Fifth ASCII character of bit address
"0"=normally open,
"1"=normally closed
Second ASCII character of message
Fourth ASCII character of message
Sixth ASCII character of message
Eighth ASCII character of message
Section 5-25
06
05
04
03
02
01
Bit number
Bit number
Bit number
Bit number
Bits 07 to 00
287
00

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents