914
Display Instructions Section 3-25
Variations
Applicable Program Areas
Operands S: Display source word
C: Control word (digit specification)
0000 hex: Display leftmost two digits
0001 hex: Display rightmost two digits
Operand Specifications
Description When the execution condition goes ON, SCH(047) displays the leftmost or
rightmost two hexadecimal digits of S on the 7-segment display on the CPU
Unit. Any value between 00 and FF hexadecimal can be displayed. The value
of C determines if the leftmost two digits or rightmost two digits are displayed.
The display will remain even if the execution condition of SCH(047) goes OFF.
Use SCTRL(048) to clear the display.
If the contents of C is not 0000 or 0001 hex, an error will occur, the ER Flag
will turn ON, and nothing will be displayed.
Flags
Precautions If displays are created by more than one SCTRL(048) or SCH(047) instruc-
tion, the last one that is executed with take priority.
Variations Executed Each Cycle for ON Condition SCH(047)
Executed Once for Upward Differentiation @SCH(047)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area S C
CIO Area CIO 0 to CIO 6143 ---
Work Area W0 to W511 ---
Holding Bit Area H0 to H511 ---
Auxiliary Bit Area A0 to A959 ---
Timer Area T0000 to T4095 ---
Counter Area C0000 to C4095 ---
DM Area D0 to D32767 ---
Indirect DM addresses
in binary
@ D0 to @ D32767 ---
Indirect DM addresses
in BCD
*D0 to *D32767 ---
Constants #0000 to #FFFF #0000, #0001
Data Registers DR0 to DR15 ---
Index Registers --- ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047,IR0 to –
2048 to +2047,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
---
Name Label Operation
Error Flag ER C contains a value other than 0000 or 0001 hex.
OFF in all other cases.