![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454169.webp)
All BASIC commands
Section 4-2
158
Arguments
•
type
The type of the FINS command. 0 means FINS 0101, read memory
from remote FINS server. 1 means FINS 0102, write memory to the
remote server.
•
network
The destination network. For more details, see the Communication
Commands Reference Manual, cat. num. W342-E1, Section 3.
•
node
The node of the destination FINS server. For more details, see the
Communication Commands Reference Manual, cat. num. W342-E1,
Section 3.
•
unit
The unit number of the destination FINS server. For more details,
see the Communication Commands Reference Manual, cat. num.
W342-E1, Section 3.
•
remote_area
The area of memory accessed on the destination FINS server.
Range: 128..255. Note that this area must be one of the following
values if the destination is another Trajexia system: 0xB0: Integer
VR value; 0xF0: float VR value; 0x82: Integer TABLE value; 0xC2:
float TABLE value.
•
remote_offset
The memory offset on the destination FINS server. Range: 0..65535.
Note that this range will be more limited to the maximum TABLE or
VR addresses if the destination is another Trajexia system.
•
length
The number of items to be transferred. The range will depend upon
the FINS frame length and the capabilities of the client and remote
servers. The range for a Trajexia system is from 1 to 700 integer val-
ues, or 1 to 350 floating point values.
•
local_area
The local (source) memory area. Note that this area must be one of
the following values: 0x00: Integer VR value; 0x01: Integer TABLE
value; 0x02 : float TABLE value.
•
local_offset
The offset of the first value in the local (source) memory area. The
range depends upon the VR or TABLE array size and value for the
length argument.
•
timeout
The number of milliseconds to wait for a response from the destina-
tion FINS server, before timing out.
Note: Be aware that data types from both
remote_area
and
local_area
have to match (both floating point or both integers).
Example
FINS_COMMS(0, 0, 0, 0, $82, 1000, 20, 0, 500, 5000)
This command reads 20 words (
length
=20) of DM PLC memory area
(
remote_area
=$82), starting from DM1000 (
remote_offset
=1000), and
writes it in the CJ1W-MCH72 VR memory in integer format
(
local_area
=0), starting from VR(500) (
local_offset
=500). Thus, values
in PLC memory range DM1000 to DM1019 are placed in CJ1W-MCH72
memory VR(500) to VR(519). The timeout is set to 5 seconds.
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...