EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Changing the Timer;Counter PV Refresh Mode; Overview

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
313
Changing the Timer/Counter PV Refresh Mode Section 6-4
Note In the same way as for the NT Link (1:N), the status (communicating/not com-
municating) of PTs in the Serial PLC Link can be checked from the Polling
Unit (CPU Unit) by reading the RS-232C Port Communicating with PT Flag
(A393 bits 00 to 07 for unit numbers 0 to 7).
6-4 Changing the Timer/Counter PV Refresh Mode
6-4-1 Overview
The timer/counter PV refresh mode can be set to either BCD mode or binary
mode (see notes).
When binary mode is used, the timer/counter setting time of 0 to 9999 can be
expanded to 0 to 65535. Binary data calculated using other instructions can
also be used for the timer/counter set values. The timer/counter PV refresh
mode can also be specified when the timer/counter set value is specified as
an address (indirect specification). (The setting of the mode as BCD mode or
RS-232C Port
Communicating
with PT Flag
(See note.)
A39300 to
A39307
When the RS-232C port
is being used in NT link
mode, the bit correspond-
ing to the Unit performing
communications will be
ON. Bits 00 to 07 corre-
spond to unit numbers 0
to 7, respectively.
1: Communicating
0: Not communicating
Read Cleared when power is turned ON.
Turns ON the bit corresponding to the
unit number of the PT/Polled Unit that is
communicating via the RS-232C port in
NT Link Mode or Serial PLC Link Mode.
Bits 00 to 07 correspond to unit numbers
0 to 7, respectively.
RS-232C Port
Restart Bit
A52600 Turn ON this bit to restart
the RS-232C port.
Read/write Cleared when power is turned ON.
Turned ON when restarting the RS-232C
port, (except when communicating in
peripheral bus mode).
Note: Depending on the system, the bit may
automatically turn OFF when restart
processing is completed.
RS-232C Port
Error Flag
A52800 to
A52807
When an error occurs at
the RS-232C port, the
corresponding error code
is stored.
Bit 00: Not used.
Bit 01: Not used.
Bit 02: Parity error
Bit 03: Framing error
Bit 04: Overrun error
Bit 05: Timeout error
Bit 06: Not used.
Bit 07: Not used.
Read/write Cleared when power is turned ON.
When an error occurs at the RS-232C
port, the corresponding error code is
stored.
Depending on the system, the flag may
be cleared when the RS-232C port is
restarted.
Disabled during Peripheral Bus Mode,
1:N NT Link Mode, and Serial PLC Poll-
ing/Polled Unit Mode.
RS-232C Port
Settings
Changed Flag
A61902 Turns ON when the com-
munications conditions of
the RS-232C port are
being changed.
1: Changed
0: No change
Read/write Cleared when power is turned ON.
Turns ON while communications condi-
tions settings for the RS-232C port are
being changed.
Turns ON when the CHANGE SERIAL
PORT SETUP instruction (STUP(237)) is
executed.
Turns OFF again when the changes to
settings are completed.
Name Address Details Read/write Refresh timing

Table of Contents

Related product manuals