Compobus/S Distributed I/O Functions (Srm1 Only) - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

CompoBus/S Distributed I/O Functions (SRM1 Only)

Application Example
(Scheduled Interrupt
Mode)
1-8

CompoBus/S Distributed I/O Functions (SRM1 Only)

No. of Connected Nodes
Slave Interrupts
88
In this example, an interrupt is generated every 4.0 ms (1.0 ms
00005 goes ON; the interrupts execute interrupt subroutine number 23.
25315 First Cycle Flag
ON for 1 cycle
00005
A maximum of either 16 or 32 CompoBus/S nodes may be connected.
No. of nodes set
32
16
The maximum no. of nodes can be set from a Programming Device by making
the following settings in DM 6603.
Word
Bit(s)
DM 6603 00 to 03
04 to 15
Note When changes are made to these settings, always turn the power off and on
again to make the new setting effective.
Input bits in IR 000 to IR 007 and output bits in IR 010 to IR 017 are used as
interrupts for CompoBus/S I/O Terminals. The CompoBus/S I/O Terminal
interrupts (IN 0 to 15 and OUT 0 to 15) are allocated as indicated in the follow-
ing table.
IN0 to IN15 are the node addresses for the Input Terminals and OUT0 to
OUT15 are the node addresses for the Output Terminals.
MOV(21)
#0004
Sets the decrementing counter's set value to 4.
(BCD: 0000 to 9999)
DM 0010
MOV(21)
#0010
Sets the decrementing time interval to 1.0 ms.
(BCD: 0005 to 0320)
DM 0011
@STIM(69)
Starts the interval timer in scheduled interrupt mode.
003
DM 0010
Specifies the first word containing the set value.
#0023
Specifies the subroutine number (only the lower by-
tes are effective).
SBN(92)
023
Interrupt program
RET(93)
Communications response time
0.8 ms
0.5 ms
Function
Sets the maximum no. of CompoBus/S nodes
to either 16 or 32.
00: 32 nodes
01: 16 nodes
Not used.
Section 1-8
4) after input
Setting
00 or 01
00

Advertisement

Table of Contents
loading

Table of Contents