Omron CS1G/H-CPUxxH Instructions Manual page 865

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Serial Communications Instructions
3-24-2 PROTOCOL MACRO: PMCR(260)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
844
Calls and executes a communications sequence registered in a Serial Com-
munications Board (CS Series only) or Serial Communications Unit.
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program
areas
OK
C1: Control Word 1 and C2: Control Word 2
The contents of the two control words are shown below.
15
12
C1
Communications port number (logical port)
0 to 7 hex (F hex: Automatic allocation)
15
C2
Note Refer to Automatic Allocation of Communications Ports on page 872 for
details on using automatic allocation of the communications port number (log-
ical port).
S: First Send Word and Send Area
The first word of the words required to send data is specified. S contains the
number of words to be sent +1 (i.e., including the S word) and send data
starts in S+1. Between 0000 and 00FA hex (0 and 250 decimal) words can be
sent.
PMCR(260)
C1
C1: Control word 1
C2
C2: Control word 2
S
S: First send word
R
R: First receive word
Step program
areas
OK
OK
11
8
7
4
3
0
Unit address of communications partner
CS1 CPU Bus Unit: Unit number + 10 hex
Inner Board: E1 hex (CS Series only)
Serial port number (physical port)
1 to 2 hex (1 hex: Port 1, 2 hex: Port 2)
0
Communications sequence number
0000 to 03E7 hex (000 to 999 decimal)
Section 3-24
PMCR(260)
@PMCR(260)
Not supported.
Subroutines
Interrupt tasks
OK

Advertisement

Table of Contents
loading

Table of Contents