Example, Fnio s-series, A.5 example – Beijer Electronics NA-9379 User Manual

Page 78

Advertising
background image

78

MODBUS Programmable I/O NA-9379

FnIO S-Series



Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr

A.5 Example

A.5.1. Example of Input Process Image(Input Register) Map
Input image data depends on slot position and expansion slot data type. Input process image data is only ordered
by expansion slot position when input image mode is uncompressed (mode 0, 2). But, when input image mode is
compressed (mode 1, 3), input process image data is ordered by expansion slot position and slot data type.
Input process image mode can be set by special register 0x1114(4372). Refer to 6.3.3.

For example slot configuration

Input Process Image Mode#0

(Status(1word) + Uncompressed Input Processing Data)

Addr.

#15

#14

#13

#12

#11

#10

#9

#8

#7

#6

#5

#4

#3

#2

#1

#0

0x0000

EW

0

0

0

0

0

0

0

FP

Internal protocol Status

0x0001

Discrete In 8pts (Slot#2)

Empty, Always 0

Discrete In 4pts (Slot#1)

0x0002

Analog Input Ch0 high byte (Slot#3)

Analog Input Ch0 low byte (Slot#3)

0x0003

Analog Input Ch1 high byte (Slot#3)

Analog Input Ch1 low byte (Slot#3)

0x0004

Discrete In high 8pts (Slot#4)

Discrete In low 8pts (Slot#4)

0x0005

Discrete In 8pts (Slot#6)

Empty, Always 0

Discrete In 4pts (Slot#5)

0x0006

Analog Input Ch0 low byte (Slot#8)

Empty, Always 0

Discrete In 4pts (Slot#7)

0x0007

Analog Input Ch1 low byte (Slot#8)

Analog Input Ch0 high byte (Slot#8)

0x0008

Discrete In low 8pts (Slot#9)

Analog Input Ch1 high byte (Slot#8)

0x0009

Empty, Always 0

Discrete In 4pts

(Slot#10)

Discrete In high 8pts (Slot#9)

Expansion Module Status :

0: Normal Operation

1: Internal protocol Standby

2: Internal protocol Communication Fault

3: Slot Configuration Failed

4: No Expansion Slot

FP (Field Power) :

0: 24Vdc Field Power On.

1: 24Vdc Field Power Off

EW (MODBUS Error Watchdog) :

0: No Error Watchdog
1: Error Watchdog once more since its last restart, clear counters operation, or power-up.

Slot Address

Module Description

#0

MODBUS Adapter

#1

4-discrete input

#2

8-discrete input

#3

2-analog input

#4

16-discrete input

#5

4-discrete input

#6

8-discrete input

#7

4-discrete input

#8

2-analog input

#9

16-discrete input

#10

4-discrete input

Status
(1word)

Advertising