alive15
Member
Hey everyone, I want to add the clock into my RS Logix 5000 program. Looking at other threads, I learned to use the GSV command, but I still cannot see the time when I check the controller tags. Attached is an image (Capture.png) of what I've done in my RS Logix 5000 program.
So the tag I created for the wall clock is called "CLOCK" and the data type is DINT[7] as seen from other threads. Attached is an image (data type.png) of the tag and the data type.
I also tried to change the destination in the rung to "CLOCK" instead of "CLOCK[0]" but the program gives me an error saying "Error: Rung 0, GSV, Operand 3: Missing reference to array element." As of now, I have the destination as CLOCK[0], and all the values from CLOCK[0] - [6] are 0 in my program when online.
So How can I fix the logic to make the correct times appear in the tags once I go online with it? Thanks.
P.S. - This is RS Logix 5000 V 20.1
So the tag I created for the wall clock is called "CLOCK" and the data type is DINT[7] as seen from other threads. Attached is an image (data type.png) of the tag and the data type.
I also tried to change the destination in the rung to "CLOCK" instead of "CLOCK[0]" but the program gives me an error saying "Error: Rung 0, GSV, Operand 3: Missing reference to array element." As of now, I have the destination as CLOCK[0], and all the values from CLOCK[0] - [6] are 0 in my program when online.
So How can I fix the logic to make the correct times appear in the tags once I go online with it? Thanks.
P.S. - This is RS Logix 5000 V 20.1
Last edited: