Gateway timer isn't working

Hi,
I am not sure why this gateway timer script isn't working.

tags = system.tag.readBlocking
("[default]PredictionTabTags/LMF Temp Rate of Rise",
"[default]PredictionTabTags/LMF Power On_Off",
"[default]PredictionTabTags/Ladle Furnace Temp")

x_value = tags[0].value
y_value = tags[1].value
z_value = tags[2].value

if y_value is 1:

	value =z_value + (x_value/60)
	system.tag.writeBlocking("[default]PredictionTabTags/Ladle Furnace Temp", value)

else:
	k_value = z_value+1
	system.tag.writeBlocking("[default]PredictionTabTags/Ladle Furnace Temp", k_value)

currently,
x_value = 60
y_value = 1
z_value = 2840

What does this mean to you? What isn't working?

Hi @Kevin.Herron
I guess you are not seeing the whole post:
title is: Gateway timer isn’t working.
the post starts with:
"Hi,
I am not sure why this gateway timer script isn't working"

I'm not sure you're understanding me.

What does it mean that it "isn't working"?

It doesn't run? there's an error? It produces a different result than you expect?

You aren't providing enough information.

As title describes, this is a timer, it's set at 1,000 ms, It should increase the z_value,
Two conditions, increase by x_value/60 if z_value =1, otherwise increase z_value by 1.
No errors, the value isn't increasing, that's what I ,mean by not working.

This isn't doing what you think it is.

You've created two independent statements here.

  1. assign tags = system.tag.readBlocking
  2. create a 3-tuple of string values

It's also missing the list syntax. Try:

tags = system.tag.readBlocking(["[default]PredictionTabTags/LMF Temp Rate of Rise","[default]PredictionTabTags/LMF Power On_Off","[default]PredictionTabTags/Ladle Furnace Temp"])

This should be

if y_value == 1:

Got you, thank you @Kevin.Herron