Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 204

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Auxiliary Area and CIO Area Allocations
Name
Address
Repeat
Board:
Counter Set
CIO 1914 bits 08 to
Value
15 (port 1)
CIO 1924 bits 08 to
15 (port 2)
Unit:
n + 14 bits 08 to 15
(port 1)
n + 24 bits 08 to 15
(port 2)
Repeat
Board:
Counter
CIO 1914 bits 00 to
Present
07 (port 1)
Value
CIO 1924 bits 00 to
07 (port 2)
Unit:
n + 14 bits 00 to 07
(port 1)
n + 24 bits 00 to 07
(port 2)
The number of times a step is repeated is set
in these bits.
The repeat counter variable N is set. The
value is cleared when the sequence execu-
tion starts, when the STUP(237) instruction
is executed, and at restarts.
The present value N varies according to the
method used to initialize the value. For
resets, the variable N is set to 0 when the
step is started, and the step is executed
according to the set number of times. For
holds, the variable N for the present value is
held when the step is started, and the step is
executed according to the set number of
times.
If the Repeat Counter Setting Value is set to
read word R (see note), and 0 is read, then 0
will be stored and this step will be skipped
(the next process setting will be ignored),
and the sequence will move to the next step
(+ 1). For details, refer to the CX-Protocol
Operation Manual (W344).
Note The flags will also be initialized at the following times: When the operating
mode is changed between PROGRAM and RUN or MONITOR modes and
when the Board or Unit is restarted. If an error flag turns ON, remove the
cause of the error and then reset the error indication from the Programming
Console or other Programming Device.
Error Codes
The contents of the error codes are shown in the following table.
Code
0
No error
2
Sequence No. Error
The sequence number specified by the
PMCR(260) instruction does not exist in the Board
or Unit.
3
Data Read/Write Area Exceeded Error
When data is written or read to the CPU Unit, the
specified area range was exceeded.
4
Protocol Data Syntax Error
A code that cannot be executed occurs while the
protocol macro was executed. (Example: A header
occurs after a terminator.)
Meaning
Error contents
Section 5-3
Timing
Initialize
ON
Startup
When step
When
(see note)
starts
sequence
starts
Startup
When
When
(see note)
repeat
sequence
counter is
starts
refreshed
Protocol macro
execution
Executed
Not executed
Execution stops after
the error occurs.
OFF
175

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents