background image

iSMA-B-AAC20/Sedona Modbus 

Version 1.3 

www.gc5.pl 

Page 23 / 55

 

Fast Rate 

 Time between me

ssages in „Fast” mode poll 

frequency, 

Normal Rate 

 Time between me

ssages in „Normal” mode poll frequency,

 

Slow Rate 

 Time between me

ssages in „Slow” mode poll frequency,

 

Average Poll Time 

 Average time for sending/receiving one message, 

Busy Time 

 Percentage of Modbus network usage, 

Total Polls 

 Total number of messages, 

Fast Polls 

 Number of me

ssages in sending „Fast” mode

Normal Polls 

 Number of me

ssages in sending „Normal” mode

Slow Polls 

 Number of me

ssages in sending „Slow” mode

Timeouts 

 Number of lost messages, difference between sending and receiving messages, 

Errors 

 Number of error messages (for example with wrong CRC) 

Free points 

 Number of available physical points in Modbus Network. 

5.3

 

Modbus TCP Device 

ModbusDeviece is a component which is responsible for servicing physical Modbus TCP slave 
devices.  Each  Modbus  device  is  represented  by  an  IP  address,  port  number  (default  for 
Modbus 502) and Device address (1 to 247).  

The component has Ping action available under the right mouse button, which sends test 
message to device to check device status. 

Each ModbusDevice has a “Ping Address” container 

slot with 3 properties slots (Address Format, Ping Address Reg, Ping Type). These properties 
specify a particular data address (either input register or holding register) to use as the device 

status test (meaning “Monitor” ping requests). Ping requests are generated at the network

-

level by the configurable network monitor (ModbusNetwork -> Ping Enabled). When enabled, 

a network’s monitor periodically pings (queries) this add

ress. While receiving Any response 

from the device, including an exception response, this is considered proof of communication, 

and the Modbus client device is no longer considered “down” if it had been previously marked 
“down”. The 

component has Ping action available under the right mouse button, with sends 

test message to device to check device status. 

Summary of Contents for iSMA-B-AAC20

Page 1: ...iSMA B AAC20 User Manual Sedona Modbus Global Control 5 Sp z o o Warsaw Poland www gc5 pl ...

Page 2: ...bus TCP Network kit 21 5 1 Modbus TCP license and limitation 21 5 2 Modbus TCP Network 21 5 3 Modbus TCP Device 23 5 4 Modbus TCP data points 25 5 4 1 Modbus TCP Boolean Point 25 5 4 2 Modbus TCP Boolean Writable 27 5 4 3 Modbus TCP Numeric Point 28 5 4 4 Modbus TCP Numeric Writable 30 5 4 5 Modbus TCP Numeric Multi Point 31 5 5 Modbus folder 33 6 Modbus TCP Slave Network kit IP Module 34 6 1 Modb...

Page 3: ...iSMA B AAC20 Sedona Modbus Version 1 3 www gc5 pl Page 3 55 8 3 2 DO components 46 8 3 3 UI components 47 8 3 4 AO components 48 8 3 5 iSMA Folder 49 9 iSMA B AAC20 Modbus table 50 ...

Page 4: ...nication transactions Modbus devices communicate using a master slave method in which only the master device can initiate a communications transaction There can be only one master device on a Modbus network All other devices must be Modbus Slaves WARNING Before programming Modbus kits please check if the latest kit version is used The latest kits are available on GC5 support website www support gc...

Page 5: ...s Or simply inputs single bit flags that represent the status of Digital Boolean Inputs of the slave that is On Off output status A Modbus Master can read only inputs Input register Are 16 bit registers that store data collected from the field by the Modbus Slave The Modbus Master can read only input registers Holding register Are 16 bit registers that store general purpose data in the Modbus Slav...

Page 6: ...d range of interest Modbus data in a device is addressed as follows Coils Addressed at 00000 0nnnn decimal or 0x addresses Inputs Addressed at 10000 1nnnn decimal or 1x addresses Input Registers Addressed at 30000 3nnnn decimal or 3x addresses Holding Registers Addressed at 40000 4nnnn decimal or 4x addresses Note the data addressing at least in decimal and hex formats is zero based where the firs...

Page 7: ... IP connection iSMA Modbus TCP Slave Network to serve Modbus TCP Slave of the iSMA B AAC20 controller using IP connection To install Modbus kits import the kits to the WorkPlace software possibly as part of the package of various kits in a zip file To do this use an application from the Tools menu Sedona Installer After successful import of the files upload the files to your device using the Kit M...

Page 8: ...and this number cannot be expanded Number of available points is shown in ModbusAsyncNetwork component in slot Free Points WARNING Each device and data point is counted as one point For example to read 7 data points from 15 devices Points number 15 1 7 105 4 2 Modbus Async Network Modbus Network is a main component which is responsible for servicing RS485 COM2 physical port The component must be p...

Page 9: ...isable Steady Time Network start up delay time after power up or reset Baud Rate Modbus RS485 port baud rate available options 2400 4800 9600 19200 38400 57600 115200 bps Stop Bits Stop bit definition available options 1 bit 2 bits Data Bits Data bits definition available options 7 bits or 8 bits Parity Parity bit definition available options None Odd Even Always1 Always0 Modbus Type Modbus type d...

Page 10: ... frequency Normal Rate Time between messages in Normal mode poll frequency Slow Rate Time between messages in Slow mode poll frequency Average Poll Time Average time for sending receive one message Busy Time Percentage of Modbus Network usage Total Polls Total number of messages Fast Polls Number of messages in sending Fast mode Normal Polls Number of messages in sending Normal mode Slow Polls Num...

Page 11: ...sAsyncDevice has a Ping Address container slot with 3 properties slots Address Format Ping Address Reg Ping Type These properties specify a particular data address either input register or holding register to use as the device status test meaning Monitor ping requests Ping requests are generated at the network level by the configurable network monitor ModbusNetwork Ping Enabled When enabled a netw...

Page 12: ...s device error status true device communication error Enable Enable Disable device Device Address Modbus device physical address 0 network broadcast address 1 248 addressing range Timeout Max device response time from device request Inter Message Delay Time between messages sending to device Retry Count Max error messages CRC error lost messages Address Format Modbus address format Modbus Decimal ...

Page 13: ...numeric value Modbus commands Input 0x04 Holding 0x03 Numeric Writable Read write numeric value Modbus commands 16 bits Int SInt 0x06 32 bits Long SLong Float 0x16 Numeric Multi Point Read up to 8 16 bits registers Modbus command 0x16 4 4 1 Modbus Async Boolean Point Modbus Async Boolean Point is a component which is responsible for reading Boolean values from the device The component has Read act...

Page 14: ...nable disable true Point enable false Point disable Address Format Register address format available options Modbus Decimal Address Register address Poll Frequency Reading poll frequency available options Fast Normal Slow Status Type Type of reading register available options Input 0x02 Coil 0x01 Out Current value of read registry 4 4 2 Modbus Async Boolean Writable Modbus Async Boolean Writable i...

Page 15: ...at according to address format setting slot Device disabled Device is disabled Network disabled Modbus Network is disabled Fault Cause Fault cause description Fault Status Point error status true point read write error Enable Point enable disable true Point enable false Point disable Address Format Register address format available options Modbus Decimal Address Register address Poll Frequency Rea...

Page 16: ...he component has Read action available under the right mouse button which forces the reading of the point Figure 6 Modbus Async Numeric Point component Modbus Async Numeric Point component has the following slots Status Point status available states OK Point is working properly Disabled Point is disable Slot Enable is in false Down Timeout Point is not available Device Down Device is not available...

Page 17: ...e Type of reading register available options Input 0x04 Holding 0x03 Data Type Reading registry data type available options Int 16 bits Long 32 bits Float 32 bits float point SInt 16 bits with sing Slong 32 bits with sing Out Current value of read registry 4 4 4 Modbus Async Numeric Writable Modbus Async Numeric Writable is a component which is responsible for sending and reading numeric values fr...

Page 18: ... Device disabled Device is disabled Network disabled Modbus Network is disabled Fault Cause Fault cause description Fault Status Point error status true point read write error Address Format Register address format available options Modbus Decimal Address Register address Data Type Read write registry data type available options Int 16 bits Long 32 bits Float 32 bits float point SInt 16 bits with ...

Page 19: ...t 4 4 5 Modbus Async Numeric Multi Point Modbus Async Numeric Multi Point is a component which is responsible for reading up to 8 16 bits registers from the device in one message The component use 0x16 Modbus command The component has Read action available under the right mouse button which forces the reading of the point Figure 8 Modbus Async Numeric Multi Point component ...

Page 20: ...ror status true point read error Enable Point enable disable true Point enable false Point disable Address Format Register address format available options Modbus Decimal Address Register address Poll Frequency Reading poll frequency available options Fast Normal Slow Reg Type Type of reading register available options Input 0x04 Holding 0x03 Data Type Read data type Int unsigned values Sint signe...

Page 21: ...busTcpNetwork component in slot Free Points WARNING Each device and data point is counted as one point For example to read 4 data points from 2 devices Points number 2 1 4 10 5 2 Modbus TCP Network Modbus TCP network is a main component which is responsible for servicing IP communication to slave devices The component must be placed under Drivers folder ModbusNetwork sets parameters such as commun...

Page 22: ...alse Network disable Steady Time Network start up delay time after power up or reset Ping Enable Enable devices connection testing function Ping Frequency Time between testing message to check device connection Down Frequency Time between testing message for devices or points which have got status down Write On Start Do write action in device Writable components in Modbus network after reset or po...

Page 23: ... TCP slave devices Each Modbus device is represented by an IP address port number default for Modbus 502 and Device address 1 to 247 The component has Ping action available under the right mouse button which sends test message to device to check device status Each ModbusDevice has a Ping Address container slot with 3 properties slots Address Format Ping Address Reg Ping Type These properties speci...

Page 24: ...led Fault Cause Fault cause description Fault Status Device error status true device communication error Enable Enable Disable device IP Address Slave device gateway IP address Port Slave device gateway Modbus TCP port number default 502 Device Address Modbus device address 0 broadcast 1 248 addressing range Timeout Max device response time from device request Inter Message Delay Time between mess...

Page 25: ...mmand 0x02 Boolean Writable Read write Boolean value Modbus command 0x05 Numeric Point Read numeric value Modbus commands Input 0x04 Holding 0x03 Numeric Writable Read write numeric value Modbus commands 16 bits Int SInt 0x06 32 bits Long SLong Float 0x16 Numeric Multi Point Read up to 8 16 bits registers Modbus command 0x16 5 4 1 Modbus TCP Boolean Point Modbus TCP Boolean Point is a component wh...

Page 26: ...correct address format according to address format setting slot Device disabled Device is disabled Network disabled Modbus Network is disabled Fault Cause Fault cause description Fault Status Point error status true point read error Enable Point enable disable true Point enable false Point disable Address Format Register address format available options Modbus Decimal Address Register address Poll...

Page 27: ...nds it to the device not active when slot In have connected link Write send value from slot In to the device Read read value from device and send to slot Out Figure 12 Modbus TCP Boolean Writable component Modbus Boolean Writable component has the following slots Status Point status available states OK Point is working properly Disabled Point is disable Slot Enable is in false Down Timeout Point i...

Page 28: ... address Poll Frequency Reading poll frequency available options Fast Normal Slow Write Type Writing mode available options COV only on input change COV_PollFrequency on input change and periodically PollFrequency only periodically Trigger Remote force sending trigger on rising edge Out Output slot current value of read write registry In Input slot 5 4 3 Modbus TCP Numeric Point ModbusClientNumeri...

Page 29: ... address format Incorrect address format according to address format setting slot Device disabled Device is disabled Network disabled Modbus Network is disabled Fault Cause Fault cause description Fault Status Point error status true point read error Enable Point enable disable true Point enable false Point disable Address Format Register address format available options Modbus Decimal Address Reg...

Page 30: ...onsible for sending and reading Numeric values from device The component has the following actions available under the right mouse button Set Write value to slot In and sends it to the device Write send value from slot In to device Read read value from device and sends it to slot Out Figure 14 Modbus TCP Numeric Writable component Modbus Numeric Writable component has following slots Status Networ...

Page 31: ... 32 bits Float 32 bits float point SInt 16 bits with sing Slong 32 bits with sing Poll Frequency Reading poll frequency available options Fast Normal Slow Write Type Writing mode available options COV only on input change COV_PollFrequency on input change and periodically PollFrequency only periodically Trigger Remote force sending trigger on rising edge Out Output slot current value of device reg...

Page 32: ... address format according to address format setting slot Device disabled Device is disabled Network disabled Modbus Network is disabled Fault Cause Fault cause description Fault Status Point error status true point read error Enable Point enable disable true Point enable false Point disable Address Format Register address format available options Modbus Decimal Address Register address Poll Freque...

Page 33: ...ading register in one messages Out Current value of read registry 5 5 Modbus folder ModbusFolder is a component which groups and organizes Modbus points components Because of Sedona components name are limited to 7 characters ModbusFolder has Description Slot where we can us up to 32 characters ...

Page 34: ...application which is always active The controller has built in register table to read write data Addresses from 0 to 999 decimal numeration are reserved for controller registers To see list of registers and registers parameters go to iSMA B AAC20 Modbus Table chapter Addresses from 1000 2999 are free to use and can be adopted in user application Figure 16 Modbus TCP topology ...

Page 35: ...ser registers Figure 17 Modbus TCP Slave network component Modbus TCP Slave Network has the following slots Status Network status Fault Cause Fault cause description Modbus TCP Port Modbus TCP Port number default 502 Modbus Device Address Controller Modbus address Watchdog Time Time between receive valid messages after which controller will set default values on outputs value 0 disable this functi...

Page 36: ... for Boolean or nan for numeric value WARNING Using controller outputs in Sedona application will disable writing faction to controller outputs registers In this case Sedona application has higher priority 6 2 1 Boolean Value Boolean Value component is responsible for reading and writing to controller Modbus table Boolean value Value can be read only for Modbus Master Bit Type Discrete Input or re...

Page 37: ...r Modbus table trigger on rising edge Out Output slot current value of device registry In Input slot 6 2 2 Numeric Value Numeric Value component is responsible for reading and writing to controller Modbus table numeric value Value can be read only for Modbus Master Register Type Input Register or read and write for Modbus Master Register Type Holding Register Writing Boolean value use the same tab...

Page 38: ...iSMA B AAC20 Sedona Modbus Version 1 3 www gc5 pl Page 38 55 Figure 19 Modbus TCP Slave Numeric value component ...

Page 39: ...Sint Long Slong Float WARNING Long Slong and Float are 32bit and they use 2 registers Register Type Register type for Master Device Holding Register read write Input Register read only Trigger Remote force Input value writing to controller Modbus table trigger on rising edge Out Output slot current value of device registry In Input slot 6 3 Modbus Folder ModbusFolder is a component which groups an...

Page 40: ...to bootloader mode It also cooperate with iSMA devices MINI and MIX IP series Modbus IP RS485 gateway function From software side controller is shown as an IP device COM1 default settings Modbus Address 1 register number 2 Dec Baud Rate 115200 value 11520 register number 135 Dec Stop Bits 1 register number 136 Dec Data Bits 8 register number 137 Dec Parity bits None register number 138 Dec Respons...

Page 41: ... 20 RJ12 connector pins numbers RJ12 pins description Pin1 G0 potential SD card side Pin2 RS485 B Pin3 RS485 A Pin4 G0 potential Pin5 G potential directly connecter to G terminal in power supply Pin6 G potential directly connecter to G terminal in power supply USB side ...

Page 42: ...e is no ModbusAsyncNetwork component in Sedona application or the component is disable ModbusAsyncNetwork Enable slot in false state RS485 communication parameters can be setup by Controller configuration Web Page Modbus Async Network component remember to set false in Enable slot Controller Modbus register table see iSMA B AAC20 Modbus table chapter Figure 21 Modbus TCP gateway topology ...

Page 43: ...g physical inputs outputs and configuration parameters iSMA Modules are an extension of Modbus Async Network designed to easily serve iSMA devices series like MIX modules MINI modules and Wireless Module using Modbus ASCII RTU protocol iSMA Modules kit consists of 4 types of components Modbus Network iSMA Device iSMA IO Points iSMA device config iSMA points folder WARNING iSMA Device must be place...

Page 44: ... is a special component dedicated to set up iSMA series device parameters Adding and removing config component is done by Module Type slot in iSMA Device component To add configuration component you must chose proper module type from drop down list If the connection is established module type is displayed in Read Module Type slot WARNING This component has not auto refresh option To read or to wri...

Page 45: ...ut output 8 3 1 DI components In iSMA Module kit are available two types of component to read device Digital Inputs DI to read individual Digital Inputs input number is selected in component property sheet DI_ALL to read all Digital Inputs using one register Note DI_ALL has 12 inputs slots DI up to 12 inputs which corresponds to the largest module iSMA B MIX38 Using module with smaller input numbe...

Page 46: ...ead write device Digital Outputs DO to read write individual Digital Outputs output number is selected in component property sheet DO_ALL to read all Digital Outputs using one register Note DO_ALL has 12 inputs slots DO up to 12 outputs which corresponds to the largest module iSMA B MIX38 Using module with smaller output number causes that outputs above module outputs number are inactive ...

Page 47: ...nent to read device Universal Inputs UI_Temp to read temperature value from NTC sensor connected to Input UI_Res to read resistance value between Universal Input and G0 UI_Volt to read voltage value between Universal Input and G0 UI_DI to read Boolean value dry contact from single Universal Input UI_DI_ALL to read Boolean value dry contact from all Universal Inputs in one register ...

Page 48: ...onent Note UI components have 8 inputs which corresponds to the largest module iSMA B MIX38 and Mini iSMA B 8U Using module with smaller input number causes that inputs above module inputs number are inactive and always have 0 value 8 3 4 AO components In iSMA Module kit are available two types of component to read write device Analog Outputs AO_Volt to set up voltage signal 0 10000mV on Analog Ou...

Page 49: ...components have 6 inputs which corresponds to the largest module iSMA B MIX38 Using module with smaller output number causes that outputs above module outputs number are inactive 8 3 5 iSMA Folder iSMAFolder is a component which groups and organizes iSMA Module IO points components Because of Sedona components name are limited to 7 characters ModbusFolder has Description Slot where we can use up t...

Page 50: ...responding counter 40023 22 0x16 COUNTER 1 LSB Read Write Memory 32 bit counters for each Digital Input counting pulses 40024 23 0x17 COUNTER 1 MSB 40025 24 0x18 COUNTER 2 LSB Read Write Memory 40026 25 0x19 COUNTER 2 MSB 40027 26 0x1A COUNTER 3 LSB Read Write Memory 40028 27 0x1B COUNTER 3 MSB 40029 28 0x1C COUNTER 4 LSB Read Write Memory 40030 29 0x1D COUNTER 4 MSB 40046 45 0x2D COUNTER 12 MSB 3...

Page 51: ...ly 30096 95 0x5F UNIVERSAL INPUT TEMPERATURE 2 Read Only 30097 96 0x60 UNIVERSAL INPUT TEMPERATURE 3 Read Only 30098 97 0x61 UNIVERSAL INPUT TEMPERATURE 4 Read Only 30099 98 0x62 UNIVERSAL INPUT TEMPERATURE 5 Read Only 30100 99 0x63 UNIVERSAL INPUT TEMPERATURE 6 Read Only 30101 100 0x64 UNIVERSAL INPUT TEMPERATURE 7 Read Only 30102 101 0x65 UNIVERSAL INPUT TEMPERATURE 8 Read Only 30103 102 0x66 RE...

Page 52: ...37 136 0x88 RS 485 COM1 STOP BITS Read Write Memory Supported values are 1 and 2 The default value 1 40138 137 0x89 RS 485 COM1 DATA BITS Read Write Memory Supported values are 7 and 8 The default value 7 40139 138 0x8A RS 485 COM1 PARITY BIT Read Write Memory The default value is 0 no parity Allowed values Value Description 0 default none 1 Odd 2 Even 3 Always 1 4 Always 0 40140 139 0x8B RS 485 C...

Page 53: ... OUTPUT 4 Read Write Memory 40149 148 0x94 DEFAULT STATE OF ANALOG OUTPUT 5 Read Write Memory 40150 149 0x95 DEFAULT STATE OF ANALOG OUTPUT 6 Read Write Memory 40151 150 0x96 UNIVERSAL INPUT 1 CONFIGURATION Read Write Memory Configuration of Universal Input and type of temperature sensor The default value is 1 Value Description Sensor 0 Resistance measurement off 1 10K3A1 NTC 2 10K4A1 NTC 3 10K NT...

Page 54: ...CONSTANT OF THE UNIVERSAL INPUT 4 Read Write Memory 40163 162 0xA2 FILTER TIME CONSTANT OF THE UNIVERSAL INPUT 5 Read Write Memory 40164 163 0xA3 FILTER TIME CONSTANT OF THE UNIVERSAL INPUT 6 Read Write Memory 40165 164 0xA4 FILTER TIME CONSTANT OF THE UNIVERSAL INPUT 7 Read Write Memory 40166 165 0xA5 FILTER TIME CONSTANT OF THE UNIVERSAL INPUT 8 Read Write Memory 40167 166 0xA6 RESOLUTION OF THE...

Page 55: ...Adr Register name Access Description Memory 1 PWM 1Hz 2 PWM 10Hz 3 PWM 100Hz 4 PWM 0 1Hz 5 PWM 0 01Hz 40171 170 0xAA ANALOG OUTPUT 4 CONFIGURATION Read Write Memory 40172 171 0xAB ANALOG OUTPUT 5 CONFIGURATION Read Write Memory 40173 172 0xAC ANALOG OUTPUT 6 CONFIGURATION Read Write Memory ...

Reviews: