Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 251

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

FINS Commands
Command Format
23
01
Command
No. of
code
bits/flags
Response Format
Parameters
CIO Area
Work Area
Holding Bit Area
Timer Area
Counter Area
Comments
Set/reset
Bit/flag
designation
I/O memory area code
Forced set/reset data
23
01
Command
End code
code
Number of bits/flags (command)
Specify the number of bits/flags to be controlled.
Set/reset designation (command)
Specify the action to be taken for each bit/flag.
Value
(hex)
0000
Forced reset
0001
Forced set
8000
Forced set/reset OFF release
8001
Forced set/reset ON release
FFFF
Forced set/reset release
I/O memory area code (command)
Specify the I/O memory area of the bit or flag to be controlled.
Bit/Flag (command)
Specify the bit or flag to be controlled. The memory areas in which bits/flags
can be controller are given in the following table. Refer to 5-2-2 I/O Memory
Address Designations for the specific addresses that can be used.
Area
CIO
WR
HR
TIM
CNT
End code (response)
Refer to 5-1-3 End Codes for information on end codes.
To force set/reset multiple bits/flags, specify the "set/reset designation," the
"I/O memory area code," and the "bit/flag" parameters for the number of bits/
flags set in the "number of bits/flags" parameter.
Note If "forced set/reset OFF release (8000)" or "forced set/reset ON release
(8001)" is exceeded for a bit/flag that does not have forced status, only the bit/
flag's ON/OFF status will be affected.
Set/reset designation
Name
Data type
CS/CJ mode
memory area
code (hex)
Bit
30
31
32
Completion Flag 09
Section 5-3
Bit/flag
I/O memory area code
Forced set/reset data
Operation
Turns OFF (0) the bit/flag and places
it in forced status. (See note.)
Turns ON (1) the bit/flag and places it
in forced status.
Turns OFF (0) the bit/flag and
releases the forced status.
Turns ON (1) the bit/flag and releases
the forced status.
Releases the forced status while
retaining the ON/OFF status.
CV mode
Bytes per
memory area
code (hex)
00
1
---
---
01
1
element
229

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents