Omron CP1H CPU Operation Manual page 692

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Auxiliary Area Allocations by Address
Address
Name
Words
Bits
A351
All
Calendar/
to
Clock Area
A354
A351.00
to
A351.07
A351.08
to
A351.15
A352.00
to
A352.07
A352.08
to
A352.15
A353.00
to
A353.07
A353.08
to
A353.15
A354.00
to
A354.07
A360
A360.01
Executed FAL
to
to
Number Flags
A391
A391.15
A392
A392.04 Serial Port 2
Error Flag
A392.05 Serial Port 2
Send Ready
Flag
(No-protocol
mode)
A392.06 Serial Port 2
Reception
Completed
Flag
(No-protocol
mode)
A392.07 Serial Port 2
Reception
Overflow Flag
(No-protocol
mode)
658
Function
These words contain the CPU Unit's
internal clock data in BCD. The clock
can be set from the CX-Programmer
such as a Programming Console,
with the DATE(735) instruction, or
with a FINS command (CLOCK
WRITE, 0702).
Seconds (00 to 59) (BCD)
Minutes (00 to 59) (BCD)
Hours (00 to 23) (BCD)
Day of the month (01 to 31) (BCD)
Month (01 to 12) (BCD)
Year (00 to 99) (BCD)
Day of the week (00 to 06) (BCD)
00: Sunday, 01: Monday, 02: Tues-
day,
03: Wednesday, 04: Thursday,
05: Friday, 06: Saturday
The flag corresponding to the speci-
fied FAL number will be turned ON
when FAL(006) is executed. Bits
A360.01 to A391.15 correspond to
FAL numbers 001 to 511.
The flag will be turned OFF when the
error is cleared.
ON when an error has occurred at
the serial port 2. (Not valid in Periph-
eral Bus Mode or NT Link mode.)
ON when the serial port 2 is able to
send data in no-protocol mode.
ON when the serial port 2 has com-
pleted the reception in no-protocol
mode.
• When the number of bytes was
specified: ON when the specified
number of bytes is received.
• When the end code was specified:
ON when the end code is received
or 256 bytes are received.
ON when a data overflow occurred
during reception through the serial
port 2 in no-protocol mode.
• When the number of bytes was
specified: ON when more data is
received after the reception was
completed but before RXD(235)
was executed.
• When the end code was specified:
ON when more data is received
after the end code was received
but before RXD(235) was exe-
cuted.
ON when 257 bytes are received
before the end code.
Settings
Status
Status
after
at star-
mode
change
---
Retained Retained Written
ON: That FAL
Retained Cleared
was executed
OFF: That
FAL wasn't
executed
ON: Error
Retained Cleared
OFF: No error
ON: Able-to-
Retained Cleared
send
OFF: Unable-
to-send
ON: Recep-
Retained Cleared
tion com-
pleted
OFF: Recep-
tion not com-
pleted
ON: Overflow
Retained Cleared
OFF: No
overflow
Appendix D
Write
Related
timing
flags, set-
tup
tings
---
every cycle
Refreshed
A402.15
when error
occurs.
Refreshed
---
when error
occurs.
Written
---
after trans-
mission
Written
---
after
reception
---
---

Advertisement

Table of Contents
loading

Table of Contents