background image

Software functions 
 

7-1 

7. Software functions 

 
This section contains an explanation of the application layer software installed in B2G78-E1. 

 

7.1 Modbus/TCP 

 

Modbus/TCP is a communication protocol that is incorporated into this board and made available. In this 
protocol, this device becomes a server. 
The foundation of the memory map is the Modbus address. 

 

7.1.1. Input memory map 

 

The memory map list when accessing from Modbus/TCP is shown below. 

Modbus/TCP 

Occu-

pied

[Word]

Type

Items

 

Function 

code 

Memory address 

Offset address 

Start 

address 

End address 

Start 

address 

End address

02/-- 10001  10256 

255  16 

bit 

Input memory map (bit) 

04/-- 30001  30016 

15  16 

word 

Input memory map (word type) 

04/-- 

30017 

30160 

16 

159 

144 

word 

System reserved 

04/-- 30161  30164  160 

163  4 

word 

Calendar clock 

04/-- 30165  30165  164 

164  1 

word 

Error flag 

04/-- 30166  30166  165 

165  1 

word 

Error ID number 

04/-- 30167  30182  166 

181  16 

word 

Error ID1 to Error ID16 

04/-- 

30183 

30253 

182 

252 

71 

word 

System reserved 

04/-- 30254  30254  253 

253  1 

word 

Check setting for number of transmission 
points 

04/-- 30255  30255  254 

254  1 

word 

Flag for ASLINK communication 

04/-- 

30256 

30256 

255 

255 

word 

System reserved 

04/-- 30257  30259  256 

258  3 

word 

Error history No.1 year, month, day, time

04/-- 30260  30260  259 

259  1 

word 

Error history No.1 target ID 

04/-- 30261  30261  260 

260  1 

word 

Error history No.1 error flag 

04/-- 30262  30291  261 

290  30 

word 

04/-- 30292  30294  291 

293  3 

word 

Error history No.8 year, month, day, time

04/-- 30295  30295  294 

294  1 

word 

Error history No.8 target ID 

04/-- 30296  30296  295 

295  1 

word 

Error history No.8 error flag 

04/-- 30297  30299  296 

298  3 

word 

MAC address 

04/-- 

30300 

30306 

299 

305 

word 

System reserved 

04/-- 30307  30307  306 

306  1 

word 

Latest error code 

04/-- 30308  30308  307 

307  1 

word 

Latest error occurrence ID 

04/-- 30309  30320  308 

319  12 

word 

Redundant ID1 to redundant ID12 

04/-- 

30321 

30832 

320 

831 

512 

word 

System reserved 

04/-- 30833  30835  832 

834  3 

word 

Error/alarm history No.1 year, month, 
day, time 

04/-- 30836  30836  835 

835  1 

word 

Error/alarm history No.1 target ID 

04/-- 30837  30837  836 

836  1 

word 

Error/alarm history No.1 error code 

04/-- 30838  31467  837 

1466 630 

word 

Содержание B2G78-E1

Страница 1: ...Anywire Corporation AnyWireASLINK System Ethernet Gateway B2G78 E1 User s Manual Version 1 4 September 14 2017 AnyWireASLINK System PMA 12813F...

Страница 2: ...r system The Safety precautions rank safety precaution items into WARNING and CAUTION categories Precautions for design The AnyWireASLINK system has high noise resistance however keep transmission lin...

Страница 3: ...e of the power supply to the remote slave unit may become insufficient due to the voltage drop Therefore please connect an external power source to ensure the specified voltage Do not turn on the 24V...

Страница 4: ...ge to the screws or unit resulting in it falling down a short circuit or malfunction Do not disassemble or modify each unit Doing so may result in failure malfunction injury or fire During installatio...

Страница 5: ...or 6 9 6 9 AnyWire filter 6 10 6 10 Address setting reference 6 12 7 Software functions 7 1 7 1 Modbus TCP 7 1 7 1 1 Input memory map 7 1 7 1 1 1 Input memory map details 7 2 7 1 1 2 Calendar clock 7...

Страница 6: ...9 Default setting 7 24 8 Monitoring function 8 1 8 1 Overview 8 1 8 2 Automatic address recognition 8 1 8 3 Monitoring operation 8 1 9 Required transmission time 9 1 9 1 Input 9 1 9 2 Output 9 1 10 D...

Страница 7: ...it therefore it can bundle even in a narrow device in which a BOX is not placed In addition this system also proposes Digital Link Sensors that incorporate the AnyWireASLINK sensing function and wirin...

Страница 8: ...points Input 256 points output 256 points RAS function Transmission line disconnection detection function transmission line short circuit detection function transmission circuit drive power voltage d...

Страница 9: ...Specifications 2 2 2 3 Outside dimensions Unit mm Board guide Board guide DIN hook 105 8...

Страница 10: ...Specifications 2 3 2 4 Name of each part LED display RESET switch SET switch Monitor connector AnyWireASLINK connector terminal block Ethernet connector terminal block LINK E LED ACT LED...

Страница 11: ...DIN rail Fit C into the DIN rail while pressing this device upward from underneath 2 DIN rail detachment procedure When the knob B is pulled downward with a flat blade screwdriver C is removed and th...

Страница 12: ...ireASLINK slave unit Pressing the SET switch for approximately two seconds or more lights up the SET LED to start automatic address recognition In addition when the B2G78 E1 is turned on or reset whil...

Страница 13: ...ly operating ERR Red Master unit alarm status Lit DP DN disconnection No slave unit response Normally operating Slow flashing every second Short circuit between DP DN Quick flashing every 0 2 seconds...

Страница 14: ...ing shows the terminal arrangement Signal name Dedicated flat cable wire color Link connector 0 75sq 1 25sq Pin number Type 24V 0V DP DN LG Green White Red Black Brown White Red Black 4 3 2 1 0 75sq L...

Страница 15: ...onitor Signals are RS232 compatible 5 4 3 2 1 SG RXD TXD MRXD MTXD 5 4 3 2 1 SG RXD TXD 9 8 7 6 Connect the above extension cable and the personal computer with a cross cable Connector Manufactured by...

Страница 16: ...NK 6 1 6 AnyWireASLINK 6 1 System configuration The AnyWireASLINK system consists of a master unit slave units and their peripheral devices For output For input For input For output Terminator Slave u...

Страница 17: ...ave units and the total consumption current of the transmission line do not exceed the maximum number of transmission points and the allowable supply current Connection of slave units There are roughl...

Страница 18: ...annels 6 4 Connection mode The AnyWireASLINK system allows for various connections such as T branching multi drop tree branching and star branching T branching method The T branching method is a conne...

Страница 19: ...cables Conversion to a dedicated flat cable Multi drop method The multi drop method is a way to connect slave units directly to cables Use of this method eliminates the need for new cables or other co...

Страница 20: ...method The star branching method is a way to connect the master unit and lay cable radially from a certain branching point to connect the slave unit This method makes it easy to bundle transmission ch...

Страница 21: ...can be established with only two transmission lines DP DN The two transmission lines DP DN support a maximum total length of 200m See P2 1 This total length also includes the length of the cable comi...

Страница 22: ...25mm 2 rated temperature 90 C Shielded cable Since AnyWire has high noise resistance it is unnecessary to use shielded cable Please note that if the shielded cable shielding is not properly grounded...

Страница 23: ...l as power for the slave unit and whatever is connected to the load side of the slave unit are superimposed on these two wires The allowable supply current transmission line supply current value from...

Страница 24: ...onnected at the farthest end of the trunk line When extending branch lines out from the trunk line one terminator must be connected at the end of the branch line if the length of the branch lines is m...

Страница 25: ...system or using a local power supply Filter allowable current Model Type Allowable current ASLINK filter ANF 01 MAX 5A 24V DC COSEL filter EAC 06 472 MAX 6A 24V DC ASLINK filter ANF 01 connection exa...

Страница 26: ...of 50m Filter notation in the drawing For more details regarding the ANF 01 please refer to the ANF 01 Products Guide Two wire terminal Four wire terminal 24V DC stabilized power supply General purpos...

Страница 27: ...ecimal number Write the value that you want to set to the slave unit using a dedicated address writer ARW 04 ARW 03 The address of the slave unit is set to 255 before shipment The slave unit does not...

Страница 28: ...m reserved 04 30254 30254 253 253 1 word Check setting for number of transmission points 04 30255 30255 254 254 1 word Flag for ASLINK communication 04 30256 30256 255 255 1 word System reserved 04 30...

Страница 29: ...esses are 0 255 bit type and when the input signal is specified with function code 04 input register reading the corresponding memory addresses are 0 15 word type Since the only difference is the data...

Страница 30: ...ory address Offset address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 30165 164 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit Error content ERR LED status Remarks 0 ON Short circuit between DP and DN OFF Norma...

Страница 31: ...ASLINK communication Each AnyWireASLINK communication status is shown The relationship between error flags and data memory is as follows Modbus TCP address Data Memory address Offset address 15 14 13...

Страница 32: ...No 8 Year Last two digits of Western year format ex Year xx13 0x0D Month ex August 0x08 30293 292 Day ex 30th day 0x1E Hour ex 13 00 0x0D 30294 293 Minute ex 26 minutes 0x1A Second ex 21 seconds 0x15...

Страница 33: ...ly to lie within the rated range 21 6 to 27 6V Recommended voltage is 26 4V Check that the power line 24V 0V is not disconnected or short circuited Check that the pin assignment was correct when the l...

Страница 34: ...units and addresses are the same as those of the actual system If the slave unit LINK LED is not flashing check the transmission line for disconnection short circuit miswiring or contact failure near...

Страница 35: ...set the ID so that there will be no redundancy 401 191 ID not set error Occurrence ID is stored 255 or 767 There is a slave unit whose address has not been set default setting Perform the following S...

Страница 36: ...o 1 target ID 30837 836 No 1 error code 30838 837 No 2 Year Last two digits of Western year format ex Year xx13 0x0D Month ex August 0x08 30839 838 Day ex 30th day 0x1E Hour ex 13 00 0x0D 30840 839 Mi...

Страница 37: ...of each parameter area block is as follows Offset Parameter name R W Classification 0 Slave unit ID R W ASLINK access not required referred from internal memory 1 Device parameter 1 R W Interrupt acce...

Страница 38: ...nker non isolated I O Bit status Meaning Slave judgment method ON I O disconnection Input judgment value 0 3mA or less is judged as a disconnection Output judgment value 2mA or less is judged as a dis...

Страница 39: ...6 5 4 3 2 1 0 39872 9871 Registration ID number 39873 9872 Registration ID1 39874 9873 Registration ID2 39875 9874 Registration ID3 39999 9998 Registration ID127 40000 9999 Registration ID128 The ID f...

Страница 40: ...ctual specified start address is the offset address 7 1 2 1 Output area Output signals of AnyWireASLINK are stored in this memory map When output area is specified with a Modbus TCP function code 01 0...

Страница 41: ...9 1188 Set with 0 1 7 1 2 3 Error clear If an error such as wire disconnection is resolved the disconnection flag and number of error IDs are both reset to 0 by writing 1 in Modbus TCP address 1202 Br...

Страница 42: ...ss redundancy check for the currently connected device Even if automatic address recognition is not carried out only the redundancy check is carried out 4 Parameter access command Applies the paramete...

Страница 43: ...ss method Modbus TCP address Value Description Memory address Offset address 41825 1824 0 Read 1 Write Parameter access target ID Modbus TCP address Value Memory address Offset address 41826 1825 Acce...

Страница 44: ...t access initial access 3 Device parameter 3 R W Interrupt access initial access 4 Device parameter 4 R W Interrupt access initial access 15 Device parameter 15 R W Interrupt access initial access 16...

Страница 45: ...y to the B2G78 E1 with a LAN cable Either a cross or straight LAN cable is acceptable Set the connected LAN interface as follows IP address 192 168 0 xx Excluding 36 0 and 255 for xx Sub net mask 255...

Страница 46: ...teway has the following setting items 7 4 2 Own station information Settings Default setting IP address 192 168 0 36 Sub net mask 255 255 255 0 Default gateway address 192 168 0 1 Changes to settings...

Страница 47: ...to settings are applied after writing settings and restart and Stop for the default setting An I O of a up to 4 blocks can be set for each socket If the number of transfer words is set to 0 transfer o...

Страница 48: ...and Stop for the default setting The area to be transferred with EtherNet IP can be selected from this screen Note This unit is an adapter It is necessary to also set the same content on the scanner s...

Страница 49: ...oint number setting MODE can be carried out Frame length 32 64 128 256 clock can be changed Changes to settings are applied immediately when settings are written The default setting is 256 7 4 5 Time...

Страница 50: ...ettings can be applied in real time from this screen Put a tick in the Auto start check box of a protocol that you want to start and press the Auto start register button Each protocol can be started a...

Страница 51: ...he procedure is as follows Turn off the power Turn on the power while holding the SET button Place your finger so that the LED on the side of the button is visible at this time The LED on the side of...

Страница 52: ...ss and hold the SET switch of this device until the SET LED yellow lights up 3 The SET LED lights up for a while and then turns off when address storage has been completed Input output may not be carr...

Страница 53: ...performed on that side Terminology Cycle time Repeated transmission time of actual data transmitted Maximum transmission delay time Processing time on master side Refresh time Signal delay time on sla...

Страница 54: ...Device profile 10 1 10 Device profile Use the following EDS file B2G78 E1 eds EDS files can be downloaded from the AnyWire Homepage http www anywire jp Top page Support Download Download Software...

Страница 55: ...ress setting The ACT LED is unlit Normal or the power is off P4 1 2 LED display on the AnyWireASLINK side Check the LINK LED The LINK LED is flashing Normal If the LED is unlit check that 24V power is...

Страница 56: ...d in the alarm ID number information storage area input offset byte address 3 Remove any problems until the error number or alarm number becomes 0 P7 3 3 Check error occurrence ID information Error oc...

Страница 57: ...ve voltage drop error Items to check Description of measures Check the voltage of the 24V DC external supply power Make adjustments so that the voltage of the 24V DC external supply power does not exc...

Страница 58: ...Under normal conditions a voltage of approximately 17V to 18V is observed using a tester in DC mode When the transmission line is disconnected or suffers a similar fault the position can also be ident...

Страница 59: ...User s Manual the Company shall replace or repair the defect free of charge except when it arises as a result of 1 Misuse or abuse of the Product by the owner 2 Faults due to a cause other than the de...

Страница 60: ...RoHS Directive for the Chinese version 13 1 13 RoHS Directive for the Chinese version SJ T11364 2006 10 Pb Hg Cd Cr VI PBB PBDE SJ T11364 GB T26572 GB T26572...

Страница 61: ...able current from 10A to 5A Version 1 1 11 30 2016 Added Chinese RoHS Directive and changed the outside dimensions and other expressions Version 1 2 5 26 2017 2 2 Performance specifications Corrected...

Страница 62: ...Anywire Corporation Headquarters 1 Babazusho Nagaokakyo shi Kyoto 617 8550 JAPAN Website http www anywire jp E Mail inquiry info_e anywire jp...

Отзывы: