Sinumerik 840D cycle writes a PLC bit and reads it.

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
AirMach
Posts: 1
Joined: Tue Feb 18, 2014 11:58 am

Sinumerik 840D cycle writes a PLC bit and reads it.

Post by AirMach »

Hi all,

I need to execute a customized cycle, at the begining it's supposed to write a bit in the PLC memory and after doing the regular cycle, it has to read the bit and send it back to the HMI.

I've been reading a lot of info but I cant find the way to access to a PLC bit without using the HMI, How would the header be to activate a bit in a DB?

Any answer will be appreciated,
Cheers!
ikavakci
Posts: 2
Joined: Sat Oct 16, 2010 9:44 am

Re: Sinumerik 840D cycle writes a PLC bit and reads it.

Post by ikavakci »

There are 3 way.

1- You can write m code.
sample...nc program M25...plc db21.dbx197.1

2-you can use ncvar program for creating source code, read and write plc

3- you can use vb6 and read-write plc-nc-mmc parameters,memory,datablocks etc.

if you explain yor problem?
I can help you

ikavakci@cozumotomasyon.com