background image

 

 

 

 

 

 

Flag register 

The flag can control the remote equipment stop, detect the signal and so on. this function 

must be configured through USB port in XNET mode. 

 

 

4GBOX connection 

4GBOX will communicate with PLC, set ON the appointed address every 5s after module 

initialization.   

 

Signal strength 

4GBOX will communicate with PLC, write the signal strength in appointed address every 

5s after module initialization. The signal range is 0 to 31, 31 is the strongest.   

 

SIM card change 

After the module initialization, 4GBOX will communicate with PLC, set ON the appointed 

address every 5s, if SIM is binding, reset the address every 5s.   

Note: 

(1)

 

4GBOX connection, SIM card change appointed address type: Y, M, HM, S, HS, T, 

HT, C, HC. 

(2)

 

Signal strength appointed address type: D, HD, TD, HTD, CD, HCD, FD. 

 

User authority 

It is white list function. If the list is no phone number, 4GBOX will execute the message 

control instruction without distinguishing the phone number. if there is phone number in the 

list, 4GBOX will distinguish the number and authority to monitor the equipment.   

 

 

Message function 

 

Message monitoring(phone => 4GBOX => PLC) 

User can edit the message as fixed format to monitor the equipment.   

Read soft component (example) 

Sending message format: R M0          returning message format: M0=ON 

Sending message format: R D5          returning message format: D5=K1234 

Sending message format: R DD0        returning message format: DD0=K654321 

R D0 S20 return Thinget Made (S means the string length in decimal format expected to be 

read)   

Write soft component 

Sending message format: W M0 1                    //set ON M0   

Sending message format: W Y23 0                  //set OFF Y23 

Sending message format: W Y35 1                  //set ON Y35   

Sending message format: W D5 K1234            //D5=1234(decimal format) 

Sending  message  format:  W  DD0  H654321    //DD0(double  word)=654321(hex 

format), DD0 occupies D0 and D1.   

W  D0  “XINJE  Made”  //write  the  string  in  the  address  starting  from  D0  (occupy 

D0…….Dn, total n characters) 

Error code: 

If the message format, user authority, soft component type is error, the returning message 

will be error code. If there is no error, the returning message is OK.   

Error1: the phone number which sending the message is not in the white list.   

Error2: message format is not correct   

Error3: the soft component is not correct   

Error4: the phone number only has read authority, but it wanted to write in   

Error5: 4GBOX and PLC BWO read write failure 

Error6: 4GBOX and PLC BWO read write failure 

Error7: 4GBOX and PLC BWO read write failure 

Error8: 4GBOX and PLC BWO read write failure 

Note:   

(1)

 

all the letters must be capitalized. 

(2)

 

The command, register, operands are separated by a space, the whole message 

should not exceed 99 English characters.   

(3)

 

To send the character message, quotation mark must be English half angle “ 

(4)

 

Message function only support China mobile, China unicom. 

 

 

Message sending (PLC => 4G-BOX => phone) 

The 4GBOX will send message to user’s phone in certain condition. Please refer to below 

example. 

 

 

The trigger coil should be edge signal(falling or rising edge of pulse). 

 

In the message configuration window, 4GBOX connects the left extension 

port of XD series PLC, set the port to com3 

 

First address can be D or HD, these registers cannot be used in other place of 

program 

 

Support multi phone number type-in and set the phone number on the HMI, 

the using method please refer to above picture, multi numbers are separated 

by “,” 

 

The message support Chinse and English contents, such as “present temp 

{HD0}”, and user will receive the message “present temp 30” for example. 

Register analysis function supports single and double words, such as D, DD, 

HD, DHD, but not support DM. 

 

China mobile, China unicom SIM card support Chinese/English and register 

analysis function, China telecom only supports English and register analysis 

function.   

 

 

Online monitoring 

 

Serial port setting 

1.

 

Connect XD series PLC with PC through USB cable, open the XINJE config tool, 

click config/find device/Xnet find.   

 

2. choose PLC for device type, click confirm. 

 

3. after finding the device, click config/single device/com port 

 

4.  choose  comportNo  3,  click  ReadConfig.  The  Net  please  choose  X-Net.  PHY  please 

choose TTL. The NetType please choose PPFD. The baud rate please set to 1000000. 

NetID and StationID no need to change. Then click WriteConfig, it will show “write 

configuration success”. 

 

Отзывы: