Changing The Timer/Counter Pv Refresh Mode; Overview - Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Changing the Timer/Counter PV Refresh Mode

Name
Address
RS-232C Port
A39300 to
Communicating
A39307
with PT Flag
(See note.)
RS-232C Port
A52600
Restart Bit
RS-232C Port
A52800 to
Error Flag
A52807
RS-232C Port
A61902
Settings
Changed Flag
6-4

Changing the Timer/Counter PV Refresh Mode

6-4-1

Overview

Details
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
Turn ON this bit to restart
the RS-232C port.
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.
Turns ON when the com-
munications conditions of
the RS-232C port are
being changed.
1: Changed
0: No change
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).
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
Read/write
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.
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.
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.
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.
Section 6-4
Refresh timing
311

Advertisement

Table of Contents
loading

Table of Contents