All of this can be done remotely or directly without needing to go through the PLC. modbusClient. Automatic recognition of KEYENCE devices Intuitive Software The NQ Monitor software allows users to configure ports, check/change sensor settings, monitor devices in real-time, and much more. ModbusClient.Baudrate = 115200 // Not necessary since default baudrate = 9600 ModbusClient.UnitIdentifier = 1 //Not necessary since default slaveID = 1 ModbusClient modbusClient = new ModbusClient("COM8") So i need to communicate with a Keyence PLC via serial port and want to at least run the PLC via a C# application, i came across with library and using the code below i manage to connect the PLC to my application but cannot manage to change the state of the PLC from "Stop" to "Run" using the application, don't know if the easyModbus is the correct library for this type of PLC's (KV-60) private void button1_Click(object sender, EventArgs e)
0 Comments
Leave a Reply. |