Download Print this page

Omron CPM2C Operation Manual page 20

Hide thumbs Also See for CPM2C:

Advertisement

Calendar/Clock
Long-term Timer
Complete Communications Capabilities
Host Link
No-protocol
Communications
High-speed 1:1 NT Link
Communications
In CPU Units with a built-in clock, the clock (accuracy within 1 minute/month) can
be read from the program to show the current year, month, day, day of the week,
and time. The clock can be set from a Programming Device (such as a Program-
ming Console) or the time can be adjusted by rounding up or down to the nearest
minute.
TIML(----) is a long-term timer that accommodates set values up to 99,990 sec-
onds (27 hours, 46 minutes, 30 seconds). When combined with the SECONDS
TO HOURS conversion instruction (HMS(----)), the long-term timer provides an
easy way to control equipment scheduling.
A Host Link connection can be made through the PC's RS-232C port or Periph-
eral port. A personal computer or Programmable Terminal connected in Host
Link mode can be used for operations such as reading/writing data in the PC's
I/O memory or reading/changing the PC's operating mode.
1:1 Host Link Communications
CPM2C
The TXD(48) and RXD(47) instructions can be used in no-protocol mode to ex-
change data with standard serial devices. For example, data can be received
from a bar code reader or transmitted to a serial printer. The serial devices can
be connected to the RS-232C port or Peripheral port.
Inputting data from
a bar code reader
Bar code
reader
In a 1:1 NT Link, an OMRON Programmable Terminal (PT) can be connected
directly to the CPM2C. The PT must be connected to the RS-232C port; it cannot
be connected to the Peripheral port.
OMRON PT
1:N Host Link Communications
B500-AL004
Link Adapter
NT-AL001
(Up to 32 PCs can be connected.)
Outputting data to
a serial printer
CPM2C
Serial
printer
Section
1-1
CPM2C
CPM2C
CPM2C

Advertisement

loading