Micromod MOD: 1800P - MOD 30ML Identity Module (Version 2) System, I/O and Communications Functions User Manual

Page 266

Advertising
background image

Logic Functions - Book 1

APPENDIX B - MODBUS MASTER CONFIGURATION

B-22

I11 ( LSP DIM1,R written to coil 00001)
I12 ( LSP DIM2,R written to coil 00002)
I13 ( LSP DIM3,R written to coil 00003)
I14 ( LSP DIM4,R written to coil 00004)
I15 ( LSP DIM5,R written to coil 00005)
I16 ( LSP DIM6,R written to coil 00006)
I17 ( LSP DIM7,R written to coil 00007)
I18 ( LSP DIM8,R written to coil 00008)

EX4

Read 10 Discrete (coils) from slave address 4 starting with coil 21 and store as discrete data in the
MODCELL Multiloop Processor database.

Input Data Type Value
I1 ASCII RCS,MM,PORT1
I2 Count 10 ( num read attributes = 10 )
I3 Long State 0
I4 Discrete False
I5 Discrete False
I6 Long State 0
I7 Long State 30 ( if group scan interval is 100
msec this msg is sent every 3 seconds)
I8 (not used)
I9 Long State 4 ( slave addr = 4 )
I10 Count 21 ( starting coil num = 21 )
I11 Discrete False ( stored data from coil num 00021 )
I12 Discrete False ( stored data from coil num 00022 )
I13 Discrete False ( stored data from coil num 00023 )
I14 Discrete False ( stored data from coil num 00024 )
I15 Discrete False ( stored data from coil num 00025 )
I16 Discrete False ( stored data from coil num 00026 )
I17 Discrete False ( stored data from coil num 00027 )
I18 Discrete False ( stored data from coil num 00028 )
I19 Discrete False ( stored data from coil num 00029 )
I20 Discrete False ( stored data from coil num 00030 )

EX5

Write 1 Count Value to slave address 4, Register 12

Input Data Type Value
I1 ASCII WRR,MM,PORT1
I2 Count 1 ( num write attributes = 1 )
I3 Long State 0
I4 Discrete False
I5 Discrete False
I6 Long State 0
I7 Long State 0
I8 ( triggered by discrete LSP EX5,R)
I9 Long State 4 ( slave addr = 4 )
I10 Count 12 ( starting reg num = 12 )
I11 Count 0 ( count written to register 40012 )

Advertising