EasyManua.ls Logo

Omron 3F88L-160 - Page 178

Omron 3F88L-160
238 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...
4-26
H Examples of Executing CompoWay/F Commands with Protocol
Macros
D Examples of Monitoring Resolver Speed and Present Cam Angle
Always
ON
Protocol Macro
Executing Flag
Communications
Port Enabled Flag
PMCR Protocol macro instruction
#01E1 Control data: Communications port No. 0, serial port No. 1, and inner board are used.
#0258 Control data: Send-receive sequence No. 600 (with ASCII code conversion and response) is set.
D00000 First word No. of send data: DM00000 is set.
D00500 First word No. of received data storage: DM00500 is set.
Send Data Word Allocations
D00000 0007
D00001 0000
D00002 0101
D00003 000C
DM address Data
D00004 8000
D00005 0000
D00006 0002
MRC, SRC: Memory Area Read is used, so MRC = 01 Hex and SRC = 01 Hex are set.
(Hexadecimal settings are converted into ASCII code during communications.)
No. of send data bytes: If send data from D00004 to D00006 (6 bytes) are converted into
ASCII code, it will become 12 bytes. So, 000C Hex is set.
Data part of FINS-mini command text (PDU): Data is set in Hex. The settings will be
converted into ASCII code during communications.
No. of send data words: There are seven words from D00000 to D00006, so 0007 Hex is set.
Node No.: The node number of Cam Positioner is 00, so 000 Hex is set.
Same as above.
Same as above.
Note Data part of FINS-mini command text (PDU)
Beginning address No. of items
26 4
“0” “0”
Memory area code: The memory area code for Resolver speed and present cam angle is “80.”
Beginning address: The address for Resolver speed is “0000.”
No. of items: There are two items (Resolver speed and present cam angle), so “0002” is set.
Memory
area code
No. of bytes after
ASCII conversion
Receive Data Word Allocations
D00500 0004
D00501 0000
D00502 0359
D00503 0800
DM address Data
Received data: The present cam angle (359 in this example) is stored
after being converted from ASCII code into a hexadecimal value.
Received data: The cam speed (800 r/min in this example) is stored after
being converted from ASCII code into a hexadecimal value.
No. of received data words: There are four words from D00500 to D00503, so 0004
Hex is stored.
Response code: MRES = 00 and SRES = 00 are stored at normal completion.
Communications Chapter 4

Table of Contents

Other manuals for Omron 3F88L-160

Related product manuals