Iai-america XSEL Ethernet Manuel d'utilisateur Page 27

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 60
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 26
- 21 -
4.4.2 Big Endian Operation
To align the word handling between Modbus/TCP and the X-SEL controller, the I/O operation mode
must be set to the big endian with an FMIO command before executing a DI/DO operation
command in any X-SEL task.
With this setting the remote I/O field accessed via word operation with an IN, INB, OUT or OUTB
command of the X-SEL controller can be handled as the same data when the same field is
word-accessed via Modbus/TCP.
The following examples are based on 256-bit assignments from the head DO number (= 300) in
X-SEL as Modbus/TCP remote I/Os.
The only difference from the examples shown in 4.4.1, “Little Endian Operation,” is the byte order
of the word registers.
(Note) Remote I/Os can be defined only as consecutive numbers.
The assignable head number must satisfy: 300 + 8n (31 n 0).
The total number of assignable bits must satisfy: m + n < 32 & 32 m, where m represents
the number of assigned remote I/O bytes.
[Modbus/TCP input areas (assignment of X-SEL DO area 300 onward)]
Address
BIT7
(MSB)
6 5 4 3 2 1
0
(LSB)
X-SEL DO 307 306 305 304 303 302 301 300
Modbus/TCP bit address 0 1 2 3 4 5 6 7
Modbus/TCP word address 0 Upper byte
Modbus input status 10001 10002 10003 10004 10005 10006 10007 10008
Modbus input register 30001 Upper byte
X-SEL DO 315 314 313 314 315 310 309 308
Modbus/TCP bit address 8 9 10 11 12 13 14 15
Modbus/TCP word address 0 Lower byte
Modbus input status 10009 10010 10011 10012 10013 10014 10015 10016
Modbus input register 30001 Lower byte
:
:
X-SEL DO 547 546 545 544 543 542 541 540
Modbus/TCP bit address 240 241 242 243 244 245 246 247
Modbus/TCP word address 15 Upper byte
Modbus input status 10248 10249 10250 10251 10252 10253 10254 10255
Modbus input register 30016 Upper byte
X-SEL DO 555 554 553 552 551 550 549 548
Modbus/TCP bit address 15 Lower byte
Modbus/TCP word address 248 249 250 251 252 253 254 255
Modbus input status 10249 10250 10251 10252 10253 10254 10255 10256
Modbus input register 30016 Lower byte
Cannot be used
Input status: input discretes single bit, provided by an I/O system, read-only
Output coil: output discretes single bit, alterable by an application program, read-write
Input register: input registers 16-bit quantity, provided by an I/O system, read-only
Output register: output registers 16-bit quantity, alterable by an application program, read-write
The output areas are described on the next page.
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 59 60

Commentaires sur ces manuels

Pas de commentaire