![]() After the count value of 15, the output from the block is reset to 0. The data read from the discrete input registers is high when the count value from the free-running counter is greater than or equal to 8. The default value is 0.Ĭonfigure MODBUS TCP/IP Client Read Block for Discrete Input Registers ![]() To notify the client to read data from coil registers, specify its address in the Holding Register Address parameter. Select the Read Multiple Holding registers option in the Function parameter. The outputs from the free-running counter and the pulse generator are multiplexed and fed as an input to the MODBUS TCP/IP Client Write block.Ĭonfigure these parameters in the MODBUS TCP/IP Client Write Block Parameters dialog box to write data from the free-running counter and pulse generator to the holding registers. To perform the 16-bit client write operation on the holding registers, this example uses a counter whose count value increments from 0 to 15 and a pulse generator. The default positions of the slider switches are Off, On, and On.Ĭonfigure MODBUS TCP/IP Client Write Blocks for Holding Registers The default value is 0.Įnter 3 in the Number of Coils parameter. ![]() To notify the client to write data to two coil registers, specify the address of the first coil in the Coil Address parameter. ![]() Select the Write Multiple Coils option in the Function parameter. In this model, the parameter is set to 172.19.66.177. Enter the unique IP address of the server device in the Server address parameter. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |