There are a number of ways to reset the controller. Hardware reset (push reset button or power down controller) and software resets (through Ethernet or RS232 by entering RS). The only reset that will not cause the controller to disconnect is a software reset via the Ethernet. When the Galil controller acts as the master, the IH command is used to assign handles and connect to its slaves. The IP address may be entered as a 4 byte number separated with commas (industry standard uses periods) or as a signed 32 bit number. A port number may also be specified, but if it is not, it will default to 1000. The protocol (TCP/IP or UDP/IP) to use must also be designated at this time. Otherwise, the controller will not connect to the slave. (Ex. IHB=151,25,255,9<179>2 This will open handle #2 and connect to the IP address 151.25.255.9, port 179, using TCP/IP)
An additional protocol layer is available
for speaking to I/O devices. Modbus is an RS-485 protocol that packages information in binary packets that are sent as part of a TCP/IP packet. In this protocol, each slave has a 1 byte slave address. The DMC-21x2/21x3 can use a specific slave address or default to the handle number. The port number for Modbus is 502.The second level incorporates the Modbus structure. This is necessary for sending configuration and special commands to an I/O device. The formats vary depending on the function code that is called. For more information refer to the Command Reference. The third level of Modbus communication uses standard Galil commands. Once the slave has been configured, the commands that may be used are @IN[], SB, CB, OB, and AO. For example, AO 2020,8.2 would tell I/O number 2020 to output 8.2 volts
Where HandleNum is the handle number from 1 (A) to 8 (H).
Module is the position of the module in the rack from 1 to 16. BitNum is the I/O point in the module from 1 to 4. If an explicit slave address is to be used, the equation becomes: I/O Number = (SlaveAddress*10000) + (HandleNum*1000) +((Module-1)*4) + (Bitnum-1) To view an example procedure for communicating with an OPTO-22 rack, refer to the appendix. Which devices receive what information from the controller depends on a number of things. If a device queries the controller, it will receive the response unless it explicitly tells the controller to send it to another device. If the command that generates a response is part of a downloaded program, the response will route to whichever port is specified as the default (unless explicitly told to go to another port) with the ENET switch (“ON” designates Ethernet in which case it goes to the last handle to communicate with the controller, “OFF” designates main RS232). To designate a specific destination for the information, add {Eh} to the end of the command. (Ex. MG{EC}”Hello” will send the message “Hello” to handle #3. TP,,?{EF} will send the z axis position to handle #6.)
Temporal Ming sheng automation equipment co., LTD., specialized in (DCS system) (robotic system) (large) servo control system (PLC system) module for spare parts sales, inventory adequate, product quality, let you have no trouble back at home of our main products are widely used in metallurgy, petroleum, glass, aluminum manufacturing, petrochemical industry, coal mine, papermaking, printing, textile printing and dyeing, machinery, electronics, automobile manufacturing, tobacco, plastics machinery, electric power, water conservancy, water treatment/environmental protection, municipal engineering, boiler heating, energy, power transmission and distribution and so on
Brand advantage
GE gas turbine electric, ABB, Bently bentley, Emerson Emerson, Honeywell Honeywell, ICS Triplex, WOODWARD WOODWARD, FOXBORO FOXBORO, SST, HIMA hermas, Motorola Motorola, TRICONEX invensys, SCHNEIDER SCHNEIDER A - B, Prosoft import module in Europe and America and so on